List File Categories
List the file category vocabulary — company-wide, or scoped to one entity
type’s admin-configured list via the optional entityType parameter.
Category values are stored as free text on a placement, and writes are
never validated against the configured lists: setting a category via
Update File or Update File Placement accepts any non-blank string up
to 255 characters. This endpoint is the vocabulary to draw from so the set
stays consistent instead of fragmenting. Company admins manage the
configured lists in Company Settings → File Categories.
With entityType — that entity type’s configured categories in their
configured order, followed by the labels in use on its live placements that
no configured category covers. entityTypeCategories flags every entry with
configured; categories repeats the same names in the same order without
the flags. Categories are configured per entity type, so a Policy list and an
Event list are independent. An unconfigured in-use value comes from an
import, an API write, or a category an admin has removed — it stays listed so
it remains visible and filterable.
Without entityType — the distinct category values in use across
every owner’s live file placements, under categories alone:
- The set is company-wide, not scoped to any owner: a category set on a company-level file and one set on a quote’s file both appear here.
- Only live placements contribute — a category that survives only on a soft-deleted placement (or a soft-deleted file) is excluded. A category that is still in use on any live placement remains.
- Values are returned once each, sorted case-insensitively.
- The configured lists are not consulted, so a configured category that no file uses yet does not appear.
- A company with no categorized live placements returns an empty array.
Required permission: company.file:read
Authorizations
API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.
Path Parameters
Company identifier
Query Parameters
Scope the read to one owner entity type's configured list. The lowercase kebab-case owner slug — PascalCase (e.g. Quote) is rejected with a 400. Omit for the company-wide in-use listing.
company, event, exposure, quote, policy, submission, person, organization Response
The file category vocabulary
Without entityType: the distinct non-null category values across the company's live file placements, each appearing once, sorted case-insensitively. With entityType: that type's vocabulary as bare names — the configured categories in configured order, then the unconfigured in-use values.
The requested owner entity type, echoed as its wire slug. Present only when the request carried entityType.
company, event, exposure, quote, policy, submission, person, organization The scoped vocabulary with every entry flagged. Present only when the request carried entityType; lists the same names in the same order as categories.
