End a session

Optional cleanup — sessions expire on their own after an hour of inactivity; call this to release the sandbox early when a task is done. Saved outputs (checkpoints, tables, files) and the session's Ploti link survive; anything left in the sandbox filesystem does not.

post/v1/tools/end_session

Request

  • Base URL: https://api.ploti.ai
  • URL: https://api.ploti.ai/v1/tools/end_session
  • Auth: HTTP bearer

Request body

sessionIdstring required

The id start_session returned. Lost it? get_session without an id lists this workspace's open sessions.

Response

What the tool returned: its text, any images, and structured data.

textstring required
dataunknown

Changes

No recorded changes to this operation across all 1 revision of this API.