---
type: api
title: Start rollup jobs
description: If you try to start a job that does not exist, an exception occurs.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v9/operation/operation-rollup-start-job
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v9/operation/operation-rollup-start-job
products:
  - Elasticsearch
---

# Start rollup jobs

deprecated

Availability: 6.3+

## Paths

- `POST` `/_rollup/job/{id}/_start`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v9/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v9/authentication#basicauth)
- [Bearer auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v9/authentication#bearerauth)

#### Path Parameters

- `id` (string Id)
  Identifier for the rollup job.

## Description

If you try to start a job that does not exist, an exception occurs.
If you try to start a job that is already started, nothing happens.

## Required authorization

* Cluster privileges: `manage_rollup`

## Response

`application/json`

- `started` (boolean)
## Code Examples

#### Console

```console
POST _rollup/job/sensor/_start
```

#### JavaScript

```javascript
const response = await client.rollup.startJob({
  id: "sensor",
});
```

#### Python

```python
resp = client.rollup.start_job(
    id="sensor",
)
```

#### curl

```curl
curl -X POST "$ELASTICSEARCH_URL/_rollup/job/sensor/_start" \
  -H "Authorization: ApiKey $ELASTIC_API_KEY"
```

#### Java

```java
client.rollup().startJob(s -> s
    .id("sensor")
);
```

#### C#

```c#
var response = await client.Rollup.StartJobAsync(id: "sensor");
```

#### PHP

```php
$resp = $client->rollup()->startJob([
    "id" => "sensor",
]);
```

#### Ruby

```ruby
response = client.perform_request(
  "POST",
  "/_rollup/job/sensor/_start",
  {},
)
```

## Response Examples

#### Start rollup job response example1

A successful response from `POST _rollup/job/sensor/_start`.

```json
{
  "started": true
}
```

