List MCP Gateway calls
/v1/mcp-runsList MCP Gateway calls.
Calls through the gateway, newest first, filtered by workspace, server, verdict, caller, approval state and time. Paginated. A call held for approval appears with approval_status: PENDING; once a person approves it in the dashboard, the agent's identical retry goes ahead once.
With workspace_id, requires an organization admin key or a key of that workspace; without, an organization admin key. Returns 400 for an unknown status or approval_status.
Authorization
AuthorizationBearer va_A platform API key (
va_...), created under Settings > API keys. Scoped to an organization or one workspace, with an admin or member role. Used by the management API.
Query parameters
organizationstringrequiredThe organization's identifier (slug).
workspace_idstring<uuid>Only calls through this workspace's servers (UUID).
serverstringOnly calls through this MCP server (slug).
statusstringOnly calls with this verdict:
COMPLETED,FAILED,BLOCKEDorTIMED_OUT.user_idstringOnly calls made by this person (through an MCP client connected with OAuth).
approval_statusstringOnly calls in this approval state:
PENDING,APPROVED,REJECTEDorUSED. (EXPIREDis worked out when a call is read, so it cannot be filtered on.)parent_run_idstring<uuid>Only the requests and retries that belong to this call (UUID).
start_timestring<date-time>Only calls made at or after this time (ISO 8601).
end_timestring<date-time>Only calls made before this time (ISO 8601).
pageinteger<int32>The page number, starting at 1. Default 1.
page_sizeinteger<int32>Calls per page. Default 50, at most 200.
Responses
dataobject[]The calls.
Child attributes
idstring<uuid>The run's ID (UUID).
created_atstring<date-time>When the call was made (ISO 8601).
request_idstringThe request ID (
X-Request-ID) of the call.virtual_key_slugstringCalls made before MCP keys existed, when the gateway took virtual keys. New calls carry
mcp_key_id.user_idstringSet when a person called through an MCP client they connected with OAuth (no MCP key).
upstream_accountstringOAUTH_AUTOcalls: whose upstream account was used,USER(the caller's own) orORGANIZATION(the organization connection). Absent for other auth types.user_emailstringThe caller's email, for display, when
user_idis set.workspace_idstring<uuid>The MCP server's workspace (UUID).
server_slugstringThe MCP server the call went through.
server_namestringThe server's name, for display. Absent once the server is deleted.
integration_slugstringThe connector behind the server.
mcp_methodstringThe MCP method, for example
tools/call,prompts/getorresources/read.mcp_namestringThe tool or prompt name, or the resource URI.
capability_typeenum<string>TOOL,PROMPT,RESOURCEorRESOURCE_TEMPLATE.One of
"TOOL","PROMPT","RESOURCE","RESOURCE_TEMPLATE"protocol_versionstringThe MCP protocol version the client sent.
statusenum<string>The gateway's verdict:
COMPLETED,FAILED,BLOCKEDorTIMED_OUT.One of
"COMPLETED","FAILED","BLOCKED","TIMED_OUT"provider_http_statusinteger<int32>The HTTP status the upstream answered with. Absent when it was not called.
tool_errorbooleantruewhen the call worked but the tool reported a failure (itsisError).blocked_controlstringBLOCKEDcalls: the control that refused it, for exampleDISABLED,DISABLED_ON_SERVER,DRIFT,QUARANTINED,NOT_IN_KEY_ALLOWLIST,RATE_LIMITED,USER_ACCESS_DENIED,GUARDRAIL,TAINTED,APPROVAL_REQUIRED,CONNECTION_REQUIRED,SAMPLING_REFUSED,ELICITATION_REFUSEDorNESTING_DEPTH.blocked_reasonstringBLOCKEDcalls: why, in a sentence.error_messagestringFAILEDandTIMED_OUTcalls: what went wrong.guardrail_statusstringThe guardrails' verdict:
PASS,MONITOR,REDACTorBLOCK, from the built-in scan and the guardrails on the connector and server. Absent when none ran.guardrail_violationsobjectWhat they found: a list of objects with
check_type,target,actionanddescription. Never the matched text.inputobjectThe call's arguments. Present only when the organization stores log bodies, or when the call awaits approval.
outputstringThe upstream's reply, truncated. Present only when the organization stores log bodies.
latency_msinteger<int64>How long the call took at the gateway, in milliseconds.
output_taintstringTRUSTEDorUNTRUSTED, when content went back to the caller.UNTRUSTED(any result from a capability not markedtrusted_output) makes the caller untrusted for a while, so privileged tools are refused.approval_statusstringOn a call held for approval:
PENDING,APPROVED,REJECTED,USED(the caller's retry went ahead on it) orEXPIRED(not decided, or not used, in time).approval_decided_bystringThe user who approved or rejected it.
approval_decided_atstring<date-time>When it was approved or rejected (ISO 8601).
approval_expires_atstring<date-time>Until when a
PENDINGcall can be approved, or anAPPROVEDone used (ISO 8601).approval_used_bystring<uuid>The run that went ahead on this approval.
approval_run_idstring<uuid>On a run that went ahead with an approval: the run that was approved.
mcp_key_idstringThe MCP key the call came in on.
mcp_key_namestringThat key's name, for display.
initiatorstringAGENT: the client's own call.MCP_SERVER: a request the upstream made while answering a call (sampling, elicitation or roots).parent_run_idstring<uuid>The call a server's request belongs to, or the round a client's retry continues.
nesting_depthinteger<int32>0 for a client's first call; one more per round of sampling, elicitation or roots requests.
regionstringThe AWS region whose database holds this record. Absent on older records.
pageinteger<int32>The page number.
page_sizeinteger<int32>Calls per page.
totalinteger<int64>Matching calls across all pages.