# Stop the running turn
Source: https://docs.file.ai/api-reference/endpoint/stop-the-running-turn

> Asks the agent to stop this session's run, and returns immediately.

post /prod/v2/agent/sessions/{session_id}/stop

Asks the agent to stop this session's run, and returns immediately.

The stop is a request, not a completion. The agent keeps working for
about a second while it checkpoints, then ends the run itself — so the
answer it had produced so far is kept, and the time and cost already
incurred are still billed. Poll the job to see the run reach STOPPED.

A stop always races the run it is ending: if the run finished first,
the response reports stop_requested false and nothing was forwarded.

The session stays open. The next turn continues the conversation from
the checkpoint the agent wrote, so do not start a new session.
