---
title: "Get workspace LLM config (owner/maintainer)"
method: GET
path: "/api/workspaces/{id}/llm-config"
tags: ["Workspaces"]
---

# Get workspace LLM config (owner/maintainer)

`GET /api/workspaces/{id}/llm-config`

The returned api_key is masked (first 3 + "..." + last 4). updated_at is null when no config is set.

## Path parameters

- `id` string, required

## Response `200`

OK

- LLMConfigResponse
  - `api_key` string
  - `base_url` string
  - `configured` boolean, required
  - `models` LLMModel[]
    - `id` string, required
    - `name` string, required
  - `updated_at` string, nullable

## Other responses

- `403` — insufficient role
- `500` — internal error

---

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