Environments-24
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
GET | |
POST | |
POST | |
GET | |
POST |
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 query
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
POST /api /environments /:project_id /logs /queryExample response
Status 200 No response body
Create environments logs query
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
POST /api /environments /:project_id /logs /queryExample response
Status 200 No response body
Create environments logs sparkline
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
POST /api /environments /:project_id /logs /sparklineExample response
Status 200 No response body
Create environments logs sparkline
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
POST /api /environments /:project_id /logs /sparklineExample response
Status 200 No response body
Retrieve environments logs values
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /logs /valuesExample response
Status 200 No response body
Retrieve environments logs values
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /logs /valuesExample response
Status 200 No response body
Create environments max tools create and query insight
Required API key scopes
insight:readquery:readPath parameters
- project_idstring
Example request
POST /api /environments /:project_id /max_tools /create_and_query_insight