Knowledge Store

Get Knowledge Item

Read one knowledge item by its path

GET
https://www.stardeck.ai/api/v1/knowledge/items/{path}

Retrieve a single knowledge item by its path. The key's role needs the item's read permission, after folder-level overrides; otherwise the response is 403.

path
path
string
required

The item path, e.g. docs/api/overview.md. Nested paths use / separators.

Response

{
  "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"
    }
  }
}
success
boolean
required

Always true for successful responses.

data
object
required
Show data
item
KnowledgeItem
required

The knowledge item.

Show KnowledgeItem
id
string
required

UUID of the item.

path
string
required

File-like path.

content
string
required

Item content.

itemType
string
required

Either text or file.

createdAt
string
required

ISO 8601 timestamp.

updatedAt
string
required

ISO 8601 timestamp.

Next steps

Create or Update Knowledge Item

Write an item at a path

On this page