Resolve An Agent's LLM Config (M2M)
Resolve the LLM provider an agent is bound to (by id), its model and a decrypted API key for it. Authenticated with the run's token (a run token, or a legacy deployment token during the compatibility phase); the agent must be in that token's scope. The credential is resolved for that agent's own org and its own binding (never the deployment token owner's personal key) - a member's personal key must never authenticate an org-owned agent's conversation.
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/llm-config/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44", "name": "string", "type": "openai-compatible", "model": "string", "endpoint": "string", "api_key": "string", "temperature": 0, "max_tokens": 0, "timeout_ms": 0, "metered": false, "org_supplied_endpoint": true, "route": "platform", "vision": false, "documents": false}Empty
Empty
Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}