---
title: "List ChatKit threads with optional pagination and user filters."
method: GET
path: "/chatkit/threads"
---

# List ChatKit threads with optional pagination and user filters.

`GET /chatkit/threads`

## Query parameters

- `limit` integer
- `order` 'asc' | 'desc'
- `after` string — List items created after this thread item ID. Defaults to null for the first page.
- `before` string — List items created before this thread item ID. Defaults to null for the newest results.
- `user` string — Filter threads that belong to this user identifier. Defaults to null to return all users.

## Response `200`

Success

- ThreadListResource — A paginated list of ChatKit threads.
  - `object` 'list', required — The type of object returned, must be `list`.
  - `data` ThreadResource[], required — A list of items
    - `id` string, required — Identifier of the thread.
    - `object` 'chatkit.thread', required — Type discriminator that is always `chatkit.thread`.
    - `created_at` integer, required — Unix timestamp (in seconds) for when the thread was created.
    - `title` string, nullable, required — Optional human-readable title for the thread. Defaults to null when no title has been generated.
    - `status` union, required — Current status for the thread. Defaults to `active` for newly created threads.
      - ActiveStatus — Indicates that a thread is active.
        - `type` 'active', required — Status discriminator that is always `active`.
      - LockedStatus — Indicates that a thread is locked and cannot accept new input.
        - `type` 'locked', required — Status discriminator that is always `locked`.
        - `reason` string, nullable, required — Reason that the thread was locked. Defaults to null when no reason is recorded.
      - ClosedStatus — Indicates that a thread has been closed.
        - `type` 'closed', required — Status discriminator that is always `closed`.
        - `reason` string, nullable, required — Reason that the thread was closed. Defaults to null when no reason is recorded.
    - `user` string, required — Free-form string that identifies your end user who owns the thread.
  - `first_id` string, nullable, required — The ID of the first item in the list.
  - `last_id` string, nullable, required — The ID of the last item in the list.
  - `has_more` boolean, required — Whether there are more items available.

---

[API](https://skmtc.net/openai/apis/openai-api-3.md) · [All operations](https://skmtc.net/openai/apis/openai-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openai/openai-api-3/versions/74cbcf73838f/schema)
