inference

Store subscription credentials and return a single-use provider ticket.

Changed on

Credential material is written directly to OpenBao and is never included in this or any later API response.

post/api/inference/provider/oauth-ticket

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/inference/provider/oauth-ticket
  • Auth: HTTP bearer

Headers

X-AgentZ-Workspace-IDstring

Stable Workspace ID selecting Workspace scope. Omit for Organisation scope.

Request body

kind'OpenAICodex' required

Response

Single-use provider ticket and non-secret model metadata.

ticketstring required
expires_atstring date-time required
provenance'live' | 'cache' | 'snapshot' required

Changes

    • breaking

      removed the enum value GitHubCopilot of the request property

    • info

      the endpoint scheme security GatewayBearer was added to the API

    • info

      added the new optional header request parameter X-AgentZ-Workspace-ID