Hand the screen's input back
Ends the takeover: its streams get `takeover` with `held: false` and stop taking input, and agents' actions are accepted again.
Not available yet The API does not serve a screen's tree, live stream, takeovers, watch links or recordings yet.
Ends the takeover: its streams get takeover with held: false and stop taking input, and agents' actions are accepted again. The person who holds it, or a person whose role holds screen:write in the project, may end it. One that has already ended is not_found.
For people only: a signed-in person's token makes this call. An API key is refused with person_required. The person's role needs the screen:write scope.
Request
curl -X DELETE "https://api.pod.mapier.ai/v1/sandboxes/sbx_3ahrz6dmv29gqy5ckt18fpx4b/screen/takeover/tko_3ahrz6dmv29gqy5ckt18fpx4b" \
-H "Authorization: Bearer $POD_PERSON_TOKEN"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
sandbox_id | path | string | Yes | |
takeover_id | path | string | Yes | |
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Answer
204. Handed back.
Errors
The refusals this call is known for: person_required, not_found, in_other_cell. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.
In the SDKs
| Client | Call |
|---|---|
| TypeScript | sandbox.screen.handBack(takeoverId) |
| Python | sandbox.screen.hand_back(takeover_id) |