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

# Get Knowledge Item

Retrieve a single knowledge item by its path.

<ParamField path="path" type="string" required>
  The item path, e.g. `docs/api/overview.md`. Nested paths use `/` separators.
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "data": {
      "item": {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "organizationId": "org_2abc123",
        "path": "docs/api/overview.md",
        "content": "# API Overview\n\nWelcome to the API.",
        "itemType": "text",
        "fileKey": null,
        "fileName": null,
        "contentType": null,
        "fileSize": null,
        "requiredReadPermission": "inherit",
        "requiredWritePermission": "inherit",
        "createdAt": "2026-01-15T10:30:00.000Z",
        "updatedAt": "2026-01-15T10:30:00.000Z"
      }
    }
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "error": "Knowledge item not found"
  }
  ```
</ResponseExample>

<ResponseField name="success" type="boolean" required>
  Always `true` for successful responses.
</ResponseField>

<ResponseField name="data" type="object" required>
  <Expandable title="data">
    <ResponseField name="item" type="KnowledgeItem" required>
      The knowledge item.

      <Expandable title="KnowledgeItem">
        <ResponseField name="id" type="string" required>UUID of the item.</ResponseField>
        <ResponseField name="path" type="string" required>File-like path.</ResponseField>
        <ResponseField name="content" type="string" required>Item content.</ResponseField>
        <ResponseField name="itemType" type="string" required>Either `text` or `file`.</ResponseField>
        <ResponseField name="createdAt" type="string" required>ISO 8601 timestamp.</ResponseField>
        <ResponseField name="updatedAt" type="string" required>ISO 8601 timestamp.</ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>
