Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Clerk session token, Authorization: Bearer <token>. This documents the app's own internal auth as of S1-S6 — see S8-public-api-bonus.md for the fallback scope this doc covers, and the public API-key scheme's own page once the full scope ships.

Path Parameters

waitpointId
string
required
Minimum string length: 1

Body

application/json
kind
enum<string>
required
Available options:
CREDIT_APPROVAL
approved
boolean
required

Response

Waitpoint resolved.

id
string
required
agentRunId
string
required
kind
enum<string>
required
Available options:
CREDIT_APPROVAL
status
enum<string>
required
Available options:
PENDING,
COMPLETED,
EXPIRED
requestPayload
object
required
resolvedPayload
object | null
required
expiresAt
string
required
resolvedAt
string | null
required