Skip to main content
GET
Read what agents may do with an item
Takes a managing key (oc_key_...) or a signed-in session. See How it works for how permissions are applied. The item’s own switch and one level per tool. The same for every agent on the vault.
Availability: OneCLI Cloud and self-hosted.

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Path Parameters

id
string
required

The item's id.

Required string length: 1 - 64

Response

The item's permissions.

item
enum<string> | null
required

allow: always allowed. ask: needs approval. never: refused. null: not set on this vault yet (until the move to vaults, an agent's own access still decides).

Available options:
allow,
ask,
never,
null
tools
object[]
required

One row per tool of the app. Empty for a key.