Skip to main content
GET
List waiting requests
Takes a signed-in session, or a managing key that has the approve permission. See How it works for when a request is held. The requests waiting for an answer on the vaults you can use, newest first. With no ?vault=, at most 50 vaults are asked about, the most recently used first. Never a header value or a credential.
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.

Query Parameters

vault
string

Only requests waiting on this vault.

Required string length: 1 - 64
status
enum<string>
default:pending

Only pending. A request that was answered is in GET /v2/activity?result=approval.

Available options:
pending

Response

The waiting requests.

data
object[]
required
nextCursor
null
required

Always null: the waiting requests come in one page.

truncated
boolean
required

true: you can use more vaults than one call asks about, so some were left out. Name a vault with ?vault= to read it.