zero_shot_*) for production inference.
Endpoints:
POST /api/graphs/completions- Policy graphs and general graph completionsPOST /api/graphs/verifiers/completions- Verifier graphs (see Verifier API)
Authorization: Bearer $SYNTH_API_KEY
Request (policy graphs)
| Field | Type | Required | Description |
|---|---|---|---|
job_id | string | Yes | Graph job ID (e.g. graph_gen_...) or built-in zero_shot_* ID |
input | object | No | Input payload for policy graphs |
trace | object | No | V3 trace payload for verifier graphs |
rubric | object | No | Rubric payload for verifier graphs |
calibration_examples | array | No | Optional few-shot examples |
model | string | No | Override the policy model for this call |
RLM (v1 vs v2)
There are two common ways to run RLM graphs via graph completions:RLM for policy-style inference
Use the built-in RLM policy graph:RLM for verifier-style inference
The built-in verifier RLM graph is:zero_shot_verifier_rubric_rlm(RLM v1 by default)
rlm_impl: "v1" | "v2" when running verifier-shaped RLM (defaults to "v1"). When calling HTTP directly, include the selector alongside the verifier payload:
rlm_implonly applies whenverifier_shapeis"rlm".- For rubric-based verifier scoring, see
reference/backend/verifier-api(same payload shape, plus richer verifier-specific examples).
Response
Status Codes
200— Success400— Invalid request (missing required fields / invalid graph ID)401— Authentication failed413— Request too large (trace or input exceeds limits)422— Invalid trace format or missing required verifier fields
Graph Types
The Graph Completions API supports two main types of graphs:- Policy Graphs - Generate outputs from inputs (e.g., question answering, text generation)
- Verifier Graphs - Evaluate traces against rubrics (see Verifier Completions)
Related
- Verifier Completions: See Verifier API for detailed verifier graph documentation
- Graph Evolve: See Graphs overview for job creation + artifact download examples