Model references
Management request fields use:Asynchronous operations
202 Accepted means desired state or background work was stored successfully, not that it is already serving or complete. Poll the returned resource:
- provider and routing deployment status must become
appliedat the current revision; - datasets become
readyorfailed; - relabel runs become
completed,failed, orstale; - fine-tunes become
deployedorfailed; - evaluations expose live case counts and may complete with failed cases.
Errors
Management API errors use:Pagination
Dataset entries use page-based pagination:limit can be from 1 to 200. The response includes page, limit, total, and entries.
Entry filters and evaluation sorting are JSON-encoded query parameters. URL-encode the serialized JSON when constructing requests.
Create and replace behavior
PUT /providers/{name}creates or rotates a provider.PUT /tasks/{alias}creates a task and returns conflict if it exists.- routing
PUTreplaces all targets for that version. - Automation
PUTcreates or replaces the configuration only while replacement is safe; active later-stage runs reject it. - Dataset, fine-tune, and evaluation
POSTrequests create new resources and may consume compute.
API: Safe request handling
API: Safe request handling
Use the Management OpenAPI specification as the source of truth for methods, paths, schemas, and status codes. Before sending a request, an agent should:
- resolve every placeholder from user-provided or previously returned values;
- show the user any request that starts paid compute or replaces routing;
- treat
202 Acceptedas the beginning of work and poll the documented resource; - preserve returned resource IDs instead of rediscovering resources by name;
- stop on an unexpected status rather than retrying a create operation blindly.