Environments-19
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
GET | |
POST |
Create environments llm analytics text repr
Required API key scopes
llm_analytics:writePath parameters
- project_idstring
Request parameters
- event_type
- data
- options
Response
Example request
POST /api /environments /:project_id /llm_analytics /text_reprExample response
Status 200
RESPONSE
Status 400
Status 500
Status 503
Create environments llm analytics translate
Translate text to target language.
Required API key scopes
llm_analytics:writePath parameters
- project_idstring
Example request
POST /api /environments /:project_id /llm_analytics /translateExample response
Status 201 No response body
Create environments llm analytics translate
Translate text to target language.
Required API key scopes
llm_analytics:writePath parameters
- project_idstring
Example request
POST /api /environments /:project_id /llm_analytics /translateExample response
Status 201 No response body
List all environments llm prompts
Required API key scopes
llm_prompt:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /llm_promptsExample response
Status 200
RESPONSE
List all environments llm prompts
Required API key scopes
llm_prompt:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /llm_promptsExample response
Status 200
RESPONSE
Create environments llm prompts
Required API key scopes
llm_prompt:writePath parameters
- project_idstring
Request parameters
- namestring
- prompt
- deletedboolean
Response
Example request
POST /api /environments /:project_id /llm_promptsExample response
Status 201
RESPONSE
Create environments llm prompts
Required API key scopes
llm_prompt:writePath parameters
- project_idstring
Request parameters
- namestring
- prompt
- deletedboolean
Response
Example request
POST /api /environments /:project_id /llm_promptsExample response
Status 201
RESPONSE
Retrieve environments llm prompts
Required API key scopes
llm_prompt:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /llm_prompts /:idExample response
Status 200
RESPONSE
Retrieve environments llm prompts
Required API key scopes
llm_prompt:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /llm_prompts /:idExample response
Status 200
RESPONSE
Update environments llm prompts
Required API key scopes
llm_prompt:writePath parameters
- idstring
- project_idstring
Request parameters
- namestring
- prompt
- deletedboolean
Response
Example request
PATCH /api /environments /:project_id /llm_prompts /:idExample response
Status 200
RESPONSE
Update environments llm prompts
Required API key scopes
llm_prompt:writePath parameters
- idstring
- project_idstring
Request parameters
- namestring
- prompt
- deletedboolean
Response
Example request
PATCH /api /environments /:project_id /llm_prompts /:idExample response
Status 200
RESPONSE
Delete environments llm prompts
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
llm_prompt:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /llm_prompts /:idExample response
Status 405 No response body
Delete environments llm prompts
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
llm_prompt:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /llm_prompts /:idExample response
Status 405 No response body
Retrieve environments llm prompts name
Required API key scopes
llm_prompt:readPath parameters
- project_idstring
- prompt_namestring
Response
Example request
GET /api /environments /:project_id /llm_prompts /name /:prompt_nameExample response
Status 200
RESPONSE
Retrieve environments llm prompts name
Required API key scopes
llm_prompt:readPath parameters
- project_idstring
- prompt_namestring
Response
Example request
GET /api /environments /:project_id /llm_prompts /name /:prompt_nameExample response
Status 200
RESPONSE
Retrieve environments logs attributes
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /logs /attributesExample response
Status 200 No response body
Retrieve environments logs attributes
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /logs /attributesExample response
Status 200 No response body
Create environments logs explainlogwithai
Explain a log entry using AI.
POST /api/environments/:id/logs/explainLogWithAI/
Required API key scopes
logs:writePath parameters
- project_idstring
Request parameters
- uuidstring
- timestampstring
- force_refreshbooleanDefault:
false
Response
Example request
POST /api /environments /:project_id /logs /explainLogWithAIExample response
Status 201
RESPONSE