List Knowledge Items
curl --request GET \
--url https://www.stardeck.ai/api/v1/knowledge{
"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"
}
]
}
}
Knowledge Store
List Knowledge Items
GET
/
api
/
v1
/
knowledge
List Knowledge Items
curl --request GET \
--url https://www.stardeck.ai/api/v1/knowledge{
"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"
}
]
}
}
Returns 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.
{
"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"
}
]
}
}
Always
true for successful responses.Show data
Show data
Array of knowledge items the key has permission to read.
Show KnowledgeItem
Show KnowledgeItem
UUID of the item.
Organization ID.
File-like path (e.g.
docs/api/overview.md).Item content (markdown, JSON, or extracted text).
Either
text or file.Storage key for file items.
Original filename for file items.
MIME type for file items.
File size in bytes.
Permission required to read this item.
Permission required to write this item.
ISO 8601 timestamp.
ISO 8601 timestamp.
⌘I