Recipe API
API Endpoints
Recipe API
HTTP API endpoints for recipe runner server
GET
Recipe API
Recipe API
The Recipe API provides endpoints for listing, describing, and executing recipes.Overview
Recipes are reusable agent configurations that can be invoked via HTTP. The recipe server provides both synchronous and streaming execution modes.When to Use
- Reusable workflows: Execute pre-defined agent workflows
- Streaming output: Get real-time progress via SSE
- Batch processing: Run multiple recipes programmatically
Base URL + Playground
http://127.0.0.1:8765
Endpoints
GET /v1/recipes
List all available recipes.No parameters required.
GET /v1/recipes/
Get detailed information about a recipe.Recipe name
POST /v1/recipes/run
Execute a recipe synchronously.Recipe name to execute
Input data for the recipe
POST /v1/recipes/stream
Execute a recipe with SSE streaming.Recipe name to execute
Input data for the recipe
POST /v1/recipes/validate
Validate recipe input without executing.Recipe name
Input data to validate
Errors
| Status | Description |
|---|---|
| 200 | Success |
| 400 | Invalid request or validation error |
| 404 | Recipe not found |
| 429 | Rate limit exceeded |
| 500 | Server error |
CLI Equivalent
Configuration
Recipe server configuration viaserve.yaml:
Notes
- Streaming uses Server-Sent Events (SSE)
- Rate limiting is configurable per server
- Recipes are discovered from the template registry
Related
- Recipe CLI - CLI for recipes
- Agents API - Agent endpoints

