docs/rest/agents/list.mdx
GET /api/projects/{project_name}/agents
This API endpoint lists all available agents using the GET method.
None.
curl --request GET \
--url http://127.0.0.1:47334/api/projects/mindsdb/agents
[
{
"id": 197,
"name": "my_agent",
"project_id": 1,
"created_at": "2025-07-09 12:58:24.868202",
"updated_at": "2025-07-09 12:58:24.868199",
"data": {
"knowledge_bases": ["my_project.my_kb"],
"tables": ["my_data_source.my_table"]
},
"model": {
"provider": "openai",
"model_name": "gpt-4o",
"api_key": "sk-xxx"
},
"prompt_template": "my_project.my_kb stores documentation of MindsDB, my_data_source.my_table stores documentation of MindsDB"
}
]