---
title: "Stop the active hackbrowser run for a session"
method: POST
path: "/session/{sessionID}/hackbrowser/stop"
---

# Stop the active hackbrowser run for a session

`POST /session/{sessionID}/hackbrowser/stop`

Cancels an in-flight hackbrowser crawl. The agent finishes the current page's pending tasks (graceful exit), closes the browser, and transitions HackbrowserStatus to completed with whatever was captured so far. Returns false when no hackbrowser run is active for this session.

## Path parameters

- `sessionID` string, required

## Query parameters

- `directory` string

## Response `200`

true when a run was cancelled, false when no active run

- boolean

## Other responses

- `400` — Bad request
- `404` — Not found

---

[API](https://skmtc.net/cyberstrikeus/apis/cyberstrike.md) · [All operations](https://skmtc.net/cyberstrikeus/apis/cyberstrike/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cyberstrikeus/cyberstrike/versions/4e11f1aed2fd/schema)
