Elizon Docs
API Reference

List Knowledge Bases

GET /api/v1/knowledge-bases — list the Knowledge Bases in a project.

Lists the Knowledge Bases in one project, newest first.

GET /api/v1/knowledge-bases

Query parameters

ParameterTypeRequiredDescription
projectIdstring (UUID)With an org-scoped key: yesThe project to list. A project-scoped key always lists its own project; naming a different one returns 403. An org-scoped key must name a project.
limitinteger 1–100NoPage size. Default 20.
cursorstringNoThe nextCursor from the previous page.

Response

200 OK

{
  "items": [
    {
      "knowledgeBaseId": "4f1c…",
      "projectId": "2b7e…",
      "name": "Pump manuals",
      "status": "ACTIVE",
      "embeddingLlmConfigId": "8b1e…",
      "embeddingModel": "text-embedding-3-small",
      "searchMode": "hybrid",
      "documentCount": 12,
      "totalSizeBytes": 4812933,
      "createdAt": "2026-10-09T08:00:00Z"
    }
  ],
  "nextCursor": null
}

status is ACTIVE once created, INDEXING while a settings change re-indexes it, and FAILED if that failed. Only an ACTIVE Knowledge Base can be searched. Each document's own progress is in List documents.

Errors

StatuserrorWhen
400project_requiredAn org-scoped key did not pass projectId.
403forbiddenA project-scoped key named a project other than its own.
422project_not_foundprojectId is not a project of your organization.
503knowledge_service_unavailableThe Knowledge Base service is unreachable or not configured.

Example

curl "https://api.elizon.ai/api/v1/knowledge-bases?projectId=2b7e…" \
  -H "X-API-Key: elz_your_key_here"