Retrieve the context for an Execution Step

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://twilio.demo.bump-doc.com/doc/studio/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Studio MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/studio/mcp"
}
Close
GET /v2/Flows/{FlowSid}/Executions/{ExecutionSid}/Steps/{StepSid}/Context

JSON context for an individual step within an execution

Retrieve the context for an Execution Step.

Path parameters

  • FlowSid string Required

    The SID of the Flow with the Step to fetch.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^FW[0-9a-fA-F]{32}$.

  • ExecutionSid string Required

    The SID of the Execution resource with the Step to fetch.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^FN[0-9a-fA-F]{32}$.

  • StepSid string Required

    The SID of the Step to fetch.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^FT[0-9a-fA-F]{32}$.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • context

      The current state of the flow

    • execution_sid string | null

      The SID of the Execution

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^FN[0-9a-fA-F]{32}$.

    • flow_sid string | null

      The SID of the Flow

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^FW[0-9a-fA-F]{32}$.

    • step_sid string | null

      Step SID

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^FT[0-9a-fA-F]{32}$.

    • url string(uri) | null

      The absolute URL of the resource

GET /v2/Flows/{FlowSid}/Executions/{ExecutionSid}/Steps/{StepSid}/Context
curl \
 --request GET 'https://studio.twilio.com/v2/Flows/{FlowSid}/Executions/{ExecutionSid}/Steps/{StepSid}/Context' \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "execution_sid": "string",
  "flow_sid": "string",
  "step_sid": "string",
  "url": "https://example.com"
}