Resolve Agent (M2M)
Resolve an agent's identity and system prompt for a backend-initiated run (see app/core/triggers/delivery.py). Authenticated with a BundleAccessToken for the SAME deployment the agent belongs to - never a Keycloak JWT, and never any other deployment's token, matching resolve_agent_config's own authorization shape immediately above. agent-runtime's existing GET /v1/agents/{agent_id} route cannot be reused here: it requires a Keycloak JWT (SecurityContextDep), and a backend-initiated trigger run has no live user session to hold one.
Authorization
BundleAccessToken AuthorizationBearer <token>
In: header
Path Parameters
agent_id*Agent Id
Format
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/v1/bundler/agent-by-deployment/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6", "llm_provider": "string", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "system_prompt": "string", "has_workflow": false}Empty
Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}