Skip to main content
GET
Record types and fields, relations, quantities, figures, actions and scenarios, flagging fields this caller cannot read.

Authorizations

Authorization
string
header
required

An API key issued with object_model scopes: Authorization: Bearer sk_…. The scopes: object_model:records:read, object_model:records:write, object_model:facts:read, object_model:facts:write, object_model:model:read, object_model:model:configure, object_model:actions:run, object_model:changes:read. An operation's security lists the scopes it needs; several entries mean any one of them will do. A person field (ref(user), ref_list(user)) holds a user id: look people up by email or id with GET /v1/users, outside this API, with a key that also has users:read.

Scopes

object_model:records:read
object_model:facts:read
object_model:model:read
object_model:actions:run

Query Parameters

known_declarations_fingerprint
string

The declarations_fingerprint of an earlier answer: if nothing changed since, the answer says so (reuse_declarations) instead of repeating the declarations.

Response

Answered.

access_dependencies
object[]

Read by the VectorShift app's own screens. A client can ignore it.

access_dependencies_complete
boolean

Read by the VectorShift app's own screens. A client can ignore it.

access_dependency_type_ids
string[]

Read by the VectorShift app's own screens. A client can ignore it.

access_dependency_types_complete
boolean

Read by the VectorShift app's own screens. A client can ignore it.

actions
object[]

The actions: named writes that check the ontology's rules and change records, run with POST /actions/{action_id}/run.

audiences
object[]

Read by the VectorShift app's own screens. A client can ignore it.

axes
object[]

Dimensions some quantities' facts are recorded along (a quantity names them in axis_ids), with the values each takes.

caller_configure
object

Read by the VectorShift app's own screens. A client can ignore it.

caller_grid
object

Read by the VectorShift app's own screens. A client can ignore it.

checks
object[]

Read by the VectorShift app's own screens. A client can ignore it.

claim_types
object[]

Read by the VectorShift app's own screens. A client can ignore it.

decisions
object[]

Changes a person must decide. Make one by running the action that makes it: unless the caller is one of its deciders, the run answers 202 and waits for one. A record update that makes the change directly is refused (422).

declarations_fingerprint
string

A fingerprint of the declarations in this answer. Send it back as known_declarations_fingerprint to skip them when nothing has changed.

definitions
object[]

The figures the ontology computes from facts and fields, by definition_id: what definition_ids names in a figure query.

drafts
object[]

Read by the VectorShift app's own screens. A client can ignore it.

entity_types
object[]

The record types, with their fields.

explicit_grants
boolean

Read by the VectorShift app's own screens. A client can ignore it.

extensions
object[]

Read by the VectorShift app's own screens. A client can ignore it.

fiscal_year_end_month
integer

The month (1 to 12) the organization's fiscal year ends, which fiscal periods follow.

forms
object[]

Read by the VectorShift app's own screens. A client can ignore it.

lineage
object

This version, and the template it is based on, if any.

modules
object[]

Read by the VectorShift app's own screens. A client can ignore it.

nav
object

Read by the VectorShift app's own screens. A client can ignore it.

prompts
object[]

Read by the VectorShift app's own screens. A client can ignore it.

quantities
object[]

What facts are recorded about: for each quantity, the record type it describes, its unit, and how its values relate over time.

record_query_rollups
string[]

Read by the VectorShift app's own screens. A client can ignore it.

relations
object[]

How records of one type link to records of another. A record's links are written and read under links, keyed by relation_id.

reuse_declarations
boolean

True when known_declarations_fingerprint matched: the declarations are left out because the earlier answer still holds.

supports_record_query_relations
boolean

Read by the VectorShift app's own screens. A client can ignore it.

supports_subject_layouts
boolean

Read by the VectorShift app's own screens. A client can ignore it.

version

The ontology's version, also sent as the Object-Model-Version header.

view_overrides
object[]

Read by the VectorShift app's own screens. A client can ignore it.

viewer_audiences
object[]

Read by the VectorShift app's own screens. A client can ignore it.

viewer_rosters
string[]

Read by the VectorShift app's own screens. A client can ignore it.

views
object[]

Read by the VectorShift app's own screens. A client can ignore it.

waiting_on
object[]

Read by the VectorShift app's own screens. A client can ignore it.

walls
object[]

Read by the VectorShift app's own screens. A client can ignore it.

warnings
string[]

Parts of the ontology that could not be loaded and are left out of this answer. Usually empty.

worlds
object[]

The scenarios. A scenario's world_id is what context.world_id and the scenario routes take.