# social.colibri.beta.thread.getThread

> Published by [colibri.social](https://lexicon.garden/identity/did:plc:mprdjqjluoswa7awzggaggj3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.thread.getThread)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.thread.getThread/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.thread.getThread/examples)

## Definitions

### `social.colibri.beta.thread.getThread`

**Type**: `query`

Gets one thread, with its anchor message resolved so a client can open it without having read the channel it belongs to.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `thread` | `string` (space-ref) | Yes | The thread to get. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `thread` | `ref` → `social.colibri.beta.thread.defs#threadView` | Yes | The requested thread. |

#### Errors

- **AuthRequired**: The request has no valid service auth.
- **Forbidden**: The requesting user may not read this thread.
- **ThreadNotFound**: No thread matches the given space reference.

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Gets one thread, with its anchor message resolved so a client can open it without having read the channel it belongs to.",
      "errors": [
        {
          "description": "The request has no valid service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "The requesting user may not read this thread.",
          "name": "Forbidden"
        },
        {
          "description": "No thread matches the given space reference.",
          "name": "ThreadNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "thread": {
              "description": "The requested thread.",
              "ref": "social.colibri.beta.thread.defs#threadView",
              "type": "ref"
            }
          },
          "required": [
            "thread"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "thread": {
            "description": "The thread to get.",
            "format": "space-ref",
            "type": "string"
          }
        },
        "required": [
          "thread"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.colibri.beta.thread.getThread",
  "lexicon": 1
}
```
