Skip to main content
records

Read Field Definitions

Field definitions of one entity type: the company's own and the global ones, archived ones left out, sorted by order within each group. key names the column for column-backed fields and the field id for map-backed ones.

GET
/api/records/{company_name}/field-definitions

filterable and searchable are declared only and have no behavior yet. Archived definitions are left out here and refuse values on machine writes (HTTP 422, type field_archived); required and regex are enforced for map-backed values on machine create and update (types field_required and field_regex) and describe column-backed fields without being enforced here.

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

company_namestringrequired
entity_typeenum<string>queryrequired
Available options: machine

Response

application/json

Successful Response

itemsobject[]