inference

List Sandboxes referencing an inference provider.

Changed on
get/api/inference/provider/{providerName}/usage

Request

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

Path parameters

providerNamestring required

Stable tenant-scoped inference provider ID.

Stable inference provider ID.

Query parameters

scope'Organisation' | 'Workspace' required

Headers

X-AgentZ-Workspace-IDstring

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

Response

Provider usage.

providerstring required

Stable tenant-scoped inference provider ID.

poolsInferencePoolName[] required
sandboxesSandboxName[] required

Changes

    • breaking

      added the new required query request parameter scope

    • info

      the endpoint scheme security GatewayBearer was added to the API

    • info

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

    • info

      endpoint added