GET
/v1/organizations/{organizationId}/projects/{projectId}/environments/{environmentId}/tenants/{tenantId}/knowledge-basesList Knowledge Bases in a Tenant
Return a bounded page of Tenant-scoped Knowledge Bases and their active embedding snapshots, continuing from an opaque cursor when supplied.
Authentication
Send an API key as a Bearer token in the Authorization header.
Parameters
Responses
200KnowledgeBasePageapplication/json400The request path, headers, query, or JSON body did not satisfy the published schema401Unauthorizedapplication/json403Forbiddenapplication/jsonReusable schemas
KnowledgeBasePageEncoded
object- unknown properties allowed
false
itemsrequiredarrayThe resources in this page, in stable order.nextCursorrequired- The opaque continuation token for the next page, or null after the final page.Any of
string- maximum length
2048 - minimum length
1 - pattern
^[A-Za-z0-9_-]+$
null - maximum length
UnauthorizedEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"Unauthorized"
- allowed values
reasonrequiredstringA safe explanation of why the credential was rejected.
ForbiddenEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"Forbidden"
- allowed values
permissionrequiredstringThe permission required by the refused operation.
KnowledgeBaseSummaryEncoded
object- unknown properties allowed
false
knowledgeBaseIdrequiredstringThe Knowledge Base identifier.- maximum length
64 - pattern
^knowledge_base_[\s\S]+$
- maximum length
organizationIdrequiredstringThe Organization identifier.- maximum length
64 - pattern
^org_[\s\S]+$
- maximum length
projectIdrequiredstringThe Project identifier.- maximum length
64 - pattern
^proj_[\s\S]+$
- maximum length
environmentIdrequiredstringThe Environment identifier.- maximum length
64 - pattern
^env_[\s\S]+$
- maximum length
tenantIdrequiredstringThe Tenant identifier.- maximum length
64 - pattern
^tenant_[\s\S]+$
- maximum length
keyrequiredstringThe stable, human-authored Agent Definition key.displayNamerequiredstringThe human-readable resource name.sourceTyperequiredstringThe provider-neutral source adapter type.dataIntegrationConnectionIdrequired- The scoped data Integration Connection identifier.Any of
stringA Cantora Integration Connection identifier, prefixed with `data_integration_connection_`.- maximum length
64 - pattern
^data_integration_connection_[\s\S]+$
null - maximum length
configurationGenerationrequiredintegerThe monotonically increasing Knowledge Base configuration generation.- greater than
0
- greater than
configurationEtagrequiredstringThe strong ETag for this Knowledge Base's mutable source configuration.- maximum length
12 - pattern
^"(?:[1-9][0-9]{0,9})"$
- maximum length
activeSnapshotrequired- The active immutable Knowledge Snapshot, or null before the first successful synchronization.Any of
null createdAtrequiredstringWhen the resource was created, in UTC.- format
date-time
- format
ActiveKnowledgeSnapshotEncoded
object- unknown properties allowed
false
knowledgeSnapshotIdrequiredstringThe immutable Knowledge Snapshot identifier.- maximum length
64 - pattern
^knowledge_snapshot_[\s\S]+$
- maximum length
generationrequiredintegerThe monotonically increasing Agent Release generation.- greater than
0
- greater than
embeddingProviderrequiredstringThe embedding provider used to build this Snapshot.embeddingModelrequiredstringThe embedding model used to build this Snapshot.embeddingDimensionsrequiredintegerThe number of dimensions in every embedding vector in this Snapshot.- greater than
0
- greater than
createdAtrequiredstringWhen the resource was created, in UTC.- format
date-time
- format