workspace

get copilot info

Changed on
get/w/{workspace}/workspaces/get_copilot_info

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/workspaces/get_copilot_info
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required

Response

status

providersobject
custom_promptsobject
max_tokens_per_modelobject
model_pricingobject
context_window_per_modelobject

Context window in tokens per provider:model, overriding the built-in table the AI chat uses to decide when to compact its history.

copilot_disabledboolean

Hides the Windmill AI assistant (chat, sessions, code generation, completion, fixes) from the workspace UI. Read from the workspace's own settings even when the providers served fall back to the instance config. AI agent steps and the AI sandbox in flows are unaffected.

sessions_storage_disabledboolean

Stops browsers from backing their AI sessions up to the workspace's object storage. Read from the workspace's own settings like copilot_disabled.

sessions_retention_daysinteger

The server deletes the backup of a session no push has reached for this many days. Unset keeps backups until the user deletes the session. Read from the workspace's own settings like copilot_disabled.

Changes

    • warning

      added the new cloudflare enum value to the / response property for the response status

    • warning

      added the new cloudflare enum value to the / response property for the response status

    • warning

      added the new cloudflare enum value to the / response property for the response status

    • warning

      added the new typesafe enum value to the / response property for the response status

    • warning

      added the new typesafe enum value to the / response property for the response status

    • warning

      added the new typesafe enum value to the / response property for the response status

    • info

      added the optional property to the response with the status