Get A2A agent card Technical Preview; 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.

[Required authorization] Route required privileges: read_onechat.

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