Skip to main content
GET
Where a decision a 202 named stands: pending, approved, denied, expired or withdrawn. Answered to the person who raised it and to the people who may decide it; anyone else hears 404.

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:actions:run
object_model:model:configure

Path Parameters

decision_id
string
required

Response

Answered.

decided_at
string<date-time>
decided_by
string

Who decided; empty while pending and for an expiry.

decision_id
string
expires_at
string<date-time>

While pending: when it expires, which denies it.

kind
string

What is decided: record_decision for an action's move, or the kind of a model change.

proposal
enum<string>

What became of YOUR proposal. Proposals for one record field share one decision, and each one's 202 names it; approving carries out the leading value only. leading: pending, and approving would apply your value. alternative: pending, and another value leads. applied: approved with your value. not_applied: approved with another value, or denied, expired or withdrawn. Empty when you made no proposal on it, or it is not one proposals share (a model change).

Available options:
,
leading,
alternative,
applied,
not_applied
reason
string
record_id
string

The record the decision is about, when it is about one.

requested_at
string<date-time>
requested_by
string
status
enum<string>

pending, approved, denied, expired (a timeout, which always denies) or withdrawn. Only approved makes the change: as the person who approved it, so read the record (or the change feed) to see it.

Available options:
pending,
approved,
denied,
expired,
withdrawn