GET
/
agents
/
{agent_id}
/
datasets
/
evaluate
/
{dataset_name}
/
metadata
curl --request GET \
  --url https://api.contextual.ai/v1/agents/{agent_id}/datasets/evaluate/{dataset_name}/metadata \
  --header 'Authorization: Bearer <token>'
{
  "version": "<string>",
  "type": "tuning_set",
  "created_at": "2023-11-07T05:31:56Z",
  "status": "validated",
  "schema": {},
  "num_samples": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required

Agent ID associated with the evaluation dataset

dataset_name
string
required

Name of the evaluation dataset to retrieve details for

Query Parameters

version
string

Version number of the dataset. Defaults to the latest version if not specified.

Response

200
application/json
Successful Response

Response to GET /datasets/{name}

version
string
required

Version of the dataset

type
enum<string>
required

Type of the dataset

Available options:
tuning_set,
evaluation_set,
evaluation_set_prediction,
evaluation_run_result
created_at
string
required

Timestamp indicating when the dataset was created

status
enum<string>
required

Validation status of the dataset

Available options:
validated,
validating,
failed
schema
object
required

Schema of the dataset

num_samples
integer
required

Number of samples in the dataset