List Knowledge Bases

List all knowledge bases in a workspace.

GET/api/v1/knowledge
X-API-Key<token>

Your SteelEngine API key (personal, workspace, or organization). Create personal and workspace keys under Settings > API Keys. Create organization keys under Organization Settings > API Keys.

In: header

Query Parameters

workspaceId*string

The unique identifier of the workspace.

limit?integer

Page size (1-100). Omit both limit and cursor to receive every knowledge base in one response; when only cursor is sent the page size defaults to 50.

Range1 <= value <= 100
cursor?string

Pagination cursor returned in a previous response's nextCursor field.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/knowledge?workspaceId=string"
{  "success": true,  "data": {    "knowledgeBases": [      {        "id": "kb_abc123",        "name": "Product Docs",        "description": "Product documentation and FAQs",        "docCount": 5,        "tokenCount": 25000,        "embeddingModel": "text-embedding-3-small",        "createdAt": "2026-01-15T10:30:00Z",        "updatedAt": "2026-01-15T10:30:00Z"      }    ],    "totalCount": 1  }}