Skip to main content
POST
CSharp (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

approval_request_id
string
required

ID of a held tool call, as the approval queue lists it.

Response

The run is still waiting for decisions, or was continued.

object
enum<string>
required
Available options:
agent.run.approval_resume
status
enum<string>
required

waiting while a held call of the run is undecided, with the count in pending; resumed once the run was continued, with the new run in continuation_run.

Available options:
waiting,
resumed
source_run_id
string
required

The run that stopped for approval.

pending
integer

How many held calls of the run are undecided. Present when status is waiting.

Required range: x >= 1
continuation_run
object