Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

docs: add timeout field documentation for pipe configuration

screenpipe-agent[mac-mini]ce96733cb58a
diff --git a/docs/mintlify/docs-mintlify-mig-tmp/pipes.mdx b/docs/mintlify/docs-mintlify-mig-tmp/pipes.mdx
index 8bc9f106f..928035aa5 100644
--- a/docs/mintlify/docs-mintlify-mig-tmp/pipes.mdx
+++ b/docs/mintlify/docs-mintlify-mig-tmp/pipes.mdx
@@ -182,6 +182,7 @@ You can reference screenpipe's API, write files, call external APIs, etc.
|-------|----------|---------|-------------|
| `schedule` | yes | `manual` | `every 30m`, `every 2h`, `daily`, cron (`0 */2 * * *`), or `manual` |
| `enabled` | no | `true` | whether the scheduler runs this pipe |
+| `timeout` | no | `300` (5 min) | execution timeout in seconds. increase for slow models (e.g., `timeout: 2400` for 40 min). if a pipe runs over this limit, it is terminated. |
### context header
@@ -207,6 +208,24 @@ the AI agent uses these values to query the right time range, identify which pip
| cron | `0 */2 * * *` | standard 5-field cron expression |
| manual | `manual` | only runs when triggered manually |
+### example: pipe with longer timeout for slow models
+
+if your pipe uses a slower AI model or runs complex analysis, increase the timeout:
+
+```markdown
+---
+schedule: daily
+enabled: true
+timeout: 2400
+---
+
+Analyze user activity and generate a detailed report.
+Use claude-opus or other capable models for thorough analysis.
+Write results to ./output/daily-report.md
+```
+
+in this example, the pipe will run daily and has up to 40 minutes to complete. without the `timeout` field, it would be limited to 5 minutes and likely timeout on slower models.
+
## manage pipes
use the desktop app (**settings → pipes**) or the REST API: