Skip to content
Docs
GitHub

Submit elicitation consent

Preview

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

Public APIEverruns Cloud and self-hosted Platform

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

See authentication for credentials and permissions.

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

Responses

200Decision recorded and workflow resumed

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

Example generated

{
"host": "example",
"status": "example"
}
400Invalid session ID or request

Invalid session ID or request

403Caller may not manage this session

Caller may not manage this session

404Session or pending elicitation not found

Session or pending elicitation not found

409Session is not waiting for tool results

Session is not waiting for tool results

500Internal server error

Internal server error