Workspace LLM

Get a model on your AI provider

Changed on
get/workspaces/{workspaceSlug}/llm/models/{id}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /workspaces/{workspaceSlug}/llm/models/{id}
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Workspace slug

idinteger required

Response

OK

brand'OPENAI' | 'ANTHROPIC' | 'GEMINI' | 'GEMMA' | 'META' | 'MISTRAL' | 'QWEN' | 'DEEPSEEK' | 'XAI' | 'COHERE' | 'Z_AI' | 'MOONSHOT'

Model brand declared by an admin; display only

connectionDisplayNamestring required

Owning connection's display name

connectionIdinteger required

Owning connection id

contextWindowinteger

Context window in tokens

createdAtstring date-time required

Creation timestamp

currencystring required

Currency code

dataHandlingNotestring

Admin-only note: region, agreement, renewal date

dataHandlingTier'IN_HOUSE' | 'CLOUD' | 'UNDECLARED' required

Data-handling tier derived from the operator; UNDECLARED until it is set

displayNamestring required

Human-readable name

enabledboolean required

Active toggle

idinteger required

Model id

maxOutputTokensinteger

Maximum output tokens

operatedBy'OWN_ORGANISATION' | 'PROVIDER'

Who operates the systems the work is sent to; null until declared

per1mCacheReadUsdnumber

Cache-read rate per 1M tokens (USD)

per1mCacheWriteUsdnumber

Cache-write rate per 1M tokens (USD)

per1mInputUsdnumber

Input rate per 1M tokens (USD)

per1mOutputUsdnumber

Output rate per 1M tokens (USD)

priceNotestring

Price note

pricingMode'PRICED' | 'NO_CHARGE' | 'UNPRICED' required

Pricing mode

reasoningEffort'NONE' | 'MINIMAL' | 'LOW' | 'MEDIUM' | 'HIGH' | 'XHIGH' | 'MAX'

Reasoning effort requested of the model; null sends none, the provider's default applies

slugstring required

Unique slug within the workspace

updatedAtstring date-time

Last update timestamp

upstreamModelIdstring required

Upstream provider model id

Changes

    • breaking

      for the path request parameter workspaceSlug, the minLength was increased from 0 to 3

    • warning

      for the path request parameter workspaceSlug, the maxLength was set to 51

    • warning

      changed the pattern of the path request parameter workspaceSlug from ^[a-z0-9][a-z0-9-]{2,50}$ to ^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$