Skip to main content
POST
Allow once or deny your pending tool approval

Authorizations

Authorization
string
header
required

Den session token passed as Authorization: Bearer <session-token> for user-authenticated Den routes. Not for API keys: send den_ keys in the x-api-key header instead.

Path Parameters

approvalId
string
required
Required string length: 1 - 160

Body

application/json
decision
enum<string>
required
Available options:
deny,
allow_once

Response

Success.

id
string
required
Required string length: 1 - 160
context
object
required
runId
string | null
required
Required string length: 1 - 160
connectionId
string
required
Required string length: 1 - 160
connectionName
string
required
Maximum string length: 160
toolName
string
required
Maximum string length: 128
toolTitle
string
required
Maximum string length: 240
status
enum<string>
required
Available options:
pending,
denied,
allowed_once,
always_allowed,
used
createdAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$