> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Cloudflare: Get Crawl Status

> Read the current status or a result page of an existing crawl without creating another job. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Read the current status or a result page of an existing crawl without creating another job.

<Info>
  Tool ID: `cloudflare_get_crawl_status`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'cloudflare_get_crawl_status',
  {
    "jobId": "job_123"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute cloudflare_get_crawl_status --input '{
  "jobId": "job_123"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "jobId": "job_123",
    "status": "example",
    "browserSecondsUsed": 123,
    "total": 123,
    "finished": 123,
    "records": [
      {
        "url": "https://example.com"
      }
    ],
    "cursor": 123,
    "timedOut": true
  }
}
```

Use `deepline tools get cloudflare_get_crawl_status --json` for the latest machine-readable contract.

## Input reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.jobId` | `string` | Yes | — | Existing accepted crawl job ID; never creates another crawl. Minimum length: 1. |
| `payload.accountId` | `string` | No | — | — |
| `payload.limit` | `integer` | No | — | Maximum records in this result page; use 1 for a lightweight status check. Minimum: 1. Maximum: 100000. |
| `payload.cursor` | `number \| string` | No | — | — |
| `payload.timeoutMs` | `integer` | No | — | Absolute budget for this status read, including retries (default 30000). Minimum: 1. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "jobId": {
        "type": "string",
        "description": "Existing accepted crawl job ID; never creates another crawl.",
        "minLength": 1
      },
      "accountId": {
        "type": "string"
      },
      "limit": {
        "type": "integer",
        "description": "Maximum records in this result page; use 1 for a lightweight status check.",
        "minimum": 1,
        "maximum": 100000
      },
      "cursor": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "string"
          }
        ]
      },
      "timeoutMs": {
        "type": "integer",
        "description": "Absolute budget for this status read, including retries (default 30000).",
        "minimum": 1
      }
    },
    "required": [
      "jobId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Cloudflare Browser Rendering crawl result.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.jobId` | `string` | Yes | — | — |
| `result.data.status` | `string` | Yes | — | — |
| `result.data.browserSecondsUsed` | `number` | Yes | — | — |
| `result.data.total` | `number` | Yes | — | — |
| `result.data.finished` | `number` | Yes | — | — |
| `result.data.records` | `array` | Yes | — | — |
| `result.data.records[].url` | `string` | Yes | — | — |
| `result.data.records[].status` | `string` | No | — | — |
| `result.data.records[].markdown` | `string` | No | — | — |
| `result.data.records[].html` | `string` | No | — | — |
| `result.data.records[].json` | `unknown` | No | — | — |
| `result.data.records[].metadata` | `record` | No | — | — |
| `result.data.cursor` | `number \| string \| unknown` | Yes | — | — |
| `result.data.timedOut` | `boolean` | Yes | — | — |
| `result.meta` | `record` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Cloudflare Browser Rendering crawl result.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "jobId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "browserSecondsUsed": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "finished": {
            "type": "number"
          },
          "records": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "markdown": {
                  "type": "string"
                },
                "html": {
                  "type": "string"
                },
                "json": {},
                "metadata": {
                  "type": "object",
                  "additionalProperties": {}
                }
              },
              "required": [
                "url"
              ],
              "additionalProperties": false
            }
          },
          "cursor": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {}
            ]
          },
          "timedOut": {
            "type": "boolean"
          }
        },
        "required": [
          "jobId",
          "status",
          "browserSecondsUsed",
          "total",
          "finished",
          "records",
          "cursor",
          "timedOut"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Cloudflare provider guide](/docs/providers/cloudflare/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.