Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kibana agent builder API

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 these Kibana APIs.**Elastic Agent Builder requires an Enterprise subscription.**

Kibana agent builder API is one of 60 APIs that Kibana publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include agent builder. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 37 operations across 23 paths. It is described by OpenAPI 3.0.3.

Requests are made against a single base URL, https://{kibana_url}.

37 operations 23 paths 0 schemas 6 DELETE13 GET1 PATCH12 POST5 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
Base URL
https://localhost:5601/api
Authentication
API Key, HTTP Basic
Contact
Kibana Team
Resource Areas
1

Authentication & Security 2

Kibana agent builder API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiKeyAuth). It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • apiKeyAuth — These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: Authorization: ApiKey base64A…

Paths & Operations 37

Across 23 paths, the API surfaces 37 operations — 6 DELETE, 13 GET, 1 PATCH, 12 POST, 5 PUT. Each is listed below with its method, path, parameters, and response codes.

agent builder 37

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 wit…

POST
/api/agent_builder/a2a/{agentId}
Send A2A task
post-agent-builder-a2a-agentid 1 param body → 200
GET
/api/agent_builder/a2a/{agentId}.json
Get A2A agent card
get-agent-builder-a2a-agentid.json 1 param → 200
GET
/api/agent_builder/agents
List agents
get-agent-builder-agents → 200
POST
/api/agent_builder/agents
Create an agent
post-agent-builder-agents 1 param body → 200
POST
/api/agent_builder/agents/{agent_id}/consumption
Get agent consumption data
post-agent-builder-agents-agent-id-consumption 2 params body → 200
DELETE
/api/agent_builder/agents/{id}
Delete an agent
delete-agent-builder-agents-id 2 params → 200
GET
/api/agent_builder/agents/{id}
Get an agent by ID
get-agent-builder-agents-id 1 param → 200
PUT
/api/agent_builder/agents/{id}
Update an agent
put-agent-builder-agents-id 2 params body → 200
GET
/api/agent_builder/conversations
List conversations
get-agent-builder-conversations 1 param → 200
DELETE
/api/agent_builder/conversations/{conversation_id}
Delete conversation by ID
delete-agent-builder-conversations-conversation-id 2 params → 200
GET
/api/agent_builder/conversations/{conversation_id}
Get conversation by ID
get-agent-builder-conversations-conversation-id 1 param → 200
GET
/api/agent_builder/conversations/{conversation_id}/attachments
List conversation attachments
get-agent-builder-conversations-conversation-id-attachments 2 params → 200
POST
/api/agent_builder/conversations/{conversation_id}/attachments
Create conversation attachment
post-agent-builder-conversations-conversation-id-attachments 2 params body → 200
DELETE
/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}
Delete conversation attachment
delete-agent-builder-conversations-conversation-id-attachments-attachment-id 4 params → 200
PATCH
/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}
Rename attachment
patch-agent-builder-conversations-conversation-id-attachments-attachment-id 3 params body → 200
PUT
/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}
Update conversation attachment
put-agent-builder-conversations-conversation-id-attachments-attachment-id 3 params body → 200
POST
/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}/_restore
Restore deleted attachment
post-agent-builder-conversations-conversation-id-attachments-attachment-id-restore 3 params → 200
PUT
/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}/origin
Update attachment origin
put-agent-builder-conversations-conversation-id-attachments-attachment-id-origin 3 params body → 200
GET
/api/agent_builder/conversations/{conversation_id}/attachments/stale
Check attachment staleness
get-agent-builder-conversations-conversation-id-attachments-stale 1 param → 200
POST
/api/agent_builder/converse
Send chat message
post-agent-builder-converse 1 param body → 200
POST
/api/agent_builder/converse/async
Send chat message (streaming)
post-agent-builder-converse-async 1 param body → 200
POST
/api/agent_builder/mcp
MCP server
post-agent-builder-mcp 1 param body → 200
GET
/api/agent_builder/plugins
List plugins
get-agent-builder-plugins → 200
DELETE
/api/agent_builder/plugins/{pluginId}
Delete a plugin
delete-agent-builder-plugins-pluginid 3 params → 200
GET
/api/agent_builder/plugins/{pluginId}
Get a plugin by id
get-agent-builder-plugins-pluginid 1 param → 200
POST
/api/agent_builder/plugins/install
Install a plugin
post-agent-builder-plugins-install 1 param body → 200
GET
/api/agent_builder/skills
List skills
get-agent-builder-skills 1 param
POST
/api/agent_builder/skills
Create a skill
post-agent-builder-skills 1 param body
DELETE
/api/agent_builder/skills/{skillId}
Delete a skill
delete-agent-builder-skills-skillid 3 params → 200
GET
/api/agent_builder/skills/{skillId}
Get a skill by id
get-agent-builder-skills-skillid 1 param
PUT
/api/agent_builder/skills/{skillId}
Update a skill
put-agent-builder-skills-skillid 2 params body
GET
/api/agent_builder/tools
List tools
get-agent-builder-tools → 200
POST
/api/agent_builder/tools
Create a tool
post-agent-builder-tools 1 param body → 200
POST
/api/agent_builder/tools/_execute
Run a tool
post-agent-builder-tools-execute 1 param body → 200
DELETE
/api/agent_builder/tools/{toolId}
Delete a tool
delete-agent-builder-tools-toolid 3 params → 200
GET
/api/agent_builder/tools/{toolId}
Get a tool by id
get-agent-builder-tools-toolid 1 param → 200
PUT
/api/agent_builder/tools/{toolId}
Update a tool
put-agent-builder-tools-toolid 2 params body → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kibana-agent-builder-api-openapi.yml Raw ↑

Other APIs Kibana publishes across the network.

Kibana Actions API
Kibana alerting API
Kibana APM agent configuration API
Kibana APM agent keys API
Kibana APM annotations API
Kibana APM server schema API
Kibana APM sourcemaps API
Kibana cases API
Kibana connectors API
Kibana Data streams API
Kibana data views API
Kibana Elastic Agent actions API