- Graph Evolve job endpoints (
/api/graphgen/...) used by the Graph Evolve product surface - A note on Graph Evolve job endpoints (
/api/graph-evolve/...) used by the unified graph optimization job
Authorization: Bearer $SYNTH_API_KEY
Graph Evolve
Create job
Endpoint:POST /api/graphgen/jobs
datasetis aGraphEvolveTaskSetJSON object (see Graphs quickstart for a full example).- The remaining fields tune training and may evolve over time.
graph_gen_job_id.
Get job status
Endpoint:GET /api/graphgen/jobs/{graph_gen_job_id}
Stream job events
Endpoint:GET /api/graphgen/jobs/{graph_gen_job_id}/events/stream
This endpoint streams server-sent events (SSE) for live progress updates.
Download best artifacts
Endpoint:GET /api/graphgen/jobs/{graph_gen_job_id}/download
Downloads the best prompt snapshot and related export artifacts after the job reaches a terminal state.
Run inference (Graph Evolve-trained graphs)
Endpoint:POST /api/graphgen/graph/completions
POST /api/graphs/completions (see reference/backend/graphs-completions-api).
Graph Evolve (graph optimization jobs)
The SDK’sGraphOptimizationJob uses:
/api/graph-evolve/jobsand legacy/api/graph_evolve/jobs
synth_ai.sdk.optimization.graph) to ensure payload compatibility.
Status Codes
200/201— Success400— Invalid request401— Authentication failed404— Job not found
Related
- Graphs overview and Graphs quickstart (Graph Evolve job examples)
sdk/graphs/inference(inference behavior and payload variants)