Skip to content
Dashboard
Theme
Theme

List an organization's Vault keys

GET /v1/vault/keys: List an organization's Vault keys.

View Markdown

GET /v1/vault/keys

Scope
vault:read
Auth
Secret key (sk_…)
Since
1.0
  • organization string Required

  • 200 Keys VaultKeyList
  • 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/keys?organization=org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"id": "vkey_01J9ZQ4M7K2X8V3N5B6C1D0E9F",
"object": "vault_key",
"organization": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"name": "Acme Corp",
"current_version": 1,
"created_at": "2026-01-15T09:30:00Z",
"rotated_at": "2026-01-15T09:30:00Z",
"usage": {
"encrypts": 1,
"decrypts": 1,
"last_used_at": "2026-01-15T09:30:00Z"
}
}
]
}