Knowledge Store
List Knowledge Items
List every knowledge item your API key's role can read
GET
https://www.stardeck.ai/api/v1/knowledgeReturns all knowledge items accessible to the API key's assigned role. Items are filtered by the key's permissions — items requiring higher access levels than the key's role are excluded.
Response
{
"success": true,
"data": {
"items": [
{
"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"
}
]
}
}successboolean
required
Always true for successful responses.
dataobject
required
ShowHide data
itemsKnowledgeItem[]
required
Array of knowledge items the key has permission to read.
ShowHide KnowledgeItem
idstring
required
UUID of the item.
organizationIdstring
required
Organization ID.
pathstring
required
File-like path (e.g. docs/api/overview.md).
contentstring
required
Item content (markdown, JSON, or extracted text).
itemTypestring
required
Either text or file.
fileKeystring | null
Storage key for file items.
fileNamestring | null
Original filename for file items.
contentTypestring | null
MIME type for file items.
fileSizeinteger | null
File size in bytes.
requiredReadPermissionstring
required
Permission required to read this item.
requiredWritePermissionstring | null
Permission required to write this item.
createdAtstring
required
ISO 8601 timestamp.
updatedAtstring
required
ISO 8601 timestamp.
Next steps
Get Knowledge Item
Read one item by its path