REST API
The Stratix REST API — same surface the dashboard and SDK use.
Last updated
Was this helpful?
The Stratix REST API — same surface the dashboard and SDK use.
The Stratix REST API is the underlying interface the dashboard and SDK both call. If you're building a tool in a language without a Stratix SDK (Go, TypeScript, Ruby, etc.), use the REST API directly.
https://stratix.layerlens.ai/api/v1
X-API-Key: ll_xxxxxx...Generate keys at Premium → Settings → API keys.
GET
/models
List models
GET
/models/{id}
Get a model
GET
/benchmarks
List benchmarks
POST
/evaluations
Create an evaluation
GET
/evaluations/{id}
Get an evaluation
POST
/traces
Ingest a trace
GET
/traces/{id}
Get a trace
POST
/judges
Create a judge
POST
/judge-optimizations
Run GEPA
POST
/trace-evaluations
Run a trace evaluation
Full reference: API reference.
200
Success
400
Bad request (validation)
401
Unauthenticated
403
Forbidden (org/role)
404
Not found
429
Rate limited
500
Server error
Every response includes an X-Request-ID header and (where relevant) a request_id field in the body. Cite this when filing support tickets.
Last updated
Was this helpful?
Was this helpful?
curl -H "X-API-Key: $LAYERLENS_STRATIX_API_KEY" \
https://stratix.layerlens.ai/api/v1/models