Skip to content
Dashboard
Theme
Theme

Read and decrypt one version of an object

GET /v1/vault/objects/{name}: Read and decrypt one version of an object.

View Markdown

Latest by default.

GET /v1/vault/objects/{name}

Scope
vault:use
Auth
Secret key (sk_…)
Since
1.0
  • name string Required

  • organization string Required

  • version integer

    min 1

  • 200 The version with its decrypted value VaultObjectValue
  • default Any other error, including internal_error. Every code is in the error catalogue. Error

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/vault/objects/Acme%20Corp?organization=org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "vault_object",
"organization": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"name": "Acme Corp",
"version": 1,
"key_id": "vkey_01J9ZQ4M7K2X8V3N5B6C1D0E9F",
"created_at": "2026-01-15T09:30:00Z",
"value": "enterprise"
}