Agent Builder
Agent Builder is a set of AI-powered capabilities for developing and interacting with agents that work with your Elasticsearch data.
Most users will probably want to integrate with Agent Builder using MCP or A2A, but you can also work programmatically with tools, agents, and conversations using the Kibana API. Follow the Agent Builder API tutorial for a guided example.
Endpoints
44 endpoints
-
POST
Send A2A task
/api /agent_builder /a2a /{agentId} -
GET
Get A2A agent card
/api /agent_builder /a2a /{agentId}.json -
GET
List agents
/api /agent_builder /agents -
POST
Create an agent
/api /agent_builder /agents -
POST
Get agent consumption data
/api /agent_builder /agents /{agent_id} /consumption -
GET
Get an agent by ID
/api /agent_builder /agents /{id} -
PUT
Update an agent
/api /agent_builder /agents /{id} -
DELETE
Delete an agent
/api /agent_builder /agents /{id} -
GET
Get an agent's access control list
/api /agent_builder /agents /{id} /access_control -
PUT
Update an agent's access control list
/api /agent_builder /agents /{id} /access_control -
GET
List conversations
/api /agent_builder /conversations -
POST
Create conversation
/api /agent_builder /conversations -
GET
Get conversation by ID
/api /agent_builder /conversations /{conversation_id} -
DELETE
Delete conversation by ID
/api /agent_builder /conversations /{conversation_id} -
POST
Add events to a conversation
/api /agent_builder /conversations /{conversation_id} /_add_events -
PUT
Update a conversation's access control
/api /agent_builder /conversations /{conversation_id} /access_control -
GET
List conversation attachments
/api /agent_builder /conversations /{conversation_id} /attachments -
POST
Create conversation attachment
/api /agent_builder /conversations /{conversation_id} /attachments -
GET
Check attachment staleness
/api /agent_builder /conversations /{conversation_id} /attachments /stale -
GET
Get conversation attachment
/api /agent_builder /conversations /{conversation_id} /attachments /{attachment_id} -
PUT
Update conversation attachment
/api /agent_builder /conversations /{conversation_id} /attachments /{attachment_id} -
PATCH
Rename attachment
/api /agent_builder /conversations /{conversation_id} /attachments /{attachment_id} -
DELETE
Delete conversation attachment
/api /agent_builder /conversations /{conversation_id} /attachments /{attachment_id} -
POST
Restore deleted attachment
/api /agent_builder /conversations /{conversation_id} /attachments /{attachment_id} /_restore -
PUT
Update attachment origin
/api /agent_builder /conversations /{conversation_id} /attachments /{attachment_id} /origin -
POST
Send chat message
/api /agent_builder /converse -
POST
Send chat message (streaming)
/api /agent_builder /converse /async -
POST
MCP server
/api /agent_builder /mcp -
GET
List plugins
/api /agent_builder /plugins -
POST
Install a plugin
/api /agent_builder /plugins /install -
GET
Get a plugin by id
/api /agent_builder /plugins /{pluginId} -
DELETE
Delete a plugin
/api /agent_builder /plugins /{pluginId} -
GET
List skills
/api /agent_builder /skills -
POST
Create a skill
/api /agent_builder /skills -
GET
Get a skill by id
/api /agent_builder /skills /{skillId} -
PUT
Update a skill
/api /agent_builder /skills /{skillId} -
DELETE
Delete a skill
/api /agent_builder /skills /{skillId} -
GET
List tools
/api /agent_builder /tools -
POST
Create a tool
/api /agent_builder /tools -
POST
Run a tool
/api /agent_builder /tools /_execute -
GET
Get a tool by id
/api /agent_builder /tools /{toolId} -
PUT
Update a tool
/api /agent_builder /tools /{toolId} -
DELETE
Delete a tool
/api /agent_builder /tools /{toolId} -
POST
Send a message and get the answer
/api /chat /message