Skip to main content
Vaults

Vault Schemas

Forward API reference.

Vault object

Create, get, list, and archive endpoints return this structure.
FieldTypeDescription
idstringVault ID with the vault_ prefix
typestringAlways "vault"
display_namestringVault display name, at most 255 characters
metadataobjectCustom metadata stored with the Vault; defaults to {} when omitted. created_by is reserved by Forward and must not be supplied by callers
archived_atstring | nullArchive time in RFC 3339 format; null while active
created_atstringCreation time in RFC 3339 format
updated_atstringLast update time in RFC 3339 format
identity_idstring | nullOwning Forward identity; typically null when created with a PAT
icon_urlstring | nullIcon URL associated by Forward
binding_infoBinding infoBinding information, such as Template reference counts
Credentials in a Vault are managed through the separate Forward Credential API and are not embedded in Vault responses.

Binding info

Reference summary included by Forward in Vault responses.
FieldTypeDescription
agent_template_countintegerNumber of Templates currently bound to the Vault

List pagination fields

FieldTypeDescription
dataarray of Vault objectsRecords on the current page
has_morebooleanWhether another page is available
next_pagestring | nullForward cursor for the next page (recommended). Equals the current page's last_id when has_more=true; otherwise null
first_idstring | nullID of the first record on the current page
last_idstring | nullID of the last record on the current page
The request cursor parameters page, after_id, and before_id are mutually exclusive; providing more than one returns 400. Use page where possible; it has the same semantics as after_id.