Add docs for advanced features + visualizing results (#581)

This commit is contained in:
Suchintan
2024-07-11 00:13:24 -04:00
committed by GitHub
parent fb89a9a147
commit cc192d4798
8 changed files with 66 additions and 8 deletions

View File

@@ -1,2 +1,22 @@
---
title: Advanced Settings for tasks
description: 'How to use advanced settings for tasks'
---
<img src="https://thumbs.dreamstime.com/b/pug-dog-holding-pliers-screwdriver-behind-old-wooden-sign-text-under-construction-white-background-constructor-92836854.jpg" />
# 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 ..
```