inference

Create an inference provider and its write-only credentials.

Changed on
post/api/inference/provider

Request

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

Headers

X-AgentZ-Workspace-IDstring

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

Request body

oauth_ticketstring

Response

Provider created.

OR
OR
OR
OR
OR
OR
OR
OR

Changes

    • breaking

      removed from the request property oneOf list

    • info

      removed GitHubCopilot discriminator mapping keys from the request property

    • info

      removed GitHubCopilot discriminator mapping keys from the /// response property for the response status

    • info

      removed from the /// response property oneOf list for the response status

    • info

      the endpoint scheme security GatewayBearer was added to the API

    • info

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

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status