Skip to main content
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

Base URL: http://127.0.0.1:8765

Endpoints

GET /v1/recipes

List all available recipes.
none
none
No parameters required.
Response:

GET /v1/recipes/

Get detailed information about a recipe.
name
string
required
Recipe name
Response:

POST /v1/recipes/run

Execute a recipe synchronously.
recipe
string
required
Recipe name to execute
input
object
Input data for the recipe
Response:

POST /v1/recipes/stream

Execute a recipe with SSE streaming.
recipe
string
required
Recipe name to execute
input
object
Input data for the recipe
SSE Events:

POST /v1/recipes/validate

Validate recipe input without executing.
recipe
string
required
Recipe name
input
object
required
Input data to validate
Response:

Errors

CLI Equivalent

Configuration

Recipe server configuration via serve.yaml:

Notes

  • Streaming uses Server-Sent Events (SSE)
  • Rate limiting is configurable per server
  • Recipes are discovered from the template registry