Llm
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
POST | |
GET | |
PATCH |
Retrieve llm analytics clustering config
Team-level clustering configuration (event filters for automated pipelines).
Required API key scopes
llm_analytics:readExample request
GET /api /environments /:project_id /llm_analytics /clustering_configExample response
Status 200
Create llm analytics clustering config set event filters
Team-level clustering configuration (event filters for automated pipelines).
Required API key scopes
llm_analytics:writeExample request
POST /api /environments /:project_id /llm_analytics /clustering_config /set_event_filtersExample response
Status 200
List all llm analytics clustering jobs
CRUD for clustering job configurations (max 5 per team).
Required API key scopes
llm_analytics:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /llm_analytics /clustering_jobsExample response
Status 200
Create llm analytics clustering jobs
CRUD for clustering job configurations (max 5 per team).
Required API key scopes
llm_analytics:writeRequest parameters
- namestring
- analysis_level
- event_filters
- enabledboolean
Response
Example request
POST /api /environments /:project_id /llm_analytics /clustering_jobsExample response
Status 201
Retrieve llm analytics clustering jobs
CRUD for clustering job configurations (max 5 per team).
Required API key scopes
llm_analytics:readPath parameters
- idstring
Response
Example request
GET /api /environments /:project_id /llm_analytics /clustering_jobs /:idExample response
Status 200
Update llm analytics clustering jobs
CRUD for clustering job configurations (max 5 per team).
Required API key scopes
llm_analytics:writePath parameters
- idstring
Request parameters
- namestring
- analysis_level
- event_filters
- enabledboolean
Response
Example request
PATCH /api /environments /:project_id /llm_analytics /clustering_jobs /:idExample response
Status 200
Delete llm analytics clustering jobs
CRUD for clustering job configurations (max 5 per team).
Required API key scopes
llm_analytics:writePath parameters
- idstring
Example request
DELETE /api /environments /:project_id /llm_analytics /clustering_jobs /:idExample response
Status 204 No response body
Retrieve llm analytics evaluation config
Get the evaluation config for this team
Required API key scopes
evaluation:readResponse
Example request
GET /api /environments /:project_id /llm_analytics /evaluation_configExample response
Status 200
Create llm analytics evaluation config set active key
Set the active provider key for evaluations
Required API key scopes
evaluation:writeRequest parameters
- key_idstring
Response
Example request
POST /api /environments /:project_id /llm_analytics /evaluation_config /set_active_keyExample response
Status 200
List all llm analytics evaluation reports
CRUD for evaluation report configurations + report run history.
Required API key scopes
llm_analytics:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /llm_analytics /evaluation_reportsExample response
Status 200
List all llm analytics evaluation reports
CRUD for evaluation report configurations + report run history.
Required API key scopes
llm_analytics:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /llm_analytics /evaluation_reportsExample response
Status 200
Create llm analytics evaluation reports
CRUD for evaluation report configurations + report run history.
Required API key scopes
llm_analytics:writeRequest parameters
- evaluationstring
- frequency
- rrulestring
- starts_atstringnull
- timezone_namestring
- delivery_targets
- max_sample_sizeinteger
- enabledboolean
- deletedboolean
- report_prompt_guidancestring
- trigger_thresholdintegernull
- cooldown_minutesinteger
- daily_run_capinteger
Response
Example request
POST /api /environments /:project_id /llm_analytics /evaluation_reportsExample response
Status 201
Create llm analytics evaluation reports
CRUD for evaluation report configurations + report run history.
Required API key scopes
llm_analytics:writeRequest parameters
- evaluationstring
- frequency
- rrulestring
- starts_atstringnull
- timezone_namestring
- delivery_targets
- max_sample_sizeinteger
- enabledboolean
- deletedboolean
- report_prompt_guidancestring
- trigger_thresholdintegernull
- cooldown_minutesinteger
- daily_run_capinteger
Response
Example request
POST /api /environments /:project_id /llm_analytics /evaluation_reportsExample response
Status 201
Retrieve llm analytics evaluation reports
CRUD for evaluation report configurations + report run history.
Required API key scopes
llm_analytics:readPath parameters
- idstring
Response
Example request
GET /api /environments /:project_id /llm_analytics /evaluation_reports /:idExample response
Status 200
Retrieve llm analytics evaluation reports
CRUD for evaluation report configurations + report run history.
Required API key scopes
llm_analytics:readPath parameters
- idstring
Response
Example request
GET /api /environments /:project_id /llm_analytics /evaluation_reports /:idExample response
Status 200
Update llm analytics evaluation reports
CRUD for evaluation report configurations + report run history.
Required API key scopes
llm_analytics:writePath parameters
- idstring
Request parameters
- evaluationstring
- frequency
- rrulestring
- starts_atstringnull
- timezone_namestring
- delivery_targets
- max_sample_sizeinteger
- enabledboolean
- deletedboolean
- report_prompt_guidancestring
- trigger_thresholdintegernull
- cooldown_minutesinteger
- daily_run_capinteger
Response
Example request
PATCH /api /environments /:project_id /llm_analytics /evaluation_reports /:idExample response
Status 200
Update llm analytics evaluation reports
CRUD for evaluation report configurations + report run history.
Required API key scopes
llm_analytics:writePath parameters
- idstring
Request parameters
- evaluationstring
- frequency
- rrulestring
- starts_atstringnull
- timezone_namestring
- delivery_targets
- max_sample_sizeinteger
- enabledboolean
- deletedboolean
- report_prompt_guidancestring
- trigger_thresholdintegernull
- cooldown_minutesinteger
- daily_run_capinteger
Response
Example request
PATCH /api /environments /:project_id /llm_analytics /evaluation_reports /:id