knowledgeCatalog

List knowledge files.

Arguments

  • projectReferenceID!required

    Project whose knowledge is selected. Ordinary callers require project.knowledge.read. A run-bound MCP service credential instead must match the persisted run's project and agent plus its actor or runtime transport binding; its effective sealed authority must grant the invoked tool and a knowledge selector. On project-scoped MCP endpoints, the scoped project supplies this value when omitted.

  • inputKnowledgeCatalogInput

  • input.lookupTargetKnowledgeLookupTargetInput

    Source to list; omit for the main preview branch.

  • input.callerSelectorJSON

    Caller-selected document scope. Source membership, persisted run knowledge policy and this selector are intersected before counting or paging. Results include visible knowledge Markdown files with title, type, tags and link counts. Accepts a boolean, a path pattern, a list of patterns, or a {pattern: boolean} map. Patterns are relative; at most 1024 entries.

  • input.filtersKnowledgeFiltersInput

  • input.paginationKnowledgeCatalogPaginationInput

Responses

query KnowledgeCatalog($projectReference: ID!) {  knowledgeCatalog(projectReference: $projectReference) {    data {      fileId      fileVersionId      path      title      type      tags      reserved      reservedKind      malformedReason    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }    total    returned  }}
{  "data": {    "knowledgeCatalog": {      "data": [        {          "fileId": "string",          "fileVersionId": "string",          "path": "string",          "title": "string",          "type": "string",          "tags": [            "string"          ],          "reserved": false,          "reservedKind": "string",          "malformedReason": "string"        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      },      "total": 0,      "returned": 0    }  }}

The KnowledgeCatalog! in data.knowledgeCatalog.