For the complete documentation index, see llms.txt. This page is also available as Markdown.

kb_list

Discover knowledge-base IDs, names, empty status, file counts and last sync time. verbose=true includes additional metadata.

Effect: This call reads data and does not run or change a project.

Inputs

Name
Type
Requirement
Description

cursor

string

Optional

Opaque pagination.next_cursor from the preceding page. Omit for the first page; preserve the resource and filters.

page_size

integer

Optional

Results per page. Default 50; maximum 200. Minimum 1.

verbose

boolean

Optional

Default false. Include expanded details. See behavior below for the scope of expansion.

Example

These are MCP tool arguments, not an HTTP request body. Replace bracketed IDs with values returned from your account.

{}

Result

Abbreviated result example; unshown fields are omitted for clarity.

{
  "verbose": false,
  "knowledge_bases_compact": [
    {
      "knowledge_base_id": "<knowledge-base-id>",
      "name": "<knowledge-base-name>",
      "is_empty": false,
      "total_files": 12
    }
  ],
  "pagination": {
    "has_more": false,
    "next_cursor": null
  }
}

Behavior

Use the returned knowledge_base_id as kb_search’s kb_id.

Troubleshooting

If access is denied, confirm the active organization with whoami and check access to the selected resource. Use returned IDs rather than names. For an invalid argument, follow the returned next_action and correct the request.

Connections, knowledge and discovery

Connection, permissions, pagination, and recovery

Was this helpful?