Skip to content

POST /v1/sessions/{session_id}/mcp-elicitation-consent

POST
/v1/sessions/{session_id}/mcp-elicitation-consent
curl --request POST \
--url https://app.everruns.com/api/v1/sessions/example/mcp-elicitation-consent \
--header 'Content-Type: application/json' \
--data '{ "action": "accept", "tool_call_id": "url_elicitation_01933b5a00007000800000000000001" }'

Records a user’s decision about a URL an MCP server asked them to open, and resumes the paused turn.

session_id
required
string

Session ID (prefixed, e.g., session_…)

Media typeapplication/json

Request to answer a pending URL mode elicitation.

object
action
required

The user’s decision.

string
Allowed values: accept decline
tool_call_id
required

The confirm_url_elicitation tool call being answered.

string
Example
url_elicitation_01933b5a00007000800000000000001

Decision recorded and workflow resumed

Media typeapplication/json

Result of answering a pending URL mode elicitation.

object
host
required

Domain the consent was recorded against, echoed so a client can confirm it showed the same one.

string
status
required

Session status after the decision.

string
Examplegenerated
{
"host": "example",
"status": "example"
}

Invalid session ID or request

Session or pending elicitation not found

Session is not waiting for tool results

Internal server error