Create Agent Dataset

Create a new dataset for agent.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Creates a new dataset for an agent, given the agent's ID and a name for the dataset.

When to use it

Use it when an agent needs a new dataset. To attach a dataset that already exists, set dataset_id with Update an agent.

Required parameters

  • agent_id (path): the ID of the agent.
  • name (body): the name of the new dataset, 1 to 95 characters.

Response

A successful call returns 201 Created with a JSON object. Its fields are not documented.

Related: Update an agent, Verify a dataset schema for an agent, Create a dataset

Path Params
string
required
Body Params
string
required
length between 1 and 95
Responses

401

Unauthorized

404

Not Found

422

Unprocessable Entity

500

Internal Server Error

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json