---
title: "Start an async routine run-batch over an uploaded JSONL file"
method: POST
path: "/routines/{routine_id}/run-batch/start"
tags: ["routines"]
---

# Start an async routine run-batch over an uploaded JSONL file

`POST /routines/{routine_id}/run-batch/start`

Starts an asynchronous batch routine run over a previously uploaded JSONL file.

## Path parameters

- `routine_id` string, required

## Request body

- StartBatchRequest
  - `file_id` string, required
  - `webhook_id` string — ID of a registered Clay webhook to notify when the run finishes.

## Response `202`

202

- StartBatchResponse
  - `routine_run_id` string, required
  - `status` 'in_progress', required

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403
- `404` — 404
- `429` — 429

---

[API](https://skmtc.net/clay/apis/clay-public-api.md) · [All operations](https://skmtc.net/clay/apis/clay-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clay/clay-public-api/versions/c1f3cd4d89da/schema)
