Llm
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST |
List all dataset items
Required API key scopes
dataset:readPath parameters
- project_idstring
Query parameters
- datasetstring
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /dataset_itemsExample response
Status 200
RESPONSE
Create dataset items
Required API key scopes
dataset:writePath parameters
- project_idstring
Request parameters
- datasetstring
- input
- output
- metadata
- ref_trace_idstring
- ref_timestampstring
- ref_source_idstring
- deletedboolean
Response
Example request
POST /api /environments /:project_id /dataset_itemsExample response
Status 201
RESPONSE
Retrieve dataset items
Required API key scopes
dataset:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /dataset_items /:idExample response
Status 200
RESPONSE
Update dataset items
Required API key scopes
dataset:writePath parameters
- idstring
- project_idstring
Request parameters
- datasetstring
- input
- output
- metadata
- ref_trace_idstring
- ref_timestampstring
- ref_source_idstring
- deletedboolean
Response
Example request
PATCH /api /environments /:project_id /dataset_items /:idExample response
Status 200
RESPONSE
Delete dataset items
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
dataset:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /dataset_items /:idExample response
Status 405 No response body
List all datasets
Required API key scopes
dataset:readPath parameters
- project_idstring
Query parameters
- id__inarray
- limitinteger
- offsetinteger
- order_byarray
- searchstring
Response
Example request
GET /api /environments /:project_id /datasetsExample response
Status 200
RESPONSE
Create datasets
Required API key scopes
dataset:writePath parameters
- project_idstring
Request parameters
- namestring
- descriptionstring
- metadata
- deletedboolean
Response
Example request
POST /api /environments /:project_id /datasetsExample response
Status 201
RESPONSE
Retrieve datasets
Required API key scopes
dataset:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /datasets /:idExample response
Status 200
RESPONSE
Update datasets
Required API key scopes
dataset:writePath parameters
- idstring
- project_idstring
Request parameters
- namestring
- descriptionstring
- metadata
- deletedboolean
Response
Example request
PATCH /api /environments /:project_id /datasets /:idExample response
Status 200
RESPONSE
Delete datasets
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
dataset:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /datasets /:idExample response
Status 405 No response body
List all dataset items list
Required API key scopes
dataset:readPath parameters
- project_idstring
Query parameters
- datasetstring
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /dataset_itemsExample response
Status 200
RESPONSE
Create dataset items create
Required API key scopes
dataset:writePath parameters
- project_idstring
Request parameters
- datasetstring
- input
- output
- metadata
- ref_trace_idstring
- ref_timestampstring
- ref_source_idstring
- deletedboolean
Response
Example request
POST /api /projects /:project_id /dataset_itemsExample response
Status 201
RESPONSE
Retrieve dataset items retrieve
Required API key scopes
dataset:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /projects /:project_id /dataset_items /:idExample response
Status 200
RESPONSE
Update dataset items update
Required API key scopes
dataset:writePath parameters
- idstring
- project_idstring
Request parameters
- datasetstring
- input
- output
- metadata
- ref_trace_idstring
- ref_timestampstring
- ref_source_idstring
- deletedboolean
Response
Example request
PATCH /api /projects /:project_id /dataset_items /:idExample response
Status 200
RESPONSE
Delete dataset items destroy
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
dataset:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /projects /:project_id /dataset_items /:idExample response
Status 405 No response body
List all datasets list
Required API key scopes
dataset:readPath parameters
- project_idstring
Query parameters
- id__inarray
- limitinteger
- offsetinteger
- order_byarray
- searchstring
Response
Example request
GET /api /projects /:project_id /datasetsExample response
Status 200
RESPONSE
Create datasets create
Required API key scopes
dataset:writePath parameters
- project_idstring
Request parameters
- namestring
- descriptionstring
- metadata
- deletedboolean
Response
Example request
POST /api /projects /:project_id /datasetsExample response
Status 201
RESPONSE