For the complete documentation index, see llms.txt. This page is also available as Markdown.

API reference (REST)

REST API reference — same surface the dashboard and SDK use.

Base URL: https://stratix.layerlens.ai/api/v1. Auth: X-API-Key header.

Authentication

API keys, scopes, rotation.

Read

Models

List, get models.

Read

Benchmarks

List, get, upload benchmarks.

Read

Evaluations

Create, get, list, compare.

Read

Scorers

Manage scorers.

Read

Judges

Manage judges.

Read

Judge optimizations

Run GEPA.

Read

Traces

Ingest and browse.

Read

Trace evaluations

Score trace sets.

Read

Spaces

Manage spaces.

Read

Notifications

Subscribe to events.

Read

Webhooks

Receive events.

Read

Organizations

Multi-org and members.

Read

API keys

Manage keys.

Read

BYOK custom models

Register endpoints.

Read

Errors

Status codes and bodies.

Read

Rate limits

Limits and headers.

Read

Conventions

  • Pagination — cursor-based: ?cursor=...&page_size=...

  • Versioning/api/v1 prefix; breaking changes get a /v2

  • Async work — POST returns a handle (with status), GET fetches updated state, helpers wait

  • Request IDs — every response has X-Request-ID

Last updated

Was this helpful?