Create Agent
Create a new Agent
with a specific configuration.
This creates a specialized RAG Agent
which queries over one or multiple Datastores
to retrieve relevant data on which its generations are grounded.
Retrieval and generation parameters are defined in the provided Agent
configuration.
If no datastore_id
is provided in the configuration, this API automatically creates an empty Datastore
and configures the Agent
to use the newly created Datastore
.
Note that self-serve users are currently required to create agents through our UI. Otherwise, they will receive the following message: “This endpoint is disabled as you need to go through checkout. Please use the UI to make this request.”
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Input to Create Agent request
Response
Successful Response
Response to POST /agents request