Submit a tool-use intent for asynchronous execution

post/v1/executions

Request

  • Base URL: https://api.klanexai.com
  • URL: https://api.klanexai.com/v1/executions
  • Auth: API key in header X-API-Key

Request body

payloadunknown
payload_schemaunknown
callback_urlstring uri
max_attemptsinteger
idempotency_keystring

Tenant-scoped; duplicate submits return the original execution.

requires_approvalboolean

Pause in PENDING_APPROVAL until /approve or /reject.

Response

Idempotent replay: this idempotency_key was already used; the original execution is returned with its current status. Nothing was re-queued.

execution_idstring
status'PENDING_APPROVAL' | 'QUEUED' | 'RUNNING' | 'RETRYING' | 'SUCCEEDED' | 'FAILED'

Changes

No recorded changes to this operation across all 1 revision of this API.