---
title: "Get Assistant"
method: GET
path: "/api/assistants/{assistant_id}"
tags: ["assistants"]
---

# Get Assistant

`GET /api/assistants/{assistant_id}`

Get a single assistant by ID.

## Path parameters

- `assistant_id` string, uuid, required

## Response `200`

Successful Response

- AssistantWithConfig
  - `model` 'gpt-4o'
  - `instructions` string, nullable
  - `knowledge_base_id` string, uuid, nullable, required
  - `context_limit` integer, nullable — The maximum number of context chunks to include in a run.
  - `codex_access_key` string, nullable
  - `hard_coded_queries` HardCodedQuery[], nullable
    - `query` string, required
    - `response` string, required
    - `context` string[], nullable
    - `prompt` string, nullable
    - `messages` object[], nullable
  - `codex_as_cache` boolean
  - `name` string, required — The name of the assistant
  - `description` string, required — The description of the assistant
  - `url_slug` string, nullable — Optional URL suffix - unique identifier for the assistant's endpoint
  - `suggested_questions` string[] — A list of suggested questions that can be asked to the assistant
  - `logo_s3_key` string, nullable — S3 object key to the assistant's logo image
  - `logo_text` string, nullable — Text to display alongside the assistant's logo
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable, required

## Other responses

- `422` — Validation Error

## Changes

- **2025-08-05** `9e6009a931b6` — 2 warning, 2 info
  - removed the optional property `response_validation_config` from the response with the `200` status
  - removed the optional property `tools` from the response with the `200` status
  - added the optional property `codex_as_cache` to the response with the `200` status
  - added the optional property `hard_coded_queries` to the response with the `200` status
- **2025-04-15** `f22c2d6c16f0` — 1 info
  - added the optional property `response_validation_config` to the response with the `200` status
- **2025-04-14** `b890eea39144` — 1 info
  - added the optional property `codex_access_key` to the response with the `200` status
- **2025-04-10** `d95b89c34a94` — 2 info
  - added the optional property `logo_s3_key` to the response with the `200` status
  - added the optional property `logo_text` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/cleanlab/apis/agility/changes/api/assistants/:assistant_id/get.md)

---

[API](https://skmtc.dev/cleanlab/apis/agility.md) · [All operations](https://skmtc.dev/cleanlab/apis/agility/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cleanlab/agility/revisions/9e6009a931b6/schema)
