Skip to main content
GET
/
kb
/
manage
List knowledge bases
curl --request GET \
  --url https://asteragents.com/api/kb/manage \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "knowledgeBases": [
    {
      "id": 1,
      "name": "Product Documentation",
      "description": "All product docs and guides",
      "embeddingModel": "openai:text-embedding-3-small",
      "embeddingDimensions": 1536,
      "extractionModel": null,
      "extractionSchema": null,
      "source": null,
      "trigger": null,
      "createdAt": "2024-01-15T10:30:00.000Z",
      "updatedAt": "2024-01-15T10:30:00.000Z",
      "userId": "user_2ABC123DEF",
      "fileCount": 12,
      "lastFileUploadedAt": "2024-02-01T14:00:00.000Z",
      "totalSize": 52428800,
      "status": "ready"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token from Clerk authentication.

Must be from a user with org:admin role.

Response

Successfully retrieved knowledge bases

success
boolean
required
knowledgeBases
object[]
required