Skip to main content
POST
/
v1
/
sessions
/
{session_id}
/
interrupt
Interrupt
curl --request POST \
  --url https://api.example.com/v1/sessions/{session_id}/interrupt
Interrupt a running session’s agent. The agent stops its current action and waits for further instructions.

Request

curl -X POST https://api.tapkit.ai/v1/sessions/{session_id}/interrupt \
  -H "X-API-Key: joot_your_api_key"

Path Parameters

ParameterTypeDescription
session_idstringThe session identifier

Response

Status: 204 No Content No response body.

Examples

Python

import requests

requests.post(
    f"https://api.tapkit.ai/v1/sessions/{session_id}/interrupt",
    headers={"X-API-Key": "joot_..."}
)
  • Send Message - Send new instructions after interrupting
  • Pause - Pause the session sandbox
  • Stop - Kill the session entirely