GET
/
agents
/
{agent_id}
/
datasets
/
tune
/
{dataset_name}
curl --request GET \
  --url https://api.contextual.ai/v1/agents/{agent_id}/datasets/tune/{dataset_name} \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

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 tune dataset

dataset_name
string
required

Name of the tune dataset to retrieve

Query Parameters

version
string

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

batch_size
integer
default:64

Batch size for processing

Required range: 1 <= x <= 1000

Response

200
application/octet-stream
Dataset file stream

The response is of type file.