---
title: "get copilot info"
method: GET
path: "/w/{workspace}/workspaces/get_copilot_info"
tags: ["workspace"]
---

# get copilot info

`GET /w/{workspace}/workspaces/get_copilot_info`

## Path parameters

- `workspace` string, required

## Response `200`

status

- AIConfig
  - `providers` object
  - `default_model` AIProviderModel
    - `model` string, required
    - `provider` 'openai' | 'azure_openai' | 'azure_foundry' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'aws_bedrock' | 'customai', required
  - `metadata_model` AIProviderModel
    - `model` string, required
    - `provider` 'openai' | 'azure_openai' | 'azure_foundry' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'aws_bedrock' | 'customai', required
  - `code_completion_model` AIProviderModel
    - `model` string, required
    - `provider` 'openai' | 'azure_openai' | 'azure_foundry' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'aws_bedrock' | 'customai', required
  - `custom_prompts` object
  - `max_tokens_per_model` object
  - `model_pricing` object

## Changes

- **2026-08-24** `0f7dfcd9c1f0` — 1 info
  - added the optional property `model_pricing` to the response with the `200` status
- **2026-07-02** `8ec78b5962c0` — 3 warning
  - added the new `azure_foundry` enum value to the `code_completion_model/provider` response property for the response status `200`
  - added the new `azure_foundry` enum value to the `default_model/provider` response property for the response status `200`
  - added the new `azure_foundry` enum value to the `metadata_model/provider` response property for the response status `200`

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/w/:workspace/workspaces/get_copilot_info/get.md)

---

[API](https://skmtc.dev/windmill/apis/windmill-api.md) · [All operations](https://skmtc.dev/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/7b281701c340/schema)
