> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crewship.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Thread

> Get thread details

## Path Parameters

<ParamField path="id" type="string" required>
  Thread ID
</ParamField>

## Response

<ResponseField name="thread_id" type="string">
  Thread ID
</ResponseField>

<ResponseField name="deployment_id" type="string">
  Deployment ID
</ResponseField>

<ResponseField name="status" type="string">
  Thread status: `idle`, `busy`, `interrupted`, `error`
</ResponseField>

<ResponseField name="values" type="object">
  Current thread state
</ResponseField>

<ResponseField name="metadata" type="object">
  User-defined metadata
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.crewship.dev/v1/threads/thr_xyz789abc \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "thread_id": "thr_xyz789abc",
    "deployment_id": "dep_abc123",
    "status": "idle",
    "metadata": {"user_id": "user_1"},
    "values": {"messages": [{"role": "user", "content": "Hello"}]},
    "created_at": "2024-01-15T10:35:00Z",
    "updated_at": "2024-01-15T10:40:00Z"
  }
  ```
</ResponseExample>
