Get a collection

Get a collection by slug. includeHistory=true embeds the append-only schema version history.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

slugstringRequired

Query parameters

includeHistorystringOptional

Response

Collection
createdAtstring
descriptionstring or null
displayNamestring
iconstring or null
idstring
indexedFieldslist of strings
schemamap from strings to any or null

Constrained JSON Schema dialect: root object with string/number/boolean/array/object properties, one nesting level, no $ref/oneOf/pattern

schemaVersioninteger
slugstring
updatedAtstring
validationModeenum
historylist of objects
recordCountinteger

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error