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

# Settings

> Configure parallel limits, batch size, and execution behavior.

## Get Settings

```
GET /api/settings
```

Returns the current settings or creates the default record if it doesn't exist.

***

## Update Settings

```
PATCH /api/settings
```

| Field | Type | Default | Description |
| - | - | - | - |
| `parallelLimit` | integer | `3` | Max concurrent task executions |
| `maxBatchSize` | integer | `3` | Max tasks per batch |
| `queueAutoApprove` | boolean | `false` | Auto-start next task in queue mode |
| `stopOnFailure` | boolean | `false` | Cancel remaining batch tasks on failure |
| `conflictBehavior` | string | `skip` | `"skip"` or `"fail"` — handling for git conflicts |

```bash theme={null}
curl -X PATCH http://localhost:3001/api/settings \
  -H "Content-Type: application/json" \
  -d '{
    "parallelLimit": 5,
    "maxBatchSize": 10,
    "queueAutoApprove": true
  }'
```

***

## Settings Object

```json theme={null}
{
  "id": "default",
  "parallelLimit": 3,
  "maxBatchSize": 3,
  "queueAutoApprove": false,
  "stopOnFailure": false,
  "conflictBehavior": "skip"
}
```


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