---
title: "Get chat metadata"
method: GET
path: "/v1/chats/{chatId}"
tags: ["Chats"]
---

# Get chat metadata

`GET /v1/chats/{chatId}`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/chats/{chatId}`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Returns the chat's status (mirrored from the backing workflow's Temporal status) and its current turn index. Polled while the chat runs.

## Path parameters

- `chatId` string, required

## Response `200`

Status retrieved successfully

- ChatStatusResponse
  - `model` ModelConfiguration
    - `integrationId` string
    - `maxOutputTokens` integer
    - `modelName` string
    - `provider` 'ANTHROPIC' | 'GEMINI' | 'LITELLM' | 'OPENAI'
  - `pendingApproval` PendingApproval
    - `approvalNonce` string
    - `categories` ChatActionCategory[]
    - `description` string
    - `permissionId` string
  - `processing` boolean
  - `status` string
  - `turnIndex` integer

## Other responses

- `401`: Unauthorized
- `404`: Chat not found

---

[API](https://skmtc.dev/grepr/apis/grepr-api.md) - [All operations](https://skmtc.dev/grepr/apis/grepr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grepr/apis/grepr-api/revisions/2a5ce03a0bf0?raw)
