mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-05 20:20:14 +00:00
22 lines
538 B
Text
22 lines
538 B
Text
---
|
|
title: Advanced Settings for tasks
|
|
description: 'How to use advanced settings for tasks'
|
|
---
|
|
|
|
# Advanced Settings for tasks
|
|
|
|
## Overriding the max_steps paramter in the task
|
|
If you want the task to execute for a specific number of steps, you can use the `x-max-steps-override` header in the request. This will override the default `max_steps` parameter set in the task.
|
|
|
|
```json
|
|
POST https://api.skyvern.com/api/v1/tasks
|
|
|
|
Headers:
|
|
{
|
|
"x-api-key": "YOUR_API_KEY",
|
|
"x-max-steps-override": 10
|
|
}
|
|
|
|
Body:
|
|
.. usual task body ..
|
|
```
|