Get Workflow Card
Runtime contract
The generated response schema is unspecified. This route returns an A2A Agent Card directly, with the fields described below.
Start the example A2A server and set the same OS_SECURITY_KEY in the client terminal. These examples target reference-workflow on port 7777. On deployments using scoped bearer authorization, this operation requires workflows:read (or a matching broader grant). The authenticated principal determines user identity; X-User-ID is only anonymous attribution and cannot override it.
curl "http://localhost:7777/a2a/workflows/reference-workflow/.well-known/agent-card.json" \
-H "Authorization: Bearer $OS_SECURITY_KEY"The response includes name, description, url, version, protocolVersion, capabilities, defaultInputModes, defaultOutputModes, and skills. Optional fields may be null. It is not wrapped in a JSON-RPC result. Card metadata is a discovery description; it does not grant permission to execute the component.
The current workflow card advertises capabilities.streaming=false even though the workflow stream route exists. Clients relying on that advertised capability may decline to stream; this is a current server metadata limitation. There are no workflow A2A task-polling or cancellation routes.
/a2a/workflows/{id}/.well-known/agent-card.jsonPath Parameters
Response Body
application/json
application/json
curl --request GET 'https://example.com/a2a/workflows/string/.well-known/agent-card.json'null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}