# Create a backfill job

**POST** `/v1/jobs/backfills`

**Operation ID**: `submitBackfillJob`
**Summary**: Create a backfill job
Creates a logs or spans backfill batch job from backfill parameters (time window, query, vendor sinks, and optional type-specific fields). The `dataType` selects the built-in logs or spans template. This is an asynchronous batch job: the response returns an identifier (field: `id`) that can be used to query the status of the job using the `GET` jobs endpoint. The server builds the backfill job graph from the parameters, so callers do not assemble it themselves.

## Tags
- Jobs
## Request Body

**Content-Type**: `application/json`

**Schema**: `CreateBackfillJob`

## Responses

### 201

Backfill job submitted successfully

- **Content-Type**: `application/json` / `ReadJob`
### 400

Bad Request

### 401

Unauthorized
