Environments-18
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
GET | |
GET | |
GET | |
GET | |
GET | |
GET | |
GET | |
GET | |
POST | |
POST | |
GET | |
POST | |
GET |
Retrieve integrations github repos
Required API key scopes
integration:readPath parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /github_reposExample response
Status 200 No response body
Retrieve integrations google accessible accounts
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /google_accessible_accountsExample response
Status 200 No response body
Retrieve integrations google conversion actions
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /google_conversion_actionsExample response
Status 200 No response body
Retrieve integrations jira
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /jira_projectsExample response
Status 200 No response body
Retrieve integrations linear teams
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /linear_teamsExample response
Status 200 No response body
Retrieve integrations linkedin ads accounts
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /linkedin_ads_accountsExample response
Status 200 No response body
Retrieve integrations linkedin ads conversion rules
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /linkedin_ads_conversion_rulesExample response
Status 200 No response body
Retrieve integrations twilio phone numbers
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /integrations /:id /twilio_phone_numbersExample response
Status 200 No response body
Retrieve integrations authorize
Path parameters
- project_idstring
Example request
GET /api /environments /:project_id /integrations /authorizeExample response
Status 200 No response body
Retrieve llm analytics evaluation config
Get the evaluation config for this team
Required API key scopes
llm_provider_key:readPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /llm_analytics /evaluation_configExample response
Status 200 No response body
Retrieve llm analytics evaluation config
Get the evaluation config for this team
Required API key scopes
llm_provider_key:readPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /llm_analytics /evaluation_configExample response
Status 200 No response body
Create llm analytics evaluation config set active key
Set the active provider key for evaluations
Path parameters
- project_idstring
Example request
POST /api /environments /:project_id /llm_analytics /evaluation_config /set_active_keyExample response
Status 200 No response body
Create llm analytics evaluation config set active key
Set the active provider key for evaluations
Path parameters
- project_idstring
Example request
POST /api /environments /:project_id /llm_analytics /evaluation_config /set_active_keyExample response
Status 200 No response body
Create llm analytics evaluation summary
Generate an AI-powered summary of evaluation results.
This endpoint analyzes evaluation runs and identifies patterns in passing and failing evaluations, providing actionable recommendations.
Data is fetched server-side by evaluation ID to ensure data integrity.
Use Cases:
- Understand why evaluations are passing or failing
- Identify systematic issues in LLM responses
- Get recommendations for improving response quality
- Review patterns across many evaluation runs at once
Required API key scopes
llm_analytics:writePath parameters
- project_idstring
Request parameters
- evaluation_idstring
- filterDefault:
all - generation_idsarray
- force_refreshbooleanDefault:
false
Response
Example request
POST /api /environments /:project_id /llm_analytics /evaluation_summaryExample response
Status 200
Status 400
Status 403
Status 404
Status 500
Retrieve llm analytics models
List available models for a provider.
Required API key scopes
llm_provider_key:readPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /llm_analytics /modelsExample response
Status 200 No response body
Retrieve llm analytics models
List available models for a provider.
Required API key scopes
llm_provider_key:readPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /llm_analytics /modelsExample response
Status 200 No response body
Create llm analytics provider key validations
Validate LLM provider API keys without persisting them
Required API key scopes
llm_provider_key:writePath parameters
- project_idstring
Example request
POST /api /environments /:project_id /llm_analytics /provider_key_validationsExample response
Status 201 No response body
Create llm analytics provider key validations
Validate LLM provider API keys without persisting them
Required API key scopes
llm_provider_key:writePath parameters
- project_idstring
Example request
POST /api /environments /:project_id /llm_analytics /provider_key_validationsExample response
Status 201 No response body
List all llm analytics provider keys
Required API key scopes
llm_provider_key:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /llm_analytics /provider_keysExample response
Status 200
List all llm analytics provider keys
Required API key scopes
llm_provider_key:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /llm_analytics /provider_keys