API REFERENCE

Physics API

v1

Get started

Public documentation. Data operations require an assigned Physics API key.


        

Download OpenAPI · AI agent instructions

Access follows your workspace role

Reviewer: assigned evaluations, their questions, solutions, attachments and reviews.
Owner: all Physics evaluations, assignments, clients, measurements and history.
Admin: owner capabilities plus membership administration, key allocation and import controls.

Math and Genomics credentials do not grant Physics access. Disabling a membership or revoking a key takes effect on subsequent requests.

Reliable writes

Read the current review version and include it with every review update. A 409 means refresh and reconcile the change. Retry 429 and 503 using Retry-After with backoff and jitter. Never interpret native pipeline acceptance as human approval, or solver confidence as a measured pass rate.

Upload recovered work or a new task

Successful work recovered from a failed attempt can be uploaded as a new evaluation. No existing imported evaluation is required. Reviewers may create their own drafts; owners and admins adopt completed drafts into the evaluation catalog for human review.

POST /api/v1/submissions
{
  "client_request_id": "a643ac32-42f7-4e76-bef9-7940682b107c",
  "kind": "NEW_EVALUATION",
  "source_attempt_id": "de41d441-ac82-4c90-a410-af38d71051cd",
  "document": {"question": "Find E for m=2 and v=3.", "answer": 9, "solution": "E = mv²/2 = 9."}
}

Use NEW_TASK for an unfinished task. For corrections, POST to /api/v1/evaluations/{id}/revisions with the current base_version and a change_summary. Save and submit using the submission revision; stale changes return 409.

ZIP/JSON packages: create /api/v1/uploads with the filename, bytes, SHA-256 and a client_request_id; send 4 MiB base64 parts to /uploads/{id}/parts, then POST /complete. Poll until VALID returns submission_ids, or inspect INVALID/FAILED details. Original files and history remain available. The maximum package is 256 MiB, with 128 MiB expanded content, 16 MiB per file and 100 items. A running intake worker is required.

Uploaded producer claims do not establish verification. Adoption creates an immutable manual version and starts human review. It preserves older versions and client allocations.

Attempts and files

GET /api/v1/attempts supports region, status, search and pagination. Each attempt has /events, /artifacts and /export. Artifact downloads are checked against current permissions and content hashes. An empty file list means no inspected file was mirrored yet. GET /api/v1/capabilities reports limits and source health.