Get A2A agent card Experimental; added in 9.2.0

GET /api/agent_builder/a2a/{agentId}.json

Spaces method and path for this operation:

get /s/{space_id}/api/agent_builder/a2a/{agentId}.json

Refer to Spaces for more information.

Get agent discovery metadata in JSON format. Use this endpoint to provide agent information for A2A protocol integration and discovery. To learn more about the Agent Builder A2A server, refer to the A2A server documentation.

[Required authorization] Route required privileges: agentBuilder:read.

Path parameters

  • agentId string Required

    The unique identifier of the agent to get A2A metadata for.

Responses

  • 200 application/json

    Indicates a successful response

GET /api/agent_builder/a2a/{agentId}.json
curl \
  -X GET "${KIBANA_URL}/api/agent_builder/a2a/{agentId}.json" \
  -H "Authorization: ApiKey ${API_KEY}"
GET kbn://api/agent_builder/a2a/{agentId}.json
Response examples (200)
Example response card of Elastic AI Agent
{
  "capabilities": {
    "pushNotifications": false,
    "stateTransitionHistory": false,
    "streaming": false
  },
  "defaultInputModes": [
    "text/plain"
  ],
  "defaultOutputModes": [
    "text/plain"
  ],
  "description": "Elastic AI Agent",
  "name": "Elastic AI Agent",
  "protocolVersion": "0.3.0",
  "provider": {
    "organization": "Elastic",
    "url": "https://elastic.co"
  },
  "securitySchemes": {
    "authorization": {
      "description": "Authentication token",
      "in": "header",
      "name": "Authorization",
      "type": "apiKey"
    }
  },
  "skills": [
    {
      "description": "A powerful tool for searching and analyzing data within your Elasticsearch cluster.",
      "examples": [],
      "id": "platform.core.search",
      "inputModes": [
        "text/plain",
        "application/json"
      ],
      "name": "platform.core.search",
      "outputModes": [
        "text/plain",
        "application/json"
      ],
      "tags": [
        "tool"
      ]
    }
  ],
  "supportsAuthenticatedExtendedCard": false,
  "url": "http://localhost:5601/api/agent_builder/a2a/elastic-ai-agent",
  "version": "0.1.0"
}