/api/projects/{project_name}/agents
This API endpoint creates an agent using the POST
method.
Learn more about agents and the available parameters following this doc page.
Path Parameters
Defines the project where the agents are located. Note that the default project name is
mindsdb
.Body
Name of the agent.
Stores parameters of the model, including
provider
, model_name
, and api_key
. Note that agents can use the default model defined in the configuration, if no model provided when creating an agent.Stores data connected to an agent, including
tables
and knowledge_bases
.Stores instruction to an agent. This should contain the description of connected data.
Response
Unique identifier for the agent.
The name assigned to the agent.
The ID of the project where the agent resides.
Timestamp indicating when the agent was created.
Timestamp indicating when the agent was last updated.
Stores data connected to an agent, including
tables
and knowledge_bases
.In order to provide all tables from a database or all knowledge bases from a project, use the *
wildcard like this:Stores parameters of the model, including
provider
, model_name
, and api_key
.Stores instruction to an agent. This should contain the description of connected data.