---
title: "Cancel crawl"
method: POST
path: "/tasks/v1/crawl/{id}/cancel"
tags: ["Web Tasks"]
---

# Cancel crawl

`POST /tasks/v1/crawl/{id}/cancel`

## Request

- Base URL: `https://api.oassis.dev`
- URL: `https://api.oassis.dev/tasks/v1/crawl/{id}/cancel`
- Auth: one of:
  - HTTP bearer
  - API key in header `PAYMENT-SIGNATURE`

Stops pending work. With account credits, unused and failed reads are refunded; an in-flight page may finish and is billed normally. Settled x402 payments have no automatic on-chain refund. The result remains available to the owner.

## Path parameters

- `id` string, required

## Response `200`

Job cancellation result.

## Other responses

- `401`: Invalid API key.
- `404`: Job not found or owned by another caller.

---

[API](https://skmtc.dev/oassis/apis/oassis-web-scraping-crawling-and-browser-control-for-ai-agen.md) · [All operations](https://skmtc.dev/oassis/apis/oassis-web-scraping-crawling-and-browser-control-for-ai-agen/llms.txt) · [OpenAPI document](https://skmtc.dev/oassis/apis/oassis-web-scraping-crawling-and-browser-control-for-ai-agen/revisions/dedc2b717b91?raw)
