Docs

Get Schema

GET /documents/schema

GET/documents/schema

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder.

Returns the full entity schema available for building QueryBlocks. This is the registry of all queryable entities, their properties, navigations, and owned sub-navigations.

Requires EventDocumentsEdit permission.

Response

Returns an array of SchemaEntity objects — one per base entity (11 total: Crew, Collaborator, Area, Activity, Advance, AdvanceRequest, AdvanceQuestion, ProcurementResource, File, Order, Task).

FieldTypeDescription
namestringEntity identifier used in queries (e.g. `"Task"`).
labelstringHuman-readable label (e.g. `"Task"`).
propertiesarraySelectable/filterable properties.
navigationsarrayNon-collection navigations (one-to-one).
collectionsarrayCollection navigations (one-to-many).
ownedSubNavigationsarrayInline owned objects (e.g. `BillingInformation`).

Each SchemaProperty:

FieldTypeDescription
namestringProperty key used in query paths.
typestring`string`, `bool`, `int`, `DateTime`, or `dynamic`.
isFilterableboolWhether this property can be used in filters.
isSortableboolWhether this property can be used for sorting.
isDynamicBagboolTrue for JSON bag properties (CustomAttributes, Properties, etc.) that carry event-specific keys.