Bootstrap Agent Deployment
Resolve a Keycloak-authenticated agent's deployment for a bundle in one call: reuse an existing deployment for (caller, bundle) or create one, mint a fresh access token, and report which USER_SET credentials still need a human to connect them - including a suggested credential where exactly one unambiguous candidate exists, for a confirmation UI to pre-select rather than commit.
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Query Parameters
verify_locally?Verify Locally
Default
trueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/deployments/bootstrap" \ -H "Content-Type: application/json" \ -d '{ "bundle_id": "fc6f5a67-caa1-4339-9c14-a67826143b60" }'{ "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6", "bundle_id": "fc6f5a67-caa1-4339-9c14-a67826143b60", "status": "ready", "token": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "value": "string", "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z" }, "missing_credentials": [ { "entry_id": "31513983-613b-4481-b270-ae929f358bae", "alias": "string", "entry_title": "string", "mcp_namespace": "string", "suggested_credential_id": "70c89e88-fe5e-4973-9f76-785a306242d8", "suggested_credential_label": "string" } ]}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}