CALIBER REST API
Where the management API lives, when to integrate at the HTTP layer, and where the served OpenAPI documents fit.
The CALIBER management API is the raw HTTP contract exposed under /ajax-api/2.0/mlflow/caliber. Use it when you are integrating from a non-Python runtime, generating your own client, debugging traffic, or working with a route before the typed SDK wraps it.
This section documents the HTTP layer. If you are integrating from Python, start with the SDK guide and use the SDK API reference for resource classes and method signatures.
At a glance
| Topic | Contract |
|---|---|
| Management API prefix | /ajax-api/2.0/mlflow/caliber |
| UI shell | /caliber/ |
| Auth for automation | Authorization: Bearer <token> |
| Project scoping | X-CALIBER-Project: <project_id> |
| CSRF on browser-style writes | X-CALIBER-CSRF: <token> |
| Served management OpenAPI | GET /ajax-api/2.0/mlflow/caliber/openapi.json |
| Served workflow-service OpenAPI | GET /ajax-api/2.0/mlflow/caliber/services/{workflow_id}/openapi.json |
| Preview areas | gated by a flag (Aria on by default, the rest off); GET /capabilities reports them under features, and a disabled one answers 404 with reason_code: feature_disabled |
Areas gated behind a feature flag
Four areas of the alpha sit behind server-side feature flags: Aria (/assistant/* and /aria/*, flag aria, on by default), MCP servers and OpenAPI integrations (/mcp-servers* and /openapi-integrations*, flag integrations, off), cookbooks (/cookbooks*, flag cookbooks, off), and release-candidate signoff and Workspace releases (/releases/candidates*, /releases/report-jobs* and /projects/{id}/releases*, flag release_candidates, off). The routes stay in the served OpenAPI document in every deployment, but while a flag is off each of them answers 404 with reason_code: feature_disabled; see Error shapes. An operator changes an area's state with the variable the flag names (CALIBER_FEATURE_ARIA, CALIBER_FEATURE_INTEGRATIONS, CALIBER_FEATURE_COOKBOOKS or CALIBER_FEATURE_RELEASE_CANDIDATES); see Feature flags.
When to use the REST API directly
- you are integrating from JavaScript, Go, Java, or a workflow engine instead of Python;
- you want to generate a client from the served OpenAPI document;
- you are debugging route behavior or comparing SDK behavior against wire-level requests;
- you need an endpoint that exists on the server before the typed SDK has added a wrapper.
How this API documentation is organized
- Authentication and conventions covers auth modes, headers, envelopes, pagination, request ids, and error shapes.
- Resource catalog groups the route families by what developers actually build with.
- HTTP reference maps the most important route families, representative operations, and the served OpenAPI entry points.
OpenAPI entry points
The management API serves its own OpenAPI document. It requires authentication and comes back as the raw document, not inside the data envelope:
curl -s -H "Authorization: Bearer $CALIBER_TOKEN" \
"$CALIBER_BASE_URL/ajax-api/2.0/mlflow/caliber/openapi.json" | jq '.info'
Workflow services also publish per-workflow OpenAPI once a service is enabled. That route follows the service's own contract: it needs a service token as the bearer credential unless the service was published without authentication, and it answers 403 while the service is disabled:
curl -s -H "Authorization: Bearer $SERVICE_TOKEN" \
"$CALIBER_BASE_URL/ajax-api/2.0/mlflow/caliber/services/$WORKFLOW_ID/openapi.json" \
| jq '.paths'
Those two documents serve different purposes:
- the management OpenAPI describes CALIBER's control-plane routes;
- the workflow-service OpenAPI describes the public invocation surface of one published workflow.