{"openapi":"3.1.0","info":{"title":"OS3 API","description":"Every error response is JSON with an `error` object: its `code`, a snake_case name to act on, and its `message`, a sentence to show. Beside it, `detail` carries what the route says about the error, as it always has: a sentence, a list of field errors, or an object with the route's own fields. The LLM gateway's routes answer errors in the format of the vendor API they mirror, and SCIM's in SCIM's.","version":"0.1.0"},"paths":{"/healthz":{"get":{"tags":["health"],"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Healthz Healthz Get"}}}}}}},"/readyz":{"get":{"tags":["health"],"summary":"Readyz","description":"Whether the API is ready to serve requests: 503 once its database has not answered its\nchecks for some seconds.","operationId":"readyz_readyz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/downloads":{"get":{"tags":["downloads"],"summary":"Index","description":"The wheels this API serves now, each a link to its URL with its sha256: open it to read\ntheir file names, or give it to `pip install --find-links`. No API key needed.","operationId":"index_downloads_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/downloads/{wheel}":{"get":{"tags":["downloads"],"summary":"Download","description":"A wheel of one of OS3's Python clients, by its file name, for `pip install` with this\nURL: os3_upload_client-<version>-py3-none-any.whl (the upload client),\nos3_cli-<version>-py3-none-any.whl (the os3 command, which needs the upload client),\nos3_compare-<version>-py3-none-any.whl (the comparison SDK) and\nos3_robot-<version>-py3-none-any.whl (the robot's os3-robot); GET /downloads lists the current\nones. No API key needed.","operationId":"download_downloads__wheel__get","parameters":[{"name":"wheel","in":"path","required":true,"schema":{"type":"string","title":"Wheel"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces":{"post":{"tags":["workspaces"],"summary":"Create Workspace","operationId":"create_workspace_workspaces_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workspace"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["workspaces"],"summary":"List Workspaces","operationId":"list_workspaces_workspaces_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Workspace"},"title":"Response List Workspaces Workspaces Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}":{"get":{"tags":["workspaces"],"summary":"Get Workspace","operationId":"get_workspace_workspaces__workspace_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["workspaces"],"summary":"Update Workspace","operationId":"update_workspace_workspaces__workspace_id__patch","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspacePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workspace"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/activity":{"get":{"tags":["workspaces"],"summary":"Activity","operationId":"activity_workspaces__workspace_id__activity_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"After"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Activity"},"title":"Response Activity Workspaces  Workspace Id  Activity Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/search":{"get":{"tags":["search"],"summary":"Search","operationId":"search_search_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Q"}},{"name":"types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"enum":["run","model_version","dataset","dataset_version","trace","endpoint","robot","policy_rollout","controller_rollout","experiment","comparison","fanout","task","release_decision","gateway_key","api_key","workspace","member","invite","intervention","audit","base_model","invoice"],"type":"string"}},{"type":"null"}],"title":"Types"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":5,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Hit"},"title":"Response Search Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/search/content":{"get":{"tags":["search"],"summary":"Search Content","description":"Search inside your content: the request messages and answers of your traces, the rows of\nyour datasets' latest versions and your robot episodes' tasks and outcomes. A hit holds\nevery word of `q`, the last one also as the start of a word, in any case. The best matches\ncome first: the words as a phrase, then every word apart, then those found only through the\nlast word's start; newest first within each. Each hit has a short passage around the words\nfound; a full page sets X-Next-Cursor, the `cursor` of the next page.","operationId":"search_content_search_content_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Q"}},{"name":"kinds","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"enum":["trace","dataset_row","episode"],"type":"string"}},{"type":"null"}],"title":"Kinds"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentHit"},"title":"Response Search Content Search Content Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/recommendations":{"get":{"tags":["models"],"summary":"Recommendations","operationId":"recommendations_workspaces__workspace_id__recommendations_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Recommendation"},"title":"Response Recommendations Workspaces  Workspace Id  Recommendations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/readiness":{"get":{"tags":["robots"],"summary":"Readiness","operationId":"readiness_workspaces__workspace_id__readiness_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"base","in":"query","required":false,"schema":{"anyOf":[{"enum":["pi05","groot","molmoact2","openvla_oft","smolvla","xr1"],"type":"string"},{"type":"null"}],"title":"Base"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Readiness"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me":{"get":{"tags":["org"],"summary":"Get Me","operationId":"get_me_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"}}}}},"security":[{"SignIn":[]}]},"patch":{"tags":["org"],"summary":"Update Me","description":"Sets your display name in every organisation you belong to.","operationId":"update_me_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MePatch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]}},"/org/members":{"get":{"tags":["org"],"summary":"List Members","operationId":"list_members_org_members_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Member"},"type":"array","title":"Response List Members Org Members Get"}}}}},"security":[{"SignIn":[]}]}},"/org/members/{member_id}":{"patch":{"tags":["org"],"summary":"Update Member","operationId":"update_member_org_members__member_id__patch","security":[{"SignIn":[]}],"parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Member"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["org"],"summary":"Remove Member","operationId":"remove_member_org_members__member_id__delete","security":[{"SignIn":[]}],"parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Member Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/org/invites":{"get":{"tags":["org"],"summary":"List Invites","description":"Open invites (not accepted, not revoked), newest first; expired ones included.","operationId":"list_invites_org_invites_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Invite"},"type":"array","title":"Response List Invites Org Invites Get"}}}}},"security":[{"SignIn":[]}]},"post":{"tags":["org"],"summary":"Create Invite","description":"Accepted when that email next signs in; an open invite for it is replaced.","operationId":"create_invite_org_invites_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invite"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]}},"/org/invites/{invite_id}":{"delete":{"tags":["org"],"summary":"Revoke Invite","operationId":"revoke_invite_org_invites__invite_id__delete","security":[{"SignIn":[]}],"parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invite Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/org/api-keys":{"get":{"tags":["org"],"summary":"List Api Keys","description":"Live (unrevoked) keys of the tenant, newest first, a member's own; the secret is never\nreturned.","operationId":"list_api_keys_org_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiKey"},"type":"array","title":"Response List Api Keys Org Api Keys Get"}}}}},"security":[{"SignIn":[]}]},"post":{"tags":["org"],"summary":"Create Api Key","operationId":"create_api_key_org_api_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]}},"/org/api-keys/{key_id}":{"patch":{"tags":["org"],"summary":"Narrow Api Key","description":"Narrows a live key's scopes from its next request on; more scopes need a new key.","operationId":"narrow_api_key_org_api_keys__key_id__patch","security":[{"SignIn":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["org"],"summary":"Revoke Api Key","operationId":"revoke_api_key_org_api_keys__key_id__delete","security":[{"SignIn":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/org/sso":{"get":{"tags":["org"],"summary":"Get Sso","operationId":"get_sso_org_sso_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sso"}}}}},"security":[{"SignIn":[]}]},"patch":{"tags":["org"],"summary":"Update Sso","description":"Requiring SSO refuses every other sign-in for the verified domains from the next\nrequest on, the owner's own included.","operationId":"update_sso_org_sso_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoPatch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sso"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]}},"/org/scim-token":{"post":{"tags":["org"],"summary":"Create Scim Token","description":"The tenant's one SCIM token: a new one replaces the old at once.","operationId":"create_scim_token_org_scim_token_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScimTokenCreated"}}}}},"security":[{"SignIn":[]}]},"delete":{"tags":["org"],"summary":"Revoke Scim Token","operationId":"revoke_scim_token_org_scim_token_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"SignIn":[]}]}},"/org/personal-data":{"get":{"tags":["org"],"summary":"Get Personal Data","operationId":"get_personal_data_org_personal_data_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalData"}}}}},"security":[{"SignIn":[]}]},"put":{"tags":["org"],"summary":"Set Personal Data","description":"Owners and admins. The row (off when new) is locked before it is read, so two changes\nat once are audited in the order they were made.","operationId":"set_personal_data_org_personal_data_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalData"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]}},"/org/prompt-rewrites":{"get":{"tags":["org"],"summary":"Get Prompt Rewrites","operationId":"get_prompt_rewrites_org_prompt_rewrites_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptRewrites"}}}}},"security":[{"SignIn":[]}]},"put":{"tags":["org"],"summary":"Set Prompt Rewrites","description":"Owners and admins, as personal data's: the row (off when new) is locked before it is\nread.","operationId":"set_prompt_rewrites_org_prompt_rewrites_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptRewrites"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptRewrites"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]}},"/org/automatic-grading":{"get":{"tags":["org"],"summary":"Get Automatic Grading","operationId":"get_automatic_grading_org_automatic_grading_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomaticGrading"}}}}},"security":[{"SignIn":[]}]},"put":{"tags":["org"],"summary":"Set Automatic Grading","description":"Owners and admins, as prompt rewrites': the row (on when new) is locked before it is read.","operationId":"set_automatic_grading_org_automatic_grading_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingSetting"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomaticGrading"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]}},"/org/ai-researcher":{"get":{"tags":["org"],"summary":"Get Ai Researcher","operationId":"get_ai_researcher_org_ai_researcher_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiResearcher"}}}}},"security":[{"SignIn":[]}]},"put":{"tags":["org"],"summary":"Set Ai Researcher","description":"Owners and admins, as prompt rewrites': the row (off when new) is locked before it is read;\nthe optimizer's sessions in the workspaces that did not opt in stop (off) or sleep again\n(on).","operationId":"set_ai_researcher_org_ai_researcher_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiResearcher"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiResearcher"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]}},"/org/logo":{"get":{"tags":["org"],"summary":"Get Org Logo","description":"The organisation's logo image; 404 when it has none.","operationId":"get_org_logo_org_logo_get","responses":{"200":{"description":"Successful Response"}},"security":[{"SignIn":[]}]},"put":{"tags":["org"],"summary":"Set Org Logo","description":"Sets the organisation's logo, sent as the request body. Owners and admins.","operationId":"set_org_logo_org_logo_put","requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","contentMediaType":"application/octet-stream","title":"Data","description":"A PNG, JPEG or WebP image of at most 256 KB."}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]},"delete":{"tags":["org"],"summary":"Remove Org Logo","description":"Removes the organisation's logo. Owners and admins.","operationId":"remove_org_logo_org_logo_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"SignIn":[]}]}},"/workspaces/{workspace_id}/logo":{"get":{"tags":["org"],"summary":"Get Workspace Logo","description":"A workspace's logo image; 404 when it has none.","operationId":"get_workspace_logo_workspaces__workspace_id__logo_get","security":[{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["org"],"summary":"Set Workspace Logo","description":"Sets a workspace's logo, sent as the request body. Owners and admins.","operationId":"set_workspace_logo_workspaces__workspace_id__logo_put","security":[{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","contentMediaType":"application/octet-stream","description":"A PNG, JPEG or WebP image of at most 256 KB.","title":"Data"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["org"],"summary":"Remove Workspace Logo","description":"Removes a workspace's logo. Owners and admins.","operationId":"remove_workspace_logo_workspaces__workspace_id__logo_delete","security":[{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scim/v2/Users":{"get":{"tags":["scim"],"summary":"List Users","operationId":"list_users_scim_v2_Users_get","security":[{"SCIMToken":[]}],"parameters":[{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"startIndex","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Startindex"}},{"name":"count","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Count"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scim/v2/Users/{user_id}":{"get":{"tags":["scim"],"summary":"Scim User","operationId":"scim_user_scim_v2_Users__user_id__get","security":[{"SCIMToken":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["scim"],"summary":"Patch User","description":"Entra ID: {\"op\": \"Replace\", \"path\": \"active\", \"value\": \"False\"}; Okta: {\"op\": \"replace\",\n\"value\": {\"active\": false}}. The last `active` an operation sets wins.","operationId":"patch_user_scim_v2_Users__user_id__patch","security":[{"SCIMToken":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["scim"],"summary":"Put User","operationId":"put_user_scim_v2_Users__user_id__put","security":[{"SCIMToken":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["scim"],"summary":"Delete User","operationId":"delete_user_scim_v2_Users__user_id__delete","security":[{"SCIMToken":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/upstreams":{"get":{"tags":["gateway"],"summary":"List Upstreams","operationId":"list_upstreams_gateway_upstreams_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Upstream"},"type":"array","title":"Response List Upstreams Gateway Upstreams Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]},"post":{"tags":["gateway"],"summary":"Create Upstream","description":"Adds an upstream, where gateway traffic goes. Its vendor key is kept in your\norganisation's key vault and never returned.","operationId":"create_upstream_gateway_upstreams_post","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpstreamIn"},{"$ref":"#/components/schemas/EndpointUpstreamIn"}],"title":"Body","discriminator":{"propertyName":"vendor","mapping":{"openai":"#/components/schemas/UpstreamIn","azure":"#/components/schemas/UpstreamIn","openai_compatible":"#/components/schemas/UpstreamIn","anthropic":"#/components/schemas/UpstreamIn","google":"#/components/schemas/UpstreamIn","os3_endpoint":"#/components/schemas/EndpointUpstreamIn"}}}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upstream"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/gateway/upstreams/{upstream_id}/evaluation-key":{"post":{"tags":["gateway"],"summary":"Replace Evaluation Key","description":"A new evaluation key for the upstream (a running LLM endpoint's or a vendor's), which\nOS3 runs your evaluations on that upstream with. It replaces the live one; the key itself\nis never shown.","operationId":"replace_evaluation_key_gateway_upstreams__upstream_id__evaluation_key_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"upstream_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Upstream Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/EvaluationKeyIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayKey"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/upstreams/{upstream_id}/api-key":{"put":{"tags":["gateway"],"summary":"Replace Upstream Key","description":"Replaces the upstream's vendor key; only an upstream created through this API has\none.","operationId":"replace_upstream_key_gateway_upstreams__upstream_id__api_key_put","security":[{"SignIn":[]}],"parameters":[{"name":"upstream_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Upstream Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpstreamKeyIn"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/upstreams/{upstream_id}/prices":{"put":{"tags":["gateway"],"summary":"Set Upstream Price","description":"Sets one model's price on the upstream (USD per 1M tokens), which costs its traffic in\nyour reports.","operationId":"set_upstream_price_gateway_upstreams__upstream_id__prices_put","security":[{"SignIn":[]}],"parameters":[{"name":"upstream_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Upstream Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpstreamPriceIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upstream"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/os3-models":{"get":{"tags":["gateway"],"summary":"List Os3 Models","description":"The models OS3 serves on its own provider accounts, which any gateway key calls by id (an\nOS3-models key calls only these): their facts, where they are processed and their price at\nyour LLM plan's rate. One your organisation's region pin does not cover is listed as\nunavailable, with the reason.","operationId":"list_os3_models_gateway_os3_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Os3Models"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/gateway/keys":{"get":{"tags":["gateway"],"summary":"List Keys","description":"Live (unrevoked) keys, newest first; the secret is never returned.","operationId":"list_keys_gateway_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ListedGatewayKey"},"type":"array","title":"Response List Keys Gateway Keys Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]},"post":{"tags":["gateway"],"summary":"Create Key","description":"A key for your app (shown once, with its setup URL's key), or a judge key on an\nupstream. Your app's key reaches every provider: its requests carry your provider key, name\nan OS3 model, or go to your one saved provider key of their API; `upstream_id` pins it to\none.","operationId":"create_key_gateway_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayKeyIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayKeyCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/gateway/evaluation-key":{"get":{"tags":["gateway"],"summary":"Evaluation Key","description":"Whether OS3 can use your organisation's evaluation key, and each vendor upstream's\nevaluation key, and why not.","operationId":"evaluation_key_gateway_evaluation_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationKey"}}}}},"security":[{"SignIn":[]}]}},"/gateway/keys/{key_id}":{"delete":{"tags":["gateway"],"summary":"Revoke Key","operationId":"revoke_key_gateway_keys__key_id__delete","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/consent":{"get":{"tags":["gateway"],"summary":"Get Consent","operationId":"get_consent_gateway_consent_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Consent"}}}}},"security":[{"SignIn":[]}]},"put":{"tags":["gateway"],"summary":"Set Consent","description":"Replaces the tenant's consent and opt-ins; eval_only is always among the uses.","operationId":"set_consent_gateway_consent_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Consent"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]}},"/gateway/shadows":{"get":{"tags":["gateway"],"summary":"List Shadows","description":"Live and ended, newest first.","operationId":"list_shadows_gateway_shadows_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Shadow"},"type":"array","title":"Response List Shadows Gateway Shadows Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]},"post":{"tags":["gateway"],"summary":"Create Shadow","operationId":"create_shadow_gateway_shadows_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShadowIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shadow"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/gateway/shadows/{shadow_id}/disable":{"post":{"tags":["gateway"],"summary":"Disable Shadow","operationId":"disable_shadow_gateway_shadows__shadow_id__disable_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"shadow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shadow Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shadow"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/keys/{key_id}/imports":{"post":{"tags":["gateway"],"summary":"Import History","description":"Imports past traffic as traces of the key: the request body is JSON Lines, one\n{\"path\", \"request\", \"response\"} exchange per line (chat completions by default, Responses or\nMessages).","operationId":"import_history_gateway_keys__key_id__imports_post","security":[{"SignIn":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"enum":["openai","anthropic"],"type":"string"},{"type":"null"}],"description":"An app key's import: the provider that answered it, `openai` or `anthropic` (that vendor's API on your app's own key) or one of your saved provider keys' id.","title":"Provider"},"description":"An app key's import: the provider that answered it, `openai` or `anthropic` (that vendor's API on your app's own key) or one of your saved provider keys' id."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/keys/{key_id}/imports/sample":{"post":{"tags":["gateway"],"summary":"Import Sample","description":"OS3's banking77 sample, each exchange asking for ``model``.","operationId":"import_sample_gateway_keys__key_id__imports_sample_post","security":[{"SignIn":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"enum":["openai","anthropic"],"type":"string"},{"type":"null"}],"description":"An app key's import: the provider that answered it, `openai` or `anthropic` (that vendor's API on your app's own key) or one of your saved provider keys' id.","title":"Provider"},"description":"An app key's import: the provider that answered it, `openai` or `anthropic` (that vendor's API on your app's own key) or one of your saved provider keys' id."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SampleIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets":{"get":{"tags":["datasets"],"summary":"List Datasets","operationId":"list_datasets_datasets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Dataset"},"type":"array","title":"Response List Datasets Datasets Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]},"post":{"tags":["datasets"],"summary":"Create Dataset","operationId":"create_dataset_datasets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dataset"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/datasets/versions":{"get":{"tags":["datasets"],"summary":"List All Versions","description":"Every version of your datasets (of `workspace_id`'s), by dataset and version, in one\ncall. `files=false`: each without its file declarations but meta/info.json's (a LeRobot v3\nversion's), the episodes a selection drops (`selection.drop`) and a trace source's files\n(`harness_traces.files`, `.decision_logs`).","operationId":"list_all_versions_datasets_versions_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"files","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Files"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Version"},"title":"Response List All Versions Datasets Versions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}":{"get":{"tags":["datasets"],"summary":"Get Dataset","operationId":"get_dataset_datasets__dataset_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dataset"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["data lifecycle"],"summary":"Delete Dataset","operationId":"delete_dataset_datasets__dataset_id__delete","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Deletion"},"title":"Response Delete Dataset Datasets  Dataset Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions":{"post":{"tags":["datasets"],"summary":"Create Version","operationId":"create_version_datasets__dataset_id__versions_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/VersionIn"},{"$ref":"#/components/schemas/SelectionIn"},{"$ref":"#/components/schemas/CompositeIn"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["datasets"],"summary":"List Versions","operationId":"list_versions_datasets__dataset_id__versions_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Version"},"title":"Response List Versions Datasets  Dataset Id  Versions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/grants":{"post":{"tags":["datasets"],"summary":"Grant Dataset","description":"Let workspace `workspace_id` (of your organisation) combine this dataset's sealed versions\ninto its composites. Granting and revoking need access to both workspaces.","operationId":"grant_dataset_datasets__dataset_id__grants_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetGrantIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetGrant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["datasets"],"summary":"List Grants","operationId":"list_grants_datasets__dataset_id__grants_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DatasetGrant"},"title":"Response List Grants Datasets  Dataset Id  Grants Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/grants/{workspace_id}":{"delete":{"tags":["datasets"],"summary":"Revoke Grant","description":"Revoke a grant: that workspace's versions made from the dataset (its composites, and\ncleanings or composites of them) still being written are not sealed, and its jobs on them are\nrefused at launch. OS3 keeps the grant's record.","operationId":"revoke_grant_datasets__dataset_id__grants__workspace_id__delete","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/upload-urls":{"post":{"tags":["datasets"],"summary":"Reissue Upload Urls","description":"Fresh upload URLs for a version that is still uploading (e.g. the first ones expired).","operationId":"reissue_upload_urls_datasets__dataset_id__versions__version__upload_urls_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/files":{"get":{"tags":["datasets"],"summary":"Version Files","description":"Stored size of each declared file, null when absent, sorted by path: a resumed upload skips\nfiles already stored at the declared size (sealing still checks each file's size, and the sha256\nof files up to a size limit). `?path=` asks for one file. Pages of `limit` after\n`?after=<path>`; a full page sets X-Next-After.","operationId":"version_files_datasets__dataset_id__versions__version__files_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}},{"name":"path","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}},{"name":"after","in":"query","required":false,"schema":{"type":"string","default":"","title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"default":10000,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Version Files Datasets  Dataset Id  Versions  Version  Files Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}":{"get":{"tags":["datasets"],"summary":"Get Version","description":"A sealed non-holdout version carries a read+list SAS URL scoped to exactly its prefix\n`datasets/<slug>/v<n>/` of the tenant's `datasets` container (the URL path).","operationId":"get_version_datasets__dataset_id__versions__version__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["data lifecycle"],"summary":"Delete Version","operationId":"delete_version_datasets__dataset_id__versions__version__delete","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deletion"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/diff":{"get":{"tags":["datasets"],"summary":"Version Diff","description":"What changed in sealed `version` against sealed `base`, by default the latest sealed\nversion before it: the version's changelog. A holdout dataset is never diffed (no\nstatistics come from holdouts).","operationId":"version_diff_datasets__dataset_id__versions__version__diff_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}},{"name":"base","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Base"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Version Diff Datasets  Dataset Id  Versions  Version  Diff Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/curation":{"get":{"tags":["datasets"],"summary":"Version Curation","description":"Sealed `version`'s curation filter results: the counts per filter and per operator from\nits meta/episode_quality.parquet and meta/transition_quality.parquet, written before upload,\nand the episodes a curated version drops. A holdout dataset is never curated (no statistics\ncome from holdouts).","operationId":"version_curation_datasets__dataset_id__versions__version__curation_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Version Curation Datasets  Dataset Id  Versions  Version  Curation Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/data-need":{"get":{"tags":["datasets"],"summary":"Version Data Need","description":"How many more episodes sealed `version` needs for success `target` on each robot eval\nset: its measured (task, site) coverage and the learning curve of the models trained on\nthis dataset's sealed versions up to it, with a bounded estimate or `unknown` and why. A\nholdout dataset has none (no statistics come from holdouts).","operationId":"version_data_need_datasets__dataset_id__versions__version__data_need_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}},{"name":"target","in":"query","required":false,"schema":{"type":"number","exclusiveMaximum":1,"exclusiveMinimum":0,"default":0.8,"title":"Target"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Version Data Need Datasets  Dataset Id  Versions  Version  Data Need Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/viewer":{"get":{"tags":["datasets"],"summary":"Version Viewer","description":"The Rerun recordings of sealed LeRobot v3 `version`, one per episode, each with its size\nand a URL under the version's read SAS (the one GET .../versions/{n} gives), with an\nepisode's `poster_url` (its cameras' first frames, a JPEG) and the version's\n`blueprint_url` (the replay layout) when they were made, and whether each is a held-out\nepisode (`holdout`). `pending` until the recordings are made; a holdout dataset has none.","operationId":"version_viewer_datasets__dataset_id__versions__version__viewer_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Version Viewer Datasets  Dataset Id  Versions  Version  Viewer Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/rows":{"get":{"tags":["datasets"],"summary":"Version Rows","description":"Sealed LLM `version`'s examples (its examples.jsonl): how many it holds, its fields with\ntheir estimated tokens, and `limit` examples from line `start` (a row a content search\nfound; the first by default). Any other version (LeRobot v3) is 409. A holdout dataset has\nnone (its contents are never read back).","operationId":"version_rows_datasets__dataset_id__versions__version__rows_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"start","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Start"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Version Rows Datasets  Dataset Id  Versions  Version  Rows Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/report":{"get":{"tags":["datasets"],"summary":"Version Report","description":"Sealed `version`'s data report: its content profile, made once by the data report job and\nstored apart from the version under the key it names (`pending` until then, `failed` with\nwhy), and observations made now, at `observed_at`: whether training on it is allowed now\n(consent), its examples that are eval cases now (kept per state of the tenant's eval sets,\ndataset_contamination), and the list price of storing it. A holdout dataset has none (no\nstatistics come from holdouts).","operationId":"version_report_datasets__dataset_id__versions__version__report_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Version Report Datasets  Dataset Id  Versions  Version  Report Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/clean/preview":{"post":{"tags":["datasets"],"summary":"Clean Preview","description":"What `body` (os3.cleaning_recipe.v1; no body: the workspace's default rules for the\nversion's kind, which the answer then gives with their defaults version) would make of\nsealed `version`: its rows (episodes or examples) and frames or estimated tokens before and\nafter, each operation's drops and the first drops with why. Creates nothing.","operationId":"clean_preview_datasets__dataset_id__versions__version__clean_preview_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Recipe"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Clean Preview Datasets  Dataset Id  Versions  Version  Clean Preview Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/clean":{"post":{"tags":["datasets"],"summary":"Clean Version","description":"Open the cleaned version of sealed `version`: the dataset's next version, keeping every\nrow of it the recipe does not drop (no body: the workspace's default rules for the version's\nkind, the record naming their defaults version), with the cleaning record and every drop\nwith why in its manifest's `selection`. Admitted as an upload is; OS3 writes and seals it,\nand `version` stays as it is. 422 when the recipe drops no row or every row.","operationId":"clean_version_datasets__dataset_id__versions__version__clean_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Recipe"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/traces":{"get":{"tags":["datasets"],"summary":"Version Traces","description":"Sealed `version`'s trace source, the robot harness traces it was built from, as it was sealed\n(its files, traces, episodes and consent per vendor), with the drift and label-noise metrics of\nits traces, the labels being the reviews of its traces so far. A holdout dataset has none (no\nstatistics come from holdouts).","operationId":"version_traces_datasets__dataset_id__versions__version__traces_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Version Traces Datasets  Dataset Id  Versions  Version  Traces Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/seal":{"post":{"tags":["datasets"],"summary":"Seal Version","description":"Seal an uploaded version: 202, and OS3 checks every file and seals the version, usually\nwithin minutes. Until then it is `uploading` with its `seal_requested_at`; then `sealed`, or\nstill uploading with `seal_error` saying why it cannot be sealed (asking again clears it and\nchecks again). Asked again while it is being sealed: the same 202. Follow it with GET\n.../versions/{version}.","operationId":"seal_version_datasets__dataset_id__versions__version__seal_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/data-sources":{"post":{"tags":["imports"],"summary":"Create Source","description":"Connects a source in your own storage. Its credential is kept in your organisation's key\nvault and never returned.","operationId":"create_source_data_sources_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AzureSourceIn"},{"$ref":"#/components/schemas/S3SourceIn"}],"discriminator":{"propertyName":"provider","mapping":{"azure_blob":"#/components/schemas/AzureSourceIn","s3":"#/components/schemas/S3SourceIn"}},"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Source"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["imports"],"summary":"List Sources","operationId":"list_sources_data_sources_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Source"},"title":"Response List Sources Data Sources Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/data-sources/{source_id}":{"get":{"tags":["imports"],"summary":"Get Source","operationId":"get_source_data_sources__source_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Source"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["imports"],"summary":"Delete Source","description":"Removes the source: nothing more is read from it, and its imports in progress stop\n(`failed`: the import job copies no object of a failed import, nor seals it).","operationId":"delete_source_data_sources__source_id__delete","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/data-sources/{source_id}/credentials":{"put":{"tags":["imports"],"summary":"Put Credentials","description":"Replaces the source's credential (an expired one, say): a SAS of the same container, or\nnew session credentials.","operationId":"put_credentials_data_sources__source_id__credentials_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AzureCredentialsIn"},{"$ref":"#/components/schemas/S3CredentialsIn"}],"discriminator":{"propertyName":"provider","mapping":{"azure_blob":"#/components/schemas/AzureCredentialsIn","s3":"#/components/schemas/S3CredentialsIn"}},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Source"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/data-sources/{source_id}/browse":{"get":{"tags":["imports"],"summary":"Browse","description":"One page of what is under `prefix` (under the source's own): its \"directories\" and its\nobjects with their sizes, read from the source now; `next` gives the page after.","operationId":"browse_data_sources__source_id__browse_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}},{"name":"prefix","in":"query","required":false,"schema":{"type":"string","maxLength":1024,"default":"","title":"Prefix"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Browse Data Sources  Source Id  Browse Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/data-sources/{source_id}/imports":{"post":{"tags":["imports"],"summary":"Create Import","description":"Imports the objects under `prefix` of the source into the next version of `dataset_id`,\na dataset of the source's workspace. OS3 copies them and seals the version; nothing is\nconverted. Follow it at GET /data-imports/{id}.","operationId":"create_import_data_sources__source_id__imports_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Import"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/data-imports":{"get":{"tags":["imports"],"summary":"List Imports","description":"Your imports, newest first. `since` bounds history; `limit` pages it, with\n`X-Next-After` as the next page's `after`. Failed and cancelled imports can be resumed.","operationId":"list_imports_data_imports_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"dataset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":200,"minimum":1},{"type":"null"}],"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Import"},"title":"Response List Imports Data Imports Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/data-imports/{import_id}":{"get":{"tags":["imports"],"summary":"Get Import","operationId":"get_import_data_imports__import_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Import Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Import"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/data-imports/{import_id}/cancel":{"post":{"tags":["imports"],"summary":"Cancel Import","description":"Stops the import after the object being copied. Its version stays uploading and is never\nsealed: resume the import, or delete the version.","operationId":"cancel_import_data_imports__import_id__cancel_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Import Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Import"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/data-imports/{import_id}/resume":{"post":{"tags":["imports"],"summary":"Resume Import","description":"Carries on a failed or cancelled import from the first object not yet copied (its listing\nfirst, if it never finished): the objects already copied are kept.","operationId":"resume_import_data_imports__import_id__resume_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Import Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Import"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/org/data-policy":{"get":{"tags":["data lifecycle"],"summary":"Get Policy","operationId":"get_policy_org_data_policy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPolicy"}}}}},"security":[{"SignIn":[]}]},"put":{"tags":["data lifecycle"],"summary":"Put Policy","operationId":"put_policy_org_data_policy_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPolicyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataPolicy"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"SignIn":[]}]}},"/org/deletions":{"get":{"tags":["data lifecycle"],"summary":"Deletions","operationId":"deletions_org_deletions_get","security":[{"SignIn":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Deletion"},"title":"Response Deletions Org Deletions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/org/audit":{"get":{"tags":["data lifecycle"],"summary":"Audit","description":"The organisation's audit log, newest first; `after` is the X-Next-After of a full page.\nFilters: `reads=false` leaves out reads (trace.view, audit_log.export, artifact.export);\n`action` (repeatable) is an action or every action under it (`api_key`: api_key.create,\napi_key.narrow, ...); `actor_kind` and `actor_id` the actor's; `since`/`until` the rows with\n`at` in [since, until).","operationId":"audit_org_audit_get","security":[{"SignIn":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"After"}},{"name":"reads","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Reads"}},{"name":"action","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"},"maxItems":20},{"type":"null"}],"title":"Action"}},{"name":"actor_kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Kind"}},{"name":"actor_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Until"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AuditRow"},"title":"Response Audit Org Audit Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/org/audit/export":{"get":{"tags":["data lifecycle"],"summary":"Audit Export","description":"The audit rows with `at` in [since, until) as JSON lines, oldest first (default: the\nlast 30 days; at most 366). The export itself is audited before any row is sent.","operationId":"audit_export_org_audit_export_get","security":[{"SignIn":[]}],"parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Until"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evals/artifacts":{"post":{"tags":["evals"],"summary":"Declare Artifact","operationId":"declare_artifact_evals_artifacts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Artifact"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/evals/artifacts/{artifact_id}/commit":{"post":{"tags":["evals"],"summary":"Commit Artifact","operationId":"commit_artifact_evals_artifacts__artifact_id__commit_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Artifact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Artifact"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evals/artifacts/{artifact_id}":{"get":{"tags":["evals"],"summary":"Get Artifact","operationId":"get_artifact_evals_artifacts__artifact_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Artifact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Artifact"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evals":{"post":{"tags":["evals"],"summary":"Create Eval","operationId":"create_eval_evals_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvalIngest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvalRunRow"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["evals"],"summary":"List Evals","operationId":"list_evals_evals_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EvalRunRow"},"title":"Response List Evals Evals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evals/general-suite":{"post":{"tags":["evals"],"summary":"Freeze General","description":"Freezes your organisation's general eval suite (MMLU-Pro's test set at a pinned\nrevision) once: 201 when this call froze it, 200 with the set already frozen.","operationId":"freeze_general_evals_general_suite_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneralSuite"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/evals/{eval_id}":{"get":{"tags":["evals"],"summary":"Get Eval","operationId":"get_eval_evals__eval_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"eval_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Eval Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvalRunRow"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evals/{eval_id}/compare":{"get":{"tags":["evals"],"summary":"Compare Eval","description":"The eval's candidate against its baseline; the verdict is null, with the reason, on\nfewer than `min_trials` trials or without a calibrated judge.","operationId":"compare_eval_evals__eval_id__compare_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"eval_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Eval Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Comparison"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/chat/completions":{"post":{"tags":["gateway"],"summary":"Chat Completions","operationId":"chat_completions_v1_chat_completions_post","security":[{"GatewayKey":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"parameters":[{"name":"x-os3-subject","in":"header","required":false,"schema":{"type":"string"},"description":"Your end user's id, sent with every request (never to your provider). A canary sends a share of your users, not of requests, to its candidate, each user's requests to the same side: without this header or x-os3-session the gateway key is the one user, so either all or none of the key's requests go to the candidate."},{"name":"x-os3-session","in":"header","required":false,"schema":{"type":"string"},"description":"A session's id (never sent to your provider): the user a canary splits requests by when x-os3-subject is not sent."}]}},"/v1/embeddings":{"post":{"tags":["gateway"],"summary":"Embeddings","operationId":"embeddings_v1_embeddings_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"GatewayKey":[]}]}},"/v1/systemone":{"post":{"tags":["gateway"],"summary":"System One","operationId":"system_one_v1_systemone_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"GatewayKey":[]}]}},"/v1/messages":{"post":{"tags":["gateway"],"summary":"Messages","operationId":"messages_v1_messages_post","security":[{"GatewayKey":[]},{"GatewayKeyHeader":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"parameters":[{"name":"x-os3-subject","in":"header","required":false,"schema":{"type":"string"},"description":"Your end user's id, sent with every request (never to your provider). A canary sends a share of your users, not of requests, to its candidate, each user's requests to the same side: without this header or x-os3-session the gateway key is the one user, so either all or none of the key's requests go to the candidate."},{"name":"x-os3-session","in":"header","required":false,"schema":{"type":"string"},"description":"A session's id (never sent to your provider): the user a canary splits requests by when x-os3-subject is not sent."}]}},"/v1/messages/count_tokens":{"post":{"tags":["gateway"],"summary":"Count Tokens","operationId":"count_tokens_v1_messages_count_tokens_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"GatewayKey":[]},{"GatewayKeyHeader":[]}]}},"/v1/responses":{"post":{"tags":["gateway"],"summary":"Responses","operationId":"responses_v1_responses_post","security":[{"GatewayKey":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"parameters":[{"name":"x-os3-subject","in":"header","required":false,"schema":{"type":"string"},"description":"Your end user's id, sent with every request (never to your provider). A canary sends a share of your users, not of requests, to its candidate, each user's requests to the same side: without this header or x-os3-session the gateway key is the one user, so either all or none of the key's requests go to the candidate."},{"name":"x-os3-session","in":"header","required":false,"schema":{"type":"string"},"description":"A session's id (never sent to your provider): the user a canary splits requests by when x-os3-subject is not sent."}]}},"/v1/responses/input_tokens":{"post":{"tags":["gateway"],"summary":"Responses Input Tokens","operationId":"responses_input_tokens_v1_responses_input_tokens_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"GatewayKey":[]}]}},"/v1/comparisons":{"post":{"tags":["gateway"],"summary":"Comparisons","operationId":"comparisons_v1_comparisons_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"GatewayKey":[]}]}},"/v1/feedback":{"post":{"tags":["gateway"],"summary":"Feedback","operationId":"feedback_v1_feedback_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"GatewayKey":[]}]}},"/v1/preferences":{"post":{"tags":["gateway"],"summary":"Preferences","description":"Records your end user's pick between the two answers of a response that carried\n`os3_preference_id`: `{\"id\": \"<os3_preference_id>\", \"choice\": 0 | 1 | \"both\" | \"neither\"}`,\n`choice` being the index in `choices` of the answer they chose. Sending the same pick again\nanswers the same; another pick for the same pair is 409.","operationId":"preferences_v1_preferences_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"GatewayKey":[]}]}},"/v1/feedback/outcomes":{"post":{"tags":["gateway"],"summary":"Feedback Outcomes","operationId":"feedback_outcomes_v1_feedback_outcomes_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"GatewayKey":[]}]}},"/v1/models":{"get":{"tags":["gateway"],"summary":"List Models","operationId":"list_models_v1_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"GatewayKey":[]},{"GatewayKeyHeader":[]}]}},"/v1beta/models/{model}:generateContent":{"post":{"tags":["gateway"],"summary":"Generate Content","operationId":"generate_content_v1beta_models__model__generateContent_post","security":[{"GatewayKey":[]},{"GatewayKeyGoogleHeader":[]}],"parameters":[{"name":"model","in":"path","required":true,"schema":{"type":"string","title":"Model"}},{"name":"x-os3-subject","in":"header","required":false,"schema":{"type":"string"},"description":"Your end user's id, sent with every request (never to your provider). A canary sends a share of your users, not of requests, to its candidate, each user's requests to the same side: without this header or x-os3-session the gateway key is the one user, so either all or none of the key's requests go to the candidate."},{"name":"x-os3-session","in":"header","required":false,"schema":{"type":"string"},"description":"A session's id (never sent to your provider): the user a canary splits requests by when x-os3-subject is not sent."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1beta/models/{model}:streamGenerateContent":{"post":{"tags":["gateway"],"summary":"Stream Generate Content","operationId":"stream_generate_content_v1beta_models__model__streamGenerateContent_post","security":[{"GatewayKey":[]},{"GatewayKeyGoogleHeader":[]}],"parameters":[{"name":"model","in":"path","required":true,"schema":{"type":"string","title":"Model"}},{"name":"x-os3-subject","in":"header","required":false,"schema":{"type":"string"},"description":"Your end user's id, sent with every request (never to your provider). A canary sends a share of your users, not of requests, to its candidate, each user's requests to the same side: without this header or x-os3-session the gateway key is the one user, so either all or none of the key's requests go to the candidate."},{"name":"x-os3-session","in":"header","required":false,"schema":{"type":"string"},"description":"A session's id (never sent to your provider): the user a canary splits requests by when x-os3-subject is not sent."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1beta/models":{"get":{"tags":["gateway"],"summary":"Gemini Models","operationId":"gemini_models_v1beta_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"GatewayKey":[]},{"GatewayKeyGoogleHeader":[]}]}},"/v1beta/models/{model}":{"get":{"tags":["gateway"],"summary":"Gemini Model","operationId":"gemini_model_v1beta_models__model__get","security":[{"GatewayKey":[]},{"GatewayKeyGoogleHeader":[]}],"parameters":[{"name":"model","in":"path","required":true,"schema":{"type":"string","title":"Model"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/gateway/check":{"post":{"tags":["gateway"],"summary":"Gateway Check","description":"Sends one request through your gateway key and reports `ok`, or the first thing that\nstops an evaluation (or, with a training `use`, a training) run on its traffic, with what\nto do. A refused key is that first failure (`credential`), not a 401.","operationId":"gateway_check_gateway_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"GatewayKey":[]}]}},"/bedrock-runtime/{region}/model/{model}/invoke":{"post":{"tags":["gateway"],"summary":"Bedrock Invoke","operationId":"bedrock_invoke_bedrock_runtime__region__model__model__invoke_post","security":[{"GatewayKey":[]}],"parameters":[{"name":"region","in":"path","required":true,"schema":{"type":"string","title":"Region"}},{"name":"model","in":"path","required":true,"schema":{"type":"string","title":"Model"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bedrock-runtime/{region}/model/{model}/invoke-with-response-stream":{"post":{"tags":["gateway"],"summary":"Bedrock Invoke Stream","operationId":"bedrock_invoke_stream_bedrock_runtime__region__model__model__invoke_with_response_stream_post","security":[{"GatewayKey":[]}],"parameters":[{"name":"region","in":"path","required":true,"schema":{"type":"string","title":"Region"}},{"name":"model","in":"path","required":true,"schema":{"type":"string","title":"Model"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bedrock-runtime/{region}/model/{model}/count-tokens":{"post":{"tags":["gateway"],"summary":"Bedrock Count Tokens","operationId":"bedrock_count_tokens_bedrock_runtime__region__model__model__count_tokens_post","security":[{"GatewayKey":[]}],"parameters":[{"name":"region","in":"path","required":true,"schema":{"type":"string","title":"Region"}},{"name":"model","in":"path","required":true,"schema":{"type":"string","title":"Model"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bedrock-runtime/{region}/anthropic/v1/messages":{"post":{"tags":["gateway"],"summary":"Bedrock Runtime Messages","operationId":"bedrock_runtime_messages_bedrock_runtime__region__anthropic_v1_messages_post","security":[{"GatewayKey":[]}],"parameters":[{"name":"region","in":"path","required":true,"schema":{"type":"string","title":"Region"}},{"name":"x-os3-subject","in":"header","required":false,"schema":{"type":"string"},"description":"Your end user's id, sent with every request (never to your provider). A canary sends a share of your users, not of requests, to its candidate, each user's requests to the same side: without this header or x-os3-session the gateway key is the one user, so either all or none of the key's requests go to the candidate."},{"name":"x-os3-session","in":"header","required":false,"schema":{"type":"string"},"description":"A session's id (never sent to your provider): the user a canary splits requests by when x-os3-subject is not sent."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bedrock-runtime/{region}/anthropic/v1/messages/count_tokens":{"post":{"tags":["gateway"],"summary":"Bedrock Runtime Count","operationId":"bedrock_runtime_count_bedrock_runtime__region__anthropic_v1_messages_count_tokens_post","security":[{"GatewayKey":[]}],"parameters":[{"name":"region","in":"path","required":true,"schema":{"type":"string","title":"Region"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bedrock-mantle/{region}/anthropic/v1/messages":{"post":{"tags":["gateway"],"summary":"Bedrock Mantle Messages","operationId":"bedrock_mantle_messages_bedrock_mantle__region__anthropic_v1_messages_post","security":[{"GatewayKey":[]}],"parameters":[{"name":"region","in":"path","required":true,"schema":{"type":"string","title":"Region"}},{"name":"x-os3-subject","in":"header","required":false,"schema":{"type":"string"},"description":"Your end user's id, sent with every request (never to your provider). A canary sends a share of your users, not of requests, to its candidate, each user's requests to the same side: without this header or x-os3-session the gateway key is the one user, so either all or none of the key's requests go to the candidate."},{"name":"x-os3-session","in":"header","required":false,"schema":{"type":"string"},"description":"A session's id (never sent to your provider): the user a canary splits requests by when x-os3-subject is not sent."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bedrock-mantle/{region}/anthropic/v1/messages/count_tokens":{"post":{"tags":["gateway"],"summary":"Bedrock Mantle Count","operationId":"bedrock_mantle_count_bedrock_mantle__region__anthropic_v1_messages_count_tokens_post","security":[{"GatewayKey":[]}],"parameters":[{"name":"region","in":"path","required":true,"schema":{"type":"string","title":"Region"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/compare":{"get":{"tags":["jobs"],"summary":"Compare Runs","description":"Any 2 to 8 runs of one workspace side by side, as a fan-out's are, when they share their\nbase or their dataset.","operationId":"compare_runs_jobs_compare_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"query","required":true,"schema":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":2,"maxItems":8,"title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunComparison"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs":{"post":{"tags":["jobs"],"summary":"Create Job","operationId":"create_job_jobs_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["jobs"],"summary":"List Jobs","description":"Newest first; a full page sets X-Next-After (its last job's id), which `after` takes,\nand X-Total-Count is how many jobs the filters match. Filters: `ref` (repeatable) the jobs\nit names, by their id or by the model or adapter version they registered; `state`\n(repeatable) those in these states; `waiting` those waiting for capacity, or not; `kind`\nthose that train a robot policy, or an LLM adapter (an LoRA, RFT or RLVR run); `fanout`\nthose started in a fan-out, or not; `base` and `base_model` those of that base (an LLM\nrun's base model); `dataset_id` those trained on a version of that dataset; `q` those whose\nname (\"<dataset name> v<number>\") or dataset version (\"<dataset name> v<version>\") holds\nit, case aside; `since` those queued at or after that time.","operationId":"list_jobs_jobs_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}},{"name":"ref","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":1000},{"type":"null"}],"title":"Ref"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/JobState"}},{"type":"null"}],"title":"State"}},{"name":"waiting","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Waiting"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["policy","adapter"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"fanout","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Fanout"}},{"name":"base","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Base"}},{"name":"base_model","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Base Model"}},{"name":"dataset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Job"},"title":"Response List Jobs Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/bases":{"get":{"tags":["jobs"],"summary":"List Bases","description":"Every robot base, then every lora_trl base model (an LLM LoRA), then every halo_rft one\n(hosted RFT, the default for tasks with a verifier), then every halo_rlvr one (online RLVR on\nHalo, its upgrade).","operationId":"list_bases_jobs_bases_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CatalogBase"},"type":"array","title":"Response List Bases Jobs Bases Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/jobs/estimate":{"post":{"tags":["jobs"],"summary":"Estimate Job","description":"Prices a training run before it exists; nothing is created or reserved. 403 as POST\n/jobs for a workspace or dataset version it could not use, and for LLM training your\norganisation's LLM plan does not include; 422 for a base or GPU without an estimate, an LLM\nbase that does not train as asked, a base that does not train on the dataset version, or\nuse_depth on a base that takes no depth (as POST /jobs). `depth_streams`: the version's depth\nstreams, which the run trains without unless use_depth is on.","operationId":"estimate_job_jobs_estimate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/jobs/{job_id}":{"get":{"tags":["jobs"],"summary":"Get Job","description":"The job, with the GPU-hours it has used so far and their cost at the list price: what was\nbilled once it has ended, else what would be billed if it ended now.","operationId":"get_job_jobs__job_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/metrics":{"get":{"tags":["jobs"],"summary":"Job Metrics","description":"Loss points by step (the loss curve); `after` is the last step seen.","operationId":"job_metrics_jobs__job_id__metrics_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":1000,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MetricPoint"},"title":"Response Job Metrics Jobs  Job Id  Metrics Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/diagnosis":{"get":{"tags":["jobs"],"summary":"Job Diagnosis","description":"OS3's operator agent's newest diagnosis of the job, null before it has one.","operationId":"job_diagnosis_jobs__job_id__diagnosis_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/JobDiagnosis"},{"type":"null"}],"title":"Response Job Diagnosis Jobs  Job Id  Diagnosis Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/cancel":{"post":{"tags":["jobs"],"summary":"Cancel Job","description":"Requests the job's cancellation (202); the job stops and moves to `cancelled` shortly\nafter. 409 once its run has finished: an evaluating job is not stopped.","operationId":"cancel_job_jobs__job_id__cancel_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/logs":{"get":{"tags":["jobs"],"summary":"Job Logs","description":"The job's events as SSE, from `after` (or Last-Event-ID); `tail=N` starts at its N-th\nlast log line instead, so a reader of the log's end does not replay all of it. OS3's notes\non the run come in plain words, as kind `os3`.","operationId":"job_logs_jobs__job_id__logs_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}},{"name":"follow","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Follow"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After"}},{"name":"max_s","in":"query","required":false,"schema":{"type":"number","maximum":600,"exclusiveMinimum":0,"default":300,"title":"Max S"}},{"name":"poll_s","in":"query","required":false,"schema":{"type":"number","maximum":10,"minimum":0.5,"default":1.0,"title":"Poll S"}},{"name":"tail","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1000,"minimum":1},{"type":"null"}],"title":"Tail"}},{"name":"Last-Event-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/fanouts":{"post":{"tags":["jobs"],"summary":"Create Fanout","operationId":"create_fanout_jobs_fanouts_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":191},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanoutCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fanout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/fanouts/{fanout_id}":{"get":{"tags":["jobs"],"summary":"Get Fanout","operationId":"get_fanout_jobs_fanouts__fanout_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"fanout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fanout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fanout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/base-access":{"get":{"tags":["base-access"],"summary":"List Access","description":"The tenant's acceptances, revoked ones too, newest first.","operationId":"list_access_base_access_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BaseAccess"},"type":"array","title":"Response List Access Base Access Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]},"post":{"tags":["base-access"],"summary":"Accept","operationId":"accept_base_access_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseAccessIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseAccess"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/base-access/{access_id}":{"delete":{"tags":["base-access"],"summary":"Revoke","operationId":"revoke_base_access__access_id__delete","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"access_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Access Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseAccess"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/usage":{"get":{"tags":["usage"],"summary":"List Usage","operationId":"list_usage_usage_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After"}},{"name":"newest_first","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Newest First"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsageLine"},"title":"Response List Usage Usage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/usage/summary":{"get":{"tags":["usage"],"summary":"Usage Summary","description":"Lines and summed quantity per meter (the portal's usage total) of the lines that ended\nin [since, until), every line by default; `by_day=1`: per meter and UTC day (`day`).","operationId":"usage_summary_usage_summary_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Until"}},{"name":"by_day","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"By Day"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsageTotal"},"title":"Response Usage Summary Usage Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/usage/quota":{"get":{"tags":["usage"],"summary":"Usage Quota","operationId":"usage_quota_usage_quota_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/usage/estimate":{"post":{"tags":["usage"],"summary":"Estimate Job","description":"Prices a job as POST /jobs would take it, before it exists. 403 as POST /jobs for a\nworkspace or dataset version it could not use, and for LLM training your organisation's\nLLM plan does not include; 422 for a base or GPU without an estimate, or a base that does\nnot train on the dataset version.","operationId":"estimate_job_usage_estimate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EstimateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/models/release-decisions":{"post":{"tags":["models"],"summary":"Decide","operationId":"decide_models_release_decisions_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseDecision"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["models"],"summary":"List Decisions","description":"Release decisions, newest first: an adapter version's (`adapter_version_id`); or the\nones `id` (repeatable) names that you can see, each as GET /models/release-decisions/{id}\nanswers it; or a workspace's adapter-version decisions that no optimisation cycle filed\n(`workspace_id`): its newest `limit` and every one that serves now; or a robot policy\nversion's (`model_version_id`).","operationId":"list_decisions_models_release_decisions_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"adapter_version_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Adapter Version Id"}},{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Id"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"model_version_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Version Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReleaseDecision"},"title":"Response List Decisions Models Release Decisions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/release-decisions/evidence":{"get":{"tags":["models"],"summary":"Get Evidence","description":"An adapter version's task comparisons and the evidence each still waits for before it\ncan be decided.","operationId":"get_evidence_models_release_decisions_evidence_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"adapter_version_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Adapter Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Evidence"},"title":"Response Get Evidence Models Release Decisions Evidence Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/release-decisions/comparisons":{"post":{"tags":["models"],"summary":"Compare","description":"Files an adapter version's comparison on a task's eval set against what serves the task\nnow (its current adapter, else the model its requests ask for), as POST /desired-jobs files\nan eval job (Idempotency-Key included). 422 with what to set up when nothing it can be\ncompared with is reachable.","operationId":"compare_models_release_decisions_comparisons_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DesiredJob"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/release-decisions/{decision_id}":{"get":{"tags":["models"],"summary":"Get Decision","operationId":"get_decision_models_release_decisions__decision_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseDecision"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/release-decisions/{decision_id}/report":{"get":{"tags":["models"],"summary":"Get Report","description":"The decision's qualification report: the evidence it was decided on. 404 for a decision\ntaken before reports existed.","operationId":"get_report_models_release_decisions__decision_id__report_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualificationReport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/release-decisions/{decision_id}/approve":{"post":{"tags":["models"],"summary":"Approve","description":"Approves full rollout of a passed LLM specialist decision (idempotent): its canary, when\nit has one, moves to 100%, and an adapter decision also makes the version its task's\ncurrent adapter and release.","operationId":"approve_models_release_decisions__decision_id__approve_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseDecision"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/release-decisions/{decision_id}/rollback":{"get":{"tags":["models"],"summary":"Rollback Preview","description":"What would serve the decision's task if its release were rolled back now; nothing\nchanges.","operationId":"rollback_preview_models_release_decisions__decision_id__rollback_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackPreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["models"],"summary":"Rollback","description":"Rolls the decision's release back, with your reason: the task goes back to what served\nit before. An owner's or admin's, as the click. 409 unless the decision's release is fully\nrolled out.","operationId":"rollback_models_release_decisions__decision_id__rollback_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseDecision"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models":{"post":{"tags":["models"],"summary":"Register","operationId":"register_models_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ModelVersion"},{"$ref":"#/components/schemas/AdapterVersion"}],"discriminator":{"propertyName":"kind","mapping":{"policy":"#/components/schemas/ModelVersion","lora_adapter":"#/components/schemas/AdapterVersion","full_model":"#/components/schemas/AdapterVersion"}},"title":"Response Register Models Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["models"],"summary":"Resolve","operationId":"resolve_models_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"alias","in":"query","required":true,"schema":{"enum":["champion","candidate"],"type":"string","title":"Alias"}},{"name":"workspace","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace"}},{"name":"task","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$"},{"type":"null"}],"title":"Task"}},{"name":"tenant","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Tenant"}},{"name":"rollout","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Rollout"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ResolvedModel"},{"$ref":"#/components/schemas/ResolvedAdapter"}],"discriminator":{"propertyName":"kind","mapping":{"policy":"#/components/schemas/ResolvedModel","lora_adapter":"#/components/schemas/ResolvedAdapter","full_model":"#/components/schemas/ResolvedAdapter"}},"title":"Response Resolve Models Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/tasks":{"get":{"tags":["models"],"summary":"Tasks","description":"The workspace's tasks with a task alias, each resolved by GET /models?alias=&task=.","operationId":"tasks_models_tasks_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response Tasks Models Tasks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/versions":{"get":{"tags":["models"],"summary":"Versions","description":"The workspace's model and adapter versions, newest first, each as GET /models/{id}\nanswers it: every one, or a page of `limit`, a full one setting X-Next-After (its last\nversion's id), which `after` takes. X-Total-Count is how many match. Filters: `ref`\n(repeatable) the versions it names, by their id or the job that registered them; `kind`\nthose of one kind.","operationId":"versions_models_versions_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace"}},{"name":"ref","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":1000},{"type":"null"}],"title":"Ref"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["policy","lora_adapter","full_model"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1000,"minimum":1},{"type":"null"}],"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ModelVersion"},{"$ref":"#/components/schemas/AdapterVersion"}],"discriminator":{"propertyName":"kind","mapping":{"policy":"#/components/schemas/ModelVersion","lora_adapter":"#/components/schemas/AdapterVersion","full_model":"#/components/schemas/AdapterVersion"}}},"title":"Response Versions Models Versions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/task-aliases":{"get":{"tags":["models"],"summary":"Task Aliases","description":"Every task alias of the workspace, by task and alias, each as GET /models?alias=&task=\nresolves it.","operationId":"task_aliases_models_task_aliases_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ResolvedModel"},{"$ref":"#/components/schemas/ResolvedAdapter"}],"discriminator":{"propertyName":"kind","mapping":{"policy":"#/components/schemas/ResolvedModel","lora_adapter":"#/components/schemas/ResolvedAdapter","full_model":"#/components/schemas/ResolvedAdapter"}}},"title":"Response Task Aliases Models Task Aliases Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/{version_id}":{"get":{"tags":["models"],"summary":"Get Version","operationId":"get_version_models__version_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ModelVersion"},{"$ref":"#/components/schemas/AdapterVersion"}],"discriminator":{"propertyName":"kind","mapping":{"policy":"#/components/schemas/ModelVersion","lora_adapter":"#/components/schemas/AdapterVersion","full_model":"#/components/schemas/AdapterVersion"}},"title":"Response Get Version Models  Version Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/aliases/{alias}":{"put":{"tags":["models"],"summary":"Flip Alias","operationId":"flip_alias_models_aliases__alias__put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"alias","in":"path","required":true,"schema":{"enum":["champion","candidate"],"type":"string","title":"Alias"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AliasIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ResolvedModel"},{"$ref":"#/components/schemas/ResolvedAdapter"}],"discriminator":{"propertyName":"kind","mapping":{"policy":"#/components/schemas/ResolvedModel","lora_adapter":"#/components/schemas/ResolvedAdapter","full_model":"#/components/schemas/ResolvedAdapter"}},"title":"Response Flip Alias Models Aliases  Alias  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/endpoints":{"post":{"tags":["endpoints"],"summary":"Create Endpoint","operationId":"create_endpoint_endpoints_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["endpoints"],"summary":"List Endpoints","operationId":"list_endpoints_endpoints_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Endpoint"},"title":"Response List Endpoints Endpoints Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/endpoints/estimate":{"post":{"tags":["endpoints"],"summary":"Estimate Endpoint","operationId":"estimate_endpoint_endpoints_estimate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EstimateIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointQuote"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/endpoints/{endpoint_id}":{"get":{"tags":["endpoints"],"summary":"Get Endpoint","operationId":"get_endpoint_endpoints__endpoint_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/endpoints/{endpoint_id}/retire":{"post":{"tags":["endpoints"],"summary":"Retire Endpoint","description":"desired -> retired; provisioning/warming/healthy -> draining (the driver tears the\nreplica down and retires it); already draining or retired: unchanged, 200. A replica of a\ndesired endpoint, a retired one too, stops that desired endpoint and moves each of its\nreplicas so.","operationId":"retire_endpoint_endpoints__endpoint_id__retire_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Endpoint"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots/heartbeat":{"post":{"tags":["robots"],"summary":"Heartbeat","operationId":"heartbeat_robots_heartbeat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Heartbeat"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"RobotCredential":[]}]}},"/provision":{"post":{"tags":["robots"],"summary":"Provision","operationId":"provision_provision_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotCredential"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots/rotate":{"post":{"tags":["robots"],"summary":"Rotate","operationId":"rotate_robots_rotate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotCredential"}}}}},"security":[{"RobotCredential":[]}]}},"/robots/upload-grant":{"post":{"tags":["robots"],"summary":"Upload Grant","description":"The robot's upload grant: an API key of the robot's workspace that reaches only the\nupload routes (the model alias, eval artifacts and evals, dataset versions and their\nuploads), valid for 24 hours and only while the credential that minted it is the robot's\ncurrent or previous one and the robot is not revoked. A revoked robot gets 403\nrobot_revoked.","operationId":"upload_grant_robots_upload_grant_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadGrant"}}}}},"security":[{"RobotCredential":[]}]}},"/robots/tailnet":{"post":{"tags":["robots"],"summary":"Join","description":"The key this robot joins OS3's tailnet with, its tag and node name; 404 tailnet_off when\nthe platform has no tailnet (its endpoints are reached directly).","operationId":"join_robots_tailnet_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TailnetJoin"}}}}},"security":[{"RobotCredential":[]}]}},"/robots/interventions":{"post":{"tags":["robots"],"summary":"Page","operationId":"page_robots_interventions_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Event"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Paged"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"RobotCredential":[]}]}},"/robots/interventions/reviewed":{"post":{"tags":["robots"],"summary":"Reviewed","operationId":"reviewed_robots_interventions_reviewed_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewedIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object","title":"Response Reviewed Robots Interventions Reviewed Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"RobotCredential":[]}]}},"/robots/interventions/{iid}/resolve":{"post":{"tags":["robots"],"summary":"Robot Resolve","operationId":"robot_resolve_robots_interventions__iid__resolve_post","security":[{"RobotCredential":[]}],"parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Iid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Correction"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Intervention"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/interventions":{"get":{"tags":["robots"],"summary":"Queue","operationId":"queue_interventions_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"enum":["open","claimed","resolved","dismissed"],"type":"string","default":"open","title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"After"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Intervention"},"title":"Response Queue Interventions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/interventions/summary":{"get":{"tags":["robots"],"summary":"Summary","operationId":"summary_interventions_summary_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Summary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/interventions/{iid}":{"get":{"tags":["robots"],"summary":"Get Intervention","operationId":"get_intervention_interventions__iid__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Iid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/interventions/{iid}/claim":{"post":{"tags":["robots"],"summary":"Claim","operationId":"claim_interventions__iid__claim_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Iid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Intervention"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/interventions/{iid}/resolve":{"post":{"tags":["robots"],"summary":"Resolve","operationId":"resolve_interventions__iid__resolve_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Iid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resolve"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Intervention"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/interventions/{iid}/dismiss":{"post":{"tags":["robots"],"summary":"Dismiss","operationId":"dismiss_interventions__iid__dismiss_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"iid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Iid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dismiss"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Intervention"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots/scorecard":{"get":{"tags":["robots"],"summary":"Scorecard","operationId":"scorecard_robots_scorecard_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"by","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"enum":["task","site","robot","checkpoint"],"type":"string"}},{"type":"null"}],"title":"By"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Until"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Scorecard Robots Scorecard Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots/scorecard/episodes":{"get":{"tags":["robots"],"summary":"Review Episodes","description":"Unmatched attempts in a scorecard's exact interval and group, with episode review links.\n\nOnly sealed, non-held-out, unambiguously indexed recordings can be linked to a workbench\nepisode. Missing recordings still appear with their reconciliation reason.","operationId":"review_episodes_robots_scorecard_episodes_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"since","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Since"}},{"name":"until","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Until"}},{"name":"by","in":"query","required":false,"schema":{"enum":["task","site","robot","checkpoint"],"type":"string","default":"task","title":"By"}},{"name":"key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Review Episodes Robots Scorecard Episodes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots/maintenance-windows":{"get":{"tags":["robots"],"summary":"Read Windows","operationId":"read_windows_robots_maintenance_windows_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WindowsOut"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]},"put":{"tags":["robots"],"summary":"Put Windows","operationId":"put_windows_robots_maintenance_windows_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Windows"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WindowsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/robots":{"post":{"tags":["robots"],"summary":"Register Robot","operationId":"register_robot_robots_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["robots"],"summary":"List Robots","operationId":"list_robots_robots_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"include_deleted","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Deleted"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Robot"},"title":"Response List Robots Robots Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots/{robot_id}":{"get":{"tags":["robots"],"summary":"Get Robot","operationId":"get_robot_robots__robot_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Robot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Robot"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["robots"],"summary":"Update Robot","description":"Owners and admins: the embodiment and runtime identity registered for this robot.\nA revoked robot is 409. Name, workspace and serial stay as they were at registration.\nAn endpoint serves the robot only when it expects the identity registered here. An identity\nthat the release of an unfinished controller rollout still going to the robot would not have\nbeen rolled out to (an embodiment it does not drive, a controller API it does not meet) is\n409, naming the rollout and why: let it finish, or roll it back, first.","operationId":"update_robot_robots__robot_id__patch","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Robot Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotIdentity"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Robot"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["robots"],"summary":"Delete Robot","description":"Owners and admins: revokes the robot (as POST /robots/{id}/revoke) and takes it off the\nrobot list; GET /robots/{id} still shows it, with `deleted_at`. 204 when already deleted.","operationId":"delete_robot_robots__robot_id__delete","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Robot Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots/{robot_id}/revoke":{"post":{"tags":["robots"],"summary":"Revoke Robot","description":"Owners and admins: revokes the robot for good: its credential is refused at /connect\nand its deployment retired, so it gets no new connect token; within 5 minutes the last one\nit holds expires, and the policy server then closes the connection the robot has open (a\nrobot keeps a connection only by renewing it with a new grant). Other robots are\nunaffected. 200 when already revoked.","operationId":"revoke_robot_robots__robot_id__revoke_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Robot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Robot"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots/{robot_id}/reset-credentials":{"post":{"tags":["robots"],"summary":"Reset Credentials","description":"Owners and admins: a new credential, shown once with the enroll command; every earlier\ncredential of the robot, current or previous, stops working at once. Not a revocation: the\nrobot keeps its serial and its access to endpoints, and a robot that enrolled itself enrolls\nagain with its device certificate. A revoked robot is 409.","operationId":"reset_credentials_robots__robot_id__reset_credentials_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Robot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobotCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/connect":{"post":{"tags":["robots"],"summary":"Connect","operationId":"connect_connect_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectGrant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"RobotCredential":[]}]}},"/robots/{robot_id}/deployments":{"get":{"tags":["robots"],"summary":"History","operationId":"history_robots__robot_id__deployments_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Robot Id"}},{"name":"paged","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Paged"}},{"name":"current","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Current"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Before"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentView"},"title":"Response History Robots  Robot Id  Deployments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["robots"],"summary":"Bind","operationId":"bind_robots__robot_id__deployments_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Robot Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deployment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/deployments":{"get":{"tags":["robots"],"summary":"Current","operationId":"current_deployments_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CurrentDeployment"},"title":"Response Current Deployments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots/{robot_id}/deployments/{deployment_id}/retire":{"post":{"tags":["robots"],"summary":"Retire","operationId":"retire_robots__robot_id__deployments__deployment_id__retire_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"robot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Robot Id"}},{"name":"deployment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Deployment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deployment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy-rollouts/impact":{"get":{"tags":["robots"],"summary":"Rollout Impact","description":"The endpoints and robots affected by rolling a model version out now.\n\nApproving it through release rings moves no robots until the operator starts a rollout.","operationId":"rollout_impact_policy_rollouts_impact_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"model_version_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Model Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Rollout Impact Policy Rollouts Impact Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/rollouts/history":{"get":{"tags":["robots"],"summary":"Rollout History","description":"Active rollouts plus a page of history by last change, across both kinds.\n\nHistory defaults to the last 30 days. Use before for older history; X-style next_after\ncursors keep tied timestamps and the two kinds in one stable order. Active rollouts stay\nvisible on every page. A robot_id narrows both lists to that robot of the workspace.","operationId":"rollout_history_rollouts_history_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"robot_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Robot Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Before"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolloutHistory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/controller-releases":{"get":{"tags":["robots"],"summary":"List Releases","operationId":"list_releases_controller_releases_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ControllerRelease"},"type":"array","title":"Response List Releases Controller Releases Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/controller-rollouts":{"post":{"tags":["robots"],"summary":"Create Rollout","operationId":"create_rollout_controller_rollouts_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolloutIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rollout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["robots"],"summary":"List Rollouts","operationId":"list_rollouts_controller_rollouts_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Rollout"},"title":"Response List Rollouts Controller Rollouts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/controller-rollouts/{rollout_id}":{"get":{"tags":["robots"],"summary":"Read Rollout","operationId":"read_rollout_controller_rollouts__rollout_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rollout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rollout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rollout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy-rollouts":{"post":{"tags":["robots"],"summary":"Create Policy Rollout","operationId":"create_policy_rollout_policy_rollouts_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRolloutIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRollout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["robots"],"summary":"List Policy Rollouts","operationId":"list_policy_rollouts_policy_rollouts_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PolicyRollout"},"title":"Response List Policy Rollouts Policy Rollouts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy-rollouts/{rollout_id}":{"get":{"tags":["robots"],"summary":"Read Policy Rollout","operationId":"read_policy_rollout_policy_rollouts__rollout_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rollout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rollout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRollout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/controller-rollouts/{rollout_id}/pause":{"post":{"tags":["robots"],"summary":"Pause Rollout","operationId":"pause_rollout_controller_rollouts__rollout_id__pause_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rollout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rollout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rollout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/controller-rollouts/{rollout_id}/resume":{"post":{"tags":["robots"],"summary":"Resume Rollout","operationId":"resume_rollout_controller_rollouts__rollout_id__resume_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rollout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rollout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rollout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/controller-rollouts/{rollout_id}/rollback":{"post":{"tags":["robots"],"summary":"Rollback Rollout","operationId":"rollback_rollout_controller_rollouts__rollout_id__rollback_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rollout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rollout Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolloutRollbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rollout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy-rollouts/{rollout_id}/pause":{"post":{"tags":["robots"],"summary":"Pause Policy Rollout","operationId":"pause_policy_rollout_policy_rollouts__rollout_id__pause_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rollout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rollout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRollout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy-rollouts/{rollout_id}/resume":{"post":{"tags":["robots"],"summary":"Resume Policy Rollout","operationId":"resume_policy_rollout_policy_rollouts__rollout_id__resume_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rollout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rollout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRollout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy-rollouts/{rollout_id}/rollback":{"post":{"tags":["robots"],"summary":"Rollback Policy Rollout","operationId":"rollback_policy_rollout_policy_rollouts__rollout_id__rollback_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rollout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rollout Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolloutRollbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRollout"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots/controller":{"post":{"tags":["robots"],"summary":"Sync","operationId":"sync_robots_controller_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ControllerSync"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Desired"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"RobotCredential":[]}]}},"/grants":{"get":{"tags":["usage"],"summary":"List Grants","description":"The caller's grants (a workspace sees its own and tenant-wide ones) and balances.","operationId":"list_grants_grants_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantsPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts":{"get":{"tags":["usage"],"summary":"List Alerts","operationId":"list_alerts_alerts_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}},{"name":"unacked","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Unacked"}},{"name":"newest_first","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Newest First"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Alert"},"title":"Response List Alerts Alerts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/alerts/{alert_id}/ack":{"post":{"tags":["usage"],"summary":"Ack Alert","description":"Set acked_at once, with an audit row; a repeat returns the row unchanged.","operationId":"ack_alert_alerts__alert_id__ack_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Alert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Alert"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/settings":{"get":{"tags":["notifications"],"summary":"Get Settings","operationId":"get_settings_notifications_settings_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationSettings"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["notifications"],"summary":"Put Settings","operationId":"put_settings_notifications_settings_put","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationSettingsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationSettings"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/test":{"post":{"tags":["notifications"],"summary":"Send Test","description":"Sends a test message now to each channel the scope's alerts go to (its own settings, else\nthe organisation's default): email, Slack and the webhook; answers what happened on each.","operationId":"send_test_notifications_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationTestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationTest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/status":{"get":{"tags":["support"],"summary":"Get Status","description":"The service status, open with no credentials: the incidents every customer sees. With an\nAPI key or a sign-in, also those about your own account.","operationId":"get_status_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceStatus"}}}}}}},"/billing":{"get":{"tags":["billing"],"summary":"Get Billing","operationId":"get_billing_billing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Billing Billing Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/billing/card":{"post":{"tags":["billing"],"summary":"Add Card","operationId":"add_card_billing_card_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntentOut"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]},"delete":{"tags":["billing"],"summary":"Remove Card","operationId":"remove_card_billing_card_delete","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"items":{"type":"integer"},"type":"array"},"type":"object","title":"Response Remove Card Billing Card Delete"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/billing/intents/{intent_id}/confirmed":{"post":{"tags":["billing"],"summary":"Intent Confirmed","description":"Reports that the card or top-up intent was confirmed with the payment provider. Once is\nenough: a repeat changes nothing. 404 for no card or top-up intent of your organisation's.","operationId":"intent_confirmed_billing_intents__intent_id__confirmed_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"integer","title":"Intent Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/topups":{"post":{"tags":["billing"],"summary":"Top Up","operationId":"top_up_billing_topups_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/billing/settings":{"put":{"tags":["billing"],"summary":"Put Settings","operationId":"put_settings_billing_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Put Settings Billing Settings Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/billing/lots/{lot_id}/refund":{"post":{"tags":["billing"],"summary":"Request Refund","description":"Requests a refund of the credit lot's unspent balance. One request of a lot at a time:\n409 while one is open, and 409 when less than a cent of the lot is unspent (as while its\nrefund is being made).","operationId":"request_refund_billing_lots__lot_id__refund_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"lot_id","in":"path","required":true,"schema":{"type":"integer","title":"Lot Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Request Refund Billing Lots  Lot Id  Refund Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/preview":{"get":{"tags":["billing"],"summary":"Get Preview","operationId":"get_preview_billing_preview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preview"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/billing/invoices":{"get":{"tags":["billing"],"summary":"List Invoices","operationId":"list_invoices_billing_invoices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Invoice"},"type":"array","title":"Response List Invoices Billing Invoices Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/budget":{"get":{"tags":["usage"],"summary":"List Budgets","operationId":"list_budgets_budget_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BudgetOut"},"title":"Response List Budgets Budget Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/budget/{workspace_id}":{"put":{"tags":["usage"],"summary":"Set Budget","description":"Sets the workspace's monthly GPU budget: `hard_cap` in H100-seconds, and the share\n`notice_pct` at which a job gets its notice. It caps spend within your plan, never past\nit.","operationId":"set_budget_budget__workspace_id__put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/budget/optimisation":{"get":{"tags":["usage"],"summary":"Optimisation Budgets","description":"The organisation's monthly optimisation budgets. Each meter's cap is its plan's default\n(``default`` true, ``default_cap``) until OS3 sets the organisation's own cap (``set_by``,\n``set_at``): ask OS3 to raise it.","operationId":"optimisation_budgets_budget_optimisation_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OptimisationBudgetOut"},"type":"array","title":"Response Optimisation Budgets Budget Optimisation Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/desired-jobs":{"post":{"tags":["desired-jobs"],"summary":"Create Desired Job","operationId":"create_desired_job_desired_jobs_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DesiredJobCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DesiredJob"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["desired-jobs"],"summary":"List Desired Jobs","operationId":"list_desired_jobs_desired_jobs_get","security":[{"APIKey":[]},{"SignIn":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DesiredJob"},"title":"Response List Desired Jobs Desired Jobs Get"}}}}}}},"/desired-jobs/{desired_id}":{"get":{"tags":["desired-jobs"],"summary":"Get Desired Job","operationId":"get_desired_job_desired_jobs__desired_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"desired_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Desired Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DesiredJob"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["desired-jobs"],"summary":"Cancel Desired Job","operationId":"cancel_desired_job_desired_jobs__desired_id__patch","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"desired_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Desired Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DesiredJobPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DesiredJob"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/retrain-schedules":{"get":{"tags":["retrain-schedules"],"summary":"List Schedules","operationId":"list_schedules_retrain_schedules_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Schedule"},"type":"array","title":"Response List Schedules Retrain Schedules Get"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]},"post":{"tags":["retrain-schedules"],"summary":"Create Schedule","operationId":"create_schedule_retrain_schedules_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/retrain-schedules/{schedule_id}":{"get":{"tags":["retrain-schedules"],"summary":"Get Schedule","description":"A schedule and a page of its checks, newest first. `since` scopes the history;\npass `next_after` as `after` to read the next page, including each skipped reason.\n`version` keeps checks involving that version and checks before a version was chosen.","operationId":"get_schedule_retrain_schedules__schedule_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["retrain-schedules"],"summary":"Patch Schedule","operationId":"patch_schedule_retrain_schedules__schedule_id__patch","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/dashboard":{"get":{"tags":["llm"],"summary":"Get Dashboard","operationId":"get_dashboard_llm_dashboard_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dashboard"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/savings":{"get":{"tags":["llm"],"summary":"Get Savings","operationId":"get_savings_llm_savings_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Savings"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/keys":{"get":{"tags":["llm"],"summary":"List Key Routes","description":"The routing of the live traffic keys of a workspace (the caller's, else every\nworkspace's): each one's pin, and whether the task routes serve it, which needs trace\npolicy full and no pin: an OS3-models key (``os3_models``) only by the routes that send\nnothing to the organisation's own vendors. An organisation-wide key is never routed, so it\nis not listed. With ``traffic``, each key's share of each live canary and release, from its\nlatest requests (0 for an OS3-models key on a route to the organisation's own vendor); else\n``tasks`` is null.","operationId":"list_key_routes_llm_keys_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"traffic","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Traffic"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KeyRoute"},"title":"Response List Key Routes Llm Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/keys/{key_id}/route":{"put":{"tags":["llm"],"summary":"Pin Route","description":"Pins a gateway key's routing: ``incumbent`` keeps every request of the key on the\nincumbent model, null lets the key follow the task routes again. It applies within a\nminute. Owners and admins, or their key holding ``admin``; a workspace key pins only its\nworkspace's keys. Audited.","operationId":"pin_route_llm_keys__key_id__route_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoutePin"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Pin Route Llm Keys  Key Id  Route Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/releases":{"get":{"tags":["llm"],"summary":"Workspace Releases","description":"The releases of every LLM endpoint of the workspace, by endpoint and task, each as GET\n/llm/releases/{desired_endpoint_id} lists them.","operationId":"workspace_releases_llm_releases_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Release"},"title":"Response Workspace Releases Llm Releases Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/releases/{desired_endpoint_id}":{"get":{"tags":["llm"],"summary":"List Releases","operationId":"list_releases_llm_releases__desired_endpoint_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"desired_endpoint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Desired Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Release"},"title":"Response List Releases Llm Releases  Desired Endpoint Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/releases/{desired_endpoint_id}/{task}":{"put":{"tags":["llm"],"summary":"Activate","operationId":"activate_llm_releases__desired_endpoint_id___task__put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"desired_endpoint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Desired Endpoint Id"}},{"name":"task","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$","title":"Task"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/releases/{desired_endpoint_id}/{task}/rollback":{"post":{"tags":["llm"],"summary":"Rollback","operationId":"rollback_llm_releases__desired_endpoint_id___task__rollback_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"desired_endpoint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Desired Endpoint Id"}},{"name":"task","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$","title":"Task"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseRollbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/datasets":{"post":{"tags":["llm"],"summary":"Create Build","operationId":"create_build_llm_datasets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildIn"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Build"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/llm/datasets/{build_id}":{"get":{"tags":["llm"],"summary":"Get Build","operationId":"get_build_llm_datasets__build_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"build_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Build Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Build"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/rl-datasets":{"post":{"tags":["llm"],"summary":"Create Rl Dataset","operationId":"create_rl_dataset_llm_rl_datasets_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlDatasetIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlDatasetCheck"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["llm"],"summary":"List Rl Datasets","operationId":"list_rl_datasets_llm_rl_datasets_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"recipe","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipe"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RlDataset"},"title":"Response List Rl Datasets Llm Rl Datasets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/rl-datasets/checks/{check_id}":{"get":{"tags":["llm"],"summary":"Get Rl Dataset Check","operationId":"get_rl_dataset_check_llm_rl_datasets_checks__check_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"check_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Check Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlDatasetCheck"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/rl-environments":{"post":{"tags":["llm"],"summary":"Register Rl Environment","operationId":"register_rl_environment_llm_rl_environments_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlEnvironmentIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlEnvironment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["llm"],"summary":"List Rl Environments","operationId":"list_rl_environments_llm_rl_environments_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RlEnvironment"},"title":"Response List Rl Environments Llm Rl Environments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/rl-environments/{environment_id}/staging":{"put":{"tags":["llm"],"summary":"Declare Staging","operationId":"declare_staging_llm_rl_environments__environment_id__staging_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StagingIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlEnvironment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/rl-environments/{environment_id}":{"get":{"tags":["llm"],"summary":"Get Rl Environment","operationId":"get_rl_environment_llm_rl_environments__environment_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"environment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Environment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlEnvironment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/environments":{"get":{"tags":["llm"],"summary":"List Environments","operationId":"list_environments_llm_environments_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Catalog"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/environments/{entry_id}":{"get":{"tags":["llm"],"summary":"Get Environment","operationId":"get_environment_llm_environments__entry_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntryDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/graders/validate":{"post":{"tags":["llm"],"summary":"Validate Grader","operationId":"validate_grader_llm_graders_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraderIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Validated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/llm/graders":{"post":{"tags":["llm"],"summary":"Create Grader","operationId":"create_grader_llm_graders_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraderIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grader"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["llm"],"summary":"List Graders","operationId":"list_graders_llm_graders_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Grader"},"title":"Response List Graders Llm Graders Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/graders/{grader_id}":{"get":{"tags":["llm"],"summary":"Get Grader","operationId":"get_grader_llm_graders__grader_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"grader_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Grader Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Grader"},"title":"Response Get Grader Llm Graders  Grader Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/graders/{grader_id}/test":{"post":{"tags":["llm"],"summary":"Test Grader","operationId":"test_grader_llm_graders__grader_id__test_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"grader_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Grader Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tested"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/llm/graders/import-openai":{"post":{"tags":["llm"],"summary":"Import Openai","operationId":"import_openai_llm_graders_import_openai_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIImportIn"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Imported"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/traces":{"get":{"tags":["review"],"summary":"List Traces","operationId":"list_traces_traces_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"task_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"}},{"name":"model_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Model Id"}},{"name":"key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Key Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["ok","error"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"labelled","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Labelled"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"enum":["app","evaluation"],"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TraceSummary"},"title":"Response List Traces Traces Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traces/{trace_id}":{"get":{"tags":["review"],"summary":"Get Trace","operationId":"get_trace_traces__trace_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Trace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/traces/{trace_id}/labels":{"post":{"tags":["review"],"summary":"Add Label","operationId":"add_label_traces__trace_id__labels_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Trace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/review/queues":{"post":{"tags":["review"],"summary":"Create Queue","operationId":"create_queue_review_queues_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Queue"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["review"],"summary":"List Queues","operationId":"list_queues_review_queues_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Queue"},"title":"Response List Queues Review Queues Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/review/queues/{queue_id}":{"get":{"tags":["review"],"summary":"Get Queue","operationId":"get_queue_review_queues__queue_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/review/queues/{queue_id}/labels":{"get":{"tags":["review"],"summary":"Export Labels","operationId":"export_labels_review_queues__queue_id__labels_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelExport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/review/queues/{queue_id}/items/{trace_id}/adjudications":{"post":{"tags":["review"],"summary":"Adjudicate","operationId":"adjudicate_review_queues__queue_id__items__trace_id__adjudications_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}},{"name":"trace_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Trace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdjudicationIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Given"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/proposals":{"post":{"tags":["review"],"summary":"Propose From Estimators","operationId":"propose_from_estimators_datasets__dataset_id__versions__version__proposals_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EstimatorReport"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Added"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["review"],"summary":"List Proposals","operationId":"list_proposals_datasets__dataset_id__versions__version__proposals_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProposedEpisode"},"title":"Response List Proposals Datasets  Dataset Id  Versions  Version  Proposals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/proposals/monitor":{"post":{"tags":["review"],"summary":"Propose From Monitors","operationId":"propose_from_monitors_datasets__dataset_id__versions__version__proposals_monitor_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Added"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/episodes/{episode_index}/review":{"post":{"tags":["review"],"summary":"Review Episode","operationId":"review_episode_datasets__dataset_id__versions__version__episodes__episode_index__review_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}},{"name":"episode_index","in":"path","required":true,"schema":{"type":"integer","minimum":0,"title":"Episode Index"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Decision"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/reviewed-slice":{"post":{"tags":["review"],"summary":"Export Reviewed Slice","operationId":"export_reviewed_slice_datasets__dataset_id__versions__version__reviewed_slice_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/episodes":{"get":{"tags":["review"],"summary":"Search Episodes","operationId":"search_episodes_datasets__dataset_id__episodes_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"task","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}],"title":"Task"}},{"name":"site","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}],"title":"Site"}},{"name":"robot","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}],"title":"Robot"}},{"name":"operator","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}],"title":"Operator"}},{"name":"outcome","in":"query","required":false,"schema":{"anyOf":[{"enum":["success","failure","incomplete","unknown"],"type":"string"},{"type":"null"}],"title":"Outcome"}},{"name":"failure_stage","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}],"title":"Failure Stage"}},{"name":"min_interventions","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Min Interventions"}},{"name":"quality_min","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quality Min"}},{"name":"quality_max","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quality Max"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}],"title":"Tag"}},{"name":"episode_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}],"title":"Episode Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9]{1,9}:[0-9]{1,9}$"},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/episodes/{episode_index}":{"get":{"tags":["review"],"summary":"Get Episode","operationId":"get_episode_datasets__dataset_id__versions__version__episodes__episode_index__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}},{"name":"episode_index","in":"path","required":true,"schema":{"type":"integer","minimum":0,"title":"Episode Index"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/episodes/{episode_index}/annotations":{"post":{"tags":["review"],"summary":"Annotate Episode","operationId":"annotate_episode_datasets__dataset_id__versions__version__episodes__episode_index__annotations_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}},{"name":"episode_index","in":"path","required":true,"schema":{"type":"integer","minimum":0,"title":"Episode Index"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/SubtasksIn"},{"$ref":"#/components/schemas/FailureTagsIn"}],"discriminator":{"propertyName":"kind","mapping":{"subtasks":"#/components/schemas/SubtasksIn","failure_tags":"#/components/schemas/FailureTagsIn"}},"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Annotation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/review/episode-queues":{"post":{"tags":["review"],"summary":"Create Episode Queue","operationId":"create_episode_queue_review_episode_queues_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeQueueIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeQueue"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["review"],"summary":"List Episode Queues","operationId":"list_episode_queues_review_episode_queues_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"dataset_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EpisodeQueue"},"title":"Response List Episode Queues Review Episode Queues Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/review/episode-queues/{queue_id}":{"get":{"tags":["review"],"summary":"Get Episode Queue","operationId":"get_episode_queue_review_episode_queues__queue_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeQueueDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/review/episode-queues/{queue_id}/items/{position}/labels":{"post":{"tags":["review"],"summary":"Label Episode","operationId":"label_episode_review_episode_queues__queue_id__items__position__labels_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"queue_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Queue Id"}},{"name":"position","in":"path","required":true,"schema":{"type":"integer","minimum":1,"title":"Position"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeLabelIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeLabelOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preference/experiments":{"post":{"tags":["preference"],"summary":"Create Experiment","operationId":"create_experiment_preference_experiments_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperimentIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Experiment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["preference"],"summary":"List Experiments","operationId":"list_experiments_preference_experiments_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Experiment"},"title":"Response List Experiments Preference Experiments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preference/experiments/{experiment_id}/disable":{"post":{"tags":["preference"],"summary":"Disable Experiment","operationId":"disable_experiment_preference_experiments__experiment_id__disable_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Experiment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Experiment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preference/experiments/{experiment_id}/quarantines":{"post":{"tags":["preference"],"summary":"Quarantine","operationId":"quarantine_preference_experiments__experiment_id__quarantines_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Experiment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuarantineIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quarantine"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preference/experiments/{experiment_id}/clips":{"post":{"tags":["preference"],"summary":"File Clips","operationId":"file_clips_preference_experiments__experiment_id__clips_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Experiment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClipsIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Filed"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preference/experiments/{experiment_id}/next":{"get":{"tags":["preference"],"summary":"Next Comparison","operationId":"next_comparison_preference_experiments__experiment_id__next_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Experiment Id"}},{"name":"skip","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":100},{"type":"null"}],"title":"Skip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Next"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preference/comparisons/{comparison_id}":{"get":{"tags":["preference"],"summary":"Get Comparison","operationId":"get_comparison_preference_comparisons__comparison_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preference/comparisons/{comparison_id}/videos/{position}/{camera}":{"get":{"tags":["preference"],"summary":"Clip Video","operationId":"clip_video_preference_comparisons__comparison_id__videos__position___camera__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"position","in":"path","required":true,"schema":{"enum":["a","b"],"type":"string","title":"Position"}},{"name":"camera","in":"path","required":true,"schema":{"type":"integer","minimum":0,"title":"Camera"}},{"name":"range","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Range"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preference/comparisons/{comparison_id}/labels":{"post":{"tags":["preference"],"summary":"Label Comparison","operationId":"label_comparison_preference_comparisons__comparison_id__labels_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonLabelIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vote"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/preference/experiments/{experiment_id}/votes":{"get":{"tags":["preference"],"summary":"Export Votes","operationId":"export_votes_preference_experiments__experiment_id__votes_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Experiment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Export"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/copilot/model":{"get":{"tags":["copilot"],"summary":"Get Model","operationId":"get_model_workspaces__workspace_id__copilot_model_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopilotModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["copilot"],"summary":"Set Model","description":"The workspace's copilot model (whose vendor its conversations go to): a signed-in owner or\nadmin chooses one of the configured ones.","operationId":"set_model_workspaces__workspace_id__copilot_model_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopilotModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/copilot":{"post":{"tags":["copilot"],"summary":"Ask","operationId":"ask_workspaces__workspace_id__copilot_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurnIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurnOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/copilot/runs":{"post":{"tags":["copilot"],"summary":"Start Run","description":"A question the copilot answers in the background: 202 with its run at once, queued; OS3\nruns its turn shortly, with the same limits.","operationId":"start_run_workspaces__workspace_id__copilot_runs_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurnIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopilotRun"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["copilot"],"summary":"List Runs","description":"The caller's own runs in the workspace, newest first (at most 50).","operationId":"list_runs_workspaces__workspace_id__copilot_runs_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CopilotRun"},"title":"Response List Runs Workspaces  Workspace Id  Copilot Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/copilot/runs/{run_id}":{"get":{"tags":["copilot"],"summary":"Get Run","operationId":"get_run_workspaces__workspace_id__copilot_runs__run_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopilotRun"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/copilot/runs/{run_id}/cancel":{"post":{"tags":["copilot"],"summary":"Cancel Run","description":"Stop the caller's running run before its next model call; 409 once it has ended.","operationId":"cancel_run_workspaces__workspace_id__copilot_runs__run_id__cancel_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopilotRun"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/copilot/memory":{"get":{"tags":["copilot"],"summary":"List Memory","description":"The caller's own memory files and the workspace's (at most 200).","operationId":"list_memory_workspaces__workspace_id__copilot_memory_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Memory"},"title":"Response List Memory Workspaces  Workspace Id  Copilot Memory Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["copilot"],"summary":"Add Note","description":"The person's own note, added to the end of the main file of their notebook or the\nworkspace's, which the copilot reads in every conversation.","operationId":"add_note_workspaces__workspace_id__copilot_memory_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Memory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/copilot/memory/{memory_id}":{"delete":{"tags":["copilot"],"summary":"Delete Memory","operationId":"delete_memory_workspaces__workspace_id__copilot_memory__memory_id__delete","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Memory Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["copilot"],"summary":"Edit Memory","description":"The person's edit of a file they see: their own, or the workspace's.","operationId":"edit_memory_workspaces__workspace_id__copilot_memory__memory_id__patch","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Memory Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Memory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/agent/findings":{"get":{"tags":["copilot"],"summary":"List Findings","description":"The workspace agent's findings you see: the workspace's and those of your own\nconversations, the latest first (at most 50).","operationId":"list_findings_workspaces__workspace_id__agent_findings_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"task_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Finding"},"title":"Response List Findings Workspaces  Workspace Id  Agent Findings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/agent/findings/{finding_id}":{"patch":{"tags":["copilot"],"summary":"Edit Finding","description":"Your edit of a finding you see (its next version), or your own one shared with the\nworkspace.","operationId":"edit_finding_workspaces__workspace_id__agent_findings__finding_id__patch","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"finding_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Finding Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindingEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Finding"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["copilot"],"summary":"Retract Finding","description":"Retract a finding you see: the agent reads it no more (its versions are kept).","operationId":"retract_finding_workspaces__workspace_id__agent_findings__finding_id__delete","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"finding_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Finding Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/agent/permissions":{"get":{"tags":["copilot"],"summary":"Get Permissions","operationId":"get_permissions_workspaces__workspace_id__agent_permissions_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Permissions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["copilot"],"summary":"Set Permissions","description":"The workspace agent's mode and automatic budget: a signed-in owner or admin sets them.","operationId":"set_permissions_workspaces__workspace_id__agent_permissions_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Permissions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/agent/timeline":{"get":{"tags":["copilot"],"summary":"Get Timeline","description":"What the workspace's agent did, newest first.","operationId":"get_timeline_workspaces__workspace_id__agent_timeline_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"task_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Before"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Timeline"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/agent/approvals":{"get":{"tags":["copilot"],"summary":"List Approvals","description":"The proposals waiting for the caller, newest first.","operationId":"list_approvals_workspaces__workspace_id__agent_approvals_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Approval"},"title":"Response List Approvals Workspaces  Workspace Id  Agent Approvals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/agent/approvals/{approval_id}/start":{"post":{"tags":["copilot"],"summary":"Start Approval","description":"Start the proposal as shown (its plan_sha256 and max_usd), signed in.","operationId":"start_approval_workspaces__workspace_id__agent_approvals__approval_id__start_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Approval Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Start Approval Workspaces  Workspace Id  Agent Approvals  Approval Id  Start Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/agent/approvals/{approval_id}/deny":{"post":{"tags":["copilot"],"summary":"Deny Approval","description":"Decline the proposal, signed in.","operationId":"deny_approval_workspaces__workspace_id__agent_approvals__approval_id__deny_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Approval Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/agent/ledger":{"get":{"tags":["copilot"],"summary":"Get Ledger","description":"This month's agent spend: committed, used, remaining and who pays.","operationId":"get_ledger_workspaces__workspace_id__agent_ledger_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ledger"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/agent-computer/steps/{step_id}/files/{path}":{"get":{"tags":["copilot"],"summary":"Step File","description":"A file a computer step kept (a command's output, a browser step's screenshot), as an\nattachment: to the conversation's actor, or, for a job agent's step, to whoever can see the\nworkspace.","operationId":"step_file_workspaces__workspace_id__agent_computer_steps__step_id__files__path__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"step_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Step Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/agent":{"get":{"tags":["jobs"],"summary":"Get Agent","description":"OS3's job agent's session on this run (or on the run it restarted), with its steps; null\nwhen the agent has not worked on it.","operationId":"get_agent_jobs__job_id__agent_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":500,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AgentView"},{"type":"null"}],"title":"Response Get Agent Jobs  Job Id  Agent Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/agent/reply":{"post":{"tags":["jobs"],"summary":"Reply","description":"Answer the agent working on this run: a question's button (Approve on a question about\nspend approves that much more for this run's restarts and runs: an owner or admin of the\norganisation, or whoever started the run), your words, or both. The agent goes on with your\nanswer shortly.","operationId":"reply_jobs__job_id__agent_reply_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplyIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/copilot/job-agents":{"get":{"tags":["jobs"],"summary":"List Sessions","description":"OS3's job agent sessions in the workspace: those waiting for someone's answer first, then\nthe others, each the latest first, `limit` at a time; a full page sets X-Next-After, the\n`after` of the next, and X-Total-Count counts them all. Continue any of them by answering on\nits run (POST /jobs/{job_id}/agent/reply).","operationId":"list_sessions_workspaces__workspace_id__copilot_job_agents_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentSessionSummary"},"title":"Response List Sessions Workspaces  Workspace Id  Copilot Job Agents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/agent":{"get":{"tags":["jobs"],"summary":"Get Setting","operationId":"get_setting_workspaces__workspace_id__agent_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSetting"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["jobs"],"summary":"Set Setting","description":"Switch OS3's job agent (`enabled`), or the agents' computer (`computer`), on or off for\nthe workspace (each on unless switched off): an owner or admin, signed in. With the job agent\noff, a run that fails or stalls gets a diagnosis only, and a session at work stops before its\nnext step; with the computer off, the agents' computer steps are refused and their computers\nend within minutes.","operationId":"set_setting_workspaces__workspace_id__agent_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSettingIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentSetting"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/supervision":{"get":{"tags":["jobs"],"summary":"Get Supervision","description":"The run's health, incidents, checkpoints and the workspace's mode.","operationId":"get_supervision_jobs__job_id__supervision_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Supervision Jobs  Job Id  Supervision Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/supervision/stop":{"post":{"tags":["jobs"],"summary":"Post Stop","description":"A person's stop of a run under an incident: stopped and kept for review.","operationId":"post_stop_jobs__job_id__supervision_stop_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Post Stop Jobs  Job Id  Supervision Stop Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/supervision/recovery":{"post":{"tags":["jobs"],"summary":"Post Recovery","description":"The person's yes or no on the recovery proposal shown (its plan's sha256 and price).","operationId":"post_recovery_jobs__job_id__supervision_recovery_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Post Recovery Jobs  Job Id  Supervision Recovery Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/pipeline":{"get":{"tags":["pipeline"],"summary":"Get Pipeline","operationId":"get_pipeline_workspaces__workspace_id__pipeline_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pipeline"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/pipeline/proposals":{"get":{"tags":["pipeline"],"summary":"List Proposals","description":"The newest PROPOSALS proposals, newest first.","operationId":"list_proposals_workspaces__workspace_id__pipeline_proposals_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PipelineProposal"},"title":"Response List Proposals Workspaces  Workspace Id  Pipeline Proposals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["pipeline"],"summary":"Create Proposal","operationId":"create_proposal_workspaces__workspace_id__pipeline_proposals_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineProposalIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineProposal"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/pipeline/proposals/{proposal_id}":{"get":{"tags":["pipeline"],"summary":"Get Proposal","operationId":"get_proposal_workspaces__workspace_id__pipeline_proposals__proposal_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineProposal"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/pipeline/versions/{version}/rollback":{"post":{"tags":["pipeline"],"summary":"Create Rollback","description":"A proposal to go back to version `version` (0: OS3's code defaults).","operationId":"create_rollback_workspaces__workspace_id__pipeline_versions__version__rollback_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineRollbackIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineProposal"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/pipeline/proposals/{proposal_id}/approve":{"post":{"tags":["pipeline"],"summary":"Approve","operationId":"approve_workspaces__workspace_id__pipeline_proposals__proposal_id__approve_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineDecisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineProposal"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/{workspace_id}/pipeline/proposals/{proposal_id}/reject":{"post":{"tags":["pipeline"],"summary":"Reject","operationId":"reject_workspaces__workspace_id__pipeline_proposals__proposal_id__reject_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineDecisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineProposal"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/pilots/preview":{"post":{"tags":["pilots"],"summary":"Preview Pilot","operationId":"preview_pilot_datasets__dataset_id__versions__version__pilots_preview_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotPreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/datasets/{dataset_id}/versions/{version}/pilots":{"post":{"tags":["pilots"],"summary":"Create Pilot","operationId":"create_pilot_datasets__dataset_id__versions__version__pilots_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pilot"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pilots"],"summary":"List Pilots","operationId":"list_pilots_datasets__dataset_id__versions__version__pilots_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pilot"},"title":"Response List Pilots Datasets  Dataset Id  Versions  Version  Pilots Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pilots/{pilot_id}":{"get":{"tags":["pilots"],"summary":"Get Pilot","operationId":"get_pilot_pilots__pilot_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"pilot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pilot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pilot"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pilots/{pilot_id}/confirm":{"post":{"tags":["pilots"],"summary":"Confirm Pilot","operationId":"confirm_pilot_pilots__pilot_id__confirm_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"pilot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pilot Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/releases":{"get":{"tags":["optimisation"],"summary":"Release Page","description":"Optimisations and standalone LLM decisions, newest first, in the last 30 days by\ndefault. Pass the returned `since` and `next` as `since` and `after` for the next page.","operationId":"release_page_optimisation_releases_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleasePage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/cycles":{"get":{"tags":["optimisation"],"summary":"List Cycles","operationId":"list_cycles_optimisation_cycles_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"closed","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Closed"}},{"name":"serving","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Serving"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cycle"},"title":"Response List Cycles Optimisation Cycles Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["optimisation"],"summary":"Open Cycle","description":"The manual trigger.","operationId":"open_cycle_optimisation_cycles_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CycleIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cycle"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/cycles/{cycle_id}":{"get":{"tags":["optimisation"],"summary":"Get Cycle","operationId":"get_cycle_optimisation_cycles__cycle_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Cycle Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CycleDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/schedule":{"put":{"tags":["optimisation"],"summary":"Set Schedule","operationId":"set_schedule_optimisation_tasks__task_id__schedule_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimisationSchedule"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/auto-promote":{"get":{"tags":["optimisation"],"summary":"List Auto Promote","operationId":"list_auto_promote_optimisation_auto_promote_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AutoPromote"},"title":"Response List Auto Promote Optimisation Auto Promote Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["optimisation"],"summary":"Set Auto Promote","operationId":"set_auto_promote_optimisation_auto_promote_put","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoPromoteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoPromote"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/user-picks":{"get":{"tags":["optimisation"],"summary":"List User Picks","description":"The tasks set to let end users pick between two answers, on or off, in a workspace (yours,\nelse every workspace you can see). A task not listed is off.","operationId":"list_user_picks_optimisation_user_picks_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserPicks"},"title":"Response List User Picks Optimisation User Picks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["optimisation"],"summary":"Set User Picks","description":"Turns end-user picks on or off for a task in a workspace. On: while a new model for the\ntask is being tried on part of its traffic, about 2% of its non-streamed chat completions\ncome back with two answers, the current model's and the new one's in random order, and your\napp posts which one your end user picked (POST /v1/preferences). From 1,000 picks on, the\npicks decide whether the new model stays and takes all the traffic. Owners and admins.","operationId":"set_user_picks_optimisation_user_picks_put","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPicksIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPicks"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/models":{"get":{"tags":["optimisation"],"summary":"Get Task Models","description":"The model sizes and training methods the task's specialist can train on in the workspace,\neach with its training estimate on `examples` requests and its serving cost, and the one\nchosen for the task (null: OS3's default).","operationId":"get_task_models_optimisation_tasks__task_id__models_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"examples","in":"query","required":false,"schema":{"type":"integer","maximum":1000000000,"minimum":0,"default":0,"title":"Examples"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModels"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["optimisation"],"summary":"Set Task Model","description":"Choose the model the task's specialist trains on in the workspace, one of its choices, or\ngo back to OS3's default (null). Owners and admins.","operationId":"set_task_model_optimisation_tasks__task_id__models_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModelIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskModel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/models/quote":{"post":{"tags":["optimisation"],"summary":"Request Model Quote","description":"Ask OS3 for a quote for a larger model than the task's choices (Enterprise): OS3's team\nis told and gets back to you.","operationId":"request_model_quote_optimisation_tasks__task_id__models_quote_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequestIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Request Model Quote Optimisation Tasks  Task Id  Models Quote Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/thinking":{"get":{"tags":["optimisation"],"summary":"Get Thinking","description":"The task's thinking pick in the workspace, both modes' measured numbers and what serves.","operationId":"get_thinking_optimisation_tasks__task_id__thinking_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskThinking"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["optimisation"],"summary":"Set Thinking","description":"Pick thinking on or off for the task's specialist in the workspace, or go back to OS3's\nchoice (null): an owner or admin, signed in; a pick only once both modes of the specialist\nserved now were measured (409 not_measured).","operationId":"set_thinking_optimisation_tasks__task_id__thinking_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThinkingIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskThinking"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/thinking/compare":{"post":{"tags":["optimisation"],"summary":"Compare Thinking","description":"Measure the task's specialist in the other thinking mode: a rung-4 cycle now in the\nworkspace (409 with the manual trigger's reasons when none opens). Owners and admins.","operationId":"compare_thinking_optimisation_tasks__task_id__thinking_compare_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThinkingCompareIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cycle"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/quality":{"get":{"tags":["optimisation"],"summary":"List Quality","operationId":"list_quality_optimisation_quality_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QualitySetting"},"title":"Response List Quality Optimisation Quality Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["optimisation"],"summary":"Set Quality","operationId":"set_quality_optimisation_quality_put","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualityIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualitySetting"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/speed":{"get":{"tags":["optimisation"],"summary":"List Speed","operationId":"list_speed_optimisation_speed_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SpeedSetting"},"title":"Response List Speed Optimisation Speed Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["optimisation"],"summary":"Set Speed","operationId":"set_speed_optimisation_speed_put","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeedIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeedSetting"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/quality":{"get":{"tags":["optimisation"],"summary":"Get Task Quality","description":"The task's quality setting in the workspace and its measured quality-vs-cost points.","operationId":"get_task_quality_optimisation_tasks__task_id__quality_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskQuality"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/rl":{"get":{"tags":["optimisation"],"summary":"Get Task Rl","description":"The task's verifier in the workspace and its GRPO budget per run.","operationId":"get_task_rl_optimisation_tasks__task_id__rl_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRl"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["optimisation"],"summary":"Set Task Rl","description":"Set the task's verifier and GRPO budget in the workspace, or clear them: an owner or\nadmin. The task set must hold held-out test tasks.","operationId":"set_task_rl_optimisation_tasks__task_id__rl_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRlIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRl"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/rl/proposals":{"get":{"tags":["optimisation"],"summary":"List Rl Proposals","description":"The candidate RL tasks the task's delayed outcomes proposed in the workspace.","operationId":"list_rl_proposals_optimisation_tasks__task_id__rl_proposals_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RlProposal"},"title":"Response List Rl Proposals Optimisation Tasks  Task Id  Rl Proposals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/rl/proposals/check":{"post":{"tags":["optimisation"],"summary":"Check Rl Proposals","description":"Verify proposed RL tasks: send their tasks (each payload's task_id a proposal's id, in the\nverifier's recipe, split train, with its reference) to the RL task set check, which seals those\nwhose reference passes its own checks as the next version of dataset `slug`; the check decides\neach proposal.","operationId":"check_rl_proposals_optimisation_tasks__task_id__rl_proposals_check_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlDatasetIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RlProposalCheck"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/optimizer":{"get":{"tags":["optimisation"],"summary":"Get Optimizer","description":"Whether OS3's optimizer agent works on the workspace's tasks.","operationId":"get_optimizer_optimisation_optimizer_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimizerSetting"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["optimisation"],"summary":"Set Optimizer","description":"Opt the workspace into OS3's optimizer agent, or out again: an owner or admin. Switched\noff, its work on the workspace's tasks stops before its next step.","operationId":"set_optimizer_optimisation_optimizer_put","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimizerIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimizerSetting"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/mandate":{"get":{"tags":["optimisation"],"summary":"Get Mandate","description":"The task's mandate for OS3's optimizer agent in the workspace.","operationId":"get_mandate_optimisation_tasks__task_id__mandate_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskMandate"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["optimisation"],"summary":"Set Mandate","description":"Set the task's mandate for OS3's optimizer agent in the workspace: an owner or admin. It\napplies from the task's next optimisation cycle.","operationId":"set_mandate_optimisation_tasks__task_id__mandate_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MandateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskMandate"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/budget":{"get":{"tags":["optimisation"],"summary":"Get Budget","description":"What OS3's optimizer may spend on the task in the workspace, and what it spent.","operationId":"get_budget_optimisation_tasks__task_id__budget_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskBudget"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/budget/grants":{"post":{"tags":["optimisation"],"summary":"Approve Grant","description":"Approve extra spend for OS3's optimizer on the task: an owner or admin, signed in. The\nagent never can.","operationId":"approve_grant_optimisation_tasks__task_id__budget_grants_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetGrantIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetGrant"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/timeline":{"get":{"tags":["optimisation"],"summary":"Get Timeline","description":"What OS3's optimizer agent did on the task in the workspace, step by step.","operationId":"get_timeline_optimisation_tasks__task_id__timeline_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskTimeline"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/questions":{"get":{"tags":["optimisation"],"summary":"List Questions","description":"The questions OS3's optimizer agent asked about the task in the workspace.","operationId":"list_questions_optimisation_tasks__task_id__questions_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptimizerQuestion"},"title":"Response List Questions Optimisation Tasks  Task Id  Questions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/questions/{question_id}/answer":{"post":{"tags":["optimisation"],"summary":"Answer Question","description":"Answer a question of OS3's optimizer agent: an owner or admin, signed in.","operationId":"answer_question_optimisation_tasks__task_id__questions__question_id__answer_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"question_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Question Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimizerQuestion"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/routes/{route_id}/streams":{"get":{"tags":["optimisation"],"summary":"Route Streams","operationId":"route_streams_optimisation_routes__route_id__streams_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"route_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Route Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Streams"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/label-rungs":{"post":{"tags":["optimisation"],"summary":"Request Label Rung","operationId":"request_label_rung_optimisation_label_rungs_post","security":[{"APIKey":[]},{"SignIn":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelRungIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelRung"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["optimisation"],"summary":"List Label Rungs","operationId":"list_label_rungs_optimisation_label_rungs_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LabelRung"},"title":"Response List Label Rungs Optimisation Label Rungs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/label-rungs/{rung_id}":{"get":{"tags":["optimisation"],"summary":"Get Label Rung","operationId":"get_label_rung_optimisation_label_rungs__rung_id__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rung_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rung Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelRung"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/label-rungs/{rung_id}/accept":{"post":{"tags":["optimisation"],"summary":"Accept Label Rung","operationId":"accept_label_rung_optimisation_label_rungs__rung_id__accept_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rung_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rung Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelRung"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/label-rungs/{rung_id}/withdraw":{"post":{"tags":["optimisation"],"summary":"Withdraw Label Rung","operationId":"withdraw_label_rung_optimisation_label_rungs__rung_id__withdraw_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"rung_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rung Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelRung"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/tasks/{task_id}/auto":{"get":{"tags":["optimisation"],"summary":"Get Task Auto","description":"The task's Auto in the workspace and what it runs with.","operationId":"get_task_auto_optimisation_tasks__task_id__auto_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskAuto"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["optimisation"],"summary":"Set Task Auto","description":"Turn the task's Auto on or off in the workspace.","operationId":"set_task_auto_optimisation_tasks__task_id__auto_put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskAuto"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimisation/auto":{"put":{"tags":["optimisation"],"summary":"Set Workspace Auto","description":"The workspace's default Auto for its tasks without their own.","operationId":"set_workspace_auto_optimisation_auto_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskAuto"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKey":[]},{"SignIn":[]}]}},"/tasks/{task_id}/contracts":{"post":{"tags":["tasks"],"summary":"Create","operationId":"create_tasks__task_id__contracts_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractTerms"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contract"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["tasks"],"summary":"List Versions","operationId":"list_versions_tasks__task_id__contracts_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Contract"},"title":"Response List Versions Tasks  Task Id  Contracts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/contracts/{version}":{"put":{"tags":["tasks"],"summary":"Edit","operationId":"edit_tasks__task_id__contracts__version__put","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractTerms"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contract"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["tasks"],"summary":"Get Version","operationId":"get_version_tasks__task_id__contracts__version__get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contract"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/contracts/{version}/freeze":{"post":{"tags":["tasks"],"summary":"Freeze","operationId":"freeze_tasks__task_id__contracts__version__freeze_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contract"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/releases":{"get":{"tags":["models","tasks"],"summary":"Task Releases","operationId":"task_releases_tasks__task_id__releases_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"replay","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Replay"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/History"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models/aliases/{alias}/history":{"get":{"tags":["models"],"summary":"Alias History","operationId":"alias_history_models_aliases__alias__history_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"alias","in":"path","required":true,"schema":{"enum":["champion","candidate"],"type":"string","title":"Alias"}},{"name":"workspace","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace"}},{"name":"task","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$"},{"type":"null"}],"title":"Task"}},{"name":"replay","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Replay"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/History"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/versions":{"get":{"tags":["tasks"],"summary":"Task Versions","description":"The task's new prompt versions on its live specialists in the workspace, newest first,\neach being checked, routed or waiting.","operationId":"task_versions_tasks__task_id__versions_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TaskVersion"},"title":"Response Task Versions Tasks  Task Id  Versions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/parts":{"get":{"tags":["tasks"],"summary":"Task Parts","description":"The parts of the task its specialist was compared on in the workspace, each with its\nresult and whether the specialist answers it.","operationId":"task_parts_tasks__task_id__parts_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"workspace_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TaskPart"},"title":"Response Task Parts Tasks  Task Id  Parts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/parts/switch-back":{"post":{"tags":["tasks"],"summary":"Switch Back","description":"Moves one part of the task back to the current model in the workspace: the specialist\nstops answering its requests within a minute. Owners and admins.","operationId":"switch_back_tasks__task_id__parts_switch_back_post","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchBackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TaskPart"},"title":"Response Switch Back Tasks  Task Id  Parts Switch Back Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/outcomes":{"get":{"tags":["outcomes"],"summary":"Get Report","operationId":"get_report_outcomes_get","security":[{"APIKey":[]},{"SignIn":[]}],"parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Report"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Acceptance":{"properties":{"task_id":{"type":"string","maxLength":200,"minLength":1,"title":"Task Id"},"contract_version":{"type":"integer","minimum":1.0,"title":"Contract Version"},"min_attempts":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Min Attempts"},"min_success":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Min Success"}},"additionalProperties":false,"type":"object","required":["task_id","contract_version","min_attempts","min_success"],"title":"Acceptance","description":"What judges each stage of a policy rollout: the task's success rate on the stage's first\n`min_attempts` autonomous attempts, which passes when its 95% Wilson lower bound is at least\n`min_success`."},"ActionAdapter":{"properties":{"schema_version":{"type":"string","const":"os3.action_adapter.v1","title":"Schema Version"},"action_space_id":{"type":"string","maxLength":512,"minLength":1,"title":"Action Space Id"},"names":{"items":{"type":"string","maxLength":128,"minLength":1},"type":"array","minItems":1,"title":"Names"},"units":{"items":{"type":"string","maxLength":128,"minLength":1},"type":"array","minItems":1,"title":"Units"},"relative_channels":{"items":{"type":"integer","minimum":0.0},"type":"array","title":"Relative Channels","default":[]},"relative_to":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Relative To"}},"additionalProperties":false,"type":"object","required":["schema_version","action_space_id","names","units"],"title":"ActionAdapter"},"ActionRange":{"properties":{"chunk":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Chunk"},"played":{"type":"integer","minimum":0.0,"title":"Played"},"dropped":{"type":"integer","minimum":0.0,"title":"Dropped"},"resumed_chunk":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Resumed Chunk"}},"additionalProperties":false,"type":"object","required":["chunk","played","dropped","resumed_chunk"],"title":"ActionRange"},"ActivateIn":{"properties":{"adapter_version_id":{"type":"string","format":"uuid","title":"Adapter Version Id"}},"additionalProperties":false,"type":"object","required":["adapter_version_id"],"title":"ActivateIn"},"Activity":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"subject_id":{"type":"string","title":"Subject Id"},"message":{"type":"string","title":"Message"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["id","kind","subject_id","message","at"],"title":"Activity"},"Actor":{"properties":{"kind":{"type":"string","enum":["user","api_key","system"],"title":"Kind"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["kind","name"],"title":"Actor"},"AdapterRelease":{"properties":{"desired_endpoint_id":{"type":"string","format":"uuid","title":"Desired Endpoint Id"},"task":{"type":"string","title":"Task"},"adapter_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Adapter Version Id"}},"type":"object","required":["desired_endpoint_id","task","adapter_version_id"],"title":"AdapterRelease","description":"An adapter's release for a task on its endpoint."},"AdapterVersion":{"properties":{"kind":{"type":"string","enum":["lora_adapter","full_model"],"title":"Kind","default":"lora_adapter"},"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Job Id"},"receipt_schema":{"type":"string","title":"Receipt Schema"},"base":{"type":"string","title":"Base"},"base_repo":{"type":"string","title":"Base Repo"},"base_revision":{"type":"string","title":"Base Revision"},"digest":{"type":"string","title":"Digest"},"adapter_sha256":{"type":"string","title":"Adapter Sha256"},"adapter_config_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adapter Config Sha256"},"config_sha256":{"type":"string","title":"Config Sha256"},"adapter_ref":{"type":"string","title":"Adapter Ref"},"dataset_manifest_sha256":{"type":"string","title":"Dataset Manifest Sha256"},"image_digest":{"type":"string","title":"Image Digest"},"receipt_ref":{"type":"string","title":"Receipt Ref"},"receipt_sha256":{"type":"string","title":"Receipt Sha256"},"receipt_verified":{"type":"boolean","title":"Receipt Verified"},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","tenant_id","workspace_id","job_id","receipt_schema","base","base_repo","base_revision","digest","adapter_sha256","adapter_config_sha256","config_sha256","adapter_ref","dataset_manifest_sha256","image_digest","receipt_ref","receipt_sha256","receipt_verified","created_at"],"title":"AdapterVersion"},"Added":{"properties":{"source":{"type":"string","title":"Source"},"added":{"items":{"type":"integer"},"type":"array","title":"Added"}},"type":"object","required":["source","added"],"title":"Added"},"AdjudicationIn":{"properties":{"label":{"type":"string","maxLength":64,"minLength":1,"title":"Label"},"note":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["label"],"title":"AdjudicationIn"},"AgentChoice":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"}},"type":"object","required":["id","label"],"title":"AgentChoice","description":"One of a question's answers: its words, and the id a reply names to give it."},"AgentQuestion":{"properties":{"id":{"type":"integer","title":"Id"},"text":{"type":"string","title":"Text"},"options":{"items":{"$ref":"#/components/schemas/AgentChoice"},"type":"array","title":"Options"},"spend_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Spend Usd"},"asked_at":{"type":"string","format":"date-time","title":"Asked At"}},"type":"object","required":["id","text","options","spend_usd","asked_at"],"title":"AgentQuestion"},"AgentSessionSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"job_id":{"type":"string","format":"uuid","title":"Job Id"},"conversation_id":{"type":"string","format":"uuid","title":"Conversation Id"},"state":{"type":"string","enum":["queued","running","waiting","done","stopped"],"title":"State"},"restarts":{"type":"integer","title":"Restarts"},"open_questions":{"type":"integer","title":"Open Questions"},"waiting_on_os3":{"type":"boolean","title":"Waiting On Os3"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","job_id","conversation_id","state","restarts","open_questions","waiting_on_os3","created_at","updated_at"],"title":"AgentSessionSummary","description":"One of OS3's job agent sessions in the workspace."},"AgentSetting":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"acts":{"type":"boolean","title":"Acts"},"computer":{"type":"boolean","title":"Computer"}},"type":"object","required":["enabled","acts","computer"],"title":"AgentSetting","description":"Whether OS3's job agent works on this workspace's runs that fail or stall: it reads them,\ncleans data into new dataset versions, changes settings and restarts runs within what was\napproved for them, and asks you when it needs to. `acts`: whether the agent acts on this\ndeployment yet; until it does, every failed or stalled run gets a diagnosis only.\n`computer`: whether the job agent and the Copilot have their own computer here, an online box\nwhere they run commands, browse the web and read this workspace's data that OS3 copies in\n(on unless switched off)."},"AgentSettingIn":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"computer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Computer"}},"additionalProperties":false,"type":"object","title":"AgentSettingIn"},"AgentView":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"job_id":{"type":"string","format":"uuid","title":"Job Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"conversation_id":{"type":"string","format":"uuid","title":"Conversation Id"},"state":{"type":"string","enum":["queued","running","waiting","done","stopped"],"title":"State"},"restarts":{"type":"integer","title":"Restarts"},"max_restarts":{"type":"integer","title":"Max Restarts"},"stopped_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stopped Reason"},"questions":{"items":{"$ref":"#/components/schemas/AgentQuestion"},"type":"array","title":"Questions"},"waiting_on_os3":{"type":"boolean","title":"Waiting On Os3"},"jobs":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Jobs"},"dataset_versions":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Dataset Versions"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"},"total":{"type":"integer","title":"Total"},"next_after":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next After"}},"type":"object","required":["session_id","job_id","workspace_id","conversation_id","state","restarts","max_restarts","stopped_reason","questions","waiting_on_os3","jobs","dataset_versions","created_at","updated_at","events","total","next_after"],"title":"AgentView","description":"OS3's job agent on a run that failed or stalled: its state, what it waits for, the runs and\ndataset versions it made, and its steps as you see them. `events`, oldest first, one of:\n`trigger` (a run failed or stalled), `note` (its plan, or why it takes its next step),\n`read` (what it read of your runs, data or workspace), `web_search` and `web_page`,\n`command` (code it ran on a sample of your data, with its output and files), `data_change`\n(a new dataset version, with what it dropped and why; or, `how` `script`, one it made with\nits own script on its computer, with the script, what changed and the files it left out),\n`job_started` (a restart or another run, with its changed settings and estimate), `question`\nand `reply`, `data_ready` and `job_ended` (what it waited for), `step_failed` (a step OS3\nrefused, and why), `outcome` (the summary that ends each of its turns) and `stopped`; on its\ncomputer: `command` (language `shell`: a command with its output, the files it wrote and\nkept and the hosts it reached), `file` (a file it wrote, with its text), `browser` (a page\nit opened or worked, with what it typed and its screenshot: GET\n/workspaces/{id}/agent-computer/steps/{step_id}/files/screenshot.png) and `data_copied` (a\ndataset version's files copied in). `after` pages them: the events from that index on."},"Agreement":{"properties":{"items":{"type":"integer","title":"Items"},"pairs":{"type":"integer","title":"Pairs"},"pairwise":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pairwise"},"alpha":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alpha"},"disputed":{"type":"integer","title":"Disputed"},"adjudicated":{"type":"integer","title":"Adjudicated"},"gold":{"type":"integer","title":"Gold"}},"type":"object","required":["items","pairs","pairwise","alpha","disputed","adjudicated","gold"],"title":"Agreement"},"AiResearcher":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"additionalProperties":false,"type":"object","required":["enabled"],"title":"AiResearcher"},"Alert":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"type":"string","title":"Kind"},"severity":{"type":"string","title":"Severity"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"acked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acked At"}},"type":"object","required":["id","kind","severity","workspace_id","payload","created_at","acked_at"],"title":"Alert"},"AliasIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"model_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Version Id"},"adapter_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Adapter Version Id"},"task":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$"},{"type":"null"}],"title":"Task"},"release_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Release Decision Id"},"override_reason":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Override Reason"},"rollout":{"type":"string","enum":["now","rings"],"title":"Rollout","default":"now"}},"additionalProperties":false,"type":"object","required":["workspace_id"],"title":"AliasIn"},"Allowance":{"properties":{"h100_hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Hours"},"used_h100_hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Used H100 Hours"},"left_h100_hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Left H100 Hours"},"defaults":{"additionalProperties":true,"type":"object","title":"Defaults"}},"type":"object","required":["h100_hours","used_h100_hours","left_h100_hours","defaults"],"title":"Allowance","description":"The workspace's pilot allowance this UTC month (pipeline defaults `pilots.h100_hours`)."},"AllowedUse":{"type":"string","enum":["eval_only","decider_sft","vla_finetune","distillation","preference_rl"],"title":"AllowedUse"},"Annotation":{"properties":{"id":{"type":"integer","title":"Id"},"kind":{"type":"string","title":"Kind"},"revision":{"type":"integer","title":"Revision"},"body":{"items":{},"type":"array","title":"Body"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"type":"string","title":"Actor Id"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","kind","revision","body","note","actor_kind","actor_id","actor_name","created_at"],"title":"Annotation"},"AnswerIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"answer":{"type":"string","maxLength":2000,"minLength":1,"title":"Answer"}},"additionalProperties":false,"type":"object","required":["workspace_id","answer"],"title":"AnswerIn","description":"Your answer to a question of OS3's optimizer agent: one of its options, if it has any."},"ApiKey":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"},"created_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By"},"created_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By Email"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"}},"type":"object","required":["id","name","prefix","workspace_id","scopes","created_by","created_by_email","created_at","expires_at","last_used_at"],"title":"ApiKey"},"ApiKeyCreated":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"},"created_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By"},"created_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By Email"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"key":{"type":"string","title":"Key"}},"type":"object","required":["id","name","prefix","workspace_id","scopes","created_by","created_by_email","created_at","expires_at","last_used_at","key"],"title":"ApiKeyCreated"},"ApiKeyIn":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"scopes":{"items":{"type":"string","enum":["read","workspaces:write","datasets:write","jobs:write","models:write","endpoints:write","robots:write","review:write","billing:write","gateway:admin","copilot:write","admin"]},"type":"array","minItems":1,"title":"Scopes"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"additionalProperties":false,"type":"object","required":["name","scopes"],"title":"ApiKeyIn"},"ApiKeyPatch":{"properties":{"scopes":{"items":{"type":"string","enum":["read","workspaces:write","datasets:write","jobs:write","models:write","endpoints:write","robots:write","review:write","billing:write","gateway:admin","copilot:write","admin"]},"type":"array","minItems":1,"title":"Scopes"}},"additionalProperties":false,"type":"object","required":["scopes"],"title":"ApiKeyPatch"},"Approval":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"action":{"type":"string","title":"Action"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"source":{"type":"string","title":"Source"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"base":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base"},"max_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Max Usd"},"max_h100_hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Max H100 Hours"},"plan_sha256":{"type":"string","title":"Plan Sha256"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Job Id"}},"type":"object","required":["id","action","task_id","task","source","text","base","max_usd","max_h100_hours","plan_sha256","expires_at","created_at"],"title":"Approval"},"Arm":{"properties":{"key":{"type":"string","title":"Key"},"kind":{"type":"string","enum":["experiment","route","candidate","incumbent"],"title":"Kind"},"experiment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Experiment Id"},"exposure":{"anyOf":[{"type":"string","enum":["compared","incumbent"]},{"type":"null"}],"title":"Exposure"},"route_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Id"},"candidate_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Candidate Ref"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"}},"type":"object","required":["key","kind"],"title":"Arm"},"ArmResult":{"properties":{"arm":{"$ref":"#/components/schemas/Arm"},"n":{"type":"integer","title":"N"},"mean":{"type":"number","title":"Mean"},"lower":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lower"},"upper":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Upper"},"trainable":{"type":"integer","title":"Trainable"}},"type":"object","required":["arm","n","mean","lower","upper","trainable"],"title":"ArmResult"},"Artifact":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"kind":{"type":"string","title":"Kind"},"sha256":{"type":"string","title":"Sha256"},"bytes":{"type":"integer","title":"Bytes"},"status":{"type":"string","title":"Status"},"trace_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Trace Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"stored_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stored At"},"ref":{"type":"string","title":"Ref","default":""},"upload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Upload"},"read_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read Url"}},"type":"object","required":["id","workspace_id","kind","sha256","bytes","status","trace_count","created_at","stored_at"],"title":"Artifact"},"ArtifactIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"kind":{"type":"string","enum":["trace","video","mcap","rrd","attempts","events"],"title":"Kind"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Sha256"},"bytes":{"type":"integer","minimum":0.0,"title":"Bytes"}},"additionalProperties":false,"type":"object","required":["workspace_id","kind","sha256","bytes"],"title":"ArtifactIn"},"AuditEvent":{"properties":{"action":{"type":"string","title":"Action"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Id"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["action","actor_kind","actor_id","actor_name","request_id","at"],"title":"AuditEvent"},"AuditRow":{"properties":{"id":{"type":"integer","title":"Id"},"at":{"type":"string","format":"date-time","title":"At"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Id"},"action":{"type":"string","title":"Action"},"target_table":{"type":"string","title":"Target Table"},"target_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Id"},"before":{"title":"Before"},"after":{"title":"After"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"}},"type":"object","required":["id","at","actor_kind","actor_id","action","target_table","target_id","before","after","request_id"],"title":"AuditRow"},"Auto-Input":{"properties":{"decider":{"type":"string","enum":["rules","mf","jev","llm"],"title":"Decider"},"decider_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Decider Id"},"policy":{"anyOf":[{"type":"string","pattern":"^route-[0-9a-f]{16}$"},{"type":"null"}],"title":"Policy"},"record_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Record Sha256"},"threshold":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Threshold"},"embedding_upstream":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,62}$"},{"type":"null"}],"title":"Embedding Upstream"},"options":{"items":{"$ref":"#/components/schemas/AutoOption-Input"},"type":"array","maxItems":16,"minItems":2,"title":"Options"}},"additionalProperties":false,"type":"object","required":["decider","options"],"title":"Auto"},"Auto-Output":{"properties":{"decider":{"type":"string","enum":["rules","mf","jev","llm"],"title":"Decider"},"decider_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Decider Id"},"policy":{"anyOf":[{"type":"string","pattern":"^route-[0-9a-f]{16}$"},{"type":"null"}],"title":"Policy"},"record_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Record Sha256"},"threshold":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Threshold"},"embedding_upstream":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,62}$"},{"type":"null"}],"title":"Embedding Upstream"},"options":{"items":{"$ref":"#/components/schemas/AutoOption-Output"},"type":"array","maxItems":16,"minItems":2,"title":"Options"}},"additionalProperties":false,"type":"object","required":["decider","options"],"title":"Auto"},"AutoIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"enabled":{"type":"boolean","title":"Enabled"}},"additionalProperties":false,"type":"object","required":["workspace_id","enabled"],"title":"AutoIn"},"AutoOption-Input":{"properties":{"model":{"type":"string","maxLength":200,"minLength":1,"title":"Model"},"effort":{"anyOf":[{"type":"string","pattern":"^[a-z]{1,16}$"},{"type":"null"}],"title":"Effort"},"upstream":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,62}$"},{"type":"null"}],"title":"Upstream"},"kind":{"type":"string","enum":["incumbent","model","catalog","specialist"],"title":"Kind"},"tools":{"type":"boolean","title":"Tools","default":true},"image_input":{"type":"boolean","title":"Image Input","default":true},"context_tokens":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Context Tokens"},"usd_per_1m":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Usd Per 1M"},"description":{"type":"string","maxLength":500,"minLength":1,"title":"Description"},"decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Decision Id"}},"additionalProperties":false,"type":"object","required":["model","kind","description"],"title":"AutoOption"},"AutoOption-Output":{"properties":{"model":{"type":"string","maxLength":200,"minLength":1,"title":"Model"},"effort":{"anyOf":[{"type":"string","pattern":"^[a-z]{1,16}$"},{"type":"null"}],"title":"Effort"},"upstream":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,62}$"},{"type":"null"}],"title":"Upstream"},"kind":{"type":"string","enum":["incumbent","model","catalog","specialist"],"title":"Kind"},"tools":{"type":"boolean","title":"Tools","default":true},"image_input":{"type":"boolean","title":"Image Input","default":true},"context_tokens":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Context Tokens"},"usd_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Usd Per 1M"},"description":{"type":"string","maxLength":500,"minLength":1,"title":"Description"},"decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Decision Id"}},"additionalProperties":false,"type":"object","required":["model","kind","description"],"title":"AutoOption"},"AutoPromote":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"enabled":{"type":"boolean","title":"Enabled"},"set_by":{"type":"string","title":"Set By"},"set_at":{"type":"string","format":"date-time","title":"Set At"}},"additionalProperties":false,"type":"object","required":["workspace_id","enabled","set_by","set_at"],"title":"AutoPromote"},"AutoPromoteIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"enabled":{"type":"boolean","title":"Enabled"}},"additionalProperties":false,"type":"object","required":["workspace_id","enabled"],"title":"AutoPromoteIn"},"AutomaticGrading":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"paused":{"type":"boolean","title":"Paused"}},"additionalProperties":false,"type":"object","required":["enabled","paused"],"title":"AutomaticGrading"},"AzureCredentialsIn":{"properties":{"provider":{"type":"string","const":"azure_blob","title":"Provider"},"sas_url":{"type":"string","format":"password","title":"Sas Url","writeOnly":true}},"additionalProperties":false,"type":"object","required":["provider","sas_url"],"title":"AzureCredentialsIn"},"AzureSourceIn":{"properties":{"provider":{"type":"string","const":"azure_blob","title":"Provider"},"sas_url":{"type":"string","format":"password","title":"Sas Url","writeOnly":true},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"prefix":{"type":"string","maxLength":1024,"title":"Prefix","default":""}},"additionalProperties":false,"type":"object","required":["provider","sas_url","workspace_id","name"],"title":"AzureSourceIn"},"BaseAccess":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"repo":{"type":"string","title":"Repo"},"terms":{"type":"string","title":"Terms"},"credential":{"type":"string","enum":["platform","tenant"],"title":"Credential"},"hf_token_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Token Ref"},"accepted_by":{"type":"string","title":"Accepted By"},"accepted_at":{"type":"string","format":"date-time","title":"Accepted At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"revoked_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked By"}},"type":"object","required":["id","repo","terms","credential","hf_token_ref","accepted_by","accepted_at"],"title":"BaseAccess","description":"Your organisation's acceptance of a gated Hugging Face repo's terms: `hf_token_ref` names\nyour own Hub token in your key vault (credential `tenant`), none when jobs use OS3's access\n(`platform`). On a job, the acceptances that authorised it."},"BaseAccessIn":{"properties":{"repo":{"type":"string","title":"Repo"},"terms":{"type":"string","title":"Terms"},"hf_token_ref":{"anyOf":[{"type":"string","pattern":"^kv:tenant-hf-token(-[A-Za-z0-9-]{1,100})?$"},{"type":"null"}],"title":"Hf Token Ref"}},"additionalProperties":false,"type":"object","required":["repo","terms"],"title":"BaseAccessIn"},"BaseInputs":{"properties":{"depth":{"type":"boolean","title":"Depth"}},"type":"object","required":["depth"],"title":"BaseInputs","description":"What a robot base's model takes as input beyond its cameras' colour images and the state.\n`depth`: depth maps, a version's depth streams (its observation.depths.* features); a job\ntrains with them only when it asks to (use_depth), and only on a base that takes them."},"Branch":{"properties":{"role":{"type":"string","title":"Role"},"model":{"type":"string","title":"Model"},"request_id":{"type":"string","title":"Request Id"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"}},"type":"object","required":["role","model","request_id","trace_id"],"title":"Branch"},"BreakEven":{"properties":{"eval_id":{"type":"string","format":"uuid","title":"Eval Id"},"gpu":{"type":"string","title":"Gpu"},"capacity_usd_per_month":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Capacity Usd Per Month"},"incumbent_usd_per_request":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Incumbent Usd Per Request"},"serving_usd_per_request":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Serving Usd Per Request"},"requests_per_day":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Requests Per Day"},"current_requests_per_day":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Current Requests Per Day"}},"type":"object","required":["eval_id","gpu","capacity_usd_per_month","incumbent_usd_per_request","serving_usd_per_request","requests_per_day","current_requests_per_day"],"title":"BreakEven"},"BudgetGrant":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"meter":{"type":"string","title":"Meter"},"amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount"},"reason":{"type":"string","title":"Reason"},"approved_by":{"type":"string","title":"Approved By"},"approved_at":{"type":"string","format":"date-time","title":"Approved At"}},"type":"object","required":["id","workspace_id","task_id","meter","amount","reason","approved_by","approved_at"],"title":"BudgetGrant"},"BudgetGrantIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"meter":{"type":"string","enum":["h100_hours","api_usd","sandbox_cpu_hours","sandbox_gib_hours"],"title":"Meter"},"amount":{"anyOf":[{"type":"number","maximum":9999999.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,3}0*$"}],"title":"Amount"},"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["workspace_id","meter","amount","reason"],"title":"BudgetGrantIn","description":"Extra spend you approve for OS3's optimizer on a task in a workspace, on one meter: it adds\nto the task's allowance from now on."},"BudgetIn":{"properties":{"hard_cap":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,21}0*$)\\d{0,14}\\.\\d{0,6}0*$)"}],"title":"Hard Cap"},"notice_pct":{"type":"integer","maximum":99.0,"minimum":1.0,"title":"Notice Pct","default":80}},"additionalProperties":false,"type":"object","required":["hard_cap"],"title":"BudgetIn"},"BudgetOut":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"meter":{"type":"string","title":"Meter"},"hard_cap":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Hard Cap"},"notice_pct":{"type":"integer","title":"Notice Pct"},"committed":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Committed"},"reserved":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Reserved"}},"type":"object","required":["workspace_id","meter","hard_cap","notice_pct","committed","reserved"],"title":"BudgetOut"},"Build":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"slug":{"type":"string","title":"Slug"},"objective":{"type":"string","title":"Objective"},"state":{"type":"string","title":"State"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"dataset_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Version Id"},"summary":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Summary"},"requested_by":{"type":"string","title":"Requested By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["id","workspace_id","slug","objective","state","error","dataset_version_id","summary","requested_by","created_at","finished_at"],"title":"Build"},"BuildIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"slug":{"type":"string","maxLength":63,"pattern":"^[a-z0-9][a-z0-9-]{1,62}$","title":"Slug"},"objective":{"type":"string","enum":["sft","dpo"],"title":"Objective"},"trace_ids":{"anyOf":[{"items":{"type":"string","maxLength":200,"minLength":1},"type":"array","minItems":1},{"type":"null"}],"title":"Trace Ids"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"model":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Model"},"pairs":{"anyOf":[{"items":{"$ref":"#/components/schemas/Pair-Input"},"type":"array","minItems":1},{"type":"null"}],"title":"Pairs"},"experiment_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1},{"type":"null"}],"title":"Experiment Ids"}},"additionalProperties":false,"type":"object","required":["workspace_id","slug","objective"],"title":"BuildIn"},"CameraSpec":{"properties":{"width":{"type":"integer","exclusiveMinimum":0.0,"title":"Width"},"height":{"type":"integer","exclusiveMinimum":0.0,"title":"Height"},"fps":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Fps"},"type":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Type"},"serial":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Serial"},"depth":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Depth"}},"additionalProperties":false,"type":"object","required":["width","height"],"title":"CameraSpec"},"CanaryTraffic":{"properties":{"at":{"type":"string","format":"date-time","title":"At"},"candidate_requests":{"type":"integer","title":"Candidate Requests"},"incumbent_requests":{"type":"integer","title":"Incumbent Requests"},"candidate_subjects":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Candidate Subjects"},"incumbent_subjects":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Incumbent Subjects"},"share":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Share"},"one_subject":{"type":"boolean","title":"One Subject"}},"type":"object","required":["at","candidate_requests","incumbent_requests","candidate_subjects","incumbent_subjects","share","one_subject"],"title":"CanaryTraffic","description":"A live canary's traffic since it started, as the canary guard last looked at it. A canary\nsends a share of its task's subjects to the candidate (a request's subject is its\nx-os3-subject, else its x-os3-session, else its gateway key), not a share of its requests,\nso the candidate's share of the requests is what its subjects send."},"Catalog":{"properties":{"counts":{"additionalProperties":{"$ref":"#/components/schemas/Counts"},"type":"object","title":"Counts"},"entries":{"items":{"$ref":"#/components/schemas/Entry"},"type":"array","title":"Entries"}},"type":"object","required":["counts","entries"],"title":"Catalog"},"CatalogBase":{"properties":{"base":{"type":"string","title":"Base"},"base_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Model"},"family":{"type":"string","enum":["robot","llm","rft","rlvr"],"title":"Family"},"name":{"type":"string","title":"Name"},"repo":{"type":"string","title":"Repo"},"revision":{"type":"string","title":"Revision"},"license":{"type":"string","title":"License"},"params":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Params"},"available":{"type":"boolean","title":"Available"},"trainable":{"type":"boolean","title":"Trainable"},"tier_refusal":{"anyOf":[{"$ref":"#/components/schemas/TierRefusal"},{"type":"null"}]},"gpu_count":{"type":"integer","title":"Gpu Count"},"batch":{"type":"integer","title":"Batch"},"trainers":{"items":{"type":"string","enum":["halo","trl"]},"type":"array","title":"Trainers","default":[]},"unfit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unfit"},"recipes":{"items":{"type":"string"},"type":"array","title":"Recipes","default":[]},"servable":{"type":"boolean","title":"Servable"},"action_space_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Space Id"},"action_dim":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Action Dim"},"inputs":{"anyOf":[{"$ref":"#/components/schemas/BaseInputs"},{"type":"null"}]},"gated":{"items":{"$ref":"#/components/schemas/CatalogGate"},"type":"array","title":"Gated","default":[]},"qualification":{"anyOf":[{"$ref":"#/components/schemas/Qualification"},{"type":"null"}]},"deployable":{"type":"boolean","title":"Deployable","default":false}},"type":"object","required":["base","base_model","family","name","repo","revision","license","available","trainable","gpu_count","batch","servable","action_space_id","action_dim"],"title":"CatalogBase","description":"GET /jobs/bases: a base model you can train on. Robot bases are JobSpec.base values. LLM\nbases are base `lora_trl` with `base_model` = LoraSpec.base_model (family `llm`), base\n`halo_rft` with `base_model` = RftSpec.base_model (family `rft`: hosted RFT, the default for a\ndataset version of tasks with a verifier), and base `halo_rlvr` with `base_model` =\nRlvrSpec.base_model (family `rlvr`: online RLVR, the upgrade, API only)."},"CatalogGate":{"properties":{"repo":{"type":"string","title":"Repo"},"terms":{"type":"string","title":"Terms"},"terms_name":{"type":"string","title":"Terms Name"},"terms_url":{"type":"string","title":"Terms Url"},"platform_access":{"type":"boolean","title":"Platform Access"},"accepted":{"type":"boolean","title":"Accepted"}},"type":"object","required":["repo","terms","terms_name","terms_url","platform_access","accepted"],"title":"CatalogGate"},"ChannelTest":{"properties":{"outcome":{"type":"string","enum":["sent","not_configured","failed"],"title":"Outcome"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"type":"object","required":["outcome"],"title":"ChannelTest"},"Check":{"properties":{"status":{"type":"string","title":"Status"},"evidence":{"additionalProperties":true,"type":"object","title":"Evidence"},"runner":{"type":"string","title":"Runner"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["status","evidence","runner","created_at"],"title":"Check"},"CheckIn":{"properties":{"model":{"type":"string","maxLength":200,"minLength":1,"title":"Model"},"use":{"$ref":"#/components/schemas/AllowedUse","default":"eval_only"},"api":{"anyOf":[{"type":"string","enum":["openai","anthropic","google"]},{"type":"null"}],"title":"Api"}},"additionalProperties":false,"type":"object","required":["model"],"title":"CheckIn"},"CheckResult":{"properties":{"ok":{"type":"boolean","title":"Ok"},"failure":{"anyOf":[{"type":"string","enum":["credential","unsupported_model","schema","upstream","consent","insufficient_data"]},{"type":"null"}],"title":"Failure"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"have":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Have"},"need":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Need"},"upstream":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upstream"},"upstream_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Upstream Status"}},"type":"object","required":["ok"],"title":"CheckResult"},"Claim":{"properties":{"intervention_id":{"type":"string","format":"uuid","title":"Intervention Id"},"episode_id":{"type":"string","title":"Episode Id"},"operator_id":{"type":"string","title":"Operator Id"},"claimed_at":{"type":"string","format":"date-time","title":"Claimed At"}},"type":"object","required":["intervention_id","episode_id","operator_id","claimed_at"],"title":"Claim"},"ClaimAnswer":{"properties":{"intervention_id":{"type":"string","format":"uuid","title":"Intervention Id"},"status":{"type":"string","enum":["owner","refused"],"title":"Status"},"reason":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["intervention_id","status"],"title":"ClaimAnswer"},"Clip":{"properties":{"dataset_version_id":{"type":"string","minLength":1,"title":"Dataset Version Id"},"episode_index":{"type":"integer","minimum":0.0,"title":"Episode Index"},"policy_ref":{"type":"string","minLength":1,"title":"Policy Ref"},"initial_conditions":{"type":"string","minLength":1,"title":"Initial Conditions"},"instruction":{"type":"string","minLength":1,"title":"Instruction"},"framing_id":{"type":"string","minLength":1,"title":"Framing Id"},"time_limit_s":{"type":"number","exclusiveMinimum":0.0,"title":"Time Limit S"},"elapsed_s":{"type":"number","minimum":0.0,"title":"Elapsed S"},"cut":{"type":"boolean","title":"Cut"},"views":{"items":{"$ref":"#/components/schemas/ClipView"},"type":"array","minItems":1,"title":"Views"}},"additionalProperties":false,"type":"object","required":["dataset_version_id","episode_index","policy_ref","initial_conditions","instruction","framing_id","time_limit_s","elapsed_s","cut","views"],"title":"Clip","description":"One recorded rollout shown from its start, at most ``time_limit_s`` of real time."},"ClipBranch":{"properties":{"role":{"type":"string","title":"Role"},"policy_ref":{"type":"string","title":"Policy Ref"},"dataset_version_id":{"type":"string","title":"Dataset Version Id"},"episode_index":{"type":"integer","title":"Episode Index"}},"type":"object","required":["role","policy_ref","dataset_version_id","episode_index"],"title":"ClipBranch"},"ClipPair":{"properties":{"comparison_id":{"type":"string","format":"uuid","title":"Comparison Id"},"chosen":{"$ref":"#/components/schemas/ClipBranch"},"rejected":{"$ref":"#/components/schemas/ClipBranch"},"votes":{"type":"integer","title":"Votes"}},"type":"object","required":["comparison_id","chosen","rejected","votes"],"title":"ClipPair"},"ClipView":{"properties":{"camera":{"type":"string","minLength":1,"title":"Camera"},"path":{"type":"string","minLength":1,"title":"Path"},"from_s":{"type":"number","minimum":0.0,"title":"From S"},"to_s":{"type":"number","title":"To S"}},"additionalProperties":false,"type":"object","required":["camera","path","from_s","to_s"],"title":"ClipView","description":"One camera's video of a clip: the dataset version's file and where the clip starts and ends\nin it (seconds on the video's clock)."},"ClipsIn":{"properties":{"incumbent":{"$ref":"#/components/schemas/Clip"},"candidate":{"$ref":"#/components/schemas/Clip"}},"additionalProperties":false,"type":"object","required":["incumbent","candidate"],"title":"ClipsIn"},"Comparison":{"properties":{"eval_id":{"type":"string","format":"uuid","title":"Eval Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"candidate_ref":{"type":"string","title":"Candidate Ref"},"baseline_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Baseline Ref"},"eval_set_ref":{"type":"string","title":"Eval Set Ref"},"n":{"type":"integer","title":"N"},"wins":{"type":"integer","title":"Wins"},"losses":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Losses"},"ties":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ties"},"win_rate":{"type":"number","title":"Win Rate"},"ci_lower":{"type":"number","title":"Ci Lower"},"ci_upper":{"type":"number","title":"Ci Upper"},"strength":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Strength"},"flip_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Flip Rate"},"p95_latency_ms":{"type":"number","title":"P95 Latency Ms"},"min_trials":{"type":"integer","title":"Min Trials"},"verdict":{"anyOf":[{"type":"string","enum":["candidate_better","baseline_better","no_difference"]},{"type":"null"}],"title":"Verdict"},"reason":{"type":"string","title":"Reason"},"accuracy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Accuracy"}},"type":"object","required":["eval_id","workspace_id","candidate_ref","baseline_ref","eval_set_ref","n","wins","losses","ties","win_rate","ci_lower","ci_upper","strength","flip_rate","p95_latency_ms","min_trials","verdict","reason"],"title":"Comparison","description":"GET /evals/{id}/compare: the eval's candidate against its baseline."},"ComparisonIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"eval_set_id":{"type":"string","format":"uuid","title":"Eval Set Id"},"candidate":{"$ref":"#/components/schemas/Variant-Input"}},"additionalProperties":false,"type":"object","required":["workspace_id","eval_set_id","candidate"],"title":"ComparisonIn","description":"An adapter version's task comparison to file: its candidate variant on the task's eval\nset."},"ComparisonLabelIn":{"properties":{"outcome":{"$ref":"#/components/schemas/Outcome"},"reason":{"anyOf":[{"$ref":"#/components/schemas/Reason"},{"type":"null"}]},"correction":{"anyOf":[{"type":"string","maxLength":32000,"minLength":1},{"type":"null"}],"title":"Correction"},"note":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["outcome"],"title":"ComparisonLabelIn"},"ComparisonView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"experiment_id":{"type":"string","format":"uuid","title":"Experiment Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"kind":{"type":"string","title":"Kind"},"question":{"type":"string","title":"Question"},"outcomes":{"items":{"type":"string"},"type":"array","title":"Outcomes"},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"request":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Request"},"a":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"A"},"b":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"B"},"mine":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mine"},"votes":{"type":"integer","title":"Votes"}},"type":"object","required":["id","experiment_id","workspace_id","kind","question","outcomes","reasons","created_at","request","a","b","mine","votes"],"title":"ComparisonView"},"CompositeIn":{"properties":{"sources":{"items":{"$ref":"#/components/schemas/CompositeSource"},"type":"array","maxItems":32,"minItems":2,"title":"Sources"},"weighting":{"anyOf":[{"type":"string","enum":["none","equal"]},{"type":"null"}],"title":"Weighting"},"solved_share":{"anyOf":[{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Solved Share"}},"additionalProperties":false,"type":"object","required":["sources"],"title":"CompositeIn","description":"The next version combines these sealed versions, in order: LeRobot v3 versions, or LLM\nversions of one objective (rlvr ones of one recipe). Give every source a `weight` (its\nprobability is its weight over their sum: the share of a job's draws that come from it) or\nnone, and then a `weighting`: `none` (the job samples the combined episodes or examples as it\nsamples any version) or `equal` (a weight of 1 each); without one, the weighting of the\nworkspace's pipeline defaults. RL task sets (rlvr) may instead state a `solved_share`: the\nshare of an RFT or GRPO run's task draws that come from the sources marked `solved` (tasks\nthe task's RL already solves, kept so it does not forget them), the rest from the others,\neach source of a group an equal part of its group's share; no weights or weighting then."},"CompositeSource":{"properties":{"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"version":{"type":"integer","exclusiveMinimum":0.0,"title":"Version"},"weight":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Weight"},"solved":{"type":"boolean","title":"Solved","default":false}},"additionalProperties":false,"type":"object","required":["dataset_id","version"],"title":"CompositeSource"},"ComputeBar":{"properties":{"granted":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Granted"},"used":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Used"},"balance":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Balance"},"overage":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Overage"},"per_day":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Per Day"},"exhausts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Exhausts At"},"runs_like_last":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Runs Like Last"},"jobs":{"items":{"$ref":"#/components/schemas/JobUsage"},"type":"array","title":"Jobs"},"datasets":{"items":{"$ref":"#/components/schemas/DatasetCompute"},"type":"array","title":"Datasets"}},"type":"object","required":["granted","used","balance","overage","per_day","exhausts_at","runs_like_last","jobs","datasets"],"title":"ComputeBar"},"ConnectGrant":{"properties":{"grant_id":{"type":"integer","title":"Grant Id"},"robot_id":{"type":"string","format":"uuid","title":"Robot Id"},"endpoint_id":{"type":"string","format":"uuid","title":"Endpoint Id"},"url":{"type":"string","title":"Url"},"auth_scheme":{"type":"string","title":"Auth Scheme","default":"Bearer"},"token":{"type":"string","title":"Token"},"token_expires_at":{"type":"string","format":"date-time","title":"Token Expires At"},"tls_pin_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tls Pin Sha256"},"max_size":{"type":"integer","title":"Max Size"},"required_task_suffix":{"type":"string","title":"Required Task Suffix"},"server":{"additionalProperties":true,"type":"object","title":"Server"}},"type":"object","required":["grant_id","robot_id","endpoint_id","url","token","token_expires_at","tls_pin_sha256","max_size","required_task_suffix","server"],"title":"ConnectGrant"},"ConnectIdentity":{"properties":{"action_space_id":{"type":"string","minLength":1,"title":"Action Space Id"},"action_dim":{"type":"integer","exclusiveMinimum":0.0,"title":"Action Dim"},"wire_contract_version":{"type":"string","minLength":1,"title":"Wire Contract Version"},"camera_shapes":{"additionalProperties":{"prefixItems":[{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0}],"type":"array","maxItems":3,"minItems":3},"propertyNames":{"minLength":1},"type":"object","title":"Camera Shapes"},"controller_api_version":{"type":"string","minLength":1,"title":"Controller Api Version"},"endpoint_type":{"$ref":"#/components/schemas/EndpointType"},"observation":{"anyOf":[{"$ref":"#/components/schemas/ObservationSchema"},{"type":"null"}]},"action_adapter":{"anyOf":[{"$ref":"#/components/schemas/ActionAdapter"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["action_space_id","action_dim","wire_contract_version","camera_shapes","controller_api_version","endpoint_type"],"title":"ConnectIdentity","description":"What the robot is, without a model: its action space, cameras, controller API and\nendpoint type. It is checked against the model its endpoint serves now."},"ConnectRequest":{"properties":{"endpoint_id":{"type":"string","format":"uuid","title":"Endpoint Id"},"handshake":{"anyOf":[{"$ref":"#/components/schemas/HandshakeRecord"},{"type":"null"}]},"identity":{"anyOf":[{"$ref":"#/components/schemas/ConnectIdentity"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["endpoint_id"],"title":"ConnectRequest","description":"Exactly one of `handshake` (the robot's full handshake record) and `identity`."},"Consent":{"properties":{"permission_ref":{"type":"string","title":"Permission Ref","default":"none"},"allowed_uses":{"items":{"type":"string"},"type":"array","title":"Allowed Uses","default":["eval_only"]},"cross_tenant_pool":{"type":"boolean","title":"Cross Tenant Pool","default":false},"os3_model_training":{"type":"boolean","title":"Os3 Model Training","default":false},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","title":"Consent"},"ConsentIn":{"properties":{"permission_ref":{"type":"string","maxLength":500,"minLength":1,"title":"Permission Ref"},"allowed_uses":{"items":{"$ref":"#/components/schemas/AllowedUse"},"type":"array","title":"Allowed Uses"},"cross_tenant_pool":{"type":"boolean","title":"Cross Tenant Pool"},"os3_model_training":{"type":"boolean","title":"Os3 Model Training"}},"additionalProperties":false,"type":"object","required":["permission_ref","allowed_uses","cross_tenant_pool","os3_model_training"],"title":"ConsentIn"},"ContentHit":{"properties":{"type":{"type":"string","enum":["trace","dataset_row","episode"],"title":"Type"},"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"at":{"type":"string","format":"date-time","title":"At"},"ref":{"type":"string","title":"Ref"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"item":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Item"},"match":{"type":"string","const":"content","title":"Match","default":"content"},"snippet":{"items":{"$ref":"#/components/schemas/Segment"},"type":"array","title":"Snippet"}},"type":"object","required":["type","id","name","detail","status","workspace_id","at","ref","version","item","snippet"],"title":"ContentHit"},"Contract":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"version":{"type":"integer","title":"Version"},"record":{"additionalProperties":true,"type":"object","title":"Record"},"sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sha256"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"frozen_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Frozen By"},"frozen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Frozen At"}},"type":"object","required":["id","task_id","version","record","sha256","created_by","created_at","updated_at","frozen_by","frozen_at"],"title":"Contract"},"ContractRealised":{"properties":{"contract":{"anyOf":[{"$ref":"#/components/schemas/ContractRef"},{"type":"null"}]},"realised":{"$ref":"#/components/schemas/Realised"}},"type":"object","required":["contract","realised"],"title":"ContractRealised"},"ContractRef":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["id","version"],"title":"ContractRef"},"ContractTerms":{"properties":{"input_schema":{"additionalProperties":true,"type":"object","title":"Input Schema"},"rules":{"items":{"oneOf":[{"$ref":"#/components/schemas/JsonRule"},{"$ref":"#/components/schemas/LabelRule"}],"discriminator":{"propertyName":"check","mapping":{"json":"#/components/schemas/JsonRule","label":"#/components/schemas/LabelRule"}}},"type":"array","title":"Rules","default":[]},"slices":{"items":{"$ref":"#/components/schemas/Slice"},"type":"array","title":"Slices","default":[]},"claim":{"type":"string","enum":["same_quality","economy","improvement"],"title":"Claim","default":"same_quality"},"tolerance":{"type":"number","maximum":0.4,"minimum":0.0,"title":"Tolerance","default":0.0},"latency_p95_ms":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Latency P95 Ms"},"data_uses":{"items":{"$ref":"#/components/schemas/AllowedUse"},"type":"array","minItems":1,"title":"Data Uses"},"outcomes":{"items":{"$ref":"#/components/schemas/OutcomeSpec"},"type":"array","title":"Outcomes","default":[]}},"additionalProperties":false,"type":"object","required":["input_schema","data_uses"],"title":"ContractTerms","description":"What the tenant declares for a version of a task's contract."},"ControllerRelease":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"string","title":"Version"},"git_commit":{"type":"string","title":"Git Commit"},"source":{"type":"string","title":"Source"},"controller_api_version":{"type":"string","title":"Controller Api Version"},"wire_contract_version":{"type":"string","title":"Wire Contract Version"},"embodiments":{"items":{"type":"string"},"type":"array","title":"Embodiments"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","version","git_commit","source","controller_api_version","wire_contract_version","embodiments","note","created_by","created_at"],"title":"ControllerRelease"},"ControllerSync":{"properties":{"commit":{"type":"string","pattern":"^[0-9a-f]{40}([0-9a-f]{24})?$","title":"Commit"},"failed":{"anyOf":[{"$ref":"#/components/schemas/Failure"},{"type":"null"}]},"claims":{"items":{"$ref":"#/components/schemas/ClaimAnswer"},"type":"array","maxItems":200,"title":"Claims"},"calibration_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Calibration Sha256"},"identity":{"anyOf":[{"$ref":"#/components/schemas/RuntimeIdentity"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["commit"],"title":"ControllerSync"},"CopilotApproval":{"properties":{"tool_call_id":{"type":"string","title":"Tool Call Id"},"kind":{"type":"string","enum":["memory","dataset_version","big_box","training_run"],"title":"Kind"},"scope":{"anyOf":[{"type":"string","enum":["user","workspace"]},{"type":"null"}],"title":"Scope"},"action":{"anyOf":[{"type":"string","enum":["write","delete"]},{"type":"null"}],"title":"Action"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments"}},"type":"object","required":["tool_call_id","kind","scope","action","arguments"],"title":"CopilotApproval"},"CopilotEvidence":{"properties":{"label":{"type":"string","title":"Label"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments"},"ids":{"items":{"type":"string"},"type":"array","title":"Ids"}},"type":"object","required":["label","arguments","ids"],"title":"CopilotEvidence"},"CopilotMemoryWrite":{"properties":{"scope":{"type":"string","enum":["user","workspace"],"title":"Scope"},"action":{"type":"string","enum":["write","delete"],"title":"Action"},"file":{"type":"string","title":"File"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"}},"type":"object","required":["scope","action","file","content"],"title":"CopilotMemoryWrite"},"CopilotModel":{"properties":{"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"default":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default"},"models":{"items":{"type":"string"},"type":"array","title":"Models"}},"type":"object","required":["model","default","models"],"title":"CopilotModel"},"CopilotPipelineProposal":{"properties":{"kind":{"type":"string","const":"pipeline_change","title":"Kind"},"id":{"type":"string","format":"uuid","title":"Id"},"sha256":{"type":"string","title":"Sha256"},"diff":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Diff"},"rationale":{"type":"string","title":"Rationale"}},"type":"object","required":["kind","id","sha256","diff","rationale"],"title":"CopilotPipelineProposal"},"CopilotProposal":{"properties":{"kind":{"type":"string","const":"training_run","title":"Kind"},"reason":{"type":"string","title":"Reason"},"input":{"additionalProperties":true,"type":"object","title":"Input"},"quote":{"additionalProperties":true,"type":"object","title":"Quote"},"proposal_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Proposal Id"},"plan_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Sha256"},"max_usd":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Max Usd"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["kind","reason","input","quote"],"title":"CopilotProposal"},"CopilotRun":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"conversation_id":{"type":"string","format":"uuid","title":"Conversation Id"},"question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question"},"background":{"type":"boolean","title":"Background"},"state":{"anyOf":[{"type":"string","enum":["running","failed"]},{"type":"string","enum":["answered","awaiting_approval","step_limit","switched_off","upstream_error","refused","cancelled","budget","interrupted"]}],"title":"State"},"model":{"type":"string","title":"Model"},"cost_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost Usd"},"reserved_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Reserved Usd"},"cancel_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cancel Requested At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"turn":{"anyOf":[{"$ref":"#/components/schemas/TurnOut"},{"type":"null"}]},"waiting_on_computer":{"type":"boolean","title":"Waiting On Computer"}},"type":"object","required":["id","conversation_id","question","background","state","model","cost_usd","reserved_usd","cancel_requested_at","error","created_at","finished_at","turn","waiting_on_computer"],"title":"CopilotRun"},"CopilotWeb":{"properties":{"step":{"type":"integer","title":"Step"},"tool":{"type":"string","enum":["web_search","web_fetch"],"title":"Tool"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Urls"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"retrieved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Retrieved At"}},"type":"object","required":["step","tool"],"title":"CopilotWeb"},"Correction":{"properties":{"outcome":{"type":"string","enum":["recovered","failed"],"title":"Outcome"},"note":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1},{"type":"null"}],"title":"Note"},"step_range":{"$ref":"#/components/schemas/StepRange"},"frame_range":{"anyOf":[{"$ref":"#/components/schemas/FrameRange"},{"type":"null"}]},"action_range":{"$ref":"#/components/schemas/ActionRange"}},"additionalProperties":false,"type":"object","required":["outcome","step_range","frame_range","action_range"],"title":"Correction"},"Counts":{"properties":{"discovered":{"type":"integer","title":"Discovered"},"runnable":{"type":"integer","title":"Runnable"},"qualified_eval":{"type":"integer","title":"Qualified Eval"},"qualified_training":{"type":"integer","title":"Qualified Training"}},"type":"object","required":["discovered","runnable","qualified_eval","qualified_training"],"title":"Counts","description":"Task families with a revision at each level, each family counted once."},"Criterion":{"properties":{"name":{"type":"string","title":"Name"},"value":{"title":"Value"},"bar":{"type":"string","title":"Bar"},"n":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N"},"verdict":{"type":"string","enum":["pass","fail","unmeasured","insufficient_trials"],"title":"Verdict"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["name","value","bar","n","verdict","reason"],"title":"Criterion"},"Curation":{"properties":{"op":{"type":"string","const":"curation","title":"Op"}},"additionalProperties":false,"type":"object","required":["op"],"title":"Curation"},"Current":{"properties":{"label":{"type":"string","title":"Label"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"type":"string","title":"Actor Id"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["label","actor_kind","actor_id","actor_name","created_at"],"title":"Current"},"CurrentDeployment":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"robot_id":{"type":"string","format":"uuid","title":"Robot Id"},"endpoint_id":{"type":"string","format":"uuid","title":"Endpoint Id"},"model_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Version Id"},"handshake":{"additionalProperties":true,"type":"object","title":"Handshake"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"active":{"type":"boolean","title":"Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"retired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retired At"},"desired_endpoint_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Desired Endpoint Id"}},"type":"object","required":["id","robot_id","endpoint_id","model_version_id","handshake","note","active","created_at","retired_at","desired_endpoint_id"],"title":"CurrentDeployment"},"CurrentTenant":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"membership_id":{"type":"string","format":"uuid","title":"Membership Id"},"domains":{"items":{"type":"string"},"type":"array","title":"Domains"},"logo_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Logo Updated At"}},"type":"object","required":["id","slug","name","role","membership_id","domains"],"title":"CurrentTenant"},"Cycle":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"state":{"type":"string","title":"State"},"trigger":{"type":"string","title":"Trigger"},"trigger_evidence":{"additionalProperties":true,"type":"object","title":"Trigger Evidence"},"rung":{"type":"integer","title":"Rung"},"eval_set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Eval Set Id"},"candidate_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Candidate Ref"},"desired_job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Desired Job Id"},"release_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Release Decision Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"evidence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Evidence"},"opened_by":{"type":"string","title":"Opened By"},"opened_at":{"type":"string","format":"date-time","title":"Opened At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"}},"type":"object","required":["id","task_id","workspace_id","state","trigger","trigger_evidence","rung","eval_set_id","candidate_ref","desired_job_id","release_decision_id","reason","evidence","opened_by","opened_at","updated_at","closed_at"],"title":"Cycle"},"CycleDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"state":{"type":"string","title":"State"},"trigger":{"type":"string","title":"Trigger"},"trigger_evidence":{"additionalProperties":true,"type":"object","title":"Trigger Evidence"},"rung":{"type":"integer","title":"Rung"},"eval_set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Eval Set Id"},"candidate_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Candidate Ref"},"desired_job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Desired Job Id"},"release_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Release Decision Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"evidence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Evidence"},"opened_by":{"type":"string","title":"Opened By"},"opened_at":{"type":"string","format":"date-time","title":"Opened At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"},"moves":{"items":{"$ref":"#/components/schemas/Move"},"type":"array","title":"Moves"}},"type":"object","required":["id","task_id","workspace_id","state","trigger","trigger_evidence","rung","eval_set_id","candidate_ref","desired_job_id","release_decision_id","reason","evidence","opened_by","opened_at","updated_at","closed_at","moves"],"title":"CycleDetail"},"CycleIn":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"}},"additionalProperties":false,"type":"object","required":["task_id"],"title":"CycleIn"},"Dashboard":{"properties":{"start":{"type":"string","format":"date","title":"Start"},"end":{"type":"string","format":"date","title":"End"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"total":{"$ref":"#/components/schemas/Group"},"models":{"items":{"$ref":"#/components/schemas/ModelGroup"},"type":"array","title":"Models"},"tasks":{"items":{"$ref":"#/components/schemas/TaskGroup"},"type":"array","title":"Tasks"},"days":{"items":{"$ref":"#/components/schemas/DayGroup"},"type":"array","title":"Days"},"evaluations":{"items":{"$ref":"#/components/schemas/ModelGroup"},"type":"array","title":"Evaluations"}},"type":"object","required":["start","end","workspace_id","total","models","tasks","days","evaluations"],"title":"Dashboard"},"DataPolicy":{"properties":{"body_days":{"type":"integer","title":"Body Days"}},"type":"object","required":["body_days"],"title":"DataPolicy"},"DataPolicyIn":{"properties":{"body_days":{"type":"integer","maximum":365.0,"minimum":7.0,"title":"Body Days"}},"additionalProperties":false,"type":"object","required":["body_days"],"title":"DataPolicyIn"},"Dataset":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"slug":{"type":"string","maxLength":63,"pattern":"^[a-z0-9][a-z0-9-]{1,62}$","title":"Slug"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"holdout":{"type":"boolean","title":"Holdout","default":false},"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["workspace_id","slug","name","id","tenant_id","created_at"],"title":"Dataset"},"DatasetCompute":{"properties":{"dataset_version_id":{"type":"string","format":"uuid","title":"Dataset Version Id"},"dataset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"h100_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Seconds"}},"type":"object","required":["dataset_version_id","dataset","name","version","h100_seconds"],"title":"DatasetCompute"},"DatasetGrant":{"properties":{"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"granted_by":{"type":"string","title":"Granted By"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["dataset_id","workspace_id","granted_by","created_at"],"title":"DatasetGrant"},"DatasetGrantIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"}},"additionalProperties":false,"type":"object","required":["workspace_id"],"title":"DatasetGrantIn"},"DatasetIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"slug":{"type":"string","maxLength":63,"pattern":"^[a-z0-9][a-z0-9-]{1,62}$","title":"Slug"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"holdout":{"type":"boolean","title":"Holdout","default":false}},"additionalProperties":false,"type":"object","required":["workspace_id","slug","name"],"title":"DatasetIn"},"DatasetStorage":{"properties":{"dataset_version_id":{"type":"string","format":"uuid","title":"Dataset Version Id"},"dataset":{"type":"string","title":"Dataset"},"version":{"type":"integer","title":"Version"},"gb":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gb"}},"type":"object","required":["dataset_version_id","dataset","version","gb"],"title":"DatasetStorage"},"DayGroup":{"properties":{"traces":{"type":"integer","title":"Traces"},"tokens_in":{"type":"integer","title":"Tokens In"},"tokens_out":{"type":"integer","title":"Tokens Out"},"cost_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost Usd"},"uncosted":{"type":"integer","title":"Uncosted"},"errors":{"type":"integer","title":"Errors"},"hosted":{"type":"integer","title":"Hosted"},"p50_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P50 Ms"},"p95_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P95 Ms"},"day":{"type":"string","format":"date","title":"Day"}},"type":"object","required":["traces","tokens_in","tokens_out","cost_usd","uncosted","errors","hosted","p50_ms","p95_ms","day"],"title":"DayGroup"},"Decision":{"properties":{"id":{"type":"integer","title":"Id"},"decision":{"type":"string","title":"Decision"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"type":"string","title":"Actor Id"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","decision","note","actor_kind","actor_id","actor_name","created_at"],"title":"Decision"},"DecisionIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"candidate_eval_id":{"type":"string","format":"uuid","title":"Candidate Eval Id"},"safety_eval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Safety Eval Id"},"general_eval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"General Eval Id"},"claim":{"anyOf":[{"type":"string","enum":["same_quality","economy","improvement"]},{"type":"null"}],"title":"Claim"},"tolerance":{"anyOf":[{"type":"number","maximum":0.4,"minimum":0.0},{"type":"null"}],"title":"Tolerance"},"keep":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.7},{"type":"null"}],"title":"Keep"},"max_p95_ratio":{"anyOf":[{"type":"number","maximum":1.5,"minimum":1.0},{"type":"null"}],"title":"Max P95 Ratio"},"task":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$"},{"type":"null"}],"title":"Task"}},"additionalProperties":false,"type":"object","required":["workspace_id","candidate_eval_id"],"title":"DecisionIn"},"Dedupe":{"properties":{"op":{"type":"string","const":"dedupe","title":"Op"},"key":{"type":"string","enum":["example","prompt"],"title":"Key","default":"example"}},"additionalProperties":false,"type":"object","required":["op"],"title":"Dedupe"},"Deletion":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"type":"string","title":"Kind"},"dataset_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Version Id"},"reason":{"type":"string","title":"Reason"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Id"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"state":{"type":"string","title":"State"},"objects":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Objects"},"bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes"},"manifest_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Ref"},"manifest_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Sha256"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"recoverable_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Recoverable Until"},"mirror_purged_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Mirror Purged At"},"lineage":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Lineage"}},"type":"object","required":["id","kind","dataset_version_id","reason","actor_kind","actor_id","requested_at","state","objects","bytes","manifest_ref","manifest_sha256","deleted_at","recoverable_until","mirror_purged_at","lineage"],"title":"Deletion"},"Deployment":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"robot_id":{"type":"string","format":"uuid","title":"Robot Id"},"endpoint_id":{"type":"string","format":"uuid","title":"Endpoint Id"},"model_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Version Id"},"handshake":{"additionalProperties":true,"type":"object","title":"Handshake"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"active":{"type":"boolean","title":"Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"retired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retired At"}},"type":"object","required":["id","robot_id","endpoint_id","model_version_id","handshake","note","active","created_at","retired_at"],"title":"Deployment"},"DeploymentIn":{"properties":{"endpoint_id":{"type":"string","format":"uuid","title":"Endpoint Id"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["endpoint_id"],"title":"DeploymentIn"},"DeploymentView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"robot_id":{"type":"string","format":"uuid","title":"Robot Id"},"endpoint_id":{"type":"string","format":"uuid","title":"Endpoint Id"},"model_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Version Id"},"handshake":{"additionalProperties":true,"type":"object","title":"Handshake"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"active":{"type":"boolean","title":"Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"retired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retired At"},"serving_endpoint_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Serving Endpoint Id"},"by":{"anyOf":[{"$ref":"#/components/schemas/Actor"},{"type":"null"}]}},"type":"object","required":["id","robot_id","endpoint_id","model_version_id","handshake","note","active","created_at","retired_at","serving_endpoint_id","by"],"title":"DeploymentView"},"Desired":{"properties":{"rollout_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Rollout Id"},"commit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"rollback":{"type":"boolean","title":"Rollback","default":false},"endpoint_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Endpoint Id"},"pending_endpoint_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Pending Endpoint Id"},"claims":{"items":{"$ref":"#/components/schemas/Claim"},"type":"array","title":"Claims"}},"type":"object","title":"Desired"},"DesiredJob":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"spec":{"anyOf":[{"$ref":"#/components/schemas/JobSpec"},{"$ref":"#/components/schemas/EvalSpec-Output"}],"title":"Spec"},"desired_state":{"type":"string","enum":["running","cancelled"],"title":"Desired State"},"status":{"type":"string","enum":["pending","active","settled"],"title":"Status"},"generation":{"type":"integer","title":"Generation"},"max_retries":{"type":"integer","title":"Max Retries"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Job Id"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"settled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Settled At"},"job_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job State"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"error_count":{"type":"integer","title":"Error Count","default":0},"next_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Attempt At"},"pipeline_defaults":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Pipeline Defaults"}},"type":"object","required":["id","tenant_id","workspace_id","spec","desired_state","status","generation","max_retries","job_id","idempotency_key","created_by","created_at","updated_at","settled_at"],"title":"DesiredJob"},"DesiredJobCreate":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"spec":{"anyOf":[{"$ref":"#/components/schemas/JobSpec"},{"$ref":"#/components/schemas/EvalSpec-Input"}],"title":"Spec"},"max_retries":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Max Retries","default":0}},"additionalProperties":false,"type":"object","required":["workspace_id","spec"],"title":"DesiredJobCreate"},"DesiredJobPatch":{"properties":{"desired_state":{"type":"string","const":"cancelled","title":"Desired State"}},"additionalProperties":false,"type":"object","required":["desired_state"],"title":"DesiredJobPatch"},"Diagnosis":{"properties":{"summary":{"type":"string","title":"Summary"},"hypotheses":{"items":{"$ref":"#/components/schemas/Hypothesis"},"type":"array","title":"Hypotheses"}},"type":"object","required":["summary","hypotheses"],"title":"Diagnosis"},"Dismiss":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","title":"Dismiss"},"Drop":{"properties":{"episode_index":{"type":"integer","minimum":0.0,"title":"Episode Index"},"reason":{"type":"string","maxLength":200,"minLength":1,"title":"Reason"},"filter":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},{"type":"null"}],"title":"Filter"}},"additionalProperties":false,"type":"object","required":["episode_index","reason"],"title":"Drop"},"DropRows":{"properties":{"op":{"type":"string","const":"drop","title":"Op"},"rows":{"items":{"type":"integer","minimum":0.0},"type":"array","maxItems":100000,"minItems":1,"title":"Rows"},"reason":{"type":"string","maxLength":200,"minLength":1,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["op","rows","reason"],"title":"DropRows"},"DropWhere":{"properties":{"op":{"type":"string","const":"drop_where","title":"Op"},"field":{"type":"string","enum":["task","operator","site","robot","success","prompt","target"],"title":"Field"},"values":{"items":{"type":"string","maxLength":500,"minLength":1},"type":"array","maxItems":1000,"minItems":1,"title":"Values"},"match":{"type":"string","enum":["equals","contains"],"title":"Match","default":"equals"}},"additionalProperties":false,"type":"object","required":["op","field","values"],"title":"DropWhere"},"EndUser":{"properties":{"user_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Ref"},"key_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Key Id"},"votes":{"type":"integer","title":"Votes"},"a_share":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"A Share"},"team_votes":{"type":"integer","title":"Team Votes"},"team_agreement":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Team Agreement"}},"type":"object","required":["user_ref","key_id","votes","a_share","team_votes","team_agreement"],"title":"EndUser"},"Endpoint":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","title":"Name"},"endpoint_type":{"$ref":"#/components/schemas/EndpointType"},"model_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Version Id"},"expect":{"anyOf":[{"$ref":"#/components/schemas/HandshakeExpectation"},{"$ref":"#/components/schemas/LlmExpectation"}],"title":"Expect"},"desired_replicas":{"type":"integer","title":"Desired Replicas"},"state":{"$ref":"#/components/schemas/EndpointState"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"tailscale_tag":{"type":"string","title":"Tailscale Tag"},"api_key_ref":{"type":"string","title":"Api Key Ref"},"tls_required":{"type":"boolean","title":"Tls Required"},"max_size":{"type":"integer","title":"Max Size"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"last_handshake":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Last Handshake"},"health":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Health"},"launch_request":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Launch Request"},"box":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Box"},"box_slot":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Box Slot"},"dedicated_pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dedicated Pool"},"dedicated_slot":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Dedicated Slot"},"pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pool"},"pool_slot":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pool Slot"},"desired_endpoint_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Desired Endpoint Id"},"desired_state":{"anyOf":[{"type":"string","enum":["running","stopped"]},{"type":"null"}],"title":"Desired State"},"desired_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Desired Name"},"last_good":{"type":"boolean","title":"Last Good","default":false},"gpu":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gpu"},"released_adapters":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Released Adapters"},"released_loaded":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Released Loaded"},"failure":{"anyOf":[{"$ref":"#/components/schemas/EndpointFailure"},{"type":"null"}]},"operator_note":{"anyOf":[{"$ref":"#/components/schemas/EndpointNote"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"state_at":{"type":"string","format":"date-time","title":"State At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","tenant_id","workspace_id","name","endpoint_type","model_version_id","expect","desired_replicas","state","reason","tailscale_tag","api_key_ref","tls_required","max_size","url","last_handshake","health","created_at","state_at","updated_at"],"title":"Endpoint"},"EndpointCreate":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,50}$","title":"Name"},"endpoint_type":{"$ref":"#/components/schemas/EndpointType","default":"vla_policy"},"model_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Version Id"},"desired_replicas":{"type":"integer","maximum":1.0,"minimum":0.0,"title":"Desired Replicas","default":1},"api_key_ref":{"type":"string","pattern":"^kv:tenant-endpoint-key(-[A-Za-z0-9-]{1,100})?$","title":"Api Key Ref"},"expect":{"anyOf":[{"$ref":"#/components/schemas/HandshakeExpectation"},{"$ref":"#/components/schemas/LlmExpectation"}],"title":"Expect"}},"additionalProperties":false,"type":"object","required":["workspace_id","name","api_key_ref","expect"],"title":"EndpointCreate"},"EndpointFailure":{"properties":{"reason":{"type":"string","title":"Reason"},"message":{"type":"string","title":"Message"},"detail":{"items":{"type":"string"},"type":"array","title":"Detail"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["reason","message","detail","at"],"title":"EndpointFailure","description":"Why a replica the driver refused stopped (driver._refuse): its `refused` event's reason\ncode, message and detail (what did not match, how long it waited; never a secret's value),\nand when. The API reads it for a draining or retired row whose reason is that code, so a\nreplica retired on request, scaled to zero or superseded has none."},"EndpointNote":{"properties":{"message":{"type":"string","title":"Message"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["message","at"],"title":"EndpointNote","description":"OS3's latest words to the endpoint's owner about its failure: what OS3 found and does\nabout it, and when."},"EndpointQuote":{"properties":{"gpu":{"type":"string","title":"Gpu"},"sku":{"type":"string","title":"Sku"},"factor":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Factor"},"h100_seconds_per_day":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Seconds Per Day"},"h100_hours_per_day":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Hours Per Day"},"usd_per_day":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Usd Per Day"},"h100_hour_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Hour Usd"},"remaining_h100_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Remaining H100 Seconds"},"included_days":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Included Days"},"gpu_share":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gpu Share","default":"1"},"token_rates":{"anyOf":[{"$ref":"#/components/schemas/Rates"},{"type":"null"}]}},"type":"object","required":["gpu","sku","factor","h100_seconds_per_day","h100_hours_per_day","usd_per_day","h100_hour_usd","remaining_h100_seconds","included_days"],"title":"EndpointQuote"},"EndpointState":{"type":"string","enum":["desired","provisioning","warming","healthy","draining","retired"],"title":"EndpointState"},"EndpointType":{"type":"string","enum":["vla_policy","planner_llm","harness","llm_vllm","llm_sglang"],"title":"EndpointType"},"EndpointUpstreamIn":{"properties":{"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,62}$","title":"Name"},"vendor":{"type":"string","const":"os3_endpoint","title":"Vendor"},"desired_endpoint_id":{"type":"string","format":"uuid","title":"Desired Endpoint Id"}},"additionalProperties":false,"type":"object","required":["name","vendor","desired_endpoint_id"],"title":"EndpointUpstreamIn","description":"An upstream that is one of your running OS3 LLM endpoints."},"Entry":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"catalog":{"type":"string","title":"Catalog"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"name":{"type":"string","title":"Name"},"family":{"type":"string","title":"Family"},"source":{"type":"string","title":"Source"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revisions":{"type":"integer","title":"Revisions"},"latest":{"anyOf":[{"$ref":"#/components/schemas/Latest"},{"type":"null"}]}},"type":"object","required":["id","catalog","workspace_id","name","family","source","source_url","created_at","revisions","latest"],"title":"Entry"},"EntryDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"catalog":{"type":"string","title":"Catalog"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"name":{"type":"string","title":"Name"},"family":{"type":"string","title":"Family"},"source":{"type":"string","title":"Source"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revisions":{"items":{"$ref":"#/components/schemas/RevisionOut"},"type":"array","title":"Revisions"}},"type":"object","required":["id","catalog","workspace_id","name","family","source","source_url","created_at","revisions"],"title":"EntryDetail"},"Envelope":{"properties":{"payer":{"type":"string","enum":["os3","customer"],"title":"Payer"},"budget_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Budget Usd"},"committed_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Committed Usd"},"used_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Used Usd"},"remaining_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Remaining Usd"}},"type":"object","required":["payer","budget_usd","committed_usd","used_usd","remaining_usd"],"title":"Envelope"},"Episode":{"properties":{"version":{"type":"integer","title":"Version"},"episode_index":{"type":"integer","title":"Episode Index"},"episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Episode Id"},"tasks":{"items":{"type":"string"},"type":"array","title":"Tasks"},"site":{"type":"string","title":"Site"},"robot":{"type":"string","title":"Robot"},"operator":{"type":"string","title":"Operator"},"length":{"type":"integer","title":"Length"},"interventions":{"type":"integer","title":"Interventions"},"quality_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quality Score"},"curation_drop":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Curation Drop"},"outcome":{"type":"string","title":"Outcome"},"failure_stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Stage"},"pages":{"type":"integer","title":"Pages"},"subtasks":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Subtasks"},"failure_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Failure Tags"}},"type":"object","required":["version","episode_index","episode_id","tasks","site","robot","operator","length","interventions","quality_score","curation_drop","outcome","failure_stage","pages","subtasks","failure_tags"],"title":"Episode"},"EpisodeDetail":{"properties":{"version":{"type":"integer","title":"Version"},"episode_index":{"type":"integer","title":"Episode Index"},"episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Episode Id"},"tasks":{"items":{"type":"string"},"type":"array","title":"Tasks"},"site":{"type":"string","title":"Site"},"robot":{"type":"string","title":"Robot"},"operator":{"type":"string","title":"Operator"},"length":{"type":"integer","title":"Length"},"interventions":{"type":"integer","title":"Interventions"},"quality_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quality Score"},"curation_drop":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Curation Drop"},"outcome":{"type":"string","title":"Outcome"},"failure_stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Stage"},"pages":{"type":"integer","title":"Pages"},"subtasks":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Subtasks"},"failure_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Failure Tags"},"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"attempt":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Attempt"},"page_list":{"items":{"$ref":"#/components/schemas/Page"},"type":"array","title":"Page List"},"annotations":{"items":{"$ref":"#/components/schemas/Annotation"},"type":"array","title":"Annotations"}},"type":"object","required":["version","episode_index","episode_id","tasks","site","robot","operator","length","interventions","quality_score","curation_drop","outcome","failure_stage","pages","subtasks","failure_tags","dataset_id","attempt","page_list","annotations"],"title":"EpisodeDetail"},"EpisodeLabelIn":{"properties":{"label":{"type":"string","maxLength":64,"minLength":1,"title":"Label"},"note":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["label"],"title":"EpisodeLabelIn"},"EpisodeLabelOut":{"properties":{"id":{"type":"integer","title":"Id"},"queue_id":{"type":"string","format":"uuid","title":"Queue Id"},"position":{"type":"integer","title":"Position"},"label":{"type":"string","title":"Label"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"type":"string","title":"Actor Id"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","queue_id","position","label","note","actor_kind","actor_id","actor_name","created_at"],"title":"EpisodeLabelOut"},"EpisodeQueue":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"name":{"type":"string","title":"Name"},"question":{"type":"string","title":"Question"},"choices":{"items":{"type":"string"},"type":"array","title":"Choices"},"filters":{"additionalProperties":true,"type":"object","title":"Filters"},"created_by_kind":{"type":"string","title":"Created By Kind"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"size":{"type":"integer","title":"Size"},"available":{"type":"integer","title":"Available"},"labelled":{"type":"integer","title":"Labelled"},"mine":{"type":"integer","title":"Mine"}},"type":"object","required":["id","workspace_id","dataset_id","name","question","choices","filters","created_by_kind","created_by","created_at","size","available","labelled","mine"],"title":"EpisodeQueue"},"EpisodeQueueDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"name":{"type":"string","title":"Name"},"question":{"type":"string","title":"Question"},"choices":{"items":{"type":"string"},"type":"array","title":"Choices"},"filters":{"additionalProperties":true,"type":"object","title":"Filters"},"created_by_kind":{"type":"string","title":"Created By Kind"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"size":{"type":"integer","title":"Size"},"available":{"type":"integer","title":"Available"},"labelled":{"type":"integer","title":"Labelled"},"mine":{"type":"integer","title":"Mine"},"items":{"items":{"$ref":"#/components/schemas/EpisodeQueueItem"},"type":"array","title":"Items"},"agreement":{"$ref":"#/components/schemas/Agreement"}},"type":"object","required":["id","workspace_id","dataset_id","name","question","choices","filters","created_by_kind","created_by","created_at","size","available","labelled","mine","items","agreement"],"title":"EpisodeQueueDetail"},"EpisodeQueueIn":{"properties":{"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"question":{"type":"string","maxLength":2000,"minLength":1,"title":"Question"},"choices":{"items":{"type":"string","maxLength":64,"minLength":1},"type":"array","maxItems":20,"minItems":2,"title":"Choices"},"size":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Size"},"filters":{"$ref":"#/components/schemas/Filters"}},"additionalProperties":false,"type":"object","required":["dataset_id","name","question","choices","size"],"title":"EpisodeQueueIn"},"EpisodeQueueItem":{"properties":{"position":{"type":"integer","title":"Position"},"version":{"type":"integer","title":"Version"},"episode_index":{"type":"integer","title":"Episode Index"},"episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Episode Id"},"tasks":{"items":{"type":"string"},"type":"array","title":"Tasks"},"available":{"type":"boolean","title":"Available"},"labels":{"items":{"$ref":"#/components/schemas/Current"},"type":"array","title":"Labels"},"mine":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mine"},"status":{"type":"string","title":"Status"},"gold":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gold"}},"type":"object","required":["position","version","episode_index","episode_id","tasks","available","labels","mine","status","gold"],"title":"EpisodeQueueItem"},"EstimateIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"base_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Model"},"model_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Version Id"}},"type":"object","required":["workspace_id"],"title":"EstimateIn"},"EstimateOut":{"properties":{"seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Seconds"},"gpu_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gpu Seconds"},"sku":{"type":"string","title":"Sku"},"h100_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Seconds"},"h100_seconds_max":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Seconds Max"},"remaining_h100_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Remaining H100 Seconds"}},"type":"object","required":["seconds","gpu_seconds","sku","h100_seconds","h100_seconds_max","remaining_h100_seconds"],"title":"EstimateOut"},"EstimatorReport":{"properties":{"format":{"type":"string","const":"os3_episode_review_proposals_v1","title":"Format"},"manifest_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Manifest Sha256"},"proposals":{"items":{"$ref":"#/components/schemas/Proposed"},"type":"array","maxItems":100000,"title":"Proposals"},"settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Settings"},"code_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Code Sha256"}},"type":"object","required":["format","manifest_sha256","proposals"],"title":"EstimatorReport","description":"An episode review proposals report (format os3_episode_review_proposals_v1), as OS3's episode\nestimators write it: its proposals are filed, while its per-episode scores and estimators stay\nin the report."},"EvalIngest":{"properties":{"eval_log":{"title":"Eval Log"},"candidate_ref":{"type":"string","maxLength":1024,"minLength":1,"title":"Candidate Ref"},"eval_set_ref":{"$ref":"#/components/schemas/EvalSetRef"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"baseline_ref":{"anyOf":[{"type":"string","maxLength":1024,"minLength":1},{"type":"null"}],"title":"Baseline Ref"},"robot_ref":{"anyOf":[{"type":"string","maxLength":1024,"minLength":1},{"type":"null"}],"title":"Robot Ref"},"rrd_ref":{"anyOf":[{"type":"string","maxLength":1024,"minLength":1},{"type":"null"}],"title":"Rrd Ref"},"mcap_refs":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10000},{"type":"null"}],"title":"Mcap Refs"},"artifact_refs":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10000},{"type":"null"}],"title":"Artifact Refs"},"hard_failure_key":{"type":"string","maxLength":200,"minLength":1,"title":"Hard Failure Key","default":"hard_failure"},"training_rights_attested":{"type":"boolean","title":"Training Rights Attested","default":false},"p95_latency_ms":{"anyOf":[{"type":"number","maximum":1000000000000.0,"minimum":0.0},{"type":"null"}],"title":"P95 Latency Ms"},"cost_per_1m_tokens":{"anyOf":[{"type":"number","maximum":1000000000000.0,"minimum":0.0},{"type":"null"}],"title":"Cost Per 1M Tokens"},"safety":{"anyOf":[{"$ref":"#/components/schemas/SafetyIn"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["eval_log","candidate_ref","eval_set_ref","workspace_id"],"title":"EvalIngest"},"EvalRunRow":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"eval_run_id":{"type":"string","title":"Eval Run Id"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verdict"},"log_ref":{"type":"string","title":"Log Ref"},"log_sha256":{"type":"string","title":"Log Sha256"},"record":{"additionalProperties":true,"type":"object","title":"Record"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","tenant_id","workspace_id","eval_run_id","verdict","log_ref","log_sha256","record","created_at"],"title":"EvalRunRow"},"EvalSetRef":{"properties":{"ref":{"type":"string","minLength":1,"title":"Ref"},"manifest_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Manifest Sha256"}},"additionalProperties":false,"type":"object","required":["ref"],"title":"EvalSetRef"},"EvalSetView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"holdout":{"type":"integer","title":"Holdout"},"dev":{"type":"integer","title":"Dev"},"manifest_sha256":{"type":"string","title":"Manifest Sha256"},"frozen_at":{"type":"string","format":"date-time","title":"Frozen At"},"validated":{"type":"boolean","title":"Validated"},"problems":{"items":{"type":"string"},"type":"array","title":"Problems"}},"type":"object","required":["id","version","holdout","dev","manifest_sha256","frozen_at","validated","problems"],"title":"EvalSetView"},"EvalSpec-Input":{"properties":{"kind":{"type":"string","const":"eval","title":"Kind","default":"eval"},"eval_set_id":{"type":"string","format":"uuid","title":"Eval Set Id"},"baseline":{"$ref":"#/components/schemas/Variant-Input"},"candidate":{"$ref":"#/components/schemas/Variant-Input"},"environment":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment"},"env_revision":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Env Revision"},"purpose":{"type":"string","enum":["release","development"],"title":"Purpose","default":"release"},"label_enums":{"type":"boolean","title":"Label Enums","default":true},"cases":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Cases"},"judge":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Judge"}},"additionalProperties":false,"type":"object","required":["eval_set_id","baseline","candidate"],"title":"EvalSpec","description":"An eval job: candidate vs baseline, judged pairwise on the held-out cases of an eval set.\nWith `environment` (an RL task dataset version of the workspace), each side instead runs the\nversion's held-out test tasks as episodes of its task environment, graded by the\nenvironment's hidden checks; the eval set then names the task the comparison is for. With\n`env_revision` (a bridged environment of the environment hub), likewise on its test split, a\npublic one a retention and benchmark probe. With `purpose` `development` (OS3's optimizer\nagent's own development check of a run, or an RL algorithm selection's comparison), on the\nset's dev cases instead of its held-out ones (with `environment`: the version's dev tasks),\nand never release evidence. Filed as a desired job (POST /desired-jobs)."},"EvalSpec-Output":{"properties":{"kind":{"type":"string","const":"eval","title":"Kind","default":"eval"},"eval_set_id":{"type":"string","format":"uuid","title":"Eval Set Id"},"baseline":{"$ref":"#/components/schemas/Variant-Output"},"candidate":{"$ref":"#/components/schemas/Variant-Output"},"environment":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment"},"env_revision":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Env Revision"},"purpose":{"type":"string","enum":["release","development"],"title":"Purpose","default":"release"},"label_enums":{"type":"boolean","title":"Label Enums","default":true},"cases":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Cases"},"judge":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Judge"}},"additionalProperties":false,"type":"object","required":["eval_set_id","baseline","candidate"],"title":"EvalSpec","description":"An eval job: candidate vs baseline, judged pairwise on the held-out cases of an eval set.\nWith `environment` (an RL task dataset version of the workspace), each side instead runs the\nversion's held-out test tasks as episodes of its task environment, graded by the\nenvironment's hidden checks; the eval set then names the task the comparison is for. With\n`env_revision` (a bridged environment of the environment hub), likewise on its test split, a\npublic one a retention and benchmark probe. With `purpose` `development` (OS3's optimizer\nagent's own development check of a run, or an RL algorithm selection's comparison), on the\nset's dev cases instead of its held-out ones (with `environment`: the version's dev tasks),\nand never release evidence. Filed as a desired job (POST /desired-jobs)."},"EvalSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"eval_run_id":{"type":"string","title":"Eval Run Id"},"eval_set_ref":{"type":"string","title":"Eval Set Ref"},"baseline_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Baseline Ref"},"n":{"type":"integer","title":"N"},"successes":{"type":"integer","title":"Successes"},"hard_failures":{"type":"integer","title":"Hard Failures"},"rate":{"type":"number","title":"Rate"},"ci_lower":{"type":"number","title":"Ci Lower"},"ci_upper":{"type":"number","title":"Ci Upper"},"ci_method":{"type":"string","title":"Ci Method"},"zero_failure_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Zero Failure Bound"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verdict"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"protocol_sha256":{"type":"string","title":"Protocol Sha256"}},"type":"object","required":["id","eval_run_id","eval_set_ref","baseline_ref","n","successes","hard_failures","rate","ci_lower","ci_upper","ci_method","zero_failure_bound","verdict","created_at","protocol_sha256"],"title":"EvalSummary"},"EvaluationKey":{"properties":{"usable":{"type":"boolean","title":"Usable"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"source":{"type":"string","enum":["provider","os3"],"title":"Source"},"ready":{"additionalProperties":{"type":"boolean"},"propertyNames":{"enum":["openai","anthropic","google"]},"type":"object","title":"Ready"},"upstreams":{"items":{"$ref":"#/components/schemas/UpstreamEvaluation"},"type":"array","title":"Upstreams"}},"type":"object","required":["usable","reason","source","ready","upstreams"],"title":"EvaluationKey","description":"Whether OS3 can use your organisation's evaluation key, and each vendor upstream's."},"EvaluationKeyIn":{"properties":{"trace_policy":{"type":"string","enum":["metadata","none","full"],"title":"Trace Policy","default":"metadata"}},"additionalProperties":false,"type":"object","title":"EvaluationKeyIn","description":"How the answers OS3's evaluations get with the new key are traced."},"Event":{"properties":{"at":{"type":"string","format":"date-time","title":"At"},"kind":{"type":"string","enum":["decision","canary","guard_look","stable_run","rollback","click","alias_move","override","superseded","reinstated"],"title":"Kind"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"},"release_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Release Decision Id"},"route_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Route Id"},"evidence":{"additionalProperties":true,"type":"object","title":"Evidence"},"detail":{"additionalProperties":true,"type":"object","title":"Detail"},"replay":{"anyOf":[{"$ref":"#/components/schemas/Replayed"},{"type":"null"}]}},"type":"object","required":["at","kind","workspace_id","actor","evidence","detail"],"title":"Event"},"Evidence":{"properties":{"desired_job_id":{"type":"string","format":"uuid","title":"Desired Job Id"},"task":{"type":"string","title":"Task"},"candidate_eval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Candidate Eval Id"},"decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Decision Id"},"safety_eval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Safety Eval Id"},"general_eval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"General Eval Id"},"outstanding":{"items":{"$ref":"#/components/schemas/EvidenceRun"},"type":"array","title":"Outstanding"}},"type":"object","required":["desired_job_id","task","candidate_eval_id","decision_id","safety_eval_id","general_eval_id","outstanding"],"title":"Evidence","description":"An adapter version's task comparison and the release controller's evidence on it."},"EvidenceRun":{"properties":{"kind":{"type":"string","enum":["hard_rule_suite","general_suite"],"title":"Kind"},"spec":{"anyOf":[{"$ref":"#/components/schemas/EvalSpec-Output"},{"type":"null"}]},"desired_job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Desired Job Id"},"blocked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["kind","spec","desired_job_id"],"title":"EvidenceRun","description":"A run a task comparison still waits for before it can be decided."},"Excluded":{"properties":{"comparison_id":{"type":"string","format":"uuid","title":"Comparison Id"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["comparison_id","reason"],"title":"Excluded"},"Experiment":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","title":"Name"},"question":{"type":"string","title":"Question"},"kind":{"type":"string","title":"Kind"},"upstream_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upstream Id"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"candidate_ref":{"type":"string","title":"Candidate Ref"},"percent":{"type":"integer","title":"Percent"},"user_daily_cap":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"User Daily Cap"},"evaluation_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Evaluation Percent"},"created_by_kind":{"type":"string","title":"Created By Kind"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"},"assigned":{"type":"integer","title":"Assigned"},"compared":{"type":"integer","title":"Compared"},"end_user_votes":{"type":"integer","title":"End User Votes"},"team_votes":{"type":"integer","title":"Team Votes"},"ai_votes":{"type":"integer","title":"Ai Votes"},"mine":{"type":"integer","title":"Mine"}},"type":"object","required":["id","workspace_id","name","question","kind","upstream_id","model","candidate_ref","percent","user_daily_cap","evaluation_percent","created_by_kind","created_by","created_at","disabled_at","assigned","compared","end_user_votes","team_votes","ai_votes","mine"],"title":"Experiment"},"ExperimentIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"question":{"type":"string","maxLength":2000,"minLength":1,"title":"Question"},"kind":{"type":"string","enum":["gateway","clips"],"title":"Kind","default":"gateway"},"upstream_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upstream Id"},"model":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Model"},"candidate_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Candidate Ref"},"percent":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Percent"},"user_daily_cap":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"User Daily Cap"},"evaluation_percent":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Evaluation Percent"}},"additionalProperties":false,"type":"object","required":["workspace_id","name","question","candidate_ref"],"title":"ExperimentIn"},"Export":{"properties":{"experiment":{"$ref":"#/components/schemas/Experiment"},"votes":{"items":{"$ref":"#/components/schemas/VoteExport"},"type":"array","title":"Votes"},"pairs":{"items":{"$ref":"#/components/schemas/Pair-Output"},"type":"array","title":"Pairs"},"evaluation":{"items":{"$ref":"#/components/schemas/Pair-Output"},"type":"array","title":"Evaluation"},"clip_pairs":{"items":{"$ref":"#/components/schemas/ClipPair"},"type":"array","title":"Clip Pairs"},"excluded":{"items":{"$ref":"#/components/schemas/Excluded"},"type":"array","title":"Excluded"},"quarantines":{"items":{"$ref":"#/components/schemas/Quarantine"},"type":"array","title":"Quarantines"},"end_users":{"items":{"$ref":"#/components/schemas/EndUser"},"type":"array","title":"End Users"}},"type":"object","required":["experiment","votes","pairs","evaluation","clip_pairs","excluded","quarantines","end_users"],"title":"Export"},"ExportItem":{"properties":{"position":{"type":"integer","title":"Position"},"trace_id":{"type":"string","title":"Trace Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"model_id":{"type":"string","title":"Model Id"},"status":{"type":"string","title":"Status"},"gold":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gold"},"labels":{"items":{"$ref":"#/components/schemas/Given"},"type":"array","title":"Labels"},"adjudications":{"items":{"$ref":"#/components/schemas/Given"},"type":"array","title":"Adjudications"}},"type":"object","required":["position","trace_id","created_at","model_id","status","gold","labels","adjudications"],"title":"ExportItem"},"Facets":{"properties":{"versions":{"items":{"type":"integer"},"type":"array","title":"Versions"},"tasks":{"items":{"type":"string"},"type":"array","title":"Tasks"},"sites":{"items":{"type":"string"},"type":"array","title":"Sites"},"robots":{"items":{"type":"string"},"type":"array","title":"Robots"},"operators":{"items":{"type":"string"},"type":"array","title":"Operators"},"outcomes":{"items":{"type":"string"},"type":"array","title":"Outcomes"},"failure_stages":{"items":{"type":"string"},"type":"array","title":"Failure Stages"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["versions","tasks","sites","robots","operators","outcomes","failure_stages","tags"],"title":"Facets"},"Failure":{"properties":{"rollout_id":{"type":"string","format":"uuid","title":"Rollout Id"},"commit":{"type":"string","pattern":"^[0-9a-f]{40}([0-9a-f]{24})?$","title":"Commit"},"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["rollout_id","commit","reason"],"title":"Failure"},"FailureTagsIn":{"properties":{"kind":{"type":"string","const":"failure_tags","title":"Kind"},"tags":{"items":{"type":"string","maxLength":64,"minLength":1},"type":"array","maxItems":20,"title":"Tags"},"note":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["kind","tags"],"title":"FailureTagsIn"},"Fanout":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"dataset":{"$ref":"#/components/schemas/FanoutDataset"},"runs":{"items":{"$ref":"#/components/schemas/FanoutRun"},"type":"array","title":"Runs"},"protocols":{"items":{"type":"string"},"type":"array","title":"Protocols"},"id":{"type":"string","format":"uuid","title":"Id"}},"type":"object","required":["workspace_id","dataset","runs","protocols","id"],"title":"Fanout"},"FanoutCreate":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"specs":{"items":{"$ref":"#/components/schemas/JobSpec"},"type":"array","maxItems":8,"minItems":2,"title":"Specs"},"allocation_mode":{"type":"string","enum":["separate","shared_lora"],"title":"Allocation Mode","default":"separate"}},"additionalProperties":false,"type":"object","required":["workspace_id","specs"],"title":"FanoutCreate","description":"POST /jobs/fanouts: 2 to 8 jobs trained together on one dataset version so their models can\nbe compared, e.g. one per base. `allocation_mode`: `separate` (the default) gives each job its\nown GPUs; `shared_lora` trains LoRA SFT jobs of one base model as sessions on one set of GPUs\nholding that base once, each job with its own adapter, data, logs, receipt and budget\n(`lora.budget_h100_hours`, required), billed its share of the GPU time: the shares add up to\nthe allocation's GPU time exactly."},"FanoutDataset":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"name":{"type":"string","title":"Name"},"version":{"type":"integer","title":"Version"},"manifest_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Sha256"}},"type":"object","required":["id","dataset_id","name","version","manifest_sha256"],"title":"FanoutDataset"},"FanoutRobot":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"FanoutRobot"},"FanoutRun":{"properties":{"job":{"$ref":"#/components/schemas/Job"},"dataset":{"$ref":"#/components/schemas/FanoutDataset"},"model_version":{"anyOf":[{"$ref":"#/components/schemas/ModelVersion"},{"type":"null"}]},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases"},"evals":{"items":{"$ref":"#/components/schemas/EvalSummary"},"type":"array","title":"Evals"},"release_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Release Decision Id"},"endpoints":{"items":{"$ref":"#/components/schemas/FanoutServing"},"type":"array","title":"Endpoints"}},"type":"object","required":["job","dataset","model_version","aliases","evals","release_decision_id","endpoints"],"title":"FanoutRun"},"FanoutServing":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"state":{"type":"string","title":"State"},"robots":{"items":{"$ref":"#/components/schemas/FanoutRobot"},"type":"array","title":"Robots"}},"type":"object","required":["id","name","state","robots"],"title":"FanoutServing"},"FileDecl":{"properties":{"path":{"type":"string","maxLength":512,"title":"Path"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Sha256"},"bytes":{"type":"integer","minimum":0.0,"title":"Bytes"}},"additionalProperties":false,"type":"object","required":["path","sha256","bytes"],"title":"FileDecl"},"Filed":{"properties":{"comparison_id":{"type":"string","format":"uuid","title":"Comparison Id"}},"type":"object","required":["comparison_id"],"title":"Filed"},"Filters":{"properties":{"version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Version"},"task":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Task"},"site":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Site"},"robot":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Robot"},"operator":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Operator"},"outcome":{"anyOf":[{"type":"string","enum":["success","failure","incomplete","unknown"]},{"type":"null"}],"title":"Outcome"},"failure_stage":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Failure Stage"},"min_interventions":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Min Interventions"},"quality_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quality Min"},"quality_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quality Max"},"tag":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Tag"},"episode_id":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Episode Id"}},"additionalProperties":false,"type":"object","title":"Filters"},"Finding":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"text":{"type":"string","title":"Text"},"confidence":{"type":"string","enum":["low","medium","high"],"title":"Confidence"},"sources":{"items":{"type":"string"},"type":"array","title":"Sources"},"by":{"type":"string","enum":["agent","person","os3"],"title":"By"},"private":{"type":"boolean","title":"Private"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","version","task_id","text","confidence","sources","by","private","created_at"],"title":"Finding"},"FindingEdit":{"properties":{"text":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Text"},"confidence":{"anyOf":[{"type":"string","enum":["low","medium","high"]},{"type":"null"}],"title":"Confidence"},"share":{"anyOf":[{"type":"boolean","const":true},{"type":"null"}],"title":"Share"}},"additionalProperties":false,"type":"object","title":"FindingEdit"},"Format":{"properties":{"op":{"type":"string","const":"format","title":"Op"}},"additionalProperties":false,"type":"object","required":["op"],"title":"Format"},"FrameRange":{"properties":{"first":{"type":"integer","minimum":0.0,"title":"First"},"last":{"type":"integer","minimum":0.0,"title":"Last"}},"additionalProperties":false,"type":"object","required":["first","last"],"title":"FrameRange"},"Fresh":{"properties":{"since":{"type":"string","format":"date-time","title":"Since"},"n":{"type":"integer","title":"N"},"sample":{"type":"integer","title":"Sample"},"win_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Win Rate"},"reference_n":{"type":"integer","title":"Reference N"},"reference":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reference"},"max_drop":{"type":"number","title":"Max Drop","default":0.03}},"type":"object","required":["since","n","sample","win_rate","reference_n","reference"],"title":"Fresh"},"GatewayKey":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"upstream_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upstream Id"},"os3_models":{"type":"boolean","title":"Os3 Models"},"routing_mode":{"type":"string","enum":["legacy","auto"],"title":"Routing Mode"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"trace_policy":{"type":"string","title":"Trace Policy"},"purpose":{"type":"string","title":"Purpose"},"vault_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vault Secret"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["id","name","prefix","workspace_id","upstream_id","os3_models","routing_mode","scopes","trace_policy","purpose","vault_secret","created_at","expires_at"],"title":"GatewayKey"},"GatewayKeyCreated":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"upstream_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upstream Id"},"os3_models":{"type":"boolean","title":"Os3 Models"},"routing_mode":{"type":"string","enum":["legacy","auto"],"title":"Routing Mode"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"trace_policy":{"type":"string","title":"Trace Policy"},"purpose":{"type":"string","title":"Purpose"},"vault_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vault Secret"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"url_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url Key"}},"type":"object","required":["id","name","prefix","workspace_id","upstream_id","os3_models","routing_mode","scopes","trace_policy","purpose","vault_secret","created_at","expires_at","key","url_key"],"title":"GatewayKeyCreated"},"GatewayKeyIn":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"upstream_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upstream Id"},"purpose":{"type":"string","enum":["traffic","judge"],"title":"Purpose","default":"traffic"},"trace_policy":{"anyOf":[{"type":"string","enum":["full","metadata","none"]},{"type":"null"}],"title":"Trace Policy"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"evaluation_key":{"type":"boolean","title":"Evaluation Key","default":true}},"additionalProperties":false,"type":"object","required":["name"],"title":"GatewayKeyIn"},"GeneralSuite":{"properties":{"eval_set_id":{"type":"string","format":"uuid","title":"Eval Set Id"},"manifest_sha256":{"type":"string","title":"Manifest Sha256"}},"type":"object","required":["eval_set_id","manifest_sha256"],"title":"GeneralSuite"},"Given":{"properties":{"label":{"type":"string","title":"Label"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"type":"string","title":"Actor Id"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"id":{"type":"integer","title":"Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seconds"},"current":{"type":"boolean","title":"Current"}},"type":"object","required":["label","actor_kind","actor_id","actor_name","created_at","id","note","request_id","seconds","current"],"title":"Given"},"Grader":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"grader_id":{"type":"string","format":"uuid","title":"Grader Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","title":"Name"},"revision_sha256":{"type":"string","title":"Revision Sha256"},"document":{"additionalProperties":true,"type":"object","title":"Document"},"remote":{"items":{"type":"string"},"type":"array","title":"Remote"},"credential":{"type":"boolean","title":"Credential"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","grader_id","workspace_id","name","revision_sha256","document","remote","credential","created_by","created_at"],"title":"Grader"},"GraderIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","maxLength":64,"title":"Name"},"definition":{"additionalProperties":true,"type":"object","title":"Definition"},"input_schema":{"additionalProperties":true,"type":"object","title":"Input Schema"},"required_checks":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Required Checks"},"limits":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Limits"},"determinism":{"anyOf":[{"type":"string","enum":["deterministic","nondeterministic"]},{"type":"null"}],"title":"Determinism"},"judge_task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Judge Task Id"},"credential":{"anyOf":[{"type":"string","format":"password","writeOnly":true},{"type":"null"}],"title":"Credential"}},"additionalProperties":false,"type":"object","required":["workspace_id","name","definition","input_schema"],"title":"GraderIn"},"GradingSetting":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"additionalProperties":false,"type":"object","required":["enabled"],"title":"GradingSetting"},"Grant":{"properties":{"id":{"type":"integer","title":"Id"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"meter":{"type":"string","title":"Meter"},"quantity":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Quantity"},"unit":{"type":"string","title":"Unit"},"kind":{"type":"string","title":"Kind"},"source":{"type":"string","title":"Source"},"granted_at":{"type":"string","format":"date-time","title":"Granted At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"correction_of":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Correction Of"}},"type":"object","required":["id","workspace_id","meter","quantity","unit","kind","source","granted_at","expires_at","correction_of"],"title":"Grant"},"GrantsPage":{"properties":{"grants":{"items":{"$ref":"#/components/schemas/Grant"},"type":"array","title":"Grants"},"balances":{"additionalProperties":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},"type":"object","title":"Balances"},"remaining":{"additionalProperties":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},"type":"object","title":"Remaining"},"overage":{"additionalProperties":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},"type":"object","title":"Overage"}},"type":"object","required":["grants","balances","remaining","overage"],"title":"GrantsPage"},"Group":{"properties":{"traces":{"type":"integer","title":"Traces"},"tokens_in":{"type":"integer","title":"Tokens In"},"tokens_out":{"type":"integer","title":"Tokens Out"},"cost_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost Usd"},"uncosted":{"type":"integer","title":"Uncosted"},"errors":{"type":"integer","title":"Errors"},"hosted":{"type":"integer","title":"Hosted"},"p50_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P50 Ms"},"p95_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P95 Ms"}},"type":"object","required":["traces","tokens_in","tokens_out","cost_usd","uncosted","errors","hosted","p50_ms","p95_ms"],"title":"Group"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HandshakeExpectation":{"properties":{"checkpoint_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Checkpoint Sha256"},"action_space_id":{"type":"string","minLength":1,"title":"Action Space Id","default":"os3.openarm_wire.v1"},"action_dim":{"type":"integer","exclusiveMinimum":0.0,"title":"Action Dim","default":16},"wire_contract_version":{"type":"string","minLength":1,"title":"Wire Contract Version","default":"os3.openarm_wire.v1"},"camera_shapes":{"additionalProperties":{"prefixItems":[{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0}],"type":"array","maxItems":3,"minItems":3},"propertyNames":{"minLength":1},"type":"object","title":"Camera Shapes"},"controller_api_version":{"type":"string","minLength":1,"title":"Controller Api Version"},"endpoint_type":{"$ref":"#/components/schemas/EndpointType","default":"vla_policy"},"observation":{"anyOf":[{"$ref":"#/components/schemas/ObservationSchema"},{"type":"null"}]},"action_adapter":{"anyOf":[{"$ref":"#/components/schemas/ActionAdapter"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["checkpoint_sha256","camera_shapes","controller_api_version"],"title":"HandshakeExpectation","description":"What the connecting controller requires. Defaults are the wire contract (fail closed)."},"HandshakeRecord":{"properties":{"checkpoint_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Checkpoint Sha256"},"action_space_id":{"type":"string","minLength":1,"title":"Action Space Id"},"action_dim":{"type":"integer","exclusiveMinimum":0.0,"title":"Action Dim"},"wire_contract_version":{"type":"string","minLength":1,"title":"Wire Contract Version"},"camera_shapes":{"additionalProperties":{"prefixItems":[{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0}],"type":"array","maxItems":3,"minItems":3},"propertyNames":{"minLength":1},"type":"object","title":"Camera Shapes"},"controller_api_version":{"type":"string","minLength":1,"title":"Controller Api Version"},"endpoint_type":{"$ref":"#/components/schemas/EndpointType"},"observation":{"anyOf":[{"$ref":"#/components/schemas/ObservationSchema"},{"type":"null"}]},"action_adapter":{"anyOf":[{"$ref":"#/components/schemas/ActionAdapter"},{"type":"null"}]},"model_ref":{"type":"string","minLength":1,"title":"Model Ref"},"min_controller":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min Controller"}},"additionalProperties":false,"type":"object","required":["checkpoint_sha256","action_space_id","action_dim","wire_contract_version","camera_shapes","controller_api_version","endpoint_type","model_ref"],"title":"HandshakeRecord","description":"What a policy server declares when a controller connects; every field is required."},"Heartbeat":{"properties":{"specs":{"anyOf":[{"$ref":"#/components/schemas/RobotSpecs"},{"type":"null"}]},"endpoint_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Endpoint Id"},"latency_ms":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Latency Ms"},"voice":{"anyOf":[{"$ref":"#/components/schemas/VoiceHealth"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"Heartbeat","description":"POST /robots/heartbeat body. `specs` omitted keeps the last reported ones; `endpoint_id`,\n`latency_ms` and `voice` each omitted keep the last reported one too (null clears it)."},"History":{"properties":{"events":{"items":{"$ref":"#/components/schemas/Event"},"type":"array","title":"Events"},"replayed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Replayed"},"mismatches":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mismatches"}},"type":"object","required":["events"],"title":"History"},"Hit":{"properties":{"type":{"type":"string","enum":["run","model_version","dataset","dataset_version","trace","endpoint","robot","policy_rollout","controller_rollout","experiment","comparison","fanout","task","release_decision","gateway_key","api_key","workspace","member","invite","intervention","audit","base_model","invoice"],"title":"Type"},"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"},"ref":{"type":"string","title":"Ref"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"match":{"type":"string","enum":["id","name"],"title":"Match"},"target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target"},"period":{"anyOf":[{"prefixItems":[{"type":"string","format":"date-time"},{"type":"string","format":"date-time"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Period"},"amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount"}},"type":"object","required":["type","id","name","detail","status","workspace_id","at","ref","version","match"],"title":"Hit"},"Hypothesis":{"properties":{"cause":{"type":"string","title":"Cause"},"confidence":{"type":"number","title":"Confidence"},"evidence":{"items":{"type":"string"},"type":"array","title":"Evidence"},"action":{"type":"string","title":"Action"},"detail":{"type":"string","title":"Detail"},"needs_confirmation":{"type":"boolean","title":"Needs Confirmation"}},"type":"object","required":["cause","confidence","evidence","action","detail","needs_confirmation"],"title":"Hypothesis","description":"One cause OS3's operator agent found: its evidence quoted from the job's own events and\nfields, the action it suggests, and whether that action costs money (a person decides; the\nagent changes nothing)."},"Import":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"source_id":{"type":"string","format":"uuid","title":"Source Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"version":{"type":"integer","title":"Version"},"dataset_version_id":{"type":"string","format":"uuid","title":"Dataset Version Id"},"prefix":{"type":"string","title":"Prefix"},"state":{"type":"string","title":"State"},"objects":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Objects"},"bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes"},"copied_objects":{"type":"integer","title":"Copied Objects"},"copied_bytes":{"type":"integer","title":"Copied Bytes"},"skipped":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Skipped"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["id","tenant_id","source_id","workspace_id","dataset_id","version","dataset_version_id","prefix","state","objects","bytes","copied_objects","copied_bytes","skipped","error","created_by","created_at","updated_at","finished_at"],"title":"Import","description":"An import: `listing` (queued), `copying` (`copied_objects` of `objects`), `sealed`, or\n`failed` (`error`) and `cancelled`, which can be resumed. `skipped`: the objects under the\nprefix that are not dataset files, never imported."},"ImportIn":{"properties":{"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"prefix":{"type":"string","maxLength":1024,"title":"Prefix","default":""},"provenance":{"anyOf":[{"$ref":"#/components/schemas/Provenance"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["dataset_id"],"title":"ImportIn"},"ImportResult":{"properties":{"import_id":{"type":"string","format":"uuid","title":"Import Id"},"lines":{"type":"integer","title":"Lines","default":0},"imported":{"type":"integer","title":"Imported","default":0},"duplicates":{"type":"integer","title":"Duplicates","default":0},"refused":{"type":"integer","title":"Refused","default":0},"errors":{"items":{"$ref":"#/components/schemas/LineError"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["import_id"],"title":"ImportResult"},"Imported":{"properties":{"grader":{"$ref":"#/components/schemas/Grader"},"check":{"$ref":"#/components/schemas/RlDatasetCheck"},"differences":{"items":{"type":"string"},"type":"array","title":"Differences"}},"type":"object","required":["grader","check","differences"],"title":"Imported"},"Incident":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"impact":{"type":"string","enum":["minor","major","critical"],"title":"Impact"},"components":{"items":{"type":"string"},"type":"array","title":"Components"},"scope":{"type":"string","enum":["all","account"],"title":"Scope"},"status":{"type":"string","enum":["investigating","identified","monitoring","resolved"],"title":"Status"},"opened_at":{"type":"string","format":"date-time","title":"Opened At"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"},"updates":{"items":{"$ref":"#/components/schemas/IncidentUpdate"},"type":"array","title":"Updates"}},"type":"object","required":["id","title","impact","components","scope","status","opened_at","resolved_at","updates"],"title":"Incident"},"IncidentUpdate":{"properties":{"status":{"type":"string","enum":["investigating","identified","monitoring","resolved"],"title":"Status"},"message":{"type":"string","title":"Message"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["status","message","at"],"title":"IncidentUpdate"},"Independent":{"properties":{"source":{"anyOf":[{"type":"string","enum":["gold_labels","episodes"]},{"type":"null"}],"title":"Source"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"bar":{"type":"string","title":"Bar"},"verdict":{"type":"string","enum":["pass","fail","unmeasured","insufficient_trials"],"title":"Verdict"}},"type":"object","required":["source","result","bar","verdict"],"title":"Independent"},"InfraCredit":{"properties":{"id":{"type":"integer","title":"Id"},"h100_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Seconds"},"explanation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Explanation"}},"type":"object","required":["id","h100_seconds","explanation"],"title":"InfraCredit","description":"An infrastructure-failure credit line of the job: the H100-seconds it gave back (negative)\nand the failures it explains."},"IntentOut":{"properties":{"intent_id":{"type":"integer","title":"Intent Id"},"client_secret":{"type":"string","title":"Client Secret"},"amount_usd":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount Usd"}},"type":"object","required":["intent_id","client_secret"],"title":"IntentOut"},"Intervention":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"robot_id":{"type":"string","format":"uuid","title":"Robot Id"},"event_id":{"type":"string","title":"Event Id"},"trigger":{"additionalProperties":true,"type":"object","title":"Trigger"},"episode_id":{"type":"string","title":"Episode Id"},"reason_code":{"type":"string","title":"Reason Code"},"priority":{"type":"number","title":"Priority"},"status":{"type":"string","enum":["open","claimed","resolved","dismissed"],"title":"Status"},"operator_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operator Id"},"operator_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operator Name"},"claimed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Claimed At"},"modality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Modality"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"events":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Events"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"},"robot_claim":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Robot Claim"}},"type":"object","required":["id","tenant_id","workspace_id","robot_id","event_id","trigger","episode_id","reason_code","priority","status","operator_id","claimed_at","modality","outcome","note","events","created_at","resolved_at","robot_claim"],"title":"Intervention"},"Invite":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","title":"Email"},"role":{"type":"string","title":"Role"},"invited_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Invited By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["id","email","role","invited_by","created_at","expires_at"],"title":"Invite"},"InviteIn":{"properties":{"email":{"type":"string","maxLength":320,"pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$","title":"Email"},"role":{"type":"string","enum":["owner","admin","member"],"title":"Role","default":"member"}},"additionalProperties":false,"type":"object","required":["email"],"title":"InviteIn"},"Invoice":{"properties":{"id":{"type":"string","title":"Id"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"},"status":{"type":"string","title":"Status"},"created":{"type":"string","format":"date-time","title":"Created"},"period_start":{"type":"string","format":"date-time","title":"Period Start"},"period_end":{"type":"string","format":"date-time","title":"Period End"},"currency":{"type":"string","title":"Currency"},"total":{"type":"integer","title":"Total"},"amount_due":{"type":"integer","title":"Amount Due"},"amount_paid":{"type":"integer","title":"Amount Paid"},"amount_remaining":{"type":"integer","title":"Amount Remaining"},"hosted_invoice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hosted Invoice Url"},"invoice_pdf":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Pdf"}},"type":"object","required":["id","number","status","created","period_start","period_end","currency","total","amount_due","amount_paid","amount_remaining","hosted_invoice_url","invoice_pdf"],"title":"Invoice"},"Item":{"properties":{"position":{"type":"integer","title":"Position"},"trace_id":{"type":"string","title":"Trace Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"model_id":{"type":"string","title":"Model Id"},"labels":{"items":{"$ref":"#/components/schemas/Current"},"type":"array","title":"Labels"},"mine":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mine"},"status":{"type":"string","title":"Status"},"gold":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gold"},"adjudication":{"anyOf":[{"$ref":"#/components/schemas/Current"},{"type":"null"}]}},"type":"object","required":["position","trace_id","created_at","model_id","labels","mine","status","gold","adjudication"],"title":"Item"},"Job":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"number":{"type":"integer","title":"Number"},"dataset_version_id":{"type":"string","format":"uuid","title":"Dataset Version Id"},"image_digest":{"type":"string","title":"Image Digest"},"spec":{"$ref":"#/components/schemas/JobSpec"},"state":{"$ref":"#/components/schemas/JobState"},"agent_step":{"type":"integer","title":"Agent Step"},"attempt":{"type":"integer","title":"Attempt"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"cancel_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cancel Requested At"},"cancel_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Reason"},"queued_at":{"type":"string","format":"date-time","title":"Queued At"},"provisioning_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Provisioning At"},"running_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Running At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"pull_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pull S"},"start_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Start S"},"compile_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Compile S"},"progress":{"anyOf":[{"$ref":"#/components/schemas/Progress"},{"type":"null"}]},"stage":{"anyOf":[{"$ref":"#/components/schemas/Stage"},{"type":"null"}],"description":"What it last said it was doing before its trainer reported a step (a relaunch says it again); null once a progress mark follows, and for an image that names no stage."},"runs_on":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Runs On"},"waiting":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waiting"},"env_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Env Revision Id","description":"An RL training job's environment revision: the exact revision of the environment catalog it trains in, qualified for training when the job was made."},"base_access":{"items":{"$ref":"#/components/schemas/BaseAccess"},"type":"array","title":"Base Access","default":[]},"fanout_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Fanout Id"},"allocation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Allocation Id","description":"The shared allocation the job trains in (a shared_lora fan-out): the job that holds its GPUs, whose logs show the allocation's own lines; null for a job with GPUs of its own."},"pipeline_defaults":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Pipeline Defaults"}},"type":"object","required":["id","tenant_id","workspace_id","number","dataset_version_id","image_digest","spec","state","agent_step","attempt","error","idempotency_key","cancel_requested_at","queued_at","provisioning_at","running_at","finished_at","pull_s","start_s","compile_s"],"title":"Job"},"JobCreate":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"spec":{"$ref":"#/components/schemas/JobSpec"}},"additionalProperties":false,"type":"object","required":["workspace_id","spec"],"title":"JobCreate"},"JobDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"number":{"type":"integer","title":"Number"},"dataset_version_id":{"type":"string","format":"uuid","title":"Dataset Version Id"},"image_digest":{"type":"string","title":"Image Digest"},"spec":{"$ref":"#/components/schemas/JobSpec"},"state":{"$ref":"#/components/schemas/JobState"},"agent_step":{"type":"integer","title":"Agent Step"},"attempt":{"type":"integer","title":"Attempt"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"cancel_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cancel Requested At"},"cancel_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Reason"},"queued_at":{"type":"string","format":"date-time","title":"Queued At"},"provisioning_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Provisioning At"},"running_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Running At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"pull_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pull S"},"start_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Start S"},"compile_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Compile S"},"progress":{"anyOf":[{"$ref":"#/components/schemas/Progress"},{"type":"null"}]},"stage":{"anyOf":[{"$ref":"#/components/schemas/Stage"},{"type":"null"}],"description":"What it last said it was doing before its trainer reported a step (a relaunch says it again); null once a progress mark follows, and for an image that names no stage."},"runs_on":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Runs On"},"waiting":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waiting"},"env_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Env Revision Id","description":"An RL training job's environment revision: the exact revision of the environment catalog it trains in, qualified for training when the job was made."},"base_access":{"items":{"$ref":"#/components/schemas/BaseAccess"},"type":"array","title":"Base Access","default":[]},"fanout_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Fanout Id"},"allocation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Allocation Id","description":"The shared allocation the job trains in (a shared_lora fan-out): the job that holds its GPUs, whose logs show the allocation's own lines; null for a job with GPUs of its own."},"pipeline_defaults":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Pipeline Defaults"},"gpu_hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gpu Hours","description":"GPU-hours used so far: run time times GPU count"},"cost_usd_so_far":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost Usd So Far","description":"The GPU time used so far at the list price per normalised H100-hour, as the estimate's cost_usd"},"usage_status":{"type":"string","enum":["unreported","provisional","recorded"],"title":"Usage Status","description":"Whether usage is not yet reported, a running estimate, or recorded in the usage ledger. Recorded list-price usage is not the customer's final charge."},"start_estimate":{"anyOf":[{"$ref":"#/components/schemas/StartEstimate"},{"type":"null"}],"description":"While it waits for GPUs: when it is estimated to start. Null otherwise."}},"type":"object","required":["id","tenant_id","workspace_id","number","dataset_version_id","image_digest","spec","state","agent_step","attempt","error","idempotency_key","cancel_requested_at","queued_at","provisioning_at","running_at","finished_at","pull_s","start_s","compile_s","gpu_hours","cost_usd_so_far","usage_status"],"title":"JobDetail","description":"A job with the GPU time it has used so far and what that costs at the list price: its\nbilled usage once it has ended, else what would be billed if it ended now."},"JobDiagnosis":{"properties":{"reason":{"type":"string","enum":["failed","stalled","undeployable"],"title":"Reason"},"state":{"type":"string","enum":["queued","running","done","failed","killed","agent"],"title":"State"},"diagnosis":{"anyOf":[{"$ref":"#/components/schemas/Diagnosis"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["reason","state","diagnosis","created_at","finished_at"],"title":"JobDiagnosis","description":"OS3's operator agent's diagnosis of a job that failed, or stalled (nothing changed for an\nhour), or succeeded with a model OS3's policy server cannot serve (undeployable): `queued` or\n`running` while it diagnoses, `done` with its diagnosis, or `failed` / `killed` without one;\n`agent` when OS3's job agent works on the job instead (GET /jobs/{id}/agent)."},"JobSpec":{"properties":{"dataset_version_id":{"type":"string","format":"uuid","title":"Dataset Version Id"},"base":{"type":"string","enum":["pi05","smolvla","groot","molmoact2","openvla_oft","xr1","lora_trl","halo_rft","halo_rlvr"],"title":"Base","default":"pi05"},"steps":{"type":"integer","maximum":1000000.0,"exclusiveMinimum":0.0,"title":"Steps"},"batch":{"type":"integer","maximum":1024.0,"exclusiveMinimum":0.0,"title":"Batch","default":32},"use_rabc":{"type":"boolean","title":"Use Rabc","default":false},"intervention_weighting":{"anyOf":[{"type":"string","enum":["sirius","iwr"]},{"type":"null"}],"title":"Intervention Weighting"},"recap":{"type":"boolean","title":"Recap","default":false},"rl2":{"anyOf":[{"type":"string","enum":["practice","adaptation"]},{"type":"null"}],"title":"Rl2"},"use_depth":{"type":"boolean","title":"Use Depth","default":false},"gpu":{"type":"string","pattern":"^[A-Z][A-Z0-9-]*:[1-8]$","title":"Gpu","default":"H100:1"},"providers":{"items":{"type":"string","enum":["lambda","azure","aws","os3"]},"type":"array","minItems":1,"title":"Providers"},"lora":{"anyOf":[{"$ref":"#/components/schemas/LoraSpec"},{"type":"null"}]},"rlvr":{"anyOf":[{"$ref":"#/components/schemas/RlvrSpec"},{"type":"null"}]},"rft":{"anyOf":[{"$ref":"#/components/schemas/RftSpec"},{"type":"null"}]},"max_runtime_s":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Runtime S"},"pilot":{"anyOf":[{"$ref":"#/components/schemas/PilotArm"},{"type":"null"}]},"resume_from":{"anyOf":[{"$ref":"#/components/schemas/ResumeFrom"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["dataset_version_id","steps"],"title":"JobSpec","description":"What to train. The image comes from the server-side catalog by `base`, never from the\ntenant; dataset details (id, manifest sha256, SAS) are resolved at launch."},"JobState":{"type":"string","enum":["queued","provisioning","running","evaluating","succeeded","failed","cancelled"],"title":"JobState"},"JobUsage":{"properties":{"job_id":{"type":"string","format":"uuid","title":"Job Id"},"number":{"type":"integer","title":"Number"},"dataset_version_id":{"type":"string","format":"uuid","title":"Dataset Version Id"},"base":{"type":"string","title":"Base"},"gpu":{"type":"string","title":"Gpu"},"steps":{"type":"integer","title":"Steps"},"state":{"type":"string","title":"State"},"h100_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Seconds"},"ended_at":{"type":"string","format":"date-time","title":"Ended At"},"infra_credits":{"items":{"$ref":"#/components/schemas/InfraCredit"},"type":"array","title":"Infra Credits"}},"type":"object","required":["job_id","number","dataset_version_id","base","gpu","steps","state","h100_seconds","ended_at","infra_credits"],"title":"JobUsage"},"JsonRule":{"properties":{"name":{"type":"string","pattern":"^[a-z0-9_]{1,64}$","title":"Name"},"check":{"type":"string","const":"json","title":"Check"}},"additionalProperties":false,"type":"object","required":["name","check"],"title":"JsonRule"},"JudgeCriterion":{"properties":{"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Name"},"description":{"type":"string","maxLength":1000,"minLength":1,"title":"Description"}},"additionalProperties":false,"type":"object","required":["name","description"],"title":"JudgeCriterion","description":"One pass/fail criterion the judge checks the answer against: a short name and what\nmeeting it means."},"JudgeReward":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"criteria":{"items":{"$ref":"#/components/schemas/JudgeCriterion"},"type":"array","maxItems":8,"minItems":1,"title":"Criteria"},"context":{"anyOf":[{"type":"string","maxLength":4000,"minLength":1},{"type":"null"}],"title":"Context"},"model":{"type":"string","maxLength":100,"minLength":1,"title":"Model","default":"gpt-6.1-sol"},"weight":{"type":"number","maximum":0.5,"exclusiveMinimum":0.0,"title":"Weight","default":0.5}},"additionalProperties":false,"type":"object","required":["task_id","criteria"],"title":"JudgeReward","description":"A rubric judge's reward beside the task's own checks. The judge model marks each criterion\nmet or not on the final answer; the share met, times `weight` (at most half the checks'\nweight), adds to the reward. The judge must first be calibrated as automatable for `task_id`\nwith these criteria, context and model: at least 200 labelled answers per criterion, agreement\nat least 0.80 at its 95% lower bound, at most 10% of verdicts flipped on a second read. An\nanswer the judge cannot score leaves its group of rollouts out of the update rather than\nscoring 0. A run whose rewards the judge gives more and more to answers the checks fail is\nstopped, and keeps no adapter. An adapter trained this way is released on the task's exact\nchecks or on a judge from another vendor."},"KeyRoute":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"trace_policy":{"type":"string","title":"Trace Policy"},"route_pin":{"anyOf":[{"type":"string","const":"incumbent"},{"type":"null"}],"title":"Route Pin"},"os3_models":{"type":"boolean","title":"Os3 Models"},"routed":{"type":"boolean","title":"Routed"},"tasks":{"anyOf":[{"items":{"$ref":"#/components/schemas/KeyTaskRoute"},"type":"array"},{"type":"null"}],"title":"Tasks"}},"type":"object","required":["id","name","prefix","workspace_id","trace_policy","route_pin","os3_models","routed","tasks"],"title":"KeyRoute"},"KeyTaskRoute":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"task_label":{"type":"string","title":"Task Label"},"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"state":{"type":"string","title":"State"},"configured_percent":{"type":"integer","title":"Configured Percent"},"eligible_percent":{"type":"integer","title":"Eligible Percent"},"without_headers_percent":{"type":"integer","title":"Without Headers Percent"},"available":{"type":"boolean","title":"Available"},"requests":{"type":"integer","title":"Requests"},"candidate_requests":{"type":"integer","title":"Candidate Requests"},"subjects":{"type":"integer","title":"Subjects"},"without_headers":{"type":"integer","title":"Without Headers"}},"type":"object","required":["task_id","task_label","decision_id","state","configured_percent","eligible_percent","without_headers_percent","available","requests","candidate_requests","subjects","without_headers"],"title":"KeyTaskRoute"},"LabelExport":{"properties":{"queue":{"$ref":"#/components/schemas/Queue"},"agreement":{"$ref":"#/components/schemas/Agreement"},"labelling":{"$ref":"#/components/schemas/Labelling"},"items":{"items":{"$ref":"#/components/schemas/ExportItem"},"type":"array","title":"Items"}},"type":"object","required":["queue","agreement","labelling","items"],"title":"LabelExport"},"LabelIn":{"properties":{"label":{"type":"string","maxLength":64,"minLength":1,"title":"Label"},"note":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Note"},"queue_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Queue Id"}},"additionalProperties":false,"type":"object","required":["label"],"title":"LabelIn"},"LabelOut":{"properties":{"id":{"type":"integer","title":"Id"},"trace_id":{"type":"string","title":"Trace Id"},"queue_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Queue Id"},"label":{"type":"string","title":"Label"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"type":"string","title":"Actor Id"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","trace_id","queue_id","label","note","actor_kind","actor_id","actor_name","created_at"],"title":"LabelOut"},"LabelRule":{"properties":{"name":{"type":"string","pattern":"^[a-z0-9_]{1,64}$","title":"Name"},"check":{"type":"string","const":"label","title":"Check"},"labels":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Labels"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field"}},"additionalProperties":false,"type":"object","required":["name","check","labels"],"title":"LabelRule"},"LabelRung":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"dataset_version_id":{"type":"string","format":"uuid","title":"Dataset Version Id"},"state":{"type":"string","title":"State"},"eval_set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Eval Set Id"},"incumbent_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incumbent Model"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"tau":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tau"},"fallback":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fallback"},"decision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Decision"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"requested_by":{"type":"string","title":"Requested By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"},"accepted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepted At"},"accepted_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accepted By"},"withdrawn_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Withdrawn At"},"withdrawn_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Withdrawn By"}},"type":"object","required":["id","workspace_id","task_id","dataset_version_id","state","eval_set_id","incumbent_model","field","ref","tau","fallback","decision","error","requested_by","created_at","decided_at","accepted_at","accepted_by","withdrawn_at","withdrawn_by"],"title":"LabelRung"},"LabelRungIn":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"dataset_version_id":{"type":"string","format":"uuid","title":"Dataset Version Id"}},"additionalProperties":false,"type":"object","required":["task_id","dataset_version_id"],"title":"LabelRungIn"},"Labelling":{"properties":{"labels":{"type":"integer","title":"Labels"},"timed":{"type":"integer","title":"Timed"},"seconds":{"type":"number","title":"Seconds"},"median_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Seconds"}},"type":"object","required":["labels","timed","seconds","median_seconds"],"title":"Labelling"},"Latest":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"revision_sha256":{"type":"string","title":"Revision Sha256"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"state":{"type":"string","title":"State"},"level":{"type":"string","title":"Level"},"failed":{"items":{"type":"string"},"type":"array","title":"Failed"},"licence":{"additionalProperties":true,"type":"object","title":"Licence"},"splits":{"additionalProperties":true,"type":"object","title":"Splits"},"profiles":{"items":{"type":"string"},"type":"array","title":"Profiles"},"supported_profiles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Supported Profiles"}},"type":"object","required":["id","revision_sha256","created_at","state","level","failed","licence","splits","profiles","supported_profiles"],"title":"Latest"},"Ledger":{"properties":{"month":{"type":"string","title":"Month"},"agent":{"$ref":"#/components/schemas/Envelope"},"automatic":{"$ref":"#/components/schemas/Envelope"},"runs":{"$ref":"#/components/schemas/Envelope"}},"type":"object","required":["month","agent","automatic","runs"],"title":"Ledger"},"Length":{"properties":{"op":{"type":"string","const":"length","title":"Op"},"min":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Max"}},"additionalProperties":false,"type":"object","required":["op"],"title":"Length"},"Licence":{"properties":{"terms":{"type":"string","title":"Terms"}},"type":"object","required":["terms"],"title":"Licence","description":"The terms that govern the base's weights, the files its checkpoints load and its code."},"Limits":{"properties":{"valid_days":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Valid Days"},"eval_sets":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Eval Sets"},"optimisation_traces":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Optimisation Traces"},"training_bases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Training Bases"},"training_max_params_b":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Training Max Params B"},"gateway_rpm":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Gateway Rpm"},"gateway_tpm":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Gateway Tpm"}},"additionalProperties":false,"type":"object","title":"Limits"},"Line":{"properties":{"meter":{"type":"string","title":"Meter"},"unit_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Usd"},"quantity":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Quantity"},"amount_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Usd"},"posted":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Posted"}},"type":"object","required":["meter","unit_usd","quantity","amount_usd","posted"],"title":"Line"},"LineError":{"properties":{"line":{"type":"integer","title":"Line"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["line","reason"],"title":"LineError"},"ListedGatewayKey":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"upstream_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upstream Id"},"os3_models":{"type":"boolean","title":"Os3 Models"},"routing_mode":{"type":"string","enum":["legacy","auto"],"title":"Routing Mode"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"trace_policy":{"type":"string","title":"Trace Policy"},"purpose":{"type":"string","title":"Purpose"},"vault_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vault Secret"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"effective_upstream_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Effective Upstream Id"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"has_url_key":{"type":"boolean","title":"Has Url Key"}},"type":"object","required":["id","name","prefix","workspace_id","upstream_id","os3_models","routing_mode","scopes","trace_policy","purpose","vault_secret","created_at","expires_at","effective_upstream_id","last_used_at","has_url_key"],"title":"ListedGatewayKey"},"LlmCharges":{"properties":{"lines":{"items":{"$ref":"#/components/schemas/LlmLine"},"type":"array","title":"Lines"},"accrued_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Accrued Usd"},"projected_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Projected Usd"},"provisional":{"type":"boolean","title":"Provisional"}},"type":"object","required":["lines","accrued_usd","projected_usd","provisional"],"title":"LlmCharges"},"LlmExpectation":{"properties":{"endpoint_type":{"type":"string","enum":["llm_vllm","llm_sglang"],"title":"Endpoint Type"},"base":{"type":"string","pattern":"^[a-z0-9][a-z0-9.-]{0,62}$","title":"Base"},"repo":{"type":"string","minLength":1,"title":"Repo"},"revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Revision"},"digest":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Digest"},"serving":{"anyOf":[{"$ref":"#/components/schemas/ServingConfig"},{"type":"null"}]},"reasoning":{"type":"boolean","title":"Reasoning","default":false}},"additionalProperties":false,"type":"object","required":["endpoint_type","base","repo","revision"],"title":"LlmExpectation","description":"An LLM endpoint's `expect`: a base of the lora_trl catalog (the bases adapters are trained\non), with that catalog entry's repo and revision, so no endpoint names other weights. `serving`\n(llm_vllm only): the engine's serving configuration, the one an eval job's variant on its\nupstream names; left out of the JSON when unset. Its MTP drafter is the base's own.\n`reasoning` (llm_vllm only, a base with a reasoning mode): the engine serves the base with\nthinking on and returns the thinking apart from the answer; unset, final answers only."},"LlmLine":{"properties":{"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"},"meter":{"type":"string","title":"Meter"},"key_owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Owner"},"vendor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor"},"model_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Id"},"quantity":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Quantity"},"unit":{"type":"string","title":"Unit"},"amount_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Amount Usd"},"projected_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Projected Usd"},"provisional":{"type":"boolean","title":"Provisional"},"token_meter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Meter"},"per_1m_tokens_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Per 1M Tokens Usd"},"gpu_subtracted":{"type":"boolean","title":"Gpu Subtracted"}},"type":"object","required":["tier","meter","key_owner","vendor","model_id","quantity","unit","amount_usd","projected_usd","provisional","token_meter","per_1m_tokens_usd","gpu_subtracted"],"title":"LlmLine"},"LoraSpec":{"properties":{"objective":{"type":"string","enum":["sft","dpo"],"title":"Objective"},"base_model":{"type":"string","title":"Base Model"},"rank":{"type":"integer","maximum":256.0,"minimum":1.0,"title":"Rank","default":16},"alpha":{"type":"integer","maximum":1024.0,"minimum":1.0,"title":"Alpha","default":32},"learning_rate":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Learning Rate","default":0.0002},"trainer":{"anyOf":[{"type":"string","enum":["halo","trl"]},{"type":"null"}],"title":"Trainer"},"mode":{"anyOf":[{"type":"string","enum":["final","reasoning"]},{"type":"null"}],"title":"Mode"},"parent":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent"},"seed":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Seed"},"budget_h100_hours":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Budget H100 Hours"},"trainable":{"type":"string","enum":["lora","full"],"title":"Trainable","default":"lora"},"bundle":{"anyOf":[{"type":"integer","maximum":4.0,"minimum":1.0},{"type":"null"}],"title":"Bundle"},"context_parallel":{"type":"boolean","title":"Context Parallel","default":false}},"additionalProperties":false,"type":"object","required":["objective","base_model"],"title":"LoraSpec","description":"A LoRA run (base `lora_trl`); `JobSpec.steps` / `batch` are its max_steps / batch. `trainer`\npicks what trains it, Halo or TRL; unset, OS3's default trainer for the base. `base_model` is a\nkey of the base-model catalog (GET /jobs/bases), checked when the job is submitted. `parent`,\nwhen set, is an adapter version of the workspace, trained on the same base at the same\nrevision with a verified receipt, that the run continues: its LoRA starts from that adapter\n(same rank and alpha), and a DPO run (TRL) takes it as its reference model. `seed`: the\ntraining seed (data order, adapter initialisation, dropout), so runs that differ only in it\ncan be compared; unset, 0. `budget_h100_hours`: a session's budget in a shared allocation\n(required there, refused elsewhere): the most H100-hours its share of the allocation may\nreach; the session is stopped at it. `trainable`: `lora` (the default), or `full` to train\nthe model's own weights, which no base offers yet. `bundle`: an SFT job with Halo trains up\nto that many consecutive steps of one agent run as one row, each step's answer trained as its\nown row would be; unset, one step a row. `context_parallel`: an SFT job with Halo splits each\nrow longer than 32,768 tokens over 2, 4 or 8 GPUs, as many as its longest row needs; unset,\noff."},"MandateIn":{"properties":{"objective":{"type":"string","enum":["cheaper_same_quality","improve_quality"],"title":"Objective","default":"cheaper_same_quality"},"h100_hours":{"anyOf":[{"type":"number","maximum":9999999.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,3}0*$"}],"title":"H100 Hours","default":"0"},"api_usd":{"anyOf":[{"type":"number","maximum":9999999999.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"}],"title":"Api Usd","default":"0"},"sandbox_cpu_hours":{"anyOf":[{"type":"number","maximum":9999999.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,3}0*$"}],"title":"Sandbox Cpu Hours","default":"0"},"sandbox_gib_hours":{"anyOf":[{"type":"number","maximum":9999999.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,3}0*$"}],"title":"Sandbox Gib Hours","default":"0"},"max_configurations":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Max Configurations","default":6},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"}},"additionalProperties":false,"type":"object","required":["workspace_id"],"title":"MandateIn"},"Me":{"properties":{"auth_uid":{"type":"string","format":"uuid","title":"Auth Uid"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"tenants":{"items":{"$ref":"#/components/schemas/MeTenant"},"type":"array","title":"Tenants"},"current_tenant":{"anyOf":[{"$ref":"#/components/schemas/CurrentTenant"},{"type":"null"}]},"workspaces":{"items":{"$ref":"#/components/schemas/MeWorkspace"},"type":"array","title":"Workspaces"},"sso_required":{"anyOf":[{"$ref":"#/components/schemas/SsoRequiredBy"},{"type":"null"}]}},"type":"object","required":["auth_uid","email","display_name","tenants","current_tenant","workspaces"],"title":"Me"},"MePatch":{"properties":{"display_name":{"type":"string","maxLength":200,"minLength":1,"title":"Display Name"}},"additionalProperties":false,"type":"object","required":["display_name"],"title":"MePatch"},"MeTenant":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"kinds":{"items":{"type":"string"},"type":"array","title":"Kinds"}},"type":"object","required":["id","slug","name","role","kinds"],"title":"MeTenant"},"MeWorkspace":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","enum":["robots","ai_app"],"title":"Kind"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"},"logo_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Logo Updated At"}},"type":"object","required":["id","tenant_id","slug","name","kind","created_at","tier"],"title":"MeWorkspace"},"Member":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"role":{"type":"string","title":"Role"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"signed_in":{"type":"boolean","title":"Signed In"}},"type":"object","required":["id","email","display_name","role","created_at","signed_in"],"title":"Member"},"Memory":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"scope":{"type":"string","enum":["user","workspace"],"title":"Scope"},"file":{"type":"string","title":"File"},"content":{"type":"string","title":"Content"},"version":{"type":"integer","title":"Version"},"updated_by":{"type":"string","title":"Updated By"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","scope","file","content","version","updated_by","run_id","model","created_at","updated_at"],"title":"Memory"},"Message":{"properties":{"role":{"type":"string","enum":["system","user","assistant"],"title":"Role"},"content":{"type":"string","minLength":1,"title":"Content"}},"additionalProperties":false,"type":"object","required":["role","content"],"title":"Message"},"MeterBudget":{"properties":{"allowance":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Allowance"},"granted":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Granted"},"os3_cap":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Os3 Cap"},"committed":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Committed"},"outstanding":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Outstanding"},"left":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Left"}},"type":"object","required":["allowance","granted","os3_cap","committed","outstanding","left"],"title":"MeterBudget","description":"One meter of a task's budget: `allowance` (the mandate's), `granted` (what you approved on\ntop), `os3_cap` (the most OS3 pays for during the preview, whatever the allowance and grants\nsay: PLACEHOLDER), `committed` (what finished work used), `outstanding` (what running or\nreserved work holds: at least what it reserved) and `left`."},"MetricPoint":{"properties":{"step":{"type":"integer","title":"Step"},"loss":{"type":"number","title":"Loss"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["step","loss","at"],"title":"MetricPoint"},"MissingCost":{"properties":{"kind":{"type":"string","enum":["no_price","no_usage","plan_price","outside_route","route_baseline","shadow","gpu_price","statement"],"title":"Kind"},"why":{"type":"string","title":"Why"},"lines":{"items":{"type":"string"},"type":"array","title":"Lines"},"vendor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"key_owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Owner"},"upstream_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upstream Id"},"upstream_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upstream Name"},"price_editable":{"type":"boolean","title":"Price Editable","default":false},"evaluation":{"type":"boolean","title":"Evaluation","default":false},"requests":{"type":"integer","title":"Requests","default":0}},"type":"object","required":["kind","why","lines"],"title":"MissingCost","description":"One input the realised savings' unknown amounts wait for: a price, a usage report or a\nroute, with the requests it concerns."},"Modality":{"properties":{"kind":{"type":"string","enum":["rgb_camera","depth_camera","vector"],"title":"Kind"},"dtype":{"type":"string","enum":["uint8","uint16","float32"],"title":"Dtype"},"shape":{"items":{"type":"integer","exclusiveMinimum":0.0},"type":"array","title":"Shape"},"names":{"anyOf":[{"items":{"type":"string","maxLength":128,"minLength":1},"type":"array"},{"type":"null"}],"title":"Names"},"units":{"anyOf":[{"items":{"type":"string","maxLength":128,"minLength":1},"type":"array"},{"type":"null"}],"title":"Units"}},"additionalProperties":false,"type":"object","required":["kind","dtype","shape"],"title":"Modality"},"ModelChoice":{"properties":{"base_model":{"type":"string","title":"Base Model"},"name":{"type":"string","title":"Name"},"params":{"type":"integer","title":"Params"},"method":{"type":"string","const":"lora","title":"Method"},"default":{"type":"boolean","title":"Default"},"training":{"anyOf":[{"$ref":"#/components/schemas/Quote"},{"type":"null"}]},"refusal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refusal"},"serving":{"$ref":"#/components/schemas/EndpointQuote"}},"type":"object","required":["base_model","name","params","method","default","training","refusal","serving"],"title":"ModelChoice","description":"A model size and training method the task's specialist can train on, with what it would\ncost: its training on the task's requests (null without requests, or ``refusal``: why it\ncannot train now) and its serving."},"ModelGroup":{"properties":{"traces":{"type":"integer","title":"Traces"},"tokens_in":{"type":"integer","title":"Tokens In"},"tokens_out":{"type":"integer","title":"Tokens Out"},"cost_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost Usd"},"uncosted":{"type":"integer","title":"Uncosted"},"errors":{"type":"integer","title":"Errors"},"hosted":{"type":"integer","title":"Hosted"},"p50_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P50 Ms"},"p95_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P95 Ms"},"vendor":{"type":"string","title":"Vendor"},"model_id":{"type":"string","title":"Model Id"}},"type":"object","required":["traces","tokens_in","tokens_out","cost_usd","uncosted","errors","hosted","p50_ms","p95_ms","vendor","model_id"],"title":"ModelGroup"},"ModelIn":{"properties":{"model":{"type":"string","maxLength":200,"minLength":1,"title":"Model"}},"additionalProperties":false,"type":"object","required":["model"],"title":"ModelIn"},"ModelVersion":{"properties":{"kind":{"type":"string","const":"policy","title":"Kind","default":"policy"},"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Job Id"},"checkpoint_sha256":{"type":"string","title":"Checkpoint Sha256"},"checkpoint_ref":{"type":"string","title":"Checkpoint Ref"},"dataset_manifest_sha256":{"type":"string","title":"Dataset Manifest Sha256"},"base":{"type":"string","title":"Base"},"base_revision":{"type":"string","title":"Base Revision"},"recipe_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipe Sha256"},"image_digest":{"type":"string","title":"Image Digest"},"min_controller":{"type":"string","title":"Min Controller"},"receipt_ref":{"type":"string","title":"Receipt Ref"},"receipt_sha256":{"type":"string","title":"Receipt Sha256"},"receipt_verified":{"type":"boolean","title":"Receipt Verified"},"use_rabc":{"type":"boolean","title":"Use Rabc"},"required_task_suffix":{"type":"string","title":"Required Task Suffix"},"config_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Config Sha256"},"dev_strata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Dev Strata"},"calibration_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calibration Sha256"},"holdout_flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Holdout Flags"},"serving_refusal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serving Refusal"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","tenant_id","workspace_id","job_id","checkpoint_sha256","checkpoint_ref","dataset_manifest_sha256","base","base_revision","recipe_sha256","image_digest","min_controller","receipt_ref","receipt_sha256","receipt_verified","use_rabc","required_task_suffix","config_sha256","created_at"],"title":"ModelVersion"},"Move":{"properties":{"state":{"type":"string","title":"State"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Id"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["state","actor_kind","actor_id","request_id","at"],"title":"Move"},"MtpSpeculation":{"properties":{"method":{"type":"string","const":"mtp","title":"Method"},"model":{"type":"string","minLength":1,"title":"Model"},"revision":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Revision"},"num_speculative_tokens":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Num Speculative Tokens"}},"additionalProperties":false,"type":"object","required":["method","model","revision","num_speculative_tokens"],"title":"MtpSpeculation","description":"vLLM's MTP speculative decoding (`--speculative-config`) with the base's own drafter (Gemma\n4's assistant model), which drafts from the base's hidden states, so it drafts for every adapter\ntoo. `model` at `revision` is that drafter, and no other is accepted; the replica downloads it\nfrom the Hub as it does the base."},"Next":{"properties":{"comparison_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Comparison Id"}},"type":"object","required":["comparison_id"],"title":"Next"},"NgramSpeculation":{"properties":{"method":{"type":"string","const":"ngram","title":"Method","default":"ngram"},"num_speculative_tokens":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Num Speculative Tokens"},"prompt_lookup_max":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Prompt Lookup Max"},"prompt_lookup_min":{"anyOf":[{"type":"integer","maximum":8.0,"minimum":1.0},{"type":"null"}],"title":"Prompt Lookup Min"}},"additionalProperties":false,"type":"object","required":["num_speculative_tokens","prompt_lookup_max"],"title":"NgramSpeculation","description":"vLLM's n-gram speculative decoding (prompt lookup, `--speculative-config`): drafts are\nthe tokens that followed the last `prompt_lookup_max`..`prompt_lookup_min` tokens earlier\nin the request, so no draft model is loaded, and it works with any base and with LoRA\n(vLLM v0.30.0; unset `prompt_lookup_min`: the engine's, `prompt_lookup_max`)."},"NoSpeculation":{"properties":{"method":{"type":"string","const":"off","title":"Method"}},"additionalProperties":false,"type":"object","required":["method"],"title":"NoSpeculation","description":"No speculative decoding, where the base drafts with its own drafter by default; refused\nfor a base without one (its default serving already drafts nothing)."},"NoteEdit":{"properties":{"content":{"type":"string","maxLength":65536,"minLength":1,"title":"Content"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["content","version"],"title":"NoteEdit"},"NoteIn":{"properties":{"scope":{"type":"string","enum":["user","workspace"],"title":"Scope"},"content":{"type":"string","maxLength":65536,"minLength":1,"title":"Content"}},"type":"object","required":["scope","content"],"title":"NoteIn"},"NotificationSettings":{"properties":{"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"email_to":{"anyOf":[{"items":{"type":"string","maxLength":320},"type":"array","maxItems":20},{"type":"null"}],"title":"Email To"},"slack_webhook_ref":{"anyOf":[{"type":"string","pattern":"^kv:tenant-slack-webhook(-[A-Za-z0-9-]{1,100})?$"},{"type":"null"}],"title":"Slack Webhook Ref"},"muted":{"items":{"type":"string","enum":["quota_threshold","grant_expiry","spend_cap","hard_cap","job_state","endpoint_health","optimisation_budget","robot_page","job_agent","llm_release","agent_suggestion","run_supervision"]},"type":"array","title":"Muted","default":[]},"webhook_url":{"anyOf":[{"type":"string","maxLength":2048,"pattern":"^https://\\S+$"},{"type":"null"}],"title":"Webhook Url"},"webhook_secret_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Secret Ref"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"webhook_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Secret"}},"type":"object","title":"NotificationSettings"},"NotificationSettingsIn":{"properties":{"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"email_to":{"anyOf":[{"items":{"type":"string","maxLength":320},"type":"array","maxItems":20},{"type":"null"}],"title":"Email To"},"slack_webhook_ref":{"anyOf":[{"type":"string","pattern":"^kv:tenant-slack-webhook(-[A-Za-z0-9-]{1,100})?$"},{"type":"null"}],"title":"Slack Webhook Ref"},"muted":{"items":{"type":"string","enum":["quota_threshold","grant_expiry","spend_cap","hard_cap","job_state","endpoint_health","optimisation_budget","robot_page","job_agent","llm_release","agent_suggestion","run_supervision"]},"type":"array","title":"Muted","default":[]},"webhook_url":{"anyOf":[{"type":"string","maxLength":2048,"pattern":"^https://\\S+$"},{"type":"null"}],"title":"Webhook Url"},"slack_webhook_url":{"anyOf":[{"type":"string","format":"password","writeOnly":true},{"type":"null"}],"title":"Slack Webhook Url"},"rotate_webhook_secret":{"type":"boolean","title":"Rotate Webhook Secret","default":false}},"additionalProperties":false,"type":"object","title":"NotificationSettingsIn"},"NotificationTest":{"properties":{"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"email":{"$ref":"#/components/schemas/ChannelTest"},"slack":{"$ref":"#/components/schemas/ChannelTest"},"webhook":{"$ref":"#/components/schemas/ChannelTest"}},"type":"object","required":["workspace_id","email","slack","webhook"],"title":"NotificationTest"},"NotificationTestIn":{"properties":{"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"}},"additionalProperties":false,"type":"object","title":"NotificationTestIn"},"ObservationSchema":{"properties":{"schema_version":{"type":"string","const":"os3.observation_schema.v1","title":"Schema Version"},"modalities":{"additionalProperties":{"$ref":"#/components/schemas/Modality"},"propertyNames":{"maxLength":128,"minLength":1},"type":"object","maxProperties":32,"minProperties":1,"title":"Modalities"}},"additionalProperties":false,"type":"object","required":["schema_version","modalities"],"title":"ObservationSchema"},"OpenAIImportIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"slug":{"type":"string","maxLength":63,"pattern":"^[a-z0-9][a-z0-9-]{1,62}$","title":"Slug"},"name":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Name"},"grader":{"additionalProperties":true,"type":"object","title":"Grader"},"training_jsonl":{"type":"string","minLength":1,"title":"Training Jsonl"},"validation_jsonl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation Jsonl"},"judge_task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Judge Task Id"}},"additionalProperties":false,"type":"object","required":["workspace_id","slug","grader","training_jsonl"],"title":"OpenAIImportIn"},"OptimisationBudgetOut":{"properties":{"meter":{"type":"string","title":"Meter"},"monthly_cap":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Monthly Cap"},"default":{"type":"boolean","title":"Default"},"spent":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Spent"},"reserved":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Reserved"},"tier":{"type":"string","title":"Tier"},"default_cap":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Default Cap"},"set_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Set By"},"set_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Set At"}},"type":"object","required":["meter","monthly_cap","default","spent","reserved","tier","default_cap","set_by","set_at"],"title":"OptimisationBudgetOut"},"OptimisationSchedule":{"properties":{"every_days":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Every Days"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"updated_by":{"type":"string","title":"Updated By"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["every_days","task_id","updated_by","updated_at"],"title":"OptimisationSchedule"},"Optimised":{"properties":{"eval_id":{"type":"string","format":"uuid","title":"Eval Id"},"candidate_ref":{"type":"string","title":"Candidate Ref"},"model":{"type":"string","title":"Model"},"system":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System"},"gpu":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gpu"},"incumbent_model":{"type":"string","title":"Incumbent Model"},"n":{"type":"integer","title":"N"},"margin_pts":{"type":"number","title":"Margin Pts"},"margin_ci_lower_pts":{"type":"number","title":"Margin Ci Lower Pts"},"passed":{"type":"boolean","title":"Passed"},"judge_calibration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Judge Calibration"},"traffic":{"$ref":"#/components/schemas/Traffic"},"incumbent_usd_per_request":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Incumbent Usd Per Request"},"candidate_usd_per_request":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Candidate Usd Per Request"}},"type":"object","required":["eval_id","candidate_ref","model","system","gpu","incumbent_model","n","margin_pts","margin_ci_lower_pts","passed","judge_calibration","traffic","incumbent_usd_per_request","candidate_usd_per_request"],"title":"Optimised"},"OptimizerIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"enabled":{"type":"boolean","title":"Enabled"}},"additionalProperties":false,"type":"object","required":["workspace_id","enabled"],"title":"OptimizerIn"},"OptimizerQuestion":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"question":{"type":"string","title":"Question"},"options":{"items":{"type":"string"},"type":"array","title":"Options"},"answer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Answer"},"answered_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Answered By"},"answered_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Answered At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","workspace_id","task_id","question","options","answer","answered_by","answered_at","created_at"],"title":"OptimizerQuestion","description":"A question OS3's optimizer agent asked about a task: `options` are its answer buttons\n(none: answer in words); `answer` once someone answered it."},"OptimizerSetting":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"enabled":{"type":"boolean","title":"Enabled"},"available":{"type":"boolean","title":"Available"},"set_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Set By"},"set_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Set At"}},"additionalProperties":false,"type":"object","required":["workspace_id","enabled","available","set_by","set_at"],"title":"OptimizerSetting","description":"OS3's optimizer agent in a workspace, a preview you opt into (off unless switched on): for\neach task it plans and runs bounded training experiments within the task's mandate, and hands\nits best candidate to the same independent evaluation and release checks as every other\ncandidate; it never sees the held-out cases that decide a release. `available`: whether the\npreview runs for your organisation yet; until it does, your choice is kept and nothing\nruns."},"Os3Model":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"maker":{"type":"string","title":"Maker"},"context_tokens":{"type":"integer","title":"Context Tokens"},"tools":{"type":"boolean","title":"Tools"},"thinking":{"type":"boolean","title":"Thinking"},"image_input":{"type":"boolean","title":"Image Input"},"processed_in":{"type":"string","title":"Processed In"},"status":{"type":"string","enum":["preview","ga"],"title":"Status"},"price":{"anyOf":[{"$ref":"#/components/schemas/Os3ModelPrice"},{"type":"null"}]},"available":{"type":"boolean","title":"Available"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["id","name","maker","context_tokens","tools","thinking","image_input","processed_in","status","price","available","reason"],"title":"Os3Model","description":"One of OS3's models, which any gateway key calls by its id on /v1/chat/completions."},"Os3ModelPrice":{"properties":{"input_per_1m":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Input Per 1M"},"cached_input_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cached Input Per 1M"},"output_per_1m":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Output Per 1M"}},"type":"object","required":["input_per_1m","cached_input_per_1m","output_per_1m"],"title":"Os3ModelPrice","description":"USD per 1M tokens at your LLM plan's rate."},"Os3Models":{"properties":{"plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan"},"factor":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Factor"},"models":{"items":{"$ref":"#/components/schemas/Os3Model"},"type":"array","title":"Models"}},"type":"object","required":["plan","factor","models"],"title":"Os3Models","description":"OS3's models, priced at your organisation's LLM plan."},"Outcome":{"type":"string","enum":["a","b","tie","both_bad","cannot_judge"],"title":"Outcome"},"OutcomeContractRef":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"sha256":{"type":"string","title":"Sha256"}},"type":"object","required":["id","version","sha256"],"title":"OutcomeContractRef"},"OutcomeResult":{"properties":{"name":{"type":"string","title":"Name"},"kind":{"type":"string","enum":["binary","numeric"],"title":"Kind"},"window_days":{"type":"integer","title":"Window Days"},"duplicate":{"type":"integer","title":"Duplicate","default":0},"invalid":{"type":"integer","title":"Invalid","default":0},"late":{"type":"integer","title":"Late","default":0},"arms":{"items":{"$ref":"#/components/schemas/ArmResult"},"type":"array","title":"Arms","default":[]}},"type":"object","required":["name","kind","window_days"],"title":"OutcomeResult"},"OutcomeSpec":{"properties":{"name":{"type":"string","pattern":"^[a-z0-9_]{1,64}$","title":"Name"},"kind":{"type":"string","enum":["binary","numeric"],"title":"Kind"},"window_days":{"type":"integer","maximum":366.0,"minimum":1.0,"title":"Window Days"}},"additionalProperties":false,"type":"object","required":["name","kind","window_days"],"title":"OutcomeSpec"},"OverageLine":{"properties":{"meter":{"type":"string","title":"Meter"},"unit_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Usd"},"use":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Use"},"included":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Included"},"quantity":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Quantity"},"amount_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Usd"}},"type":"object","required":["meter","unit_usd","use","included","quantity","amount_usd"],"title":"OverageLine"},"OveragePreview":{"properties":{"days":{"type":"integer","title":"Days"},"lines":{"items":{"$ref":"#/components/schemas/OverageLine"},"type":"array","title":"Lines"},"credit_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Credit Usd"},"total_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Usd"}},"type":"object","required":["days","lines","credit_usd","total_usd"],"title":"OveragePreview"},"Page":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"reason_code":{"type":"string","title":"Reason Code"},"priority":{"type":"number","title":"Priority"},"status":{"type":"string","title":"Status"},"modality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Modality"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"}},"type":"object","required":["id","reason_code","priority","status","modality","outcome","created_at","resolved_at"],"title":"Page"},"PageView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"robot_id":{"type":"string","format":"uuid","title":"Robot Id"},"event_id":{"type":"string","title":"Event Id"},"trigger":{"additionalProperties":true,"type":"object","title":"Trigger"},"episode_id":{"type":"string","title":"Episode Id"},"reason_code":{"type":"string","title":"Reason Code"},"priority":{"type":"number","title":"Priority"},"status":{"type":"string","enum":["open","claimed","resolved","dismissed"],"title":"Status"},"operator_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operator Id"},"operator_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operator Name"},"claimed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Claimed At"},"modality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Modality"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"events":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Events"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"},"robot_claim":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Robot Claim"},"preroll_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preroll Url"}},"type":"object","required":["id","tenant_id","workspace_id","robot_id","event_id","trigger","episode_id","reason_code","priority","status","operator_id","claimed_at","modality","outcome","note","events","created_at","resolved_at","robot_claim","preroll_url"],"title":"PageView"},"Paged":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","enum":["open","claimed","resolved","dismissed"],"title":"Status"},"priority":{"type":"number","title":"Priority"}},"type":"object","required":["id","status","priority"],"title":"Paged"},"Pair-Input":{"properties":{"chosen":{"type":"string","maxLength":200,"minLength":1,"title":"Chosen"},"rejected":{"type":"string","maxLength":200,"minLength":1,"title":"Rejected"}},"additionalProperties":false,"type":"object","required":["chosen","rejected"],"title":"Pair"},"Pair-Output":{"properties":{"comparison_id":{"type":"string","format":"uuid","title":"Comparison Id"},"chosen":{"type":"string","title":"Chosen"},"rejected":{"type":"string","title":"Rejected"},"votes":{"type":"integer","title":"Votes"}},"type":"object","required":["comparison_id","chosen","rejected","votes"],"title":"Pair"},"PartOf":{"properties":{"path":{"type":"string","title":"Path"},"turn":{"type":"string","enum":["first","tool_result","user"],"title":"Turn"},"model":{"type":"string","title":"Model"}},"additionalProperties":false,"type":"object","required":["path","turn","model"],"title":"PartOf","description":"A part of a task: its API path, its place in the conversation and the model asked for."},"PartResult":{"properties":{"part":{"additionalProperties":{"type":"string"},"type":"object","title":"Part"},"n":{"type":"integer","title":"N"},"groups":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Groups"},"effective_n":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Effective N"},"win_rate_point":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Win Rate Point"},"win_rate_ci_lower":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Win Rate Ci Lower"},"win_rate_ci_upper":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Win Rate Ci Upper"},"verdict":{"type":"string","enum":["pass","fail","insufficient_trials"],"title":"Verdict"},"released":{"type":"boolean","title":"Released"}},"type":"object","required":["part","n","groups","effective_n","win_rate_point","win_rate_ci_lower","win_rate_ci_upper","verdict","released"],"title":"PartResult","description":"A part of the task (its API path, place in the conversation and model asked for), its\nresult and whether the decision released it."},"Permissions":{"properties":{"mode":{"type":"string","enum":["ask","auto"],"title":"Mode"},"auto_month_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Auto Month Usd"},"auto_used_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Auto Used Usd"},"version":{"type":"integer","title":"Version"},"suggest":{"type":"boolean","title":"Suggest","default":false},"always_ask":{"items":{"type":"string"},"type":"array","title":"Always Ask"},"never":{"items":{"type":"string"},"type":"array","title":"Never"}},"type":"object","required":["mode","auto_month_usd","auto_used_usd","version","always_ask","never"],"title":"Permissions"},"PermissionsIn":{"properties":{"mode":{"type":"string","enum":["ask","auto"],"title":"Mode"},"auto_month_usd":{"anyOf":[{"type":"number","maximum":1000000000.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"}],"title":"Auto Month Usd","default":"0"},"suggest":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Suggest"}},"additionalProperties":false,"type":"object","required":["mode"],"title":"PermissionsIn"},"PersonalData":{"properties":{"replace":{"type":"boolean","title":"Replace"}},"additionalProperties":false,"type":"object","required":["replace"],"title":"PersonalData"},"Pilot":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"dataset_version_id":{"type":"string","format":"uuid","title":"Dataset Version Id"},"state":{"type":"string","enum":["running","decided","failed"],"title":"State"},"protocol":{"additionalProperties":true,"type":"object","title":"Protocol"},"protocol_sha256":{"type":"string","title":"Protocol Sha256"},"h100_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Seconds"},"arms":{"items":{"$ref":"#/components/schemas/PilotJob"},"type":"array","title":"Arms"},"confirmation":{"anyOf":[{"$ref":"#/components/schemas/PilotJob"},{"type":"null"}]},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"result_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Sha256"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"}},"type":"object","required":["id","workspace_id","dataset_version_id","state","protocol","protocol_sha256","h100_seconds","arms","confirmation","result","result_sha256","error","created_by","created_at","decided_at"],"title":"Pilot"},"PilotArm":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"salt":{"type":"string","pattern":"^[0-9a-f]{32}$","title":"Salt"},"samples":{"type":"integer","maximum":16.0,"minimum":1.0,"title":"Samples"},"eval_s":{"type":"integer","minimum":0.0,"title":"Eval S"},"confirm":{"type":"boolean","title":"Confirm","default":false}},"additionalProperties":false,"type":"object","required":["id","salt","samples","eval_s"],"title":"PilotArm","description":"An arm of a technique pilot, or its winner's confirmation run: set by the pilot."},"PilotIn":{"properties":{"base_model":{"type":"string","maxLength":100,"minLength":1,"title":"Base Model"},"h100_hours":{"anyOf":[{"type":"number","maximum":1000.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"H100 Hours"}},"additionalProperties":false,"type":"object","required":["base_model","h100_hours"],"title":"PilotIn"},"PilotJob":{"properties":{"name":{"type":"string","title":"Name"},"job_id":{"type":"string","format":"uuid","title":"Job Id"},"state":{"type":"string","title":"State"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["name","job_id","state","error"],"title":"PilotJob"},"PilotPreview":{"properties":{"protocol":{"additionalProperties":true,"type":"object","title":"Protocol"},"problems":{"items":{"type":"string"},"type":"array","title":"Problems"},"refusal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refusal"},"h100_hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Hours"},"cost_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost Usd"},"allowance":{"$ref":"#/components/schemas/Allowance"}},"type":"object","required":["protocol","problems","refusal","h100_hours","cost_usd","allowance"],"title":"PilotPreview"},"Pipeline":{"properties":{"version":{"type":"integer","title":"Version"},"sha256":{"type":"string","title":"Sha256"},"defaults":{"additionalProperties":true,"type":"object","title":"Defaults"},"code_sha256":{"type":"string","title":"Code Sha256"},"versions":{"items":{"$ref":"#/components/schemas/PipelineVersion"},"type":"array","title":"Versions"},"budget":{"$ref":"#/components/schemas/PipelineBudget"}},"type":"object","required":["version","sha256","defaults","code_sha256","versions","budget"],"title":"Pipeline"},"PipelineBudget":{"properties":{"month_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Month Usd"},"spent_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Spent Usd"}},"type":"object","required":["month_usd","spent_usd"],"title":"PipelineBudget"},"PipelineDecisionIn":{"properties":{"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Sha256"},"reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["sha256"],"title":"PipelineDecisionIn"},"PipelineProposal":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"kind":{"type":"string","enum":["change","rollback"],"title":"Kind"},"state":{"type":"string","enum":["open","applied","rejected","stale"],"title":"State"},"sha256":{"type":"string","title":"Sha256"},"parent_version":{"type":"integer","title":"Parent Version"},"parent_sha256":{"type":"string","title":"Parent Sha256"},"defaults":{"additionalProperties":true,"type":"object","title":"Defaults"},"defaults_sha256":{"type":"string","title":"Defaults Sha256"},"diff":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Diff"},"affects":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Affects"},"quote":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Quote"},"rationale":{"type":"string","title":"Rationale"},"evidence":{"items":{"type":"string"},"type":"array","title":"Evidence"},"rollback_to":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rollback To"},"author_kind":{"type":"string","title":"Author Kind"},"author_id":{"type":"string","title":"Author Id"},"author_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Model"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"decided_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decided By"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"},"decision_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"review":{"anyOf":[{"$ref":"#/components/schemas/PipelineReview"},{"type":"null"}]},"review_status":{"type":"string","enum":["waiting","reviewing","reviewed","failed","budget"],"title":"Review Status"}},"type":"object","required":["id","workspace_id","kind","state","sha256","parent_version","parent_sha256","defaults","defaults_sha256","diff","affects","quote","rationale","evidence","rollback_to","author_kind","author_id","author_model","version","decided_by","decided_at","decision_reason","created_at","review","review_status"],"title":"PipelineProposal"},"PipelineProposalIn":{"properties":{"patch":{"additionalProperties":true,"type":"object","minProperties":1,"title":"Patch"},"rationale":{"type":"string","maxLength":4000,"minLength":1,"title":"Rationale"},"evidence":{"items":{"type":"string","maxLength":200,"minLength":1},"type":"array","maxItems":50,"title":"Evidence","default":[]}},"additionalProperties":false,"type":"object","required":["patch","rationale"],"title":"PipelineProposalIn"},"PipelineReview":{"properties":{"state":{"type":"string","enum":["running","done","failed"],"title":"State"},"verdict":{"anyOf":[{"type":"string","enum":["approve","request_changes","reject"]},{"type":"null"}],"title":"Verdict"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"findings":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Findings"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"reviewer_model":{"type":"string","title":"Reviewer Model"},"proposal_sha256":{"type":"string","title":"Proposal Sha256"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["state","verdict","summary","findings","error","reviewer_model","proposal_sha256","created_at","finished_at"],"title":"PipelineReview"},"PipelineRollbackIn":{"properties":{"rationale":{"type":"string","maxLength":4000,"minLength":1,"title":"Rationale"}},"additionalProperties":false,"type":"object","required":["rationale"],"title":"PipelineRollbackIn"},"PipelineVersion":{"properties":{"version":{"type":"integer","title":"Version"},"sha256":{"type":"string","title":"Sha256"},"proposal_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Proposal Id"},"applied_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applied By"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["version","sha256","proposal_id","applied_by","created_at"],"title":"PipelineVersion"},"Plan":{"properties":{"name":{"type":"string","title":"Name"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"gpu":{"type":"boolean","title":"Gpu"},"limits":{"$ref":"#/components/schemas/Limits"},"platform_fee_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Platform Fee Usd"},"grant_h100_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Grant H100 Seconds"},"serving":{"$ref":"#/components/schemas/PlanServing"}},"type":"object","required":["name","expires_at","gpu","limits","platform_fee_usd","grant_h100_seconds","serving"],"title":"Plan","description":"Your organisation's current LLM plan, expired or not, as GET /usage/quota shows it\n(``llm_tier``): whether it includes LLM training on OS3 GPUs (``gpu``) and its limits\n(``training_bases``: the training it includes; RLVR, base halo_rlvr, on every plan), its\nmonthly fee (``platform_fee_usd``: yours when OS3 set one), the H100-seconds it includes once\n(``grant_h100_seconds``, the Free trial's) and how it serves your models (``serving``:\nper_token on shared GPUs at its ``rates`` now, reserved_capacity on dedicated GPUs)."},"PlanServing":{"properties":{"basis":{"type":"string","enum":["none","per_token","reserved_capacity"],"title":"Basis"},"rates":{"anyOf":[{"$ref":"#/components/schemas/ServingRates"},{"type":"null"}]}},"type":"object","required":["basis","rates"],"title":"PlanServing","description":"How the plan serves your models: per_token on shared GPUs at ``rates`` per 1M tokens (in\neffect now; ``profiles``: a base model's own), reserved_capacity on dedicated GPUs, none."},"PlannerBudget":{"properties":{"month_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Month Usd"},"spent_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Spent Usd"}},"type":"object","required":["month_usd","spent_usd"],"title":"PlannerBudget","description":"The agent's own planning and review calls this month, which OS3 pays (PLACEHOLDER)."},"PolicyRollout":{"properties":{"stage":{"type":"string","title":"Stage"},"held":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Held"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"soak_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Soak S"},"report_timeout_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Report Timeout S"},"acceptance":{"anyOf":[{"$ref":"#/components/schemas/Acceptance"},{"type":"null"}]},"stage_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stage Started At"},"stages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Stages"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"model_version_id":{"type":"string","format":"uuid","title":"Model Version Id"},"endpoint_id":{"type":"string","format":"uuid","title":"Endpoint Id"},"targets":{"items":{"$ref":"#/components/schemas/PolicyTarget"},"type":"array","title":"Targets"}},"type":"object","required":["stage","held","reason","soak_s","report_timeout_s","acceptance","stage_started_at","stages","created_by","created_at","updated_at","id","workspace_id","model_version_id","endpoint_id","targets"],"title":"PolicyRollout"},"PolicyRolloutIn":{"properties":{"robot_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":500,"minItems":1,"title":"Robot Ids"},"site_robot_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":500,"title":"Site Robot Ids"},"acceptance":{"$ref":"#/components/schemas/Acceptance"},"soak_s":{"type":"integer","maximum":2592000.0,"minimum":0.0,"title":"Soak S","default":3600},"report_timeout_s":{"type":"integer","maximum":2592000.0,"minimum":60.0,"title":"Report Timeout S","default":86400},"model_version_id":{"type":"string","format":"uuid","title":"Model Version Id"},"endpoint_id":{"type":"string","format":"uuid","title":"Endpoint Id"}},"additionalProperties":false,"type":"object","required":["robot_ids","acceptance","model_version_id","endpoint_id"],"title":"PolicyRolloutIn"},"PolicyTarget":{"properties":{"robot_id":{"type":"string","format":"uuid","title":"Robot Id"},"position":{"type":"integer","title":"Position"},"ring":{"type":"string","title":"Ring"},"status":{"type":"string","title":"Status"},"from_deployment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"From Deployment Id"},"from_model_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"From Model Version Id"},"from_checkpoint_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Checkpoint Sha256"},"deployment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Deployment Id"},"back_deployment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Back Deployment Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"applied_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applied At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["robot_id","position","ring","status","from_deployment_id","from_model_version_id","from_checkpoint_sha256","deployment_id","back_deployment_id","reason","applied_at","updated_at"],"title":"PolicyTarget"},"Preview":{"properties":{"month":{"type":"string","format":"date","title":"Month"},"at":{"type":"string","format":"date-time","title":"At"},"card_on_file":{"type":"boolean","title":"Card On File"},"period_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Period Start"},"period_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Period End"},"lines":{"items":{"$ref":"#/components/schemas/Line"},"type":"array","title":"Lines"},"llm":{"$ref":"#/components/schemas/LlmCharges"},"total_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Usd"},"overage":{"anyOf":[{"$ref":"#/components/schemas/OveragePreview"},{"type":"null"}]}},"type":"object","required":["month","at","card_on_file","period_start","period_end","lines","llm","total_usd","overage"],"title":"Preview"},"Price":{"properties":{"input_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Input Per 1M"},"output_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Output Per 1M"},"cached_input_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cached Input Per 1M"},"cache_write_5m_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cache Write 5M Per 1M"},"cache_write_1h_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cache Write 1H Per 1M"}},"additionalProperties":false,"type":"object","required":["input_per_1m","output_per_1m"],"title":"Price","description":"One model's USD per 1M tokens (None: not priced, so no cost that needs it)."},"Progress":{"properties":{"step":{"type":"integer","minimum":0.0,"title":"Step"},"total":{"type":"integer","exclusiveMinimum":0.0,"title":"Total"},"loss":{"type":"number","title":"Loss"},"eta_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Eta S"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"first_step_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Step At","description":"When its first progress mark was recorded: when it began to train. Null for a job that reported steps before this was recorded."}},"type":"object","required":["step","total","loss"],"title":"Progress","description":"A training job's progress: its latest progress mark (step, total, loss, eta_s) as recorded at\n`updated_at`. eta_s is null until two marks were seen."},"PromptRewrites":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"additionalProperties":false,"type":"object","required":["enabled"],"title":"PromptRewrites"},"Proposal":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"source":{"type":"string","title":"Source"},"reasons":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Reasons"},"created_by_kind":{"type":"string","title":"Created By Kind"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","source","reasons","created_by_kind","created_by","created_at"],"title":"Proposal"},"ProposalReason":{"properties":{"kind":{"type":"string","pattern":"^(disagreement|uncertainty/[A-Za-z0-9_.-]{1,64})$","title":"Kind"},"score":{"type":"number","title":"Score"},"rank":{"type":"integer","minimum":1.0,"title":"Rank"}},"additionalProperties":false,"type":"object","required":["kind","score","rank"],"title":"ProposalReason"},"Proposed":{"properties":{"episode_index":{"type":"integer","minimum":0.0,"title":"Episode Index"},"reasons":{"items":{"$ref":"#/components/schemas/ProposalReason"},"type":"array","maxItems":64,"minItems":1,"title":"Reasons"}},"additionalProperties":false,"type":"object","required":["episode_index","reasons"],"title":"Proposed"},"ProposedEpisode":{"properties":{"episode_index":{"type":"integer","title":"Episode Index"},"proposals":{"items":{"$ref":"#/components/schemas/Proposal"},"type":"array","title":"Proposals"},"decisions":{"items":{"$ref":"#/components/schemas/Decision"},"type":"array","title":"Decisions"},"decision":{"anyOf":[{"$ref":"#/components/schemas/Decision"},{"type":"null"}]}},"type":"object","required":["episode_index","proposals","decisions","decision"],"title":"ProposedEpisode"},"Provenance":{"properties":{"robot_ref":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:@/-]{0,127}$","title":"Robot Ref"},"operator_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:@/-]{0,127}$","title":"Operator Id"},"customer_id":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:@/-]{0,127}$"},{"type":"null"}],"title":"Customer Id"},"source_ref":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:@/-]{0,127}$"},{"type":"null"}],"title":"Source Ref"},"calibration_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Calibration Sha256"}},"additionalProperties":false,"type":"object","required":["robot_ref","operator_id"],"title":"Provenance","description":"Who recorded a robot dataset version: the robot as traces name it (os3.trace_identity.v1\n`robot_ref`), the operator, the customer id the recording carries and the recorder's own dataset\nid on the robot (`source_ref`); and the robot's calibration identity it was recorded with (the\nsha256 of its follower and camera calibration files), which a model version trained on it\nrecords."},"ProvisionRequest":{"properties":{"certificate":{"type":"string","maxLength":16384,"title":"Certificate"},"payload":{"type":"string","maxLength":16384,"title":"Payload"},"signature":{"type":"string","maxLength":512,"title":"Signature"}},"additionalProperties":false,"type":"object","required":["certificate","payload","signature"],"title":"ProvisionRequest"},"PublicPhase":{"properties":{"env_revision":{"type":"string","format":"uuid","title":"Env Revision"},"steps":{"type":"integer","minimum":1.0,"title":"Steps"}},"additionalProperties":false,"type":"object","required":["env_revision","steps"],"title":"PublicPhase","description":"A public bridged environment revision of the environment hub, qualified for training,\nthat a customer task's RLVR run trains on for at most `steps` of its steps: before its task\n(`warmup`: at most 20% of the run's steps and budget) or after it (`retention`: at most 10%\nof the steps after the warm-up, and of the tokens the task and retention train)."},"Qualification":{"properties":{"licence":{"$ref":"#/components/schemas/Licence"},"known_limits":{"items":{"type":"string"},"type":"array","title":"Known Limits"},"training_smoke":{"anyOf":[{"$ref":"#/components/schemas/Smoke"},{"type":"null"}]},"serving":{"anyOf":[{"$ref":"#/components/schemas/Serving"},{"type":"null"}]},"tasks":{"items":{"$ref":"#/components/schemas/TaskResult"},"type":"array","title":"Tasks"}},"type":"object","required":["licence","known_limits","training_smoke","serving","tasks"],"title":"Qualification"},"QualificationReport":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"kind":{"type":"string","enum":["llm_specialist","robot_policy"],"title":"Kind"},"passed":{"type":"boolean","title":"Passed"},"verdict":{"type":"string","title":"Verdict"},"claim":{"type":"string","enum":["same_quality","economy","improvement"],"title":"Claim"},"tolerance":{"type":"number","title":"Tolerance"},"claim_supported":{"type":"boolean","title":"Claim Supported"},"keep":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Keep"},"task":{"additionalProperties":true,"type":"object","title":"Task"},"candidate":{"additionalProperties":true,"type":"object","title":"Candidate"},"baseline":{"additionalProperties":true,"type":"object","title":"Baseline"},"runtime":{"additionalProperties":true,"type":"object","title":"Runtime"},"eval_set":{"additionalProperties":true,"type":"object","title":"Eval Set"},"dataset":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Dataset"},"judge":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Judge"},"rights":{"additionalProperties":true,"type":"object","title":"Rights"},"safety":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Safety"},"criteria":{"items":{"$ref":"#/components/schemas/Criterion"},"type":"array","title":"Criteria"},"slices":{"items":{"$ref":"#/components/schemas/SliceResult"},"type":"array","title":"Slices"},"independent":{"$ref":"#/components/schemas/Independent"},"sample":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sample"},"structure":{"items":{"$ref":"#/components/schemas/StructuralSlice"},"type":"array","title":"Structure","default":[]},"parts":{"items":{"$ref":"#/components/schemas/PartResult"},"type":"array","title":"Parts","default":[]}},"type":"object","required":["decision_id","kind","passed","verdict","claim","tolerance","claim_supported","task","candidate","baseline","runtime","eval_set","dataset","judge","rights","safety","criteria","slices","independent"],"title":"QualificationReport"},"QualityChange":{"properties":{"at":{"type":"string","format":"date-time","title":"At"},"actor":{"type":"string","title":"Actor"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"before":{"type":"number","title":"Before"},"after":{"type":"number","title":"After"},"setting":{"type":"string","enum":["quality","speed"],"title":"Setting"}},"type":"object","required":["at","actor","task_id","before","after","setting"],"title":"QualityChange"},"QualityIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"keep":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.7},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$"},{"type":"null"}],"title":"Keep"}},"additionalProperties":false,"type":"object","required":["workspace_id","keep"],"title":"QualityIn","description":"The share of the incumbent's quality a cheaper candidate must keep, for the workspace (no\n`task_id`: its default) or one task in it; null clears it."},"QualityPoint":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"candidate_ref":{"type":"string","title":"Candidate Ref"},"kind":{"type":"string","title":"Kind"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"threshold":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Threshold"},"weak_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weak Model"},"evidence":{"type":"string","enum":["judge","gold_labels","episodes"],"title":"Evidence"},"n":{"type":"integer","title":"N"},"kept":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Kept"},"decided_keep":{"type":"number","title":"Decided Keep"},"cost_per_case":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cost Per Case"},"baseline_cost_per_case":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Baseline Cost Per Case"},"monthly_savings_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Monthly Savings Usd"},"blocked":{"items":{"type":"string"},"type":"array","title":"Blocked"},"p95_ms":{"type":"number","title":"P95 Ms"},"baseline_p95_ms":{"type":"number","title":"Baseline P95 Ms"},"rolled_back":{"type":"boolean","title":"Rolled Back"},"route_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route State"}},"type":"object","required":["decision_id","candidate_ref","kind","model","threshold","weak_model","evidence","n","kept","decided_keep","cost_per_case","baseline_cost_per_case","monthly_savings_usd","blocked","p95_ms","baseline_p95_ms","rolled_back","route_state"],"title":"QualityPoint","description":"A candidate's latest release decision on the task: `kept`, the highest setting its\nevidence passes at (1: same quality; null: no evidence valid on both sides); `blocked`, the\ncriteria it failed that neither setting moves; `p95_ms` and `baseline_p95_ms`, its p95\nlatency and the current model's on the same cases; `rolled_back`, its canary was rolled back,\nso only a new evaluation brings it back."},"QualitySetting":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"keep":{"type":"number","title":"Keep"},"source":{"type":"string","enum":["task","workspace","default"],"title":"Source"},"set_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Set By"},"set_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Set At"}},"type":"object","required":["workspace_id","task_id","keep","source","set_by","set_at"],"title":"QualitySetting","description":"The setting in force at a scope (`source`: its own row, the workspace's or the 100%\ndefault) and who set that row, when."},"Quarantine":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_refs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"User Refs"},"key_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Key Id"},"reason":{"type":"string","title":"Reason"},"created_by_kind":{"type":"string","title":"Created By Kind"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","user_refs","key_id","reason","created_by_kind","created_by","created_at"],"title":"Quarantine"},"QuarantineIn":{"properties":{"user_refs":{"anyOf":[{"items":{"type":"string","maxLength":200,"minLength":1},"type":"array","maxItems":1000,"minItems":1},{"type":"null"}],"title":"User Refs"},"key_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Key Id"},"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"QuarantineIn"},"Queue":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","title":"Name"},"question":{"type":"string","title":"Question"},"choices":{"items":{"type":"string"},"type":"array","title":"Choices"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"eval_set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Eval Set Id"},"label_field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label Field"},"created_by_kind":{"type":"string","title":"Created By Kind"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"size":{"type":"integer","title":"Size"},"labelled":{"type":"integer","title":"Labelled"},"mine":{"type":"integer","title":"Mine"}},"type":"object","required":["id","workspace_id","name","question","choices","task_id","eval_set_id","label_field","created_by_kind","created_by","created_at","size","labelled","mine"],"title":"Queue"},"QueueDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","title":"Name"},"question":{"type":"string","title":"Question"},"choices":{"items":{"type":"string"},"type":"array","title":"Choices"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"eval_set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Eval Set Id"},"label_field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label Field"},"created_by_kind":{"type":"string","title":"Created By Kind"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"size":{"type":"integer","title":"Size"},"labelled":{"type":"integer","title":"Labelled"},"mine":{"type":"integer","title":"Mine"},"items":{"items":{"$ref":"#/components/schemas/Item"},"type":"array","title":"Items"},"agreement":{"$ref":"#/components/schemas/Agreement"},"labelling":{"$ref":"#/components/schemas/Labelling"}},"type":"object","required":["id","workspace_id","name","question","choices","task_id","eval_set_id","label_field","created_by_kind","created_by","created_at","size","labelled","mine","items","agreement","labelling"],"title":"QueueDetail"},"QueueIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"question":{"type":"string","maxLength":2000,"minLength":1,"title":"Question"},"choices":{"items":{"type":"string","maxLength":64,"minLength":1},"type":"array","maxItems":20,"minItems":2,"title":"Choices"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"eval_set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Eval Set Id"},"label_field":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Label Field"},"size":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Size"}},"additionalProperties":false,"type":"object","required":["workspace_id","name","question","choices","size"],"title":"QueueIn"},"Quota":{"properties":{"at":{"type":"string","format":"date-time","title":"At"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"},"llm_tier":{"anyOf":[{"$ref":"#/components/schemas/Plan"},{"type":"null"}]},"compute":{"$ref":"#/components/schemas/ComputeBar"},"storage":{"$ref":"#/components/schemas/StorageBar"}},"type":"object","required":["at","tier","llm_tier","compute","storage"],"title":"Quota"},"Quote":{"properties":{"seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Seconds"},"gpu_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gpu Seconds"},"sku":{"type":"string","title":"Sku"},"h100_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Seconds"},"h100_seconds_max":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"H100 Seconds Max"},"gpu":{"type":"string","title":"Gpu"},"effective_batch":{"type":"integer","title":"Effective Batch"},"samples":{"type":"integer","title":"Samples"},"episodes":{"type":"integer","title":"Episodes","default":0},"hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Hours"},"gpu_hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gpu Hours"},"cost_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost Usd"},"remaining_h100_seconds":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Remaining H100 Seconds"},"billable_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Billable Usd"},"upgrade":{"anyOf":[{"$ref":"#/components/schemas/Quote"},{"type":"null"}]},"depth_streams":{"items":{"type":"string"},"type":"array","title":"Depth Streams","default":[]}},"type":"object","required":["seconds","gpu_seconds","sku","h100_seconds","h100_seconds_max","gpu","effective_batch","samples","hours","gpu_hours","cost_usd","remaining_h100_seconds","billable_usd"],"title":"Quote"},"QuoteIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"base":{"type":"string","enum":["pi05","smolvla","groot","molmoact2","openvla_oft","xr1","lora_trl","halo_rft","halo_rlvr"],"title":"Base","default":"pi05"},"dataset_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Version Id"},"dataset_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Dataset Bytes"},"steps":{"type":"integer","maximum":1000000.0,"exclusiveMinimum":0.0,"title":"Steps"},"batch":{"type":"integer","maximum":1024.0,"exclusiveMinimum":0.0,"title":"Batch","default":32},"gpu":{"type":"string","pattern":"^[A-Z][A-Z0-9-]*$","title":"Gpu","default":"H100"},"gpu_count":{"type":"integer","enum":[1,2,4,8],"title":"Gpu Count","default":1},"lora":{"anyOf":[{"$ref":"#/components/schemas/LoraSpec"},{"type":"null"}]},"rlvr":{"anyOf":[{"$ref":"#/components/schemas/RlvrSpec"},{"type":"null"}]},"rft":{"anyOf":[{"$ref":"#/components/schemas/RftSpec"},{"type":"null"}]},"rl2":{"anyOf":[{"type":"string","enum":["practice","adaptation"]},{"type":"null"}],"title":"Rl2"},"max_runtime_s":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Runtime S"},"use_depth":{"type":"boolean","title":"Use Depth","default":false}},"additionalProperties":false,"type":"object","required":["workspace_id","steps"],"title":"QuoteIn","description":"POST /jobs/estimate: a dataset version of the workspace, or a size for data not yet uploaded;\n`batch` is per GPU. Left out, batch and GPUs are the base's defaults (as GET /jobs/bases lists\nthem, e.g. XR-1's 8 H100s at 16), so the quote prices the job POST /jobs would run for the same\nrequest; `lora`, `rft`, `rlvr`, `rl2`, `max_runtime_s` and `use_depth` as POST /jobs takes\nthem."},"QuoteRequestIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"model":{"type":"string","maxLength":100,"minLength":1,"title":"Model"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["workspace_id","model"],"title":"QuoteRequestIn","description":"A request for a quote for a larger model than the task's choices: the model you want (for\nexample 70B) and anything OS3 should know."},"Rates":{"properties":{"input_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Input Per 1M"},"cached_input_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cached Input Per 1M"},"output_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Output Per 1M"},"provisional":{"type":"boolean","title":"Provisional","default":false}},"additionalProperties":false,"type":"object","required":["input_per_1m","cached_input_per_1m","output_per_1m"],"title":"Rates","description":"USD per 1M tokens OS3 endpoints serve: input the engine did not read from its prefix\ncache, input it did (``cached_input_per_1m``), and output, reasoning included."},"Readiness":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"ready":{"type":"boolean","title":"Ready"},"next":{"anyOf":[{"type":"string","enum":["robot","dataset","contract","access","runtime","quota"]},{"type":"null"}],"title":"Next"},"robot_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Robot Id"},"dataset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Id"},"dataset_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Dataset Version"},"base":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base"},"steps":{"items":{"$ref":"#/components/schemas/Step"},"type":"array","title":"Steps"}},"type":"object","required":["workspace_id","ready","next","robot_id","dataset_id","dataset_version","base","steps"],"title":"Readiness"},"Realised":{"properties":{"requests":{"additionalProperties":{"type":"integer"},"type":"object","title":"Requests"},"failed":{"type":"integer","title":"Failed"},"repeated":{"type":"integer","title":"Repeated"},"counterfactual_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Counterfactual Usd"},"costs":{"additionalProperties":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}]},"type":"object","title":"Costs"},"cost_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cost Usd"},"known_cost_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Known Cost Usd"},"net_savings_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Net Savings Usd"},"unknown":{"items":{"type":"string"},"type":"array","title":"Unknown"}},"type":"object","required":["requests","failed","repeated","counterfactual_usd","costs","cost_usd","known_cost_usd","net_savings_usd","unknown"],"title":"Realised"},"RealisedReport":{"properties":{"start":{"type":"string","format":"date","title":"Start"},"end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"},"total":{"$ref":"#/components/schemas/Realised"},"unattributed":{"$ref":"#/components/schemas/Realised"},"reconciliation":{"items":{"$ref":"#/components/schemas/Reconciled"},"type":"array","title":"Reconciliation"},"reconciled":{"type":"boolean","title":"Reconciled"},"missing":{"items":{"$ref":"#/components/schemas/MissingCost"},"type":"array","title":"Missing"}},"type":"object","required":["start","end","total","unattributed","reconciliation","reconciled","missing"],"title":"RealisedReport"},"Reason":{"type":"string","enum":["accuracy","completeness","clarity","relevance","other"],"title":"Reason"},"Recipe":{"properties":{"operations":{"items":{"oneOf":[{"$ref":"#/components/schemas/Length"},{"$ref":"#/components/schemas/Dedupe"},{"$ref":"#/components/schemas/DropWhere"},{"$ref":"#/components/schemas/DropRows"},{"$ref":"#/components/schemas/Curation"},{"$ref":"#/components/schemas/Format"}],"discriminator":{"propertyName":"op","mapping":{"curation":"#/components/schemas/Curation","dedupe":"#/components/schemas/Dedupe","drop":"#/components/schemas/DropRows","drop_where":"#/components/schemas/DropWhere","format":"#/components/schemas/Format","length":"#/components/schemas/Length"}}},"type":"array","maxItems":20,"minItems":1,"title":"Operations"}},"additionalProperties":false,"type":"object","required":["operations"],"title":"Recipe","description":"os3.cleaning_recipe.v1: the operations, in the order they apply."},"Recommendation":{"properties":{"kind":{"type":"string","const":"promote","title":"Kind","default":"promote"},"model_version_id":{"type":"string","format":"uuid","title":"Model Version Id"},"champion_version_id":{"type":"string","format":"uuid","title":"Champion Version Id"},"is_candidate":{"type":"boolean","title":"Is Candidate"},"receipt_verified":{"type":"boolean","title":"Receipt Verified"},"eval_id":{"type":"string","format":"uuid","title":"Eval Id"},"eval_run_id":{"type":"string","title":"Eval Run Id"},"eval_set_ref":{"type":"string","title":"Eval Set Ref"},"n":{"type":"integer","title":"N"},"ci_method":{"type":"string","title":"Ci Method"},"rate":{"type":"number","title":"Rate"},"champion_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Champion Rate"},"delta":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Delta"},"evaluated_at":{"type":"string","format":"date-time","title":"Evaluated At"}},"type":"object","required":["model_version_id","champion_version_id","is_candidate","receipt_verified","eval_id","eval_run_id","eval_set_ref","n","ci_method","rate","champion_rate","delta","evaluated_at"],"title":"Recommendation"},"Reconciled":{"properties":{"meter":{"type":"string","title":"Meter"},"vendor":{"type":"string","title":"Vendor"},"model":{"type":"string","title":"Model"},"key_owner":{"type":"string","title":"Key Owner"},"ledger":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Ledger"},"report":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Report"}},"type":"object","required":["meter","vendor","model","key_owner","ledger","report"],"title":"Reconciled"},"RecoveryIn":{"properties":{"incident_id":{"type":"string","format":"uuid","title":"Incident Id"},"plan_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Plan Sha256"},"max_usd":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Max Usd"},"approve":{"type":"boolean","title":"Approve"}},"additionalProperties":false,"type":"object","required":["incident_id","plan_sha256","max_usd","approve"],"title":"RecoveryIn"},"RegisterIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"receipt":{"additionalProperties":true,"type":"object","title":"Receipt"},"receipt_ref":{"type":"string","maxLength":1024,"minLength":1,"title":"Receipt Ref"}},"additionalProperties":false,"type":"object","required":["workspace_id","receipt","receipt_ref"],"title":"RegisterIn"},"Reinstated":{"properties":{"release_decision_id":{"type":"string","format":"uuid","title":"Release Decision Id"},"candidate_ref":{"type":"string","title":"Candidate Ref"}},"type":"object","required":["release_decision_id","candidate_ref"],"title":"Reinstated","description":"The release the rolled-back click replaced, which serves the task again."},"Release":{"properties":{"desired_endpoint_id":{"type":"string","format":"uuid","title":"Desired Endpoint Id"},"task":{"type":"string","title":"Task"},"state":{"type":"string","enum":["active","warming"],"title":"State"},"adapter":{"anyOf":[{"$ref":"#/components/schemas/Served"},{"type":"null"}]},"previous":{"anyOf":[{"$ref":"#/components/schemas/Served"},{"type":"null"}]},"pending":{"anyOf":[{"$ref":"#/components/schemas/Served"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["desired_endpoint_id","task","state","adapter"],"title":"Release"},"ReleaseDecision":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"kind":{"type":"string","enum":["llm_specialist","robot_policy"],"title":"Kind"},"candidate_ref":{"type":"string","title":"Candidate Ref"},"model_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Model Version Id"},"from_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"From Version Id"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"claim":{"type":"string","enum":["same_quality","economy","improvement"],"title":"Claim"},"tolerance":{"type":"number","title":"Tolerance"},"gate":{"additionalProperties":true,"type":"object","title":"Gate"},"candidate_eval_id":{"type":"string","format":"uuid","title":"Candidate Eval Id"},"baseline_eval_id":{"type":"string","format":"uuid","title":"Baseline Eval Id"},"safety_eval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Safety Eval Id"},"runtime_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Runtime Ref"},"suite_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suite Ref"},"suite_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suite Sha256"},"passed":{"type":"boolean","title":"Passed"},"verdict":{"type":"string","title":"Verdict"},"failed_criteria":{"items":{"type":"string"},"type":"array","title":"Failed Criteria"},"reasons":{"additionalProperties":{"type":"string"},"type":"object","title":"Reasons"},"item_flips":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Item Flips"},"accuracy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Accuracy"},"canary_percent":{"type":"integer","title":"Canary Percent"},"approved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved At"},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"adapter_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Adapter Version Id"},"from_adapter_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"From Adapter Version Id"},"general_eval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"General Eval Id"},"forgetting":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Forgetting"},"contract_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Contract Id"},"all_in_cost":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"All In Cost"},"route_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route State"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"replaced":{"anyOf":[{"$ref":"#/components/schemas/Reinstated"},{"type":"null"}]},"safety_origin":{"anyOf":[{"type":"string","enum":["os3_run","customer_reported"]},{"type":"null"}],"title":"Safety Origin"},"canary_traffic":{"anyOf":[{"$ref":"#/components/schemas/CanaryTraffic"},{"type":"null"}]},"thinking_pick":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Thinking Pick"},"keep":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Keep","description":"The quality setting it was decided under (its gate's); null: none (same quality, or a\nclaim declared without one).","readOnly":true},"stage":{"type":"string","title":"Stage","description":"rejected | rolled_back (its canary) | released | awaiting_operator (robot) | canary |\nawaiting_customer.","readOnly":true}},"type":"object","required":["id","workspace_id","kind","candidate_ref","model_version_id","from_version_id","task","claim","tolerance","gate","candidate_eval_id","baseline_eval_id","safety_eval_id","runtime_ref","suite_ref","suite_sha256","passed","verdict","failed_criteria","reasons","item_flips","accuracy","canary_percent","approved_at","approved_by","created_by","created_at","keep","stage"],"title":"ReleaseDecision"},"ReleaseItem":{"properties":{"cycle":{"anyOf":[{"$ref":"#/components/schemas/Cycle"},{"type":"null"}]},"decision":{"anyOf":[{"$ref":"#/components/schemas/ReleaseDecision"},{"type":"null"}]}},"type":"object","required":["cycle","decision"],"title":"ReleaseItem"},"ReleasePage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ReleaseItem"},"type":"array","title":"Items"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"},"since":{"type":"string","format":"date-time","title":"Since"}},"type":"object","required":["items","next","since"],"title":"ReleasePage"},"ReleaseRollbackIn":{"properties":{"reason":{"type":"string","maxLength":1900,"minLength":1,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"ReleaseRollbackIn"},"Replayed":{"properties":{"stored":{"additionalProperties":true,"type":"object","title":"Stored"},"replayed":{"additionalProperties":true,"type":"object","title":"Replayed"},"match":{"type":"boolean","title":"Match"}},"type":"object","required":["stored","replayed","match"],"title":"Replayed"},"ReplyIn":{"properties":{"question_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Question Id"},"choice_id":{"anyOf":[{"type":"string","maxLength":8,"minLength":1},{"type":"null"}],"title":"Choice Id"},"text":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Text"}},"additionalProperties":false,"type":"object","title":"ReplyIn","description":"Your answer to the agent: one of its question's buttons (its id), your words, or both;\nwords alone continue its work."},"Report":{"properties":{"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"start":{"type":"string","format":"date","title":"Start"},"end":{"type":"string","format":"date","title":"End"},"events":{"type":"integer","title":"Events"},"unknown":{"type":"integer","title":"Unknown"},"no_task":{"type":"integer","title":"No Task"},"tasks":{"items":{"$ref":"#/components/schemas/TaskOutcomes"},"type":"array","title":"Tasks"}},"type":"object","required":["workspace_id","start","end","events","unknown","no_task","tasks"],"title":"Report"},"Resolve":{"properties":{"modality":{"type":"string","enum":["approve_recovery","nudge","takeover"],"title":"Modality"},"outcome":{"type":"string","enum":["recovered","failed"],"title":"Outcome"},"step_range":{"$ref":"#/components/schemas/StepRange"},"note":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["modality","outcome","step_range"],"title":"Resolve"},"ResolvedAdapter":{"properties":{"kind":{"type":"string","enum":["lora_adapter","full_model"],"title":"Kind","default":"lora_adapter"},"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Job Id"},"receipt_schema":{"type":"string","title":"Receipt Schema"},"base":{"type":"string","title":"Base"},"base_repo":{"type":"string","title":"Base Repo"},"base_revision":{"type":"string","title":"Base Revision"},"digest":{"type":"string","title":"Digest"},"adapter_sha256":{"type":"string","title":"Adapter Sha256"},"adapter_config_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Adapter Config Sha256"},"config_sha256":{"type":"string","title":"Config Sha256"},"adapter_ref":{"type":"string","title":"Adapter Ref"},"dataset_manifest_sha256":{"type":"string","title":"Dataset Manifest Sha256"},"image_digest":{"type":"string","title":"Image Digest"},"receipt_ref":{"type":"string","title":"Receipt Ref"},"receipt_sha256":{"type":"string","title":"Receipt Sha256"},"receipt_verified":{"type":"boolean","title":"Receipt Verified"},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"alias":{"type":"string","enum":["champion","candidate"],"title":"Alias"},"adapter_version_id":{"type":"string","format":"uuid","title":"Adapter Version Id"},"alias_updated_at":{"type":"string","format":"date-time","title":"Alias Updated At"},"task":{"type":"string","title":"Task"}},"type":"object","required":["id","tenant_id","workspace_id","job_id","receipt_schema","base","base_repo","base_revision","digest","adapter_sha256","adapter_config_sha256","config_sha256","adapter_ref","dataset_manifest_sha256","image_digest","receipt_ref","receipt_sha256","receipt_verified","created_at","alias","adapter_version_id","alias_updated_at","task"],"title":"ResolvedAdapter"},"ResolvedModel":{"properties":{"kind":{"type":"string","const":"policy","title":"Kind","default":"policy"},"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Job Id"},"checkpoint_sha256":{"type":"string","title":"Checkpoint Sha256"},"checkpoint_ref":{"type":"string","title":"Checkpoint Ref"},"dataset_manifest_sha256":{"type":"string","title":"Dataset Manifest Sha256"},"base":{"type":"string","title":"Base"},"base_revision":{"type":"string","title":"Base Revision"},"recipe_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipe Sha256"},"image_digest":{"type":"string","title":"Image Digest"},"min_controller":{"type":"string","title":"Min Controller"},"receipt_ref":{"type":"string","title":"Receipt Ref"},"receipt_sha256":{"type":"string","title":"Receipt Sha256"},"receipt_verified":{"type":"boolean","title":"Receipt Verified"},"use_rabc":{"type":"boolean","title":"Use Rabc"},"required_task_suffix":{"type":"string","title":"Required Task Suffix"},"config_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Config Sha256"},"dev_strata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Dev Strata"},"calibration_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calibration Sha256"},"holdout_flags":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Holdout Flags"},"serving_refusal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serving Refusal"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"alias":{"type":"string","enum":["champion","candidate"],"title":"Alias"},"model_version_id":{"type":"string","format":"uuid","title":"Model Version Id"},"alias_updated_at":{"type":"string","format":"date-time","title":"Alias Updated At"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"rollout_from":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Rollout From","default":[]},"rollout_targets":{"items":{"$ref":"#/components/schemas/RolloutTarget"},"type":"array","title":"Rollout Targets","default":[]},"rollout_rings":{"items":{"$ref":"#/components/schemas/RolloutRing"},"type":"array","title":"Rollout Rings","default":[]}},"type":"object","required":["id","tenant_id","workspace_id","job_id","checkpoint_sha256","checkpoint_ref","dataset_manifest_sha256","base","base_revision","recipe_sha256","image_digest","min_controller","receipt_ref","receipt_sha256","receipt_verified","use_rabc","required_task_suffix","config_sha256","created_at","alias","model_version_id","alias_updated_at"],"title":"ResolvedModel"},"ResumeFrom":{"properties":{"job_id":{"type":"string","format":"uuid","title":"Job Id"},"incident_id":{"type":"string","format":"uuid","title":"Incident Id"},"checkpoint_id":{"type":"string","format":"uuid","title":"Checkpoint Id"},"step":{"type":"integer","minimum":0.0,"title":"Step"},"manifest_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Manifest Sha256"}},"additionalProperties":false,"type":"object","required":["job_id","incident_id","checkpoint_id","step","manifest_sha256"],"title":"ResumeFrom","description":"The verified checkpoint a recovery run resumes from. Set only by OS3's recovery: a job\nyou create with it is refused."},"RetrainSpec-Input":{"properties":{"dataset_version_id":{"type":"null","title":"Dataset Version Id"},"base":{"type":"string","enum":["pi05","smolvla","groot","molmoact2","openvla_oft","xr1","lora_trl","halo_rft","halo_rlvr"],"title":"Base","default":"pi05"},"steps":{"type":"integer","maximum":1000000.0,"exclusiveMinimum":0.0,"title":"Steps"},"batch":{"type":"integer","maximum":1024.0,"exclusiveMinimum":0.0,"title":"Batch","default":32},"use_rabc":{"type":"boolean","title":"Use Rabc","default":false},"intervention_weighting":{"anyOf":[{"type":"string","enum":["sirius","iwr"]},{"type":"null"}],"title":"Intervention Weighting"},"recap":{"type":"boolean","title":"Recap","default":false},"rl2":{"anyOf":[{"type":"string","enum":["practice","adaptation"]},{"type":"null"}],"title":"Rl2"},"use_depth":{"type":"boolean","title":"Use Depth","default":false},"gpu":{"type":"string","pattern":"^[A-Z][A-Z0-9-]*:[1-8]$","title":"Gpu","default":"H100:1"},"providers":{"items":{"type":"string","enum":["lambda","azure","aws","os3"]},"type":"array","minItems":1,"title":"Providers"},"lora":{"anyOf":[{"$ref":"#/components/schemas/LoraSpec"},{"type":"null"}]},"rlvr":{"anyOf":[{"$ref":"#/components/schemas/RlvrSpec"},{"type":"null"}]},"rft":{"anyOf":[{"$ref":"#/components/schemas/RftSpec"},{"type":"null"}]},"max_runtime_s":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Runtime S"},"pilot":{"anyOf":[{"$ref":"#/components/schemas/PilotArm"},{"type":"null"}]},"resume_from":{"anyOf":[{"$ref":"#/components/schemas/ResumeFrom"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["steps"],"title":"RetrainSpec","description":"A JobSpec without its dataset version (each run trains on the newest sealed one), for a\nrobot base: a LoRA or RLVR run trains on traces, not on a LeRobot dataset."},"RetrainSpec-Output":{"properties":{"base":{"type":"string","enum":["pi05","smolvla","groot","molmoact2","openvla_oft","xr1","lora_trl","halo_rft","halo_rlvr"],"title":"Base","default":"pi05"},"steps":{"type":"integer","maximum":1000000.0,"exclusiveMinimum":0.0,"title":"Steps"},"batch":{"type":"integer","maximum":1024.0,"exclusiveMinimum":0.0,"title":"Batch","default":32},"use_rabc":{"type":"boolean","title":"Use Rabc","default":false},"intervention_weighting":{"anyOf":[{"type":"string","enum":["sirius","iwr"]},{"type":"null"}],"title":"Intervention Weighting"},"recap":{"type":"boolean","title":"Recap","default":false},"rl2":{"anyOf":[{"type":"string","enum":["practice","adaptation"]},{"type":"null"}],"title":"Rl2"},"use_depth":{"type":"boolean","title":"Use Depth","default":false},"gpu":{"type":"string","pattern":"^[A-Z][A-Z0-9-]*:[1-8]$","title":"Gpu","default":"H100:1"},"providers":{"items":{"type":"string","enum":["lambda","azure","aws","os3"]},"type":"array","minItems":1,"title":"Providers"},"lora":{"anyOf":[{"$ref":"#/components/schemas/LoraSpec"},{"type":"null"}]},"rlvr":{"anyOf":[{"$ref":"#/components/schemas/RlvrSpec"},{"type":"null"}]},"rft":{"anyOf":[{"$ref":"#/components/schemas/RftSpec"},{"type":"null"}]},"max_runtime_s":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Runtime S"},"pilot":{"anyOf":[{"$ref":"#/components/schemas/PilotArm"},{"type":"null"}]},"resume_from":{"anyOf":[{"$ref":"#/components/schemas/ResumeFrom"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["steps"],"title":"RetrainSpec","description":"A JobSpec without its dataset version (each run trains on the newest sealed one), for a\nrobot base: a LoRA or RLVR run trains on traces, not on a LeRobot dataset."},"ReviewIn":{"properties":{"decision":{"type":"string","enum":["confirm","reject"],"title":"Decision"},"note":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"ReviewIn"},"ReviewedIn":{"properties":{"episode_id":{"type":"string","minLength":1,"title":"Episode Id"}},"additionalProperties":false,"type":"object","required":["episode_id"],"title":"ReviewedIn"},"RevisionOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"revision_sha256":{"type":"string","title":"Revision Sha256"},"record_sha256":{"type":"string","title":"Record Sha256"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"state":{"type":"string","title":"State"},"level":{"type":"string","title":"Level"},"failed":{"items":{"type":"string"},"type":"array","title":"Failed"},"record":{"additionalProperties":true,"type":"object","title":"Record"},"checks":{"additionalProperties":{"$ref":"#/components/schemas/Check"},"type":"object","title":"Checks"}},"type":"object","required":["id","revision_sha256","record_sha256","created_at","state","level","failed","record","checks"],"title":"RevisionOut"},"RftSpec":{"properties":{"recipe":{"type":"string","enum":["sql_v3","sql_v2","support_v1","structured_v1","graded_v1","graded_v2","structured_v2","harness_v1","bridged_v1"],"title":"Recipe","default":"sql_v3"},"base_model":{"type":"string","title":"Base Model"},"samples":{"type":"integer","maximum":64.0,"minimum":1.0,"title":"Samples","default":8},"tasks":{"type":"integer","maximum":1000000.0,"minimum":1.0,"title":"Tasks","default":1024},"rank":{"type":"integer","maximum":256.0,"minimum":1.0,"title":"Rank","default":16},"alpha":{"type":"integer","maximum":1024.0,"minimum":1.0,"title":"Alpha","default":32},"learning_rate":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Learning Rate","default":0.0002},"parent":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent"},"seed":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Seed"},"env_revision":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Env Revision"},"trainable":{"type":"string","enum":["lora","full"],"title":"Trainable","default":"lora"},"mode":{"anyOf":[{"type":"string","enum":["final","reasoning"]},{"type":"null"}],"title":"Mode"}},"additionalProperties":false,"type":"object","required":["base_model"],"title":"RftSpec","description":"Hosted RFT on Halo (base `halo_rft`): rejection-sampling fine-tuning, OS3's default training\nmethod for a task with a verifier (RLVR, base `halo_rlvr`, is the upgrade). One job on one GPU\nsamples the base `samples` times on each of the first `tasks` tasks of an RLVR dataset version\nin `recipe`'s task environment (sql_v3 unless the job names another), keeps up to 4 distinct\nepisodes per task that the verifier passed, and trains a LoRA on every assistant turn of them:\n`JobSpec.steps` / `batch` are its max_steps / batch, and rank, alpha and learning_rate are\nLoraSpec's. Its defaults: 8 samples of each of 1,024 tasks, LoRA rank 16 at a learning rate of\n2e-4. `base_model` is a key of the base-model catalog, checked at submission like LoraSpec's.\n`parent`, as LoraSpec's: the adapter version that samples the tasks and whose LoRA the run\ntrains on. `seed`, as LoraSpec's: the fine-tuning's. `env_revision` (recipe bridged_v1 only, and\nrequired by it): the environment hub revision of a bridged environment of the workspace's own\ncatalog, qualified for training, whose train split the job samples. `trainable`, as\nLoraSpec's. `mode`, as RlvrSpec's: the student mode it samples in, so its rows carry thinking\nonly in `reasoning`."},"Rl":{"properties":{"on":{"type":"boolean","title":"On"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"grpo_h100_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Grpo H100 Hours"}},"type":"object","required":["on","why","grpo_h100_hours"],"title":"Rl"},"RlDataset":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"slug":{"type":"string","title":"Slug"},"version":{"type":"integer","title":"Version"},"recipe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipe"},"file_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Count"},"total_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Bytes"},"manifest_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Sha256"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"sealed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sealed At"}},"type":"object","required":["id","dataset_id","workspace_id","slug","version","recipe","file_count","total_bytes","manifest_sha256","created_at","sealed_at"],"title":"RlDataset"},"RlDatasetCheck":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"slug":{"type":"string","title":"Slug"},"recipe":{"type":"string","title":"Recipe"},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"tasks":{"type":"integer","title":"Tasks"},"state":{"type":"string","title":"State"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"dataset_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Version Id"},"summary":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Summary"},"requested_by":{"type":"string","title":"Requested By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"report":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Report"}},"type":"object","required":["id","workspace_id","slug","recipe","environment_id","tasks","state","error","dataset_version_id","summary","requested_by","created_at","finished_at"],"title":"RlDatasetCheck"},"RlDatasetIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"slug":{"type":"string","maxLength":63,"pattern":"^[a-z0-9][a-z0-9-]{1,62}$","title":"Slug"},"recipe":{"type":"string","enum":["sql_v3","sql_v2","support_v1","structured_v1","graded_v1","structured_v2","harness"],"title":"Recipe","default":"sql_v3"},"tasks":{"items":{"$ref":"#/components/schemas/Task"},"type":"array","maxItems":100000,"minItems":1,"title":"Tasks"},"states":{"items":{"type":"string"},"type":"array","maxItems":10000,"title":"States","default":[]},"environment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Environment Id"},"recording":{"anyOf":[{"patternProperties":{"^[0-9a-f]{64}$":{"additionalProperties":true,"type":"object"}},"type":"object"},{"type":"null"}],"title":"Recording"},"grader_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Grader Id"},"grader_revision":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Grader Revision"}},"additionalProperties":false,"type":"object","required":["workspace_id","slug","tasks"],"title":"RlDatasetIn"},"RlEnvironment":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","title":"Name"},"version":{"type":"integer","title":"Version"},"revision":{"type":"string","title":"Revision"},"spec":{"additionalProperties":true,"type":"object","title":"Spec"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"staging":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Staging"},"credential":{"type":"boolean","title":"Credential","default":false}},"type":"object","required":["id","workspace_id","name","version","revision","spec","created_by","created_at"],"title":"RlEnvironment"},"RlEnvironmentIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"spec":{"additionalProperties":true,"type":"object","title":"Spec"}},"additionalProperties":false,"type":"object","required":["workspace_id","spec"],"title":"RlEnvironmentIn"},"RlProposal":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"type":"string","title":"Kind"},"source":{"type":"string","title":"Source"},"source_id":{"type":"string","title":"Source Id"},"trace_id":{"type":"string","title":"Trace Id"},"correction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correction"},"state":{"type":"string","title":"State"},"check_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Check Id"},"dataset_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Version Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"}},"type":"object","required":["id","kind","source","source_id","trace_id","correction","state","check_id","dataset_version_id","reason","created_at","decided_at"],"title":"RlProposal","description":"A candidate RL task a delayed outcome proposed for the task: the outcome (`kind` failure,\nboth_bad or correction; `source` outcome or vote, and its id), the served\nrequest's trace, a correction's text, and where its verification is: proposed, checking (its\nRL task set check), verified (the sealed version holding its task) or rejected (why)."},"RlProposalCheck":{"properties":{"check":{"$ref":"#/components/schemas/RlDatasetCheck"},"proposals":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Proposals"}},"type":"object","required":["check","proposals"],"title":"RlProposalCheck"},"RlvrSpec":{"properties":{"recipe":{"type":"string","enum":["code_contests_v1","code_contests_v2","code_contests_v3","code_contests_v4","sql_v1","sql_v2","sql_v3","support_v1","structured_v1","graded_v1","graded_v2","structured_v2","harness_v1","sql_v4_dapo_sync","sql_v4_cispo_sync","sql_v4_dapo_async1","sql_v4_cispo_reuse2","graded_v3_gspo_reuse2","bridged_v1","sql_v4_dapo_sync_r3","sql_v4_dapo_sync_lora","sql_v4_dapo_r3_122b","bridged_v2","bridged_v3","bridged_v4","bridged_v5"],"title":"Recipe","default":"sql_v3"},"base_model":{"type":"string","title":"Base Model"},"rollout_gpus":{"type":"integer","maximum":7.0,"minimum":1.0,"title":"Rollout Gpus","default":1},"rollout_replicas":{"type":"integer","maximum":7.0,"minimum":1.0,"title":"Rollout Replicas","default":1},"rank":{"type":"integer","maximum":256.0,"minimum":1.0,"title":"Rank","default":16},"alpha":{"type":"integer","maximum":1024.0,"minimum":1.0,"title":"Alpha","default":32},"learning_rate":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Learning Rate","default":4e-05},"save_steps":{"type":"integer","minimum":1.0,"title":"Save Steps","default":10},"parent":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent"},"budget_h100_hours":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Budget H100 Hours"},"seed":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Seed"},"env_revision":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Env Revision"},"warmup":{"anyOf":[{"$ref":"#/components/schemas/PublicPhase"},{"type":"null"}]},"retention":{"anyOf":[{"$ref":"#/components/schemas/PublicPhase"},{"type":"null"}]},"judge":{"anyOf":[{"$ref":"#/components/schemas/JudgeReward"},{"type":"null"}]},"trainable":{"type":"string","enum":["lora","full"],"title":"Trainable","default":"lora"},"mode":{"anyOf":[{"type":"string","enum":["final","reasoning"]},{"type":"null"}],"title":"Mode"},"context_parallel":{"type":"boolean","title":"Context Parallel","default":false}},"additionalProperties":false,"type":"object","required":["base_model"],"title":"RlvrSpec","description":"Online RLVR on Halo (base `halo_rlvr`): LoRA GRPO against an executable task's verifier.\n`recipe` names a frozen recipe (environment and verifier, rewards, sampling, GRPO objective,\nrollout server): sql_v3, the default, or sql_v2 (SQL tasks in OS3's task environments, LoRA on\nevery linear layer; sql_v3's hidden variants skip a foreign key that names no parent key),\nsupport_v1, structured_v1 or graded_v2 (sql_v3's contract on the support, structured and graded\nenvironments), structured_v2 (structured_v1 with extraction semantics) or harness_v1 (a\ncustomer's harness, live against its declared staging system), sql_v4_dapo_sync (sql_v3's\ntraining on the same environment, with every setting that decides what trains fixed by the\nrecipe itself, defaults included), sql_v4_dapo_async1 (that training with each round's\nrollouts sampled while the step before it trains, at most one update behind, on two or more\nrollout servers: `rollout_replicas`), sql_v4_cispo_reuse2 (that training with CISPO's loss, each\nround's rollouts trained by two optimizer updates), graded_v3_gspo_reuse2 (graded_v2's training\nwith GSPO's loss and the same reuse), sql_v4_dapo_sync_r3 (sql_v4_dapo_sync whose trainer\nreplays the rollout engine's expert routing, on a MoE base only: Qwen3.6-35B-A3B),\nsql_v4_dapo_sync_lora (sql_v4_dapo_sync whose rollout server serves the trained LoRA unmerged\ninstead of folded into its bf16 base weights), sql_v4_dapo_r3_122b (sql_v4_dapo_sync_r3 at an\n8,192-token context, rows of at most 4,096 tokens, sampling without thinking and at most 6\nturns: the only recipe of Qwen3.5-122B-A10B, which trains no other), code_contests_v4\n(Halo's code_contests, the model's programs run on OS3's isolated runtime), bridged_v1 (a\nbridged environment, below), bridged_v2 (bridged_v1 with each episode trained as one\nwhole-trajectory row instead of a row per assistant turn: long multi-turn episodes) or\nbridged_v3 (bridged_v2 without its 32-turn ceiling: the package's own max_turns and the base's\ncontext bound an episode) or bridged_v4 (bridged_v3 training rows of at most 49,152 tokens, a\nlonger one masked: Qwen3.6-35B-A3B's expert-parallel trainer's ceiling on H100 80 GB) or\nbridged_v5 (bridged_v4 rewarding an episode's strict pass less 0.5 when its calls broke a check\nthat held before, every turn's reasoning sent back to the rollout server as OS3 serves a\nthinking student, turns of up to 16,384 tokens, rows of at most 32,768).\ncode_contests_v1, code_contests_v2, code_contests_v3, sql_v1, graded_v1 and\nsql_v4_cispo_sync are retired: new jobs are refused them.\n`JobSpec.steps` is its max_steps and `JobSpec.batch` its episodes per step per trainer GPU (a\nmultiple of the recipe's group size). The job's GPUs (`JobSpec.gpu`) split into two roles: the\nlast `rollout_gpus` serve rollouts, the others train; unset on a base of more than one catalog\n`gpus` (Qwen3.6-35B-A3B's 2: its rollout server's tensor-parallel GPUs), `rollout_gpus` is\nthat many (else the workspace's pipeline default, 1 unless set), and such a base trains on at\nleast that many and serves on that many a server (JobSpec.unfit).\n`rollout_replicas`: how many separate\nrollout servers those GPUs run, each on an equal share of them (1 unless set; a recipe that\ncollects rollouts while it trains needs at least 2); every GPU is billed for the whole run,\nidle or not. A checkpoint every `save_steps` steps is what a relaunch resumes from.\n`base_model` is a key of the base-model catalog, checked at submission like LoraSpec's.\n`parent`, as LoraSpec's: the adapter version the run starts from, which its rollouts sample\ntoo. `budget_h100_hours` (required for a new job, on every paid LLM plan): the most H100-hours\nthe run may take; it is quoted and reserved at no more, and stops there, keeping its last\ncheckpoint as its adapter with its receipt. The budget must cover the run up to its first\ncheckpoint (`save_steps`) and the time to publish it. `seed`, as LoraSpec's.\n`env_revision` (recipes bridged_v1 to bridged_v5 only, and required by them): the\nenvironment hub revision of a bridged environment (an OpenEnv, verifiers, NeMo Gym or\nAutomationBench package of the workspace's own catalog, qualified for training) the run trains\non, its train split, through OS3's episode channel.\n`warmup` and `retention`: a public bridged revision qualified for training, trained for at most\n`steps` of the run's steps before the task (at most 20% of the steps and of the budget) or after\nit (at most 10% of the steps after the warm-up and of the tokens the task and retention\ntrain). `judge`: a calibrated rubric judge's reward beside the task's checks (not with a code\nrecipe). `trainable`, as LoraSpec's. `mode`: the student mode (`final`: thinking off,\n`reasoning`: on) the rollouts sample in, the one the child is served in; unset, the recipe's\nown sampling. `context_parallel`: every row split over the trainer GPUs, one\ncontext-parallel group of 2 or 4 (a dense base's LoRA), for episodes longer than one GPU\nholds; unset, off."},"Robot":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","title":"Name"},"embodiment":{"type":"string","title":"Embodiment"},"action_space_id":{"type":"string","title":"Action Space Id"},"wire_contract_version":{"type":"string","title":"Wire Contract Version"},"camera_shapes":{"additionalProperties":{"prefixItems":[{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0}],"type":"array","maxItems":3,"minItems":3},"type":"object","title":"Camera Shapes"},"controller_api_version":{"type":"string","title":"Controller Api Version"},"calibration_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calibration Sha256"},"serial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial"},"status":{"type":"string","enum":["registered","connected","revoked"],"title":"Status"},"credential_issued_at":{"type":"string","format":"date-time","title":"Credential Issued At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"specs":{"$ref":"#/components/schemas/RobotSpecs"},"live":{"$ref":"#/components/schemas/RobotLive"},"connection":{"$ref":"#/components/schemas/RobotConnection"},"capabilities":{"$ref":"#/components/schemas/RobotCapabilities"}},"type":"object","required":["id","tenant_id","workspace_id","name","embodiment","action_space_id","wire_contract_version","camera_shapes","controller_api_version","calibration_sha256","serial","status","credential_issued_at","created_at","last_seen_at","revoked_at","specs","live","connection","capabilities"],"title":"Robot","description":"A robot row as the API shows it: never the credential, its prefix or its hash."},"RobotCapabilities":{"properties":{"teleop":{"type":"boolean","title":"Teleop","default":false}},"type":"object","title":"RobotCapabilities"},"RobotConnection":{"properties":{"mode":{"type":"string","enum":["direct_tls","tailnet"],"title":"Mode"},"tailnet_node":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tailnet Node"},"tailnet_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tailnet Ip"},"tailnet_tag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tailnet Tag"}},"type":"object","required":["mode","tailnet_node","tailnet_ip","tailnet_tag"],"title":"RobotConnection","description":"How the robot reaches its endpoints: `direct_tls`, or `tailnet` once it joined OS3's\ntailnet (POST /robots/tailnet: its node's name and its tenant's robot tag)."},"RobotCreate":{"properties":{"action_space_id":{"type":"string","maxLength":200,"minLength":1,"title":"Action Space Id","default":"os3.openarm_wire.v1"},"wire_contract_version":{"type":"string","maxLength":200,"minLength":1,"title":"Wire Contract Version","default":"os3.openarm_wire.v1"},"camera_shapes":{"additionalProperties":{"prefixItems":[{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0}],"type":"array","maxItems":3,"minItems":3},"propertyNames":{"minLength":1},"type":"object","minProperties":1,"title":"Camera Shapes"},"controller_api_version":{"type":"string","maxLength":200,"minLength":1,"title":"Controller Api Version"},"embodiment":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{0,62}$","title":"Embodiment"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$","title":"Name"}},"additionalProperties":false,"type":"object","required":["camera_shapes","controller_api_version","embodiment","workspace_id","name"],"title":"RobotCreate"},"RobotCreated":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","title":"Name"},"embodiment":{"type":"string","title":"Embodiment"},"action_space_id":{"type":"string","title":"Action Space Id"},"wire_contract_version":{"type":"string","title":"Wire Contract Version"},"camera_shapes":{"additionalProperties":{"prefixItems":[{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0}],"type":"array","maxItems":3,"minItems":3},"type":"object","title":"Camera Shapes"},"controller_api_version":{"type":"string","title":"Controller Api Version"},"calibration_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calibration Sha256"},"serial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial"},"status":{"type":"string","enum":["registered","connected","revoked"],"title":"Status"},"credential_issued_at":{"type":"string","format":"date-time","title":"Credential Issued At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"specs":{"$ref":"#/components/schemas/RobotSpecs"},"live":{"$ref":"#/components/schemas/RobotLive"},"connection":{"$ref":"#/components/schemas/RobotConnection"},"capabilities":{"$ref":"#/components/schemas/RobotCapabilities"},"credential":{"type":"string","title":"Credential"},"enroll_command":{"type":"string","title":"Enroll Command"}},"type":"object","required":["id","tenant_id","workspace_id","name","embodiment","action_space_id","wire_contract_version","camera_shapes","controller_api_version","calibration_sha256","serial","status","credential_issued_at","created_at","last_seen_at","revoked_at","specs","live","connection","capabilities","credential","enroll_command"],"title":"RobotCreated"},"RobotCredential":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","title":"Name"},"embodiment":{"type":"string","title":"Embodiment"},"action_space_id":{"type":"string","title":"Action Space Id"},"wire_contract_version":{"type":"string","title":"Wire Contract Version"},"camera_shapes":{"additionalProperties":{"prefixItems":[{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0}],"type":"array","maxItems":3,"minItems":3},"type":"object","title":"Camera Shapes"},"controller_api_version":{"type":"string","title":"Controller Api Version"},"calibration_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calibration Sha256"},"serial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial"},"status":{"type":"string","enum":["registered","connected","revoked"],"title":"Status"},"credential_issued_at":{"type":"string","format":"date-time","title":"Credential Issued At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"specs":{"$ref":"#/components/schemas/RobotSpecs"},"live":{"$ref":"#/components/schemas/RobotLive"},"connection":{"$ref":"#/components/schemas/RobotConnection"},"capabilities":{"$ref":"#/components/schemas/RobotCapabilities"},"credential":{"type":"string","title":"Credential"},"trace":{"$ref":"#/components/schemas/RobotTrace"}},"type":"object","required":["id","tenant_id","workspace_id","name","embodiment","action_space_id","wire_contract_version","camera_shapes","controller_api_version","calibration_sha256","serial","status","credential_issued_at","created_at","last_seen_at","revoked_at","specs","live","connection","capabilities","credential","trace"],"title":"RobotCredential","description":"POST /provision and POST /robots/rotate: the robot and its new credential, shown once. The\ncredential it replaced stays valid until the next rotation. ``trace``: the organisation's trace\nsalt and consent block."},"RobotIdentity":{"properties":{"action_space_id":{"type":"string","maxLength":200,"minLength":1,"title":"Action Space Id","default":"os3.openarm_wire.v1"},"wire_contract_version":{"type":"string","maxLength":200,"minLength":1,"title":"Wire Contract Version","default":"os3.openarm_wire.v1"},"camera_shapes":{"additionalProperties":{"prefixItems":[{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0}],"type":"array","maxItems":3,"minItems":3},"propertyNames":{"minLength":1},"type":"object","minProperties":1,"title":"Camera Shapes"},"controller_api_version":{"type":"string","maxLength":200,"minLength":1,"title":"Controller Api Version"},"embodiment":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{0,62}$","title":"Embodiment"}},"additionalProperties":false,"type":"object","required":["camera_shapes","controller_api_version","embodiment"],"title":"RobotIdentity","description":"What a robot is: given by POST /robots or by the robot itself at POST /provision, and\nchanged by an owner or admin with PATCH /robots/{robot_id}."},"RobotLive":{"properties":{"online":{"type":"boolean","title":"Online"},"endpoint_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Endpoint Id"},"latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latency Ms"},"voice":{"anyOf":[{"$ref":"#/components/schemas/VoiceHealth"},{"type":"null"}]}},"type":"object","required":["online","endpoint_id","latency_ms"],"title":"RobotLive"},"RobotSpecs":{"properties":{"dof":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Dof"},"cameras":{"additionalProperties":{"$ref":"#/components/schemas/CameraSpec"},"propertyNames":{"minLength":1},"type":"object","maxProperties":16,"title":"Cameras"},"agent_version":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Agent Version"},"firmware_version":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Firmware Version"},"rig":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Rig"}},"additionalProperties":false,"type":"object","title":"RobotSpecs","description":"What the robot agent reports on its heartbeat (the registered identity, embodiment,\naction_space_id and the policy's camera_shapes, are the Robot's own fields)."},"RobotTrace":{"properties":{"salt":{"type":"string","title":"Salt"},"consent":{"additionalProperties":true,"type":"object","title":"Consent"}},"type":"object","required":["salt","consent"],"title":"RobotTrace","description":"What the robot's harness traces take from its organisation: ``salt`` is the organisation's\ntrace salt for trace ids (never logged), ``consent`` its consent block, as the gateway stamps\nit, without its ``vendor``, which each record names (its model's)."},"RolePatch":{"properties":{"role":{"type":"string","enum":["owner","admin","member"],"title":"Role"}},"additionalProperties":false,"type":"object","required":["role"],"title":"RolePatch"},"RollbackIn":{"properties":{"reason":{"type":"string","maxLength":1900,"minLength":1,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"RollbackIn"},"RollbackPreview":{"properties":{"incumbent_model":{"type":"string","title":"Incumbent Model"},"reinstated":{"anyOf":[{"$ref":"#/components/schemas/Reinstated"},{"type":"null"}]},"release":{"anyOf":[{"$ref":"#/components/schemas/AdapterRelease"},{"type":"null"}]}},"type":"object","required":["incumbent_model","reinstated","release"],"title":"RollbackPreview"},"Rollout":{"properties":{"stage":{"type":"string","title":"Stage"},"held":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Held"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"soak_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Soak S"},"report_timeout_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Report Timeout S"},"acceptance":{"anyOf":[{"$ref":"#/components/schemas/Acceptance"},{"type":"null"}]},"stage_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stage Started At"},"stages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Stages"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"release":{"$ref":"#/components/schemas/ControllerRelease"},"targets":{"items":{"$ref":"#/components/schemas/Target"},"type":"array","title":"Targets"}},"type":"object","required":["stage","held","reason","soak_s","report_timeout_s","acceptance","stage_started_at","stages","created_by","created_at","updated_at","id","release","targets"],"title":"Rollout"},"RolloutHistory":{"properties":{"controller":{"items":{"$ref":"#/components/schemas/Rollout"},"type":"array","title":"Controller"},"policy":{"items":{"$ref":"#/components/schemas/PolicyRollout"},"type":"array","title":"Policy"},"next_after":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next After"},"current_controller":{"anyOf":[{"$ref":"#/components/schemas/Rollout"},{"type":"null"}]}},"type":"object","required":["controller","policy","next_after","current_controller"],"title":"RolloutHistory"},"RolloutIn":{"properties":{"robot_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":500,"minItems":1,"title":"Robot Ids"},"site_robot_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":500,"title":"Site Robot Ids"},"acceptance":{"$ref":"#/components/schemas/Acceptance"},"soak_s":{"type":"integer","maximum":2592000.0,"minimum":0.0,"title":"Soak S","default":3600},"report_timeout_s":{"type":"integer","maximum":2592000.0,"minimum":60.0,"title":"Report Timeout S","default":86400},"release_id":{"type":"string","format":"uuid","title":"Release Id"}},"additionalProperties":false,"type":"object","required":["robot_ids","acceptance","release_id"],"title":"RolloutIn"},"RolloutRing":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"model_version_id":{"type":"string","format":"uuid","title":"Model Version Id"},"stage":{"type":"string","title":"Stage"}},"type":"object","required":["id","model_version_id","stage"],"title":"RolloutRing"},"RolloutRollbackIn":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"RolloutRollbackIn"},"RolloutTarget":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"model_version_id":{"type":"string","format":"uuid","title":"Model Version Id"},"refused":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refused"}},"type":"object","required":["id","name","model_version_id"],"title":"RolloutTarget"},"Route":{"properties":{"policy":{"type":"string","pattern":"^route-[0-9a-f]{16}$","title":"Policy"},"record_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Record Sha256"},"threshold":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Threshold"},"weak":{"type":"string","maxLength":200,"minLength":1,"title":"Weak"},"weak_upstream":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,62}$"},{"type":"null"}],"title":"Weak Upstream"},"embedding_upstream":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,62}$"},{"type":"null"}],"title":"Embedding Upstream"}},"additionalProperties":false,"type":"object","required":["policy","record_sha256","threshold","weak"],"title":"Route","description":"A routed variant's router: the fitted router ``policy`` (its ref, and the sha256 of its\nrecord, which names its weights) sends a case to the variant's own model and upstream when its\nprobability that this model wins over ``weak`` is at least ``threshold``, else to ``weak`` on\n``weak_upstream`` (unset: the eval job's judge key's upstream). ``embedding_upstream`` is the\nupstream the router's fit embedded its prompts on, where a canary serving the router embeds each\nrequest's (unset: the serving key's own upstream); the eval job embeds each case there before\nits answer, so the router's call counts in its timing and cost (unset: the variant's own\nupstream)."},"RoutePin":{"properties":{"pin":{"anyOf":[{"type":"string","const":"incumbent"},{"type":"null"}],"title":"Pin"}},"additionalProperties":false,"type":"object","required":["pin"],"title":"RoutePin"},"RouteView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"release_decision_id":{"type":"string","format":"uuid","title":"Release Decision Id"},"state":{"type":"string","title":"State"},"percent":{"type":"integer","title":"Percent"},"model":{"type":"string","title":"Model"},"incumbent_model":{"type":"string","title":"Incumbent Model"},"incumbent_usd_per_request":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Incumbent Usd Per Request"}},"type":"object","required":["id","release_decision_id","state","percent","model","incumbent_model","incumbent_usd_per_request"],"title":"RouteView"},"Run":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"schedule_id":{"type":"string","format":"uuid","title":"Schedule Id"},"outcome":{"type":"string","enum":["started","skipped","failed"],"title":"Outcome"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"base_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Base Version"},"head_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Head Version"},"diff_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Diff Sha256"},"evidence":{"additionalProperties":true,"type":"object","title":"Evidence"},"desired_job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Desired Job Id"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Job Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"busy_job_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Busy Job Ids"}},"type":"object","required":["id","schedule_id","outcome","reason","base_version","head_version","diff_sha256","evidence","desired_job_id","job_id","created_at"],"title":"Run"},"RunComparison":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"dataset":{"$ref":"#/components/schemas/FanoutDataset"},"runs":{"items":{"$ref":"#/components/schemas/FanoutRun"},"type":"array","title":"Runs"},"protocols":{"items":{"type":"string"},"type":"array","title":"Protocols"}},"type":"object","required":["workspace_id","dataset","runs","protocols"],"title":"RunComparison"},"RuntimeIdentity":{"properties":{"action_space_id":{"type":"string","maxLength":200,"minLength":1,"title":"Action Space Id","default":"os3.openarm_wire.v1"},"wire_contract_version":{"type":"string","maxLength":200,"minLength":1,"title":"Wire Contract Version","default":"os3.openarm_wire.v1"},"camera_shapes":{"additionalProperties":{"prefixItems":[{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0},{"type":"integer","exclusiveMinimum":0.0}],"type":"array","maxItems":3,"minItems":3},"propertyNames":{"minLength":1},"type":"object","minProperties":1,"title":"Camera Shapes"},"controller_api_version":{"type":"string","maxLength":200,"minLength":1,"title":"Controller Api Version"}},"additionalProperties":false,"type":"object","required":["camera_shapes","controller_api_version"],"title":"RuntimeIdentity","description":"What the robot runs: its action space, wire contract, cameras and controller API, as its\nhandshake record states them."},"S3CredentialsIn":{"properties":{"provider":{"type":"string","const":"s3","title":"Provider"},"access_key_id":{"type":"string","maxLength":128,"title":"Access Key Id"},"secret_access_key":{"type":"string","maxLength":128,"format":"password","title":"Secret Access Key","writeOnly":true},"session_token":{"type":"string","maxLength":4096,"format":"password","title":"Session Token","writeOnly":true},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["provider","access_key_id","secret_access_key","session_token","expires_at"],"title":"S3CredentialsIn"},"S3SourceIn":{"properties":{"provider":{"type":"string","const":"s3","title":"Provider"},"access_key_id":{"type":"string","maxLength":128,"title":"Access Key Id"},"secret_access_key":{"type":"string","maxLength":128,"format":"password","title":"Secret Access Key","writeOnly":true},"session_token":{"type":"string","maxLength":4096,"format":"password","title":"Session Token","writeOnly":true},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"bucket":{"type":"string","pattern":"[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]","title":"Bucket"},"region":{"type":"string","pattern":"[a-z]{2}(?:-[a-z]+)+-[0-9]{1,2}","title":"Region"},"prefix":{"type":"string","maxLength":1024,"title":"Prefix","default":""}},"additionalProperties":false,"type":"object","required":["provider","access_key_id","secret_access_key","session_token","expires_at","workspace_id","name","bucket","region"],"title":"S3SourceIn"},"SafetyIn":{"properties":{"n":{"type":"integer","maximum":10000000.0,"minimum":0.0,"title":"N"},"hard_failures":{"type":"integer","maximum":10000000.0,"minimum":0.0,"title":"Hard Failures"}},"additionalProperties":false,"type":"object","required":["n","hard_failures"],"title":"SafetyIn","description":"A separate targeted safety run (self-reported); bounded, unlike SafetyResult."},"SampleIn":{"properties":{"model":{"type":"string","maxLength":200,"minLength":1,"title":"Model","default":"gpt-6-sol"}},"additionalProperties":false,"type":"object","title":"SampleIn"},"Savings":{"properties":{"start":{"type":"string","format":"date","title":"Start"},"end":{"type":"string","format":"date","title":"End"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"price_snapshot":{"type":"string","format":"date","title":"Price Snapshot"},"min_trials":{"type":"integer","title":"Min Trials"},"baseline_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Baseline Usd"},"savings_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Savings Usd"},"tasks":{"items":{"$ref":"#/components/schemas/TaskSavings"},"type":"array","title":"Tasks"},"realised":{"$ref":"#/components/schemas/RealisedReport"}},"type":"object","required":["start","end","workspace_id","price_snapshot","min_trials","baseline_usd","savings_usd","tasks","realised"],"title":"Savings"},"Schedule":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"base":{"type":"string","title":"Base"},"spec":{"$ref":"#/components/schemas/RetrainSpec-Output"},"every_days":{"type":"integer","title":"Every Days"},"min_new_cells":{"type":"integer","title":"Min New Cells"},"min_interventions":{"type":"integer","title":"Min Interventions"},"min_new_eligible_traces":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min New Eligible Traces"},"paused":{"type":"boolean","title":"Paused"},"next_run_at":{"type":"string","format":"date-time","title":"Next Run At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"error_count":{"type":"integer","title":"Error Count"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","tenant_id","workspace_id","dataset_id","base","spec","every_days","min_new_cells","min_interventions","min_new_eligible_traces","paused","next_run_at","last_error","error_count","created_by","created_at","updated_at"],"title":"Schedule"},"ScheduleCreate":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"spec":{"$ref":"#/components/schemas/RetrainSpec-Input"},"every_days":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Every Days","default":1},"min_new_cells":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Min New Cells","default":1},"min_interventions":{"type":"integer","maximum":100000.0,"minimum":1.0,"title":"Min Interventions","default":20},"min_new_eligible_traces":{"anyOf":[{"type":"integer","maximum":10000000.0,"minimum":1.0},{"type":"null"}],"title":"Min New Eligible Traces"}},"additionalProperties":false,"type":"object","required":["workspace_id","dataset_id","spec"],"title":"ScheduleCreate"},"ScheduleDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"base":{"type":"string","title":"Base"},"spec":{"$ref":"#/components/schemas/RetrainSpec-Output"},"every_days":{"type":"integer","title":"Every Days"},"min_new_cells":{"type":"integer","title":"Min New Cells"},"min_interventions":{"type":"integer","title":"Min Interventions"},"min_new_eligible_traces":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min New Eligible Traces"},"paused":{"type":"boolean","title":"Paused"},"next_run_at":{"type":"string","format":"date-time","title":"Next Run At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"error_count":{"type":"integer","title":"Error Count"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"runs":{"items":{"$ref":"#/components/schemas/Run"},"type":"array","title":"Runs"},"next_after":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next After"}},"type":"object","required":["id","tenant_id","workspace_id","dataset_id","base","spec","every_days","min_new_cells","min_interventions","min_new_eligible_traces","paused","next_run_at","last_error","error_count","created_by","created_at","updated_at","runs"],"title":"ScheduleDetail"},"ScheduleIn":{"properties":{"every_days":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Every Days"}},"additionalProperties":false,"type":"object","required":["every_days"],"title":"ScheduleIn"},"SchedulePatch":{"properties":{"paused":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Paused"},"every_days":{"anyOf":[{"type":"integer","maximum":90.0,"minimum":1.0},{"type":"null"}],"title":"Every Days"},"min_new_cells":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":1.0},{"type":"null"}],"title":"Min New Cells"},"min_interventions":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Min Interventions"},"min_new_eligible_traces":{"anyOf":[{"type":"integer","maximum":10000000.0,"minimum":1.0},{"type":"null"}],"title":"Min New Eligible Traces"}},"additionalProperties":false,"type":"object","title":"SchedulePatch"},"ScimTokenCreated":{"properties":{"token":{"type":"string","title":"Token"},"prefix":{"type":"string","title":"Prefix"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["token","prefix","created_at"],"title":"ScimTokenCreated"},"SearchOut":{"properties":{"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"episodes":{"items":{"$ref":"#/components/schemas/Episode"},"type":"array","title":"Episodes"},"next_after":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next After"},"facets":{"$ref":"#/components/schemas/Facets"}},"type":"object","required":["dataset_id","episodes","next_after","facets"],"title":"SearchOut"},"Segment":{"properties":{"text":{"type":"string","title":"Text"},"match":{"type":"boolean","title":"Match"}},"type":"object","required":["text","match"],"title":"Segment"},"SelectionIn":{"properties":{"from_version":{"type":"integer","exclusiveMinimum":0.0,"title":"From Version"},"drop":{"items":{"$ref":"#/components/schemas/Drop"},"type":"array","maxItems":100000,"minItems":1,"title":"Drop"}},"additionalProperties":false,"type":"object","required":["from_version","drop"],"title":"SelectionIn","description":"The next version keeps every episode of sealed version `from_version` but those in `drop`,\neach with why it is left out."},"Served":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"lora_name":{"type":"string","title":"Lora Name"},"adapter_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Adapter Version Id"},"sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sha256"},"state":{"type":"string","title":"State"},"desired_state":{"type":"string","title":"Desired State"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"load_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Load Ms"},"fetch_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fetch Ms"},"verify_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Verify Ms"},"engine_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Engine Ms"}},"type":"object","required":["id","lora_name","adapter_version_id","sha256","state","desired_state","reason","revoked_at","load_ms","fetch_ms","verify_ms","engine_ms"],"title":"Served","description":"An adapter the endpoint serves."},"ServiceStatus":{"properties":{"state":{"type":"string","enum":["operational","minor","major","critical"],"title":"State"},"incidents":{"items":{"$ref":"#/components/schemas/Incident"},"type":"array","title":"Incidents"}},"type":"object","required":["state","incidents"],"title":"ServiceStatus"},"Serving":{"properties":{"endpoint_id":{"type":"string","format":"uuid","title":"Endpoint Id"},"image_digest":{"type":"string","title":"Image Digest"},"current":{"type":"boolean","title":"Current"},"gpu":{"type":"string","title":"Gpu"},"handshake":{"$ref":"#/components/schemas/HandshakeRecord"},"warm_ms":{"type":"number","title":"Warm Ms"},"chunks":{"type":"integer","title":"Chunks"},"p50_ms":{"type":"number","title":"P50 Ms"},"p95_ms":{"type":"number","title":"P95 Ms"},"measured_at":{"type":"string","format":"date-time","title":"Measured At"}},"type":"object","required":["endpoint_id","image_digest","current","gpu","handshake","warm_ms","chunks","p50_ms","p95_ms","measured_at"],"title":"Serving"},"ServingConfig":{"properties":{"quantization":{"anyOf":[{"type":"string","enum":["fp8_per_tensor","fp8_per_block"]},{"type":"null"}],"title":"Quantization"},"kv_cache_dtype":{"anyOf":[{"type":"string","const":"fp8"},{"type":"null"}],"title":"Kv Cache Dtype"},"speculative":{"anyOf":[{"$ref":"#/components/schemas/NgramSpeculation"},{"$ref":"#/components/schemas/MtpSpeculation"},{"$ref":"#/components/schemas/NoSpeculation"},{"type":"null"}],"title":"Speculative"},"max_num_seqs":{"anyOf":[{"type":"integer","maximum":256.0,"minimum":1.0},{"type":"null"}],"title":"Max Num Seqs"},"max_loras":{"anyOf":[{"type":"integer","maximum":256.0,"minimum":1.0},{"type":"null"}],"title":"Max Loras"},"max_num_batched_tokens":{"anyOf":[{"type":"integer","enum":[512,1024,2048]},{"type":"null"}],"title":"Max Num Batched Tokens"},"max_num_active_seqs":{"anyOf":[{"type":"integer","maximum":256.0,"minimum":1.0},{"type":"null"}],"title":"Max Num Active Seqs"}},"additionalProperties":false,"type":"object","title":"ServingConfig","description":"How an llm_vllm endpoint's engine serves its base and the adapters it loads, beyond the\nbase's own serving: vLLM v0.30.0's online FP8 quantization of the base's linear weights at load\ntime (`--quantization`; H100s run both schemes as W8A8; the adapters stay bf16), an FP8 KV cache\n(`--kv-cache-dtype`), speculative decoding (n-gram, the base's MTP drafter at another depth, or\nnone; each replaces the drafter a base serves with by default), the batch size\n(`--max-num-seqs`, else the base's), the LoRA slots (`--max-loras`, at most the base's: fewer\nslots decode faster, while a batch holding more adapters than slots defers the rest), a step's\ntoken budget (`--max-num-batched-tokens`: 512, 1,024 or 2,048) and the requests the engine runs\nat once (`--max-num-active-seqs`, at most the batch size). Unset fields are the engine's\ndefaults and are left out of the configuration's JSON. It sets at least one field: the default\nserving is no configuration."},"ServingRates":{"properties":{"input_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Input Per 1M"},"cached_input_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cached Input Per 1M"},"output_per_1m":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Output Per 1M"},"provisional":{"type":"boolean","title":"Provisional","default":false},"since":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Since"},"profiles":{"additionalProperties":{"$ref":"#/components/schemas/Rates"},"type":"object","title":"Profiles","default":{}}},"additionalProperties":false,"type":"object","required":["input_per_1m","cached_input_per_1m","output_per_1m"],"title":"ServingRates","description":"The rates from ``since`` (a UTC day) until they change, and a base model's own rates\n(``profiles``); any other model's are these."},"SettingSavings":{"properties":{"keep":{"type":"number","title":"Keep"},"monthly_savings_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Monthly Savings Usd"},"decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Decision Id"}},"type":"object","required":["keep","monthly_savings_usd","decision_id"],"title":"SettingSavings"},"SettingsIn":{"properties":{"auto_topup":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Topup"},"auto_topup_usd":{"anyOf":[{"type":"integer","minimum":20.0},{"type":"null"}],"title":"Auto Topup Usd"},"auto_topup_monthly_cap_usd":{"anyOf":[{"type":"integer","minimum":20.0},{"type":"null"}],"title":"Auto Topup Monthly Cap Usd"},"phone":{"anyOf":[{"type":"string","pattern":"^\\+[1-9][0-9]{6,14}$"},{"type":"null"}],"title":"Phone"},"business_name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Business Name"}},"type":"object","title":"SettingsIn"},"Shadow":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"schema_hash":{"type":"string","title":"Schema Hash"},"upstream_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upstream Id"},"model":{"type":"string","title":"Model"},"candidate_ref":{"type":"string","title":"Candidate Ref"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"}},"type":"object","required":["id","schema_hash","upstream_id","model","candidate_ref","created_at","disabled_at"],"title":"Shadow"},"ShadowIn":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"upstream_id":{"type":"string","format":"uuid","title":"Upstream Id"},"model":{"type":"string","maxLength":200,"minLength":1,"title":"Model"},"candidate_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Candidate Ref"}},"additionalProperties":false,"type":"object","required":["task_id","upstream_id","model","candidate_ref"],"title":"ShadowIn"},"Slice":{"properties":{"name":{"type":"string","pattern":"^[a-z0-9_]{1,64}$","title":"Name"},"path":{"type":"string","pattern":"^[A-Za-z0-9_-]+(\\.[A-Za-z0-9_-]+)*$","title":"Path"},"values":{"items":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"boolean"}]},"type":"array","minItems":1,"title":"Values"},"min_n":{"type":"integer","minimum":1.0,"title":"Min N"}},"additionalProperties":false,"type":"object","required":["name","path","values","min_n"],"title":"Slice"},"SliceResult":{"properties":{"name":{"type":"string","title":"Name"},"min_n":{"type":"integer","title":"Min N"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"gold_labels":{"type":"boolean","title":"Gold Labels"},"verdict":{"type":"string","enum":["pass","fail","unmeasured","insufficient_trials"],"title":"Verdict"}},"type":"object","required":["name","min_n","result","gold_labels","verdict"],"title":"SliceResult"},"Smoke":{"properties":{"job_id":{"type":"string","title":"Job Id"},"image_digest":{"type":"string","title":"Image Digest"},"current":{"type":"boolean","title":"Current"},"checkpoint_sha256":{"type":"string","title":"Checkpoint Sha256"},"receipt_sha256":{"type":"string","title":"Receipt Sha256"},"steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Steps"},"resumed_from_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resumed From Step"},"finished_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["job_id","image_digest","current","checkpoint_sha256","receipt_sha256","steps","resumed_from_step","finished_at"],"title":"Smoke"},"Source":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","title":"Name"},"provider":{"type":"string","title":"Provider"},"account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account"},"bucket":{"type":"string","title":"Bucket"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"prefix":{"type":"string","title":"Prefix"},"credential_expires_at":{"type":"string","format":"date-time","title":"Credential Expires At"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"type":"object","required":["id","tenant_id","workspace_id","name","provider","account","bucket","region","prefix","credential_expires_at","created_by","created_at","revoked_at"],"title":"Source","description":"A source in the customer's storage: an Azure container (`account`, `bucket` the container)\nor an S3 bucket (`region`), under `prefix`. Its credential is in the organisation's key vault\nand is never returned."},"SpeedIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"max_p95_ratio":{"anyOf":[{"type":"number","enum":[1.0,1.1,1.25,1.5]},{"type":"null"}],"title":"Max P95 Ratio"}},"additionalProperties":false,"type":"object","required":["workspace_id","max_p95_ratio"],"title":"SpeedIn","description":"The most a candidate's p95 latency may be as a multiple of the current model's (1.00: no\nslower, up to 1.50: 50% slower), for the workspace (no `task_id`: its default) or one task in\nit; null clears it."},"SpeedSetting":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"max_p95_ratio":{"type":"number","title":"Max P95 Ratio"},"source":{"type":"string","enum":["task","workspace","default"],"title":"Source"},"set_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Set By"},"set_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Set At"}},"type":"object","required":["workspace_id","task_id","max_p95_ratio","source","set_by","set_at"],"title":"SpeedSetting","description":"The speed setting in force at a scope (`source`: its own row, the workspace's or the\nno-slower default) and who set that row, when."},"Sso":{"properties":{"provider_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Provider Id"},"required":{"type":"boolean","title":"Required","default":false},"scim_token_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scim Token Prefix"},"scim_token_created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scim Token Created At"}},"type":"object","title":"Sso"},"SsoPatch":{"properties":{"required":{"type":"boolean","title":"Required"}},"additionalProperties":false,"type":"object","required":["required"],"title":"SsoPatch"},"SsoRequiredBy":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","slug","name"],"title":"SsoRequiredBy"},"StableRun":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"seq":{"type":"integer","title":"Seq"},"eval_job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Eval Job Id"},"safety_job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Safety Job Id"},"general_job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"General Job Id"},"filed_at":{"type":"string","format":"date-time","title":"Filed At"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verdict"},"reasons":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Reasons"},"evidence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Evidence"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"}},"type":"object","required":["id","seq","eval_job_id","safety_job_id","general_job_id","filed_at","verdict","reasons","evidence","decided_at"],"title":"StableRun"},"Stage":{"properties":{"name":{"type":"string","title":"Name"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["name","at"],"title":"Stage","description":"What a running job is doing before its trainer reports a step, as its training image last\nsaid, and when that was recorded. `name`: download (downloading the dataset version), verify\n(checking a copy already on the machine), prepare (preparing the data to train), quality\n(checking capture quality), sample (sampling the base model on the version's tasks), base\n(loading the base model), start (starting the trainer: it reports its first step next), or\ntrain (training, for a trainer that reports no steps). Other names may be added."},"StagingIn":{"properties":{"declared":{"type":"boolean","title":"Declared"},"credential":{"anyOf":[{"type":"string","format":"password","writeOnly":true},{"type":"null"}],"title":"Credential"},"concurrency":{"type":"integer","maximum":64.0,"minimum":1.0,"title":"Concurrency","default":4},"timeout_s":{"type":"number","maximum":30.0,"exclusiveMinimum":0.0,"title":"Timeout S","default":10.0}},"additionalProperties":false,"type":"object","required":["declared"],"title":"StagingIn"},"StartEstimate":{"properties":{"earliest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Earliest"},"latest":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Latest"}},"type":"object","title":"StartEstimate","description":"When a job waiting for GPUs is estimated to start. Both null: estimate unavailable."},"StartIn":{"properties":{"plan_sha256":{"type":"string","title":"Plan Sha256"},"max_usd":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Max Usd"}},"type":"object","required":["plan_sha256","max_usd"],"title":"StartIn"},"Step":{"properties":{"step":{"type":"string","enum":["robot","dataset","contract","access","runtime","quota"],"title":"Step"},"status":{"type":"string","enum":["ok","failed","unknown","blocked"],"title":"Status"},"detail":{"type":"string","title":"Detail"},"fix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fix"},"warning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warning"}},"type":"object","required":["step","status","detail"],"title":"Step"},"StepRange":{"properties":{"onset":{"type":"integer","minimum":0.0,"title":"Onset"},"handback":{"type":"integer","minimum":0.0,"title":"Handback"}},"additionalProperties":false,"type":"object","required":["onset","handback"],"title":"StepRange","description":"Inclusive episode step indices ``[onset, handback]``."},"StopIn":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason","default":"stopped by a person"}},"additionalProperties":false,"type":"object","title":"StopIn"},"StorageBar":{"properties":{"granted":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Granted"},"used":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Used"},"per_day":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Per Day"},"exhausts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Exhausts At"},"datasets":{"items":{"$ref":"#/components/schemas/DatasetStorage"},"type":"array","title":"Datasets"}},"type":"object","required":["granted","used","per_day","exhausts_at","datasets"],"title":"StorageBar"},"StoredFile":{"properties":{"path":{"type":"string","title":"Path"},"sha256":{"type":"string","title":"Sha256"},"bytes":{"type":"integer","title":"Bytes"}},"type":"object","required":["path","sha256","bytes"],"title":"StoredFile","description":"A version's file as stored: a declared LeRobot v3 upload (FileDecl), or a file of an LLM\ntraining set OS3 built (traces/, examples.jsonl, receipt.json)."},"Streams":{"properties":{"route_id":{"type":"string","format":"uuid","title":"Route Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"state":{"type":"string","title":"State"},"release_decision_id":{"type":"string","format":"uuid","title":"Release Decision Id"},"fresh":{"anyOf":[{"$ref":"#/components/schemas/Fresh"},{"type":"null"}]},"stable":{"items":{"$ref":"#/components/schemas/StableRun"},"type":"array","title":"Stable"}},"type":"object","required":["route_id","task_id","workspace_id","state","release_decision_id","fresh","stable"],"title":"Streams"},"StructuralSlice":{"properties":{"kind":{"type":"string","title":"Kind"},"value":{"type":"string","title":"Value"},"n":{"type":"integer","title":"N"},"groups":{"type":"integer","title":"Groups"},"effective_n":{"type":"number","title":"Effective N"},"win_rate_point":{"type":"number","title":"Win Rate Point"},"win_rate_ci_lower":{"type":"number","title":"Win Rate Ci Lower"},"win_rate_ci_upper":{"type":"number","title":"Win Rate Ci Upper"},"margin":{"type":"string","enum":["within","below","unclear"],"title":"Margin"}},"type":"object","required":["kind","value","n","groups","effective_n","win_rate_point","win_rate_ci_lower","win_rate_ci_upper","margin"],"title":"StructuralSlice"},"Subtask":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name"},"start":{"type":"integer","minimum":0.0,"title":"Start"},"end":{"type":"integer","minimum":1.0,"title":"End"}},"additionalProperties":false,"type":"object","required":["name","start","end"],"title":"Subtask"},"SubtasksIn":{"properties":{"kind":{"type":"string","const":"subtasks","title":"Kind"},"subtasks":{"items":{"$ref":"#/components/schemas/Subtask"},"type":"array","maxItems":500,"title":"Subtasks"},"note":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["kind","subtasks"],"title":"SubtasksIn"},"Summary":{"properties":{"open":{"type":"integer","title":"Open"},"claimed":{"type":"integer","title":"Claimed"},"oldest_open_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest Open At"},"claim_window_days":{"type":"integer","title":"Claim Window Days"},"claims":{"type":"integer","title":"Claims"},"claim_s_median":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Claim S Median"}},"type":"object","required":["open","claimed","oldest_open_at","claim_window_days","claims","claim_s_median"],"title":"Summary"},"SwitchBackIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"part":{"$ref":"#/components/schemas/PartOf"}},"additionalProperties":false,"type":"object","required":["workspace_id","part"],"title":"SwitchBackIn"},"TailnetJoin":{"properties":{"auth_key":{"type":"string","title":"Auth Key"},"tag":{"type":"string","title":"Tag"},"hostname":{"type":"string","title":"Hostname"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["auth_key","tag","hostname","expires_at"],"title":"TailnetJoin"},"Target":{"properties":{"robot_id":{"type":"string","format":"uuid","title":"Robot Id"},"position":{"type":"integer","title":"Position"},"ring":{"type":"string","title":"Ring"},"status":{"type":"string","title":"Status"},"from_commit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Commit"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"applied_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Applied At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["robot_id","position","ring","status","from_commit","reason","applied_at","updated_at"],"title":"Target"},"Task":{"properties":{"prompt":{"items":{"$ref":"#/components/schemas/Message"},"type":"array","minItems":1,"title":"Prompt"},"answer":{"additionalProperties":true,"type":"object","title":"Answer"},"split":{"type":"string","enum":["train","dev","test"],"title":"Split","default":"train"},"family":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Family"}},"additionalProperties":false,"type":"object","required":["prompt","answer"],"title":"Task"},"TaskAuto":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"enabled":{"type":"boolean","title":"Enabled"},"source":{"type":"string","enum":["task","workspace","default"],"title":"Source"},"workspace_default":{"type":"boolean","title":"Workspace Default"},"training_allowed":{"type":"boolean","title":"Training Allowed"},"rl":{"$ref":"#/components/schemas/Rl"},"training_h100_hours_month":{"type":"number","title":"Training H100 Hours Month"},"auto_promote":{"type":"boolean","title":"Auto Promote"}},"type":"object","required":["workspace_id","task_id","enabled","source","workspace_default","training_allowed","rl","training_h100_hours_month","auto_promote"],"title":"TaskAuto"},"TaskBudget":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"mandate_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mandate Version"},"meters":{"additionalProperties":{"$ref":"#/components/schemas/MeterBudget"},"type":"object","title":"Meters"},"planner":{"$ref":"#/components/schemas/PlannerBudget"},"grants":{"items":{"$ref":"#/components/schemas/BudgetGrant"},"type":"array","title":"Grants"}},"type":"object","required":["workspace_id","task_id","mandate_version","meters","planner","grants"],"title":"TaskBudget","description":"What OS3's optimizer may spend on a task in a workspace, over every cycle, and what it has\nspent or holds: H100-hours, API dollars, sandbox CPU- and GiB-hours. Every operation reserves\nits most before it starts; retries, new runs and new cycles never add to the budget, only you\ndo (the mandate, or a grant). During the preview OS3 pays for it, up to each meter's\nos3_cap."},"TaskGroup":{"properties":{"traces":{"type":"integer","title":"Traces"},"tokens_in":{"type":"integer","title":"Tokens In"},"tokens_out":{"type":"integer","title":"Tokens Out"},"cost_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost Usd"},"uncosted":{"type":"integer","title":"Uncosted"},"errors":{"type":"integer","title":"Errors"},"hosted":{"type":"integer","title":"Hosted"},"p50_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P50 Ms"},"p95_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"P95 Ms"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"schema_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Hash"}},"type":"object","required":["traces","tokens_in","tokens_out","cost_usd","uncosted","errors","hosted","p50_ms","p95_ms","task_id","label","schema_hash"],"title":"TaskGroup"},"TaskMandate":{"properties":{"objective":{"type":"string","enum":["cheaper_same_quality","improve_quality"],"title":"Objective","default":"cheaper_same_quality"},"h100_hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,3}0*$","title":"H100 Hours","default":"0"},"api_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,2}0*$","title":"Api Usd","default":"0"},"sandbox_cpu_hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,3}0*$","title":"Sandbox Cpu Hours","default":"0"},"sandbox_gib_hours":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,3}0*$","title":"Sandbox Gib Hours","default":"0"},"max_configurations":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Max Configurations","default":6},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"claim":{"type":"string","title":"Claim"},"keep":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Keep"},"set_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Set By"},"set_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Set At"}},"additionalProperties":false,"type":"object","required":["workspace_id","task_id","version","claim","set_by","set_at"],"title":"TaskMandate","description":"A task's mandate for OS3's optimizer agent in a workspace. `version`: null until it is\nfirst set (these are then the defaults). `claim`: what a released candidate may be called,\n`same_quality` (cheaper at the same verified quality), `economy` (cheaper, keeping at least\n`keep` of the current model's quality: the task's quality setting below 100%) or\n`improvement`."},"TaskModel":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"base_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Model"},"task_id":{"type":"string","format":"uuid","title":"Task Id"}},"additionalProperties":false,"type":"object","required":["workspace_id","base_model","task_id"],"title":"TaskModel"},"TaskModelIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"base_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Model"}},"additionalProperties":false,"type":"object","required":["workspace_id","base_model"],"title":"TaskModelIn","description":"The model the task's specialist trains on in the workspace, one of its choices; null goes\nback to OS3's default."},"TaskModels":{"properties":{"choices":{"items":{"$ref":"#/components/schemas/ModelChoice"},"type":"array","title":"Choices"},"chosen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chosen"}},"type":"object","required":["choices","chosen"],"title":"TaskModels","description":"The task's model choices and the one chosen for it (null: OS3's default, then the larger\nsize if the default does not pass)."},"TaskOutcomes":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"contract":{"anyOf":[{"$ref":"#/components/schemas/OutcomeContractRef"},{"type":"null"}]},"undeclared":{"additionalProperties":{"type":"integer"},"type":"object","title":"Undeclared"},"outcomes":{"items":{"$ref":"#/components/schemas/OutcomeResult"},"type":"array","title":"Outcomes"}},"type":"object","required":["task_id","contract","undeclared","outcomes"],"title":"TaskOutcomes"},"TaskPart":{"properties":{"part":{"$ref":"#/components/schemas/PartOf"},"state":{"type":"string","enum":["released","held","switched_back"],"title":"State"},"verdict":{"anyOf":[{"type":"string","enum":["pass","fail","insufficient_trials"]},{"type":"null"}],"title":"Verdict"},"n":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N"},"groups":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Groups"},"win_rate_point":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Win Rate Point"},"win_rate_ci_lower":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Win Rate Ci Lower"},"win_rate_ci_upper":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Win Rate Ci Upper"},"switched_back_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Switched Back At"}},"type":"object","required":["part","state","verdict","n","groups","win_rate_point","win_rate_ci_lower","win_rate_ci_upper","switched_back_at"],"title":"TaskPart","description":"A part of the task: its comparison and whether the specialist answers it."},"TaskQuality":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"keep":{"type":"number","title":"Keep"},"source":{"type":"string","enum":["task","workspace","default"],"title":"Source"},"workspace_keep":{"type":"number","title":"Workspace Keep"},"floor":{"type":"number","title":"Floor"},"claim":{"type":"string","enum":["same_quality","economy"],"title":"Claim"},"contract":{"type":"boolean","title":"Contract"},"monthly_requests":{"type":"integer","title":"Monthly Requests"},"max_p95_ratio":{"type":"number","title":"Max P95 Ratio"},"speed_source":{"type":"string","enum":["task","workspace","default"],"title":"Speed Source"},"workspace_max_p95_ratio":{"type":"number","title":"Workspace Max P95 Ratio"},"speed_steps":{"items":{"type":"number"},"type":"array","title":"Speed Steps"},"points":{"items":{"$ref":"#/components/schemas/QualityPoint"},"type":"array","title":"Points"},"savings":{"items":{"$ref":"#/components/schemas/SettingSavings"},"type":"array","title":"Savings"},"changes":{"items":{"$ref":"#/components/schemas/QualityChange"},"type":"array","title":"Changes"}},"type":"object","required":["task_id","workspace_id","keep","source","workspace_keep","floor","claim","contract","monthly_requests","max_p95_ratio","speed_source","workspace_max_p95_ratio","speed_steps","points","savings","changes"],"title":"TaskQuality"},"TaskResult":{"properties":{"task":{"type":"string","title":"Task"},"eval_run_id":{"type":"string","title":"Eval Run Id"},"candidate_ref":{"type":"string","title":"Candidate Ref"},"robot_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot Ref"},"n":{"type":"integer","title":"N"},"successes":{"type":"integer","title":"Successes"},"hard_failures":{"type":"integer","title":"Hard Failures"},"ci_lower":{"type":"number","title":"Ci Lower"},"ci_upper":{"type":"number","title":"Ci Upper"},"finished_at":{"type":"string","title":"Finished At"}},"type":"object","required":["task","eval_run_id","candidate_ref","robot_ref","n","successes","hard_failures","ci_lower","ci_upper","finished_at"],"title":"TaskResult"},"TaskRl":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"dataset_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Version Id"},"grpo_h100_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Grpo H100 Hours"},"train_dataset_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Train Dataset Version Id"},"set_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Set By"},"set_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Set At"}},"type":"object","required":["workspace_id","task_id","dataset_version_id","grpo_h100_hours","train_dataset_version_id","set_by","set_at"],"title":"TaskRl","description":"The task's verifier in the workspace, its GRPO budget per run and its RL training set\n(null: the verifier's train tasks), and who set them, when (all null without one)."},"TaskRlIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"dataset_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Dataset Version Id"},"grpo_h100_hours":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,6}|(?=[\\d.]{1,9}0*$)\\d{0,6}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Grpo H100 Hours"},"train_dataset_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Train Dataset Version Id"}},"additionalProperties":false,"type":"object","required":["workspace_id","dataset_version_id"],"title":"TaskRlIn","description":"The task's verifier in the workspace: a sealed RL task set of the workspace whose held-out\ntest tasks decide the task's trained specialists and whose train tasks reinforcement fine-tuning\ntrains them on after supervised fine-tuning; and the H100-hours each GRPO run of the task may\ntake (none: no GRPO, reinforcement fine-tuning only). `dataset_version_id` null clears it.\n`train_dataset_version_id`: the RL runs' training set instead of the verifier's train tasks, a\ncomposite of RL task sets that keeps the verifier as a source marked solved at a stated\nsolved_share (POST /datasets/{id}/versions), so RL on new tasks keeps the ones it solves."},"TaskSavings":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"label":{"type":"string","title":"Label"},"baseline":{"$ref":"#/components/schemas/Traffic"},"eval_set":{"anyOf":[{"$ref":"#/components/schemas/EvalSetView"},{"type":"null"}]},"optimised":{"anyOf":[{"$ref":"#/components/schemas/Optimised"},{"type":"null"}]},"savings_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Savings Usd"},"counted":{"type":"boolean","title":"Counted"},"contract":{"anyOf":[{"$ref":"#/components/schemas/ContractRef"},{"type":"null"}]},"routes":{"items":{"$ref":"#/components/schemas/RouteView"},"type":"array","title":"Routes"},"realised":{"$ref":"#/components/schemas/Realised"},"contracts":{"items":{"$ref":"#/components/schemas/ContractRealised"},"type":"array","title":"Contracts"},"break_even":{"items":{"$ref":"#/components/schemas/BreakEven"},"type":"array","title":"Break Even"}},"type":"object","required":["task_id","label","baseline","eval_set","optimised","savings_usd","counted","contract","routes","realised","contracts","break_even"],"title":"TaskSavings"},"TaskThinking":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"pick":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pick"},"picked_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picked By"},"picked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Picked At"},"served":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Served"},"comparison":{"anyOf":[{"$ref":"#/components/schemas/ThinkingComparison"},{"type":"null"}]},"cycle":{"anyOf":[{"$ref":"#/components/schemas/ThinkingCycle"},{"type":"null"}]},"traffic":{"anyOf":[{"$ref":"#/components/schemas/ThinkingTraffic"},{"type":"null"}]}},"type":"object","required":["task_id","workspace_id","pick","picked_by","picked_at","served","comparison","cycle","traffic"],"title":"TaskThinking","description":"The task's thinking pick in the workspace, the mode its specialist answers in now and\nboth modes' measured numbers."},"TaskTimeline":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"state":{"anyOf":[{"type":"string","enum":["asleep","planning","stopped"]},{"type":"null"}],"title":"State"},"stopped_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stopped Reason"},"events":{"items":{"$ref":"#/components/schemas/TimelineEvent"},"type":"array","title":"Events"},"next":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next"}},"type":"object","required":["workspace_id","task_id","state","stopped_reason","events","next"],"title":"TaskTimeline","description":"What OS3's optimizer agent did on a task in a workspace, oldest first. `state`: asleep\n(waiting for its next cue), planning, stopped (`stopped_reason` says why), or null before it\nfirst works on the task. Pass `next` as `after` for the next page, or the last event's id to\nask for new steps."},"TaskVersion":{"properties":{"version_id":{"type":"string","format":"uuid","title":"Version Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"},"first_seen":{"type":"string","format":"date-time","title":"First Seen"},"state":{"type":"string","enum":["checking","routed","waiting"],"title":"State"},"reason":{"anyOf":[{"type":"string","enum":["failed_check","bigger_change"]},{"type":"null"}],"title":"Reason"},"checked":{"type":"integer","title":"Checked"},"of":{"type":"integer","title":"Of"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"}},"type":"object","required":["version_id","route_id","first_seen","state","checked","of"],"title":"TaskVersion","description":"A new prompt version of a task with a live specialist: being checked, routed to the\nspecialist, or waiting for a new release decision."},"TestIn":{"properties":{"revision_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Revision Sha256"},"item":{"additionalProperties":true,"type":"object","title":"Item"},"model_sample":{"type":"string","maxLength":1048576,"title":"Model Sample"}},"additionalProperties":false,"type":"object","required":["revision_sha256","item","model_sample"],"title":"TestIn"},"Tested":{"properties":{"result":{"additionalProperties":true,"type":"object","title":"Result"},"cached":{"type":"boolean","title":"Cached"}},"type":"object","required":["result","cached"],"title":"Tested"},"ThinkingCompareIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"}},"additionalProperties":false,"type":"object","required":["workspace_id"],"title":"ThinkingCompareIn"},"ThinkingComparison":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"adapter_version_id":{"type":"string","format":"uuid","title":"Adapter Version Id"},"current":{"type":"boolean","title":"Current"},"measure":{"type":"string","enum":["pass_rate","accuracy","win_rate"],"title":"Measure"},"n":{"type":"integer","title":"N"},"on":{"$ref":"#/components/schemas/ThinkingMode"},"off":{"$ref":"#/components/schemas/ThinkingMode"},"passed":{"type":"boolean","title":"Passed"},"failed_criteria":{"items":{"type":"string"},"type":"array","title":"Failed Criteria"},"thinking_pick":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Thinking Pick"},"route_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route State"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"}},"type":"object","required":["decision_id","adapter_version_id","current","measure","n","on","off","passed","failed_criteria","thinking_pick","route_state","decided_at"],"title":"ThinkingComparison","description":"The task's newest comparison of one adapter version served thinking on vs off."},"ThinkingCycle":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"asked":{"type":"string","enum":["pick","compare"],"title":"Asked"},"state":{"type":"string","title":"State"}},"type":"object","required":["id","asked","state"],"title":"ThinkingCycle"},"ThinkingIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"thinking":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Thinking"}},"additionalProperties":false,"type":"object","required":["workspace_id","thinking"],"title":"ThinkingIn","description":"The task's specialist served with thinking on (true) or off (false) in the workspace; null\ngoes back to OS3's choice (the release gate's)."},"ThinkingMode":{"properties":{"quality":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quality"},"quality_low":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quality Low"},"quality_high":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quality High"},"cost_per_case":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cost Per Case"},"p95_ms":{"type":"number","title":"P95 Ms"}},"type":"object","required":["quality","quality_low","quality_high","cost_per_case","p95_ms"],"title":"ThinkingMode","description":"One mode's measured numbers: quality (a share, 0 to 1) and its 95% interval, the all-in\ncost a case (USD; null: unknown) and the p95 latency (ms)."},"ThinkingTraffic":{"properties":{"requests":{"type":"integer","title":"Requests"},"overriding":{"type":"integer","title":"Overriding"},"room":{"type":"integer","title":"Room"}},"type":"object","required":["requests","overriding","room"],"title":"ThinkingTraffic","description":"Of the task's newest requests (at most 1,000), those that set their own reasoning_effort,\nor, under a pick of thinking on, max tokens under ``room``: they keep them, whatever the\npick."},"TierRefusal":{"properties":{"code":{"type":"string","enum":["llm_tier_required","llm_tier_expired","llm_tier_no_gpu","llm_tier_training"],"title":"Code"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"},"message":{"type":"string","title":"Message"}},"type":"object","required":["code","tier","message"],"title":"TierRefusal","description":"The 403 detail POST /jobs answers for a job your organisation's LLM plan does not include."},"Timeline":{"properties":{"status":{"type":"string","enum":["working","waiting","stopped","idle"],"title":"Status"},"items":{"items":{"$ref":"#/components/schemas/TimelineItem"},"type":"array","title":"Items"},"next":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next"}},"type":"object","required":["status","items","next"],"title":"Timeline"},"TimelineEvent":{"properties":{"id":{"type":"integer","title":"Id"},"at":{"type":"string","format":"date-time","title":"At"},"kind":{"type":"string","title":"Kind"},"cycle_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cycle Id"},"experiment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Experiment Id"},"detail":{"additionalProperties":true,"type":"object","title":"Detail"}},"type":"object","required":["id","at","kind","cycle_id","experiment_id","detail"],"title":"TimelineEvent","description":"One step of OS3's optimizer agent on the task: `kind` is hypothesis (what it set out to\ntest), data_change (a dataset version it made), qualification (an environment or grader it\ndrafted, sent to OS3's checks), review (the verdict of OS3's independent reviewer on an\nexperiment or draft), experiment (registered with its pre-registration in `detail.spec`,\nstarted, cancelled or ended), dev_result (an experiment measured on development cases),\nnomination (the candidate it handed to OS3's release checks), release_outcome (how the cycle\nended: promoted, rejected or rolled back; never the release evidence) or stop_reason (why it\nstopped). Its texts never show held-out content (a line holding any is withheld), OS3's\ninternal names and addresses, credentials, ids that are not yours, or the providers OS3 runs\nits catalog models on."},"TimelineItem":{"properties":{"at":{"type":"string","format":"date-time","title":"At"},"kind":{"type":"string","enum":["event","turn","asked","approved","denied","expired","spent","revoked","commitment","repair","research"],"title":"Kind"},"ref":{"type":"string","title":"Ref"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"},"usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Usd"},"payer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payer"},"by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"By"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"detail":{"additionalProperties":true,"type":"object","title":"Detail","default":{}}},"type":"object","required":["at","kind","ref"],"title":"TimelineItem"},"TopupIn":{"properties":{"amount_usd":{"type":"integer","minimum":20.0,"title":"Amount Usd"}},"type":"object","required":["amount_usd"],"title":"TopupIn"},"TraceDetail":{"properties":{"trace_id":{"type":"string","title":"Trace Id"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"model_vendor":{"type":"string","title":"Model Vendor"},"model_id":{"type":"string","title":"Model Id"},"route_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Kind"},"latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latency Ms"},"tokens_in":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tokens In"},"tokens_out":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tokens Out"},"cost_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cost Usd"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"task_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Label"},"status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status"},"parsed":{"type":"boolean","title":"Parsed"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"stop_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stop Reason"},"label_count":{"type":"integer","title":"Label Count"},"robot_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot Ref"},"episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Episode Id"},"step_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Step Index"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"trace":{"additionalProperties":true,"type":"object","title":"Trace"},"raw":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Raw"},"body_expired":{"type":"boolean","title":"Body Expired"},"completion":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Completion"},"thinking":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thinking"},"key_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Name"},"upstream_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upstream Name"},"upstream_owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upstream Owner"},"labels":{"items":{"$ref":"#/components/schemas/LabelOut"},"type":"array","title":"Labels"},"audit":{"items":{"$ref":"#/components/schemas/AuditEvent"},"type":"array","title":"Audit"}},"type":"object","required":["trace_id","workspace_id","created_at","model_vendor","model_id","route_kind","latency_ms","tokens_in","tokens_out","cost_usd","task_id","task_label","status","parsed","path","stop_reason","label_count","robot_ref","episode_id","step_index","artifact_id","trace","raw","body_expired","completion","thinking","key_name","upstream_name","upstream_owner","labels","audit"],"title":"TraceDetail"},"TraceSummary":{"properties":{"trace_id":{"type":"string","title":"Trace Id"},"workspace_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Workspace Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"model_vendor":{"type":"string","title":"Model Vendor"},"model_id":{"type":"string","title":"Model Id"},"route_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Kind"},"latency_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latency Ms"},"tokens_in":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tokens In"},"tokens_out":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tokens Out"},"cost_usd":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cost Usd"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"task_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Label"},"status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status"},"parsed":{"type":"boolean","title":"Parsed"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"stop_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stop Reason"},"label_count":{"type":"integer","title":"Label Count"},"robot_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Robot Ref"},"episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Episode Id"},"step_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Step Index"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"}},"type":"object","required":["trace_id","workspace_id","created_at","model_vendor","model_id","route_kind","latency_ms","tokens_in","tokens_out","cost_usd","task_id","task_label","status","parsed","path","stop_reason","label_count","robot_ref","episode_id","step_index","artifact_id"],"title":"TraceSummary"},"Traffic":{"properties":{"traces":{"type":"integer","title":"Traces","default":0},"cost_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost Usd","default":"0"},"uncosted":{"type":"integer","title":"Uncosted","default":0},"vendor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor"},"upstream_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upstream Id"}},"type":"object","title":"Traffic"},"TurnIn":{"properties":{"question":{"anyOf":[{"type":"string","maxLength":4000,"minLength":1},{"type":"null"}],"title":"Question"},"conversation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Conversation Id"},"approvals":{"additionalProperties":{"type":"boolean"},"type":"object","maxProperties":20,"title":"Approvals","default":{}}},"additionalProperties":false,"type":"object","title":"TurnIn"},"TurnOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"conversation_id":{"type":"string","format":"uuid","title":"Conversation Id"},"status":{"type":"string","enum":["answered","awaiting_approval","step_limit","switched_off","upstream_error","refused","cancelled","budget","interrupted"],"title":"Status"},"answer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Answer"},"evidence":{"items":{"$ref":"#/components/schemas/CopilotEvidence"},"type":"array","title":"Evidence"},"proposals":{"items":{"oneOf":[{"$ref":"#/components/schemas/CopilotProposal"},{"$ref":"#/components/schemas/CopilotPipelineProposal"}],"discriminator":{"propertyName":"kind","mapping":{"pipeline_change":"#/components/schemas/CopilotPipelineProposal","training_run":"#/components/schemas/CopilotProposal"}}},"type":"array","title":"Proposals"},"ungrounded_ids":{"items":{"type":"string"},"type":"array","title":"Ungrounded Ids"},"web":{"items":{"$ref":"#/components/schemas/CopilotWeb"},"type":"array","title":"Web"},"memory":{"items":{"$ref":"#/components/schemas/CopilotMemoryWrite"},"type":"array","title":"Memory"},"approvals":{"items":{"$ref":"#/components/schemas/CopilotApproval"},"type":"array","title":"Approvals"},"cost_usd":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cost Usd"},"model":{"type":"string","title":"Model"}},"type":"object","required":["id","run_id","conversation_id","status","answer","evidence","proposals","ungrounded_ids","web","memory","approvals","cost_usd","model"],"title":"TurnOut"},"UploadGrant":{"properties":{"key":{"type":"string","title":"Key"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"robot_id":{"type":"string","format":"uuid","title":"Robot Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"}},"type":"object","required":["key","expires_at","robot_id","tenant_id","workspace_id"],"title":"UploadGrant"},"Upstream":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"vendor":{"type":"string","title":"Vendor"},"base_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Url"},"api_key_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key Ref"},"model_prices":{"additionalProperties":{"$ref":"#/components/schemas/Price"},"type":"object","title":"Model Prices"},"desired_endpoint_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Desired Endpoint Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"}},"type":"object","required":["id","name","vendor","base_url","api_key_ref","model_prices","desired_endpoint_id","created_at","disabled_at"],"title":"Upstream"},"UpstreamEvaluation":{"properties":{"upstream_id":{"type":"string","format":"uuid","title":"Upstream Id"},"name":{"type":"string","title":"Name"},"vendor":{"type":"string","title":"Vendor"},"usable":{"type":"boolean","title":"Usable"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["upstream_id","name","vendor","usable","reason"],"title":"UpstreamEvaluation","description":"Whether OS3 can run evaluations on a vendor upstream, and why not."},"UpstreamIn":{"properties":{"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,62}$","title":"Name"},"vendor":{"type":"string","enum":["openai","azure","openai_compatible","anthropic","google"],"title":"Vendor"},"base_url":{"type":"string","maxLength":2000,"pattern":"^https://[^\\s/@?#]+(/[^\\s@?#]*[^\\s@?#/])?$","title":"Base Url"},"api_key":{"type":"string","maxLength":8192,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"additionalProperties":false,"type":"object","required":["name","vendor","base_url","api_key"],"title":"UpstreamIn"},"UpstreamKeyIn":{"properties":{"api_key":{"type":"string","maxLength":8192,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"additionalProperties":false,"type":"object","required":["api_key"],"title":"UpstreamKeyIn"},"UpstreamPriceIn":{"properties":{"model":{"type":"string","maxLength":200,"minLength":1,"title":"Model"},"input_per_1m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Input Per 1M"},"output_per_1m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Output Per 1M"},"cached_input_per_1m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Cached Input Per 1M"}},"additionalProperties":false,"type":"object","required":["model","input_per_1m","output_per_1m"],"title":"UpstreamPriceIn"},"UsageLine":{"properties":{"id":{"type":"integer","title":"Id"},"meter":{"type":"string","title":"Meter"},"quantity":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Quantity"},"unit":{"type":"string","title":"Unit"},"job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Job Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"ended_at":{"type":"string","format":"date-time","title":"Ended At"},"source":{"type":"string","title":"Source"},"source_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref"},"sku":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sku"},"f_sku_snapshot":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"F Sku Snapshot"},"normalised_h100_seconds":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Normalised H100 Seconds"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"}},"type":"object","required":["id","meter","quantity","unit","job_id","workspace_id","started_at","ended_at","source","source_ref"],"title":"UsageLine"},"UsageTotal":{"properties":{"meter":{"type":"string","title":"Meter"},"unit":{"type":"string","title":"Unit"},"lines":{"type":"integer","title":"Lines"},"quantity":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Quantity"},"normalised_h100_seconds":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Normalised H100 Seconds"},"day":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Day"}},"type":"object","required":["meter","unit","lines","quantity","normalised_h100_seconds"],"title":"UsageTotal"},"UserPicks":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"enabled":{"type":"boolean","title":"Enabled"},"set_by":{"type":"string","title":"Set By"},"set_at":{"type":"string","format":"date-time","title":"Set At"}},"additionalProperties":false,"type":"object","required":["workspace_id","task_id","enabled","set_by","set_at"],"title":"UserPicks"},"UserPicksIn":{"properties":{"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"enabled":{"type":"boolean","title":"Enabled"}},"additionalProperties":false,"type":"object","required":["workspace_id","task_id","enabled"],"title":"UserPicksIn","description":"Whether your app shows both answers and posts your end user's pick, for one task."},"Validated":{"properties":{"valid":{"type":"boolean","title":"Valid"},"problems":{"items":{"type":"string"},"type":"array","title":"Problems"},"revision_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revision Sha256"},"remote":{"items":{"type":"string"},"type":"array","title":"Remote","default":[]},"trainable":{"type":"boolean","title":"Trainable","default":false},"differences":{"items":{"type":"string"},"type":"array","title":"Differences","default":[]}},"type":"object","required":["valid","problems"],"title":"Validated"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"Variant-Input":{"properties":{"ref":{"type":"string","maxLength":200,"minLength":1,"title":"Ref"},"model":{"type":"string","maxLength":200,"minLength":1,"title":"Model"},"system":{"anyOf":[{"type":"string","maxLength":100000},{"type":"null"}],"title":"System"},"upstream":{"anyOf":[{"type":"string","pattern":"^([a-z0-9][a-z0-9-]{1,62}|caller:(openai|anthropic|google))$"},{"type":"null"}],"title":"Upstream"},"gpu":{"anyOf":[{"type":"string","pattern":"^[A-Z][A-Z0-9-]*:[1-8]$"},{"type":"null"}],"title":"Gpu"},"adapter_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Adapter Version Id"},"serving":{"anyOf":[{"$ref":"#/components/schemas/ServingConfig"},{"type":"null"}]},"route":{"anyOf":[{"$ref":"#/components/schemas/Route"},{"type":"null"}]},"auto":{"anyOf":[{"$ref":"#/components/schemas/Auto-Input"},{"type":"null"}]},"sampling":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Sampling"},"effort":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Effort"},"room":{"anyOf":[{"type":"integer","maximum":262144.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Room"}},"additionalProperties":false,"type":"object","required":["ref","model"],"title":"Variant","description":"One side of an eval job: `ref` names it on its eval run (candidate_ref), `model` is the model\nthe gateway routes to, and `system`, when set, replaces the cases' system prompt. `upstream`,\nwhen set, names your gateway upstream that answers this side, so a frontier vendor can be\ncompared with a specialist served on OS3 GPUs; unset, the eval job's own judge key's upstream\nanswers it. `caller:<vendor>` names the provider API your app called with its own key, which\nOS3 answers on its own account of that provider. `gpu`, when set, says the side is served\non OS3 GPUs of that shape (`<family>:<count>`, as JobSpec.gpu: the replica of the endpoint\nbehind its upstream), so the eval job prices it from the GPU time it measures, not a vendor\nlist price."},"Variant-Output":{"properties":{"ref":{"type":"string","maxLength":200,"minLength":1,"title":"Ref"},"model":{"type":"string","maxLength":200,"minLength":1,"title":"Model"},"system":{"anyOf":[{"type":"string","maxLength":100000},{"type":"null"}],"title":"System"},"upstream":{"anyOf":[{"type":"string","pattern":"^([a-z0-9][a-z0-9-]{1,62}|caller:(openai|anthropic|google))$"},{"type":"null"}],"title":"Upstream"},"gpu":{"anyOf":[{"type":"string","pattern":"^[A-Z][A-Z0-9-]*:[1-8]$"},{"type":"null"}],"title":"Gpu"},"adapter_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Adapter Version Id"},"serving":{"anyOf":[{"$ref":"#/components/schemas/ServingConfig"},{"type":"null"}]},"route":{"anyOf":[{"$ref":"#/components/schemas/Route"},{"type":"null"}]},"auto":{"anyOf":[{"$ref":"#/components/schemas/Auto-Output"},{"type":"null"}]},"sampling":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Sampling"},"effort":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Effort"},"room":{"anyOf":[{"type":"integer","maximum":262144.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Room"}},"additionalProperties":false,"type":"object","required":["ref","model"],"title":"Variant","description":"One side of an eval job: `ref` names it on its eval run (candidate_ref), `model` is the model\nthe gateway routes to, and `system`, when set, replaces the cases' system prompt. `upstream`,\nwhen set, names your gateway upstream that answers this side, so a frontier vendor can be\ncompared with a specialist served on OS3 GPUs; unset, the eval job's own judge key's upstream\nanswers it. `caller:<vendor>` names the provider API your app called with its own key, which\nOS3 answers on its own account of that provider. `gpu`, when set, says the side is served\non OS3 GPUs of that shape (`<family>:<count>`, as JobSpec.gpu: the replica of the endpoint\nbehind its upstream), so the eval job prices it from the GPU time it measures, not a vendor\nlist price."},"Version":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"dataset_id":{"type":"string","format":"uuid","title":"Dataset Id"},"version":{"type":"integer","title":"Version"},"container":{"type":"string","title":"Container"},"account":{"type":"string","title":"Account"},"status":{"type":"string","title":"Status"},"files":{"items":{"$ref":"#/components/schemas/StoredFile"},"type":"array","title":"Files"},"provenance":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Provenance"},"objective":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Objective"},"recipe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipe"},"manifest_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Path"},"manifest_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Sha256"},"file_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Count"},"total_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Bytes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"sealed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sealed At"},"selection":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Selection"},"selection_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selection Error"},"harness_traces":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Harness Traces"},"imported_from":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Imported From"},"composite":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Composite"},"seal_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Seal Requested At"},"seal_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seal Error"},"derived":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Derived"},"uploads":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Uploads"},"read_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read Url"}},"type":"object","required":["id","dataset_id","version","container","account","status","files","provenance","manifest_path","manifest_sha256","file_count","total_bytes","created_at","sealed_at"],"title":"Version"},"VersionIn":{"properties":{"files":{"items":{"$ref":"#/components/schemas/FileDecl"},"type":"array","maxItems":100000,"minItems":1,"title":"Files"},"provenance":{"anyOf":[{"$ref":"#/components/schemas/Provenance"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["files"],"title":"VersionIn"},"VoiceHealth":{"properties":{"rung":{"type":"string","enum":["full","cascade","local_only","voice_paused","audio_lost"],"title":"Rung"},"backend":{"anyOf":[{"type":"string","pattern":"^[a-z0-9_]{1,64}$"},{"type":"null"}],"title":"Backend"},"unhealthy_backends":{"items":{"type":"string","pattern":"^[a-z0-9_]{1,64}$"},"type":"array","maxItems":4,"title":"Unhealthy Backends"},"harness_dead":{"type":"boolean","title":"Harness Dead","default":false},"reason":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["rung"],"title":"VoiceHealth","description":"The robot's voice fallback state at its heartbeat: the current rung of its degradation\nladder, backend names and reasons, never audio or text."},"Vote":{"properties":{"id":{"type":"integer","title":"Id"},"comparison_id":{"type":"string","format":"uuid","title":"Comparison Id"},"outcome":{"type":"string","title":"Outcome"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"correction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correction"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"type":"string","title":"Actor Id"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","comparison_id","outcome","reason","correction","note","actor_kind","actor_id","actor_name","created_at"],"title":"Vote"},"VoteExport":{"properties":{"id":{"type":"integer","title":"Id"},"comparison_id":{"type":"string","format":"uuid","title":"Comparison Id"},"outcome":{"type":"string","title":"Outcome"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"correction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correction"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"actor_kind":{"type":"string","title":"Actor Kind"},"actor_id":{"type":"string","title":"Actor Id"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"source":{"type":"string","title":"Source"},"labeler":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Labeler"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"},"use":{"type":"string","title":"Use"},"incumbent":{"anyOf":[{"$ref":"#/components/schemas/Branch"},{"$ref":"#/components/schemas/ClipBranch"}],"title":"Incumbent"},"candidate":{"anyOf":[{"$ref":"#/components/schemas/Branch"},{"$ref":"#/components/schemas/ClipBranch"}],"title":"Candidate"},"chosen":{"anyOf":[{"$ref":"#/components/schemas/Branch"},{"$ref":"#/components/schemas/ClipBranch"},{"type":"null"}],"title":"Chosen"},"rejected":{"anyOf":[{"$ref":"#/components/schemas/Branch"},{"$ref":"#/components/schemas/ClipBranch"},{"type":"null"}],"title":"Rejected"},"candidate_position":{"type":"string","title":"Candidate Position"},"p_compare":{"type":"number","title":"P Compare"},"p_candidate_a":{"type":"number","title":"P Candidate A"},"denials":{"items":{"type":"string"},"type":"array","title":"Denials"},"reserve":{"type":"boolean","title":"Reserve"},"quarantined":{"type":"boolean","title":"Quarantined"}},"type":"object","required":["id","comparison_id","outcome","reason","correction","note","actor_kind","actor_id","actor_name","created_at","source","labeler","request_id","use","incumbent","candidate","chosen","rejected","candidate_position","p_compare","p_candidate_a","denials","reserve","quarantined"],"title":"VoteExport"},"Window":{"properties":{"days":{"items":{"type":"integer"},"type":"array","maxItems":7,"minItems":1,"title":"Days"},"start":{"type":"string","format":"time","title":"Start"},"minutes":{"type":"integer","maximum":10080.0,"minimum":1.0,"title":"Minutes"},"timezone":{"type":"string","title":"Timezone"}},"additionalProperties":false,"type":"object","required":["days","start","minutes","timezone"],"title":"Window"},"Windows":{"properties":{"windows":{"items":{"$ref":"#/components/schemas/Window"},"type":"array","maxItems":32,"title":"Windows"}},"additionalProperties":false,"type":"object","required":["windows"],"title":"Windows"},"WindowsOut":{"properties":{"windows":{"items":{"$ref":"#/components/schemas/Window"},"type":"array","maxItems":32,"title":"Windows"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"additionalProperties":false,"type":"object","required":["windows","updated_by","updated_at"],"title":"WindowsOut"},"Workspace":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","enum":["robots","ai_app"],"title":"Kind"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","tenant_id","slug","name","kind","created_at"],"title":"Workspace"},"WorkspaceDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tenant_id":{"type":"string","format":"uuid","title":"Tenant Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","enum":["robots","ai_app"],"title":"Kind"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"kind_locked_by":{"items":{"type":"string"},"type":"array","title":"Kind Locked By","description":"What keeps the workspace's kind from changing: its robots, jobs, datasets, traces, endpoints and, for an AI app, live gateway keys. Empty while the kind can change."}},"type":"object","required":["id","tenant_id","slug","name","kind","created_at","kind_locked_by"],"title":"WorkspaceDetail"},"WorkspaceIn":{"properties":{"slug":{"type":"string","maxLength":63,"pattern":"^[a-z0-9][a-z0-9-]{1,62}$","title":"Slug"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"kind":{"type":"string","enum":["robots","ai_app"],"title":"Kind"}},"additionalProperties":false,"type":"object","required":["slug","name","kind"],"title":"WorkspaceIn"},"WorkspacePatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"kind":{"anyOf":[{"type":"string","enum":["robots","ai_app"]},{"type":"null"}],"title":"Kind"}},"additionalProperties":false,"type":"object","title":"WorkspacePatch"}},"securitySchemes":{"APIKey":{"type":"http","description":"An OS3 API key, created in the portal under Settings > API keys.","scheme":"bearer","bearerFormat":"os3_<prefix>_<secret>"},"SignIn":{"type":"http","description":"A person's sign-in: the access token the portal sends for them.","scheme":"bearer","bearerFormat":"JWT"},"SCIMToken":{"type":"http","description":"The organisation's SCIM token, which an owner or admin creates in the portal for its identity provider.","scheme":"bearer","bearerFormat":"os3scim_<prefix>_<secret>"},"GatewayKey":{"type":"http","description":"A gateway key, created in the portal.","scheme":"bearer","bearerFormat":"os3_gw_<prefix>_<secret>"},"GatewayKeyHeader":{"type":"apiKey","description":"A gateway key, as the Anthropic SDKs send it.","in":"header","name":"x-api-key"},"GatewayKeyGoogleHeader":{"type":"apiKey","description":"A gateway key, as Google's SDKs send it.","in":"header","name":"x-goog-api-key"},"RobotCredential":{"type":"http","description":"A robot's credential, issued when the robot is provisioned.","scheme":"bearer","bearerFormat":"os3r_<prefix>_<secret>"}}}}