Skip to main content
GET
Go (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

agent_id
string
required
run_id
string
required

Response

Run found.

object
enum<string>
required
Available options:
agent.run
id
string
required
agent_id
string
required
agent_version
integer | null
required

The agent configuration version this run executed against. Null for runs created before versioning.

Required range: x >= 1
status
enum<string>
required

waiting means the run is held for one of the agent's max_concurrent_runs slots and has not been sent to the model; it can be cancelled. Terminal outcomes stay distinct: cancelled is caller-requested; incomplete means a limit or interruption stopped the run. gateway_response.incomplete_details records the reason, including max_tokens or max_tool_calls. Stored failed rows with one of these gateway outcomes are serialized with the gateway outcome, retaining any connector error and completion timestamp.

Available options:
waiting,
queued,
submitting,
completed,
failed,
cancelled,
incomplete
input
any
required

Arbitrary JSON value.

conversation
any | null
required

Arbitrary JSON value.

previous_response_id
string | null
required
metadata
object | null
required
gateway_response_id
string | null
required
gateway_response
any | null
required

Arbitrary JSON value.

error
any | null
required

Arbitrary JSON value.

created_at
string<date-time>
required
completed_at
string<date-time> | null
required