Skip to main content
GET
The model's source text, at the live version or a given one.

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:model:read

Query Parameters

version
integer<int64>

A version's source. Leave it out for the current version.

Required range: x >= 0

Response

Answered.

latest_template_version
source
string
source_hash
string
template_id
string
template_version
upgrade_available
boolean
version