Create Agent
Changed onCreate 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.
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."
Request
- Base URLhttps://api.contextual.ai/v1
- URLhttps://api.contextual.ai/v1/agents
- AuthHTTP bearer
Request body
Response
Successful Response
Changes
- breaking
the
request property type changed fromstringto no type - info
added the new optional request property
// - info
added
subschema #2to therequest propertyanyOflist
- breaking
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
- info