{"openapi":"3.1.0","info":{"title":"Leona Quantum API","description":"The public surface of Leona Quantum's control plane: the anonymous Atlas, Qapp and certificate reads, and every route a personal access token can reach.\n\nAuthenticate with a personal access token (`Authorization: Bearer lq_pat_...`), created on leonaqt.com under Account, Access tokens. Each operation that needs one names the token scope it requires in `x-leona-token-scope`.\n\nErrors are `application/problem+json` and carry a `request_id`. Everything under `/v1` is stable: new fields and new endpoints can appear at any time, so ignore fields you do not recognise. A breaking change would ship under a new version prefix, announced in advance, with `/v1` kept running for a transition period. The guide is https://leonaqt.com/developers.\n","version":"2.73.0"},"servers":[{"url":"https://majorana-api-nikekeixtq-uw.a.run.app","description":"Production"}],"paths":{"/v1/me":{"get":{"summary":"Get the signed-in user","operationId":"me_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/artifacts":{"get":{"summary":"List Artifacts","operationId":"list_artifacts_v1_artifacts_get","parameters":[{"name":"family","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Algorithm"},{"type":"null"}],"title":"Family"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Artifact"},"title":"Response List Artifacts V1 Artifacts Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/artifacts/{artifact_id}":{"get":{"summary":"Get Artifact","operationId":"get_artifact_v1_artifacts__artifact_id__get","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":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/artifacts/{artifact_id}/document":{"get":{"summary":"Get Artifact Document","operationId":"get_artifact_document_v1_artifacts__artifact_id__document_get","parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Artifact Id"}},{"name":"X-Leona-Expected-Workspace","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Leona-Expected-Workspace"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactDocument"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/artifacts/{artifact_id}/versions/current":{"get":{"summary":"Get Current Version","operationId":"get_current_version_v1_artifacts__artifact_id__versions_current_get","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/ArtifactVersion"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/artifacts/{artifact_id}/versions":{"get":{"summary":"List Artifact Versions","operationId":"list_artifact_versions_v1_artifacts__artifact_id__versions_get","parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Artifact Id"}},{"name":"before_seq","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Before Seq"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactVersionPage"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/notebooks/{notebook_id}/versions/{seq}/circuit":{"get":{"summary":"Circuit Lineage","operationId":"circuit_lineage_v1_notebooks__notebook_id__versions__seq__circuit_get","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}},{"name":"seq","in":"path","required":true,"schema":{"type":"integer","title":"Seq"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CircuitLineage"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/artifacts/{artifact_id}/notebook":{"get":{"summary":"Projection Notebook State","operationId":"projection_notebook_state_v1_artifacts__artifact_id__notebook_get","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":{}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/algorithm-graphs":{"get":{"summary":"List Graphs","operationId":"list_graphs_v1_algorithm_graphs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlgorithmGraphSummary"},"title":"Response List Graphs V1 Algorithm Graphs Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/algorithm-graphs/{graph_id}":{"get":{"summary":"Graph Detail","operationId":"graph_detail_v1_algorithm_graphs__graph_id__get","parameters":[{"name":"graph_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Graph Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgorithmGraph"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/algorithm-graphs/{graph_id}/evaluation":{"get":{"summary":"Latest Evaluation","operationId":"latest_evaluation_v1_algorithm_graphs__graph_id__evaluation_get","parameters":[{"name":"graph_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Graph Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AlgorithmEvaluation"},{"type":"null"}],"title":"Response Latest Evaluation V1 Algorithm Graphs  Graph Id  Evaluation Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/runs":{"post":{"summary":"Create Run","operationId":"create_run_v1_runs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Leona-Expected-Workspace","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Leona-Expected-Workspace"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRunRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Run"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"},"get":{"summary":"List Runs","operationId":"list_runs_v1_runs_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RunStatus"},{"type":"null"}],"title":"Status"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Run"},"title":"Response List Runs V1 Runs Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/runs/capabilities":{"get":{"summary":"Run Capabilities","operationId":"run_capabilities_v1_runs_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Run Capabilities V1 Runs Capabilities Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/runs/{run_id}":{"get":{"summary":"Get Run","operationId":"get_run_v1_runs__run_id__get","parameters":[{"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/Run"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/runs/{run_id}/conversation":{"get":{"summary":"Get Conversation","operationId":"get_conversation_v1_runs__run_id__conversation_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":50,"title":"Limit"}},{"name":"before_run_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Before Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/runs/{run_id}/sharing":{"get":{"summary":"Get Conversation Sharing","operationId":"get_conversation_sharing_v1_runs__run_id__sharing_get","parameters":[{"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/RunSharingState"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/runs/{run_id}/cancel":{"post":{"summary":"Cancel Run","operationId":"cancel_run_v1_runs__run_id__cancel_post","parameters":[{"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/Run"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"}},"/v1/runs/{run_id}/events":{"get":{"summary":"List Run Events","operationId":"list_run_events_v1_runs__run_id__events_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Run Events V1 Runs  Run Id  Events Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/runs/{run_id}/events/stream":{"get":{"summary":"Stream Run Events","operationId":"stream_run_events_v1_runs__run_id__events_stream_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After"}},{"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":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/workspace":{"get":{"summary":"Get Workspace","operationId":"get_workspace_v1_workspace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceOverview"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/workspace/folders":{"get":{"summary":"List Workspace Folders","operationId":"list_workspace_folders_v1_workspace_folders_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceFolder"},"title":"Response List Workspace Folders V1 Workspace Folders Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/workspace/projects":{"get":{"summary":"List Workspace Projects","operationId":"list_workspace_projects_v1_workspace_projects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Project"},"title":"Response List Workspace Projects V1 Workspace Projects Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/workspace/projects/{project_id}/shares":{"get":{"summary":"List Project Shares","operationId":"list_project_shares_v1_workspace_projects__project_id__shares_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectShare"},"title":"Response List Project Shares V1 Workspace Projects  Project Id  Shares Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/catalog/entries":{"get":{"summary":"List Catalog Entries","operationId":"list_catalog_entries_v1_catalog_entries_get","parameters":[{"name":"view","in":"query","required":false,"schema":{"enum":["full","list"],"type":"string","default":"full","title":"View"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicCatalogEntry"},"title":"Response List Catalog Entries V1 Catalog Entries Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/v1/catalog/estimates":{"get":{"summary":"List Catalog Estimates","operationId":"list_catalog_estimates_v1_catalog_estimates_get","parameters":[{"name":"assumptions","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assumptions"}},{"name":"epsilon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","exclusiveMaximum":0.1,"exclusiveMinimum":1e-15},{"type":"null"}],"title":"Epsilon"}},{"name":"factories","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1000000,"minimum":0},{"type":"null"}],"title":"Factories"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogEstimateList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/v1/catalog/profiles":{"get":{"summary":"List Catalog Profiles","operationId":"list_catalog_profiles_v1_catalog_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogProfileList"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/v1/catalog/entries/{slug}":{"get":{"summary":"Get Catalog Entry","operationId":"get_catalog_entry_v1_catalog_entries__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicCatalogEntry"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/v1/catalog/entries/{slug}/estimate":{"get":{"summary":"Get Catalog Entry Estimate","operationId":"get_catalog_entry_estimate_v1_catalog_entries__slug__estimate_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"assumptions","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Assumption set, as either the registry key (`gidney-2025@v2`, `composed-trapped-ion@v2`) or the full identity an estimate carries (`gidney-2025@v2+eps=1e-06`). Defaults to `gidney-2025@v2`. A precision given both here and in `epsilon` must agree. Costs under two different identities are not comparable and must not be ranked against each other.","title":"Assumptions"},"description":"Assumption set, as either the registry key (`gidney-2025@v2`, `composed-trapped-ion@v2`) or the full identity an estimate carries (`gidney-2025@v2+eps=1e-06`). Defaults to `gidney-2025@v2`. A precision given both here and in `epsilon` must agree. Costs under two different identities are not comparable and must not be ranked against each other."},{"name":"epsilon","in":"query","required":false,"schema":{"anyOf":[{"type":"number","exclusiveMaximum":0.1,"exclusiveMinimum":1e-15},{"type":"null"}],"description":"Per-rotation Clifford+T synthesis error. The reader's error budget, not a hardware property — it is why an estimate is an estimate, so it is a knob rather than a constant and it travels in the response. Defaults to 1e-06.","title":"Epsilon"},"description":"Per-rotation Clifford+T synthesis error. The reader's error budget, not a hardware property — it is why an estimate is an estimate, so it is a knob rather than a constant and it travels in the response. Defaults to 1e-06."},{"name":"factories","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":1000000,"minimum":0},{"type":"null"}],"description":"Magic-state factories to cost. Defaults to the crossover, past which more factories buy nothing. Movable because for a small circuit the factories ARE the footprint, and a reader shown only the total will read a correct number as a broken one.","title":"Factories"},"description":"Magic-state factories to cost. Defaults to the crossover, past which more factories buy nothing. Movable because for a small circuit the factories ARE the footprint, and a reader shown only the total will read a correct number as a broken one."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogEntryEstimate"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/v1/catalog/entries/{slug}/profile":{"get":{"summary":"Get Catalog Entry Profile","operationId":"get_catalog_entry_profile_v1_catalog_entries__slug__profile_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogEntryProfile"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/v1/estimates/interchange":{"post":{"summary":"Inspect Interchange","operationId":"inspect_interchange_v1_estimates_interchange_post","parameters":[{"name":"X-Leona-Expected-Workspace","in":"header","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"X-Leona-Expected-Workspace"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InspectInterchangeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterchangeInspection"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/estimates/logical":{"post":{"summary":"Estimate Logical","operationId":"estimate_logical_v1_estimates_logical_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogicalEstimateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogicalEstimateResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/checks/circuit":{"post":{"summary":"Check Circuit","operationId":"check_circuit_v1_checks_circuit_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CircuitCheckRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CircuitCheckResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"}},"/v1/plans":{"post":{"summary":"Plan a problem's method pathway and cost","operationId":"plan_v1_plans_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qpu/backends":{"get":{"summary":"List QPU backends","operationId":"qpu_backends_v1_qpu_backends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QpuBackendsResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qpu/estimates":{"post":{"summary":"Estimate a QPU run's cost","operationId":"qpu_estimate_v1_qpu_estimates_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QpuEstimateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QpuCostEstimate"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qpu/submission-gate":{"get":{"summary":"Check whether you can submit to a QPU","operationId":"qpu_submission_gate_v1_qpu_submission_gate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QpuSubmissionGateResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qpu/backends/{device_id}/queue":{"get":{"summary":"Get a QPU backend's queue status","operationId":"qpu_queue_status_v1_qpu_backends__device_id__queue_get","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QpuQueueStatusResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qpu/submissions":{"post":{"summary":"Submit a circuit to a QPU","operationId":"qpu_submit_v1_qpu_submissions_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QpuSubmissionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QpuRunRecord"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"hardware"}},"/v1/qpu/runs":{"get":{"summary":"List QPU run records","operationId":"qpu_run_history_v1_qpu_runs_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"source_fingerprint","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}],"title":"Source Fingerprint"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QpuRunPage"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qpu/runs/{record_id}":{"get":{"summary":"Get a QPU run record","operationId":"qpu_run_record_v1_qpu_runs__record_id__get","parameters":[{"name":"record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QpuRunRecord"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/functions/executions":{"get":{"summary":"List Function Executions","operationId":"list_function_executions_v1_functions_executions_get","parameters":[{"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/FunctionExecutionList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/functions/executions/{execution_id}":{"get":{"summary":"Get Function Execution","operationId":"get_function_execution_v1_functions_executions__execution_id__get","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Execution Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunctionExecution"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qapps":{"get":{"summary":"List Qapps","operationId":"list_qapps_v1_qapps_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"anyOf":[{"const":"cursor","type":"string"},{"type":"null"}],"title":"Page"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":24,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QappPage"},{"type":"array","items":{"$ref":"#/components/schemas/Qapp"}}],"title":"Response List Qapps V1 Qapps Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qapps/public":{"get":{"summary":"List Public Qapps","operationId":"list_public_qapps_v1_qapps_public_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":24,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicQappPage"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/v1/qapps/public/{slug}":{"get":{"summary":"Public Qapp","operationId":"public_qapp_v1_qapps_public__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicQapp"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/v1/qapps/examples":{"get":{"summary":"List Qapp Examples","operationId":"list_qapp_examples_v1_qapps_examples_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QappExampleSummary"},"title":"Response List Qapp Examples V1 Qapps Examples Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qapps/{qapp_id}":{"get":{"summary":"Qapp Detail","operationId":"qapp_detail_v1_qapps__qapp_id__get","parameters":[{"name":"qapp_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Qapp Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QappDetail"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qapps/{qapp_id}/versions":{"get":{"summary":"List Qapp Versions","operationId":"list_qapp_versions_v1_qapps__qapp_id__versions_get","parameters":[{"name":"qapp_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Qapp Id"}},{"name":"before_seq","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Before Seq"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QappVersionPage"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qapps/{qapp_id}/activity":{"get":{"summary":"Qapp Activity","operationId":"qapp_activity_v1_qapps__qapp_id__activity_get","parameters":[{"name":"qapp_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Qapp Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QappActivityEntry"},"title":"Response Qapp Activity V1 Qapps  Qapp Id  Activity Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qapps/{qapp_id}/usage":{"get":{"summary":"Qapp Usage","operationId":"qapp_usage_v1_qapps__qapp_id__usage_get","parameters":[{"name":"qapp_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Qapp Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QappVersionUsage"},"title":"Response Qapp Usage V1 Qapps  Qapp Id  Usage Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qapps/{slug}/executions":{"post":{"summary":"Execute Qapp","operationId":"execute_qapp_v1_qapps__slug__executions_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"X-Leona-Qapp-Fingerprint","in":"header","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"X-Leona-Qapp-Fingerprint"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteQappRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QappExecution"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"}},"/v1/qapps/executions/{execution_id}":{"get":{"summary":"Qapp Execution","operationId":"qapp_execution_v1_qapps_executions__execution_id__get","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Execution Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QappExecution"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/qapps/{slug}/progress":{"get":{"summary":"Qapp Progress","operationId":"qapp_progress_v1_qapps__slug__progress_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QappProgressResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/notebook-templates":{"get":{"summary":"List notebook templates","operationId":"notebook_templates_v1_notebook_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookTemplates"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/notebooks":{"post":{"summary":"Create Notebook","operationId":"create_notebook_v1_notebooks_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Leona-Expected-Workspace","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Leona-Expected-Workspace"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotebookRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotebookResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"},"get":{"summary":"List Notebooks","operationId":"list_notebooks_v1_notebooks_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/notebooks/{notebook_id}":{"get":{"summary":"Get Notebook","operationId":"get_notebook_v1_notebooks__notebook_id__get","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notebook"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/notebooks/{notebook_id}/versions":{"get":{"summary":"List Notebook Versions","operationId":"list_notebook_versions_v1_notebooks__notebook_id__versions_get","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookVersionList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"},"post":{"summary":"Author Notebook Version","operationId":"author_notebook_version_v1_notebooks__notebook_id__versions_post","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}},{"name":"X-Leona-Expected-Workspace","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Leona-Expected-Workspace"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorNotebookVersionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorNotebookVersionResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"}},"/v1/notebooks/{notebook_id}/versions/{seq}":{"get":{"summary":"Get Notebook Version","operationId":"get_notebook_version_v1_notebooks__notebook_id__versions__seq__get","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}},{"name":"seq","in":"path","required":true,"schema":{"type":"integer","title":"Seq"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookVersion"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/notebooks/{notebook_id}/versions/{seq}/export.ipynb":{"get":{"summary":"Export Notebook Version","operationId":"export_notebook_version_v1_notebooks__notebook_id__versions__seq__export_ipynb_get","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}},{"name":"seq","in":"path","required":true,"schema":{"type":"integer","title":"Seq"}},{"name":"build","in":"query","required":false,"schema":{"enum":["reader","solution"],"type":"string","default":"reader","title":"Build"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/notebooks/{notebook_id}/turns":{"post":{"summary":"Create Notebook Turn","operationId":"create_notebook_turn_v1_notebooks__notebook_id__turns_post","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}},{"name":"X-Leona-Expected-Workspace","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Leona-Expected-Workspace"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotebookTurnRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNotebookTurnResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"},"get":{"summary":"List Notebook Turns","operationId":"list_notebook_turns_v1_notebooks__notebook_id__turns_get","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookTurnList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/notebooks/{notebook_id}/attempts":{"post":{"summary":"Grade Notebook Attempt","operationId":"grade_notebook_attempt_v1_notebooks__notebook_id__attempts_post","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}},{"name":"X-Leona-Expected-Notebook-Version","in":"header","required":false,"schema":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"X-Leona-Expected-Notebook-Version"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Leona-Expected-Workspace","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Leona-Expected-Workspace"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradeAttemptRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradeAttemptResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"}},"/v1/notebooks/{notebook_id}/grades":{"get":{"summary":"Get Notebook Grades","operationId":"get_notebook_grades_v1_notebooks__notebook_id__grades_get","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NotebookGradesSnapshot"},{"type":"null"}],"title":"Response Get Notebook Grades V1 Notebooks  Notebook Id  Grades Get"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/notebooks/{notebook_id}/run":{"post":{"summary":"Rerun Notebook","operationId":"rerun_notebook_v1_notebooks__notebook_id__run_post","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}},{"name":"X-Leona-Expected-Workspace","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Leona-Expected-Workspace"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RerunNotebookResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"}},"/v1/notebooks/import":{"post":{"summary":"Import Notebook","operationId":"import_notebook_v1_notebooks_import_post","parameters":[{"name":"X-Leona-Expected-Workspace","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Leona-Expected-Workspace"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportNotebookRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportNotebookResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"}},"/v1/notebooks/{notebook_id}/share-links":{"get":{"summary":"List Notebook Share Links","operationId":"list_notebook_share_links_v1_notebooks__notebook_id__share_links_get","parameters":[{"name":"notebook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notebook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotebookShareLinkList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/courses":{"get":{"summary":"List Courses","operationId":"list_courses_v1_courses_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/courses/{course_id}":{"get":{"summary":"Get Course","operationId":"get_course_v1_courses__course_id__get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Course"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/courses/{course_id}/generate":{"post":{"summary":"Generate Course","operationId":"generate_course_v1_courses__course_id__generate_post","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Course Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateCourseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateCourseResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"run"}},"/v1/courses/{course_id}/export.zip":{"get":{"summary":"Export Course","operationId":"export_course_v1_courses__course_id__export_zip_get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/courses/{course_id}/gradebook":{"get":{"summary":"Get Course Gradebook","operationId":"get_course_gradebook_v1_courses__course_id__gradebook_get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Course Id"}},{"name":"cohort_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cohort Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseGradebook"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/courses/{course_id}/grading":{"get":{"summary":"Get Course Grading Coverage","operationId":"get_course_grading_coverage_v1_courses__course_id__grading_get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseGradingCoverage"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/courses/{course_id}/gradebook.csv":{"get":{"summary":"Export Course Gradebook","operationId":"export_course_gradebook_v1_courses__course_id__gradebook_csv_get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Course Id"}},{"name":"cohort_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cohort Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/courses/{course_id}/turns":{"get":{"summary":"List Course Turns","operationId":"list_course_turns_v1_courses__course_id__turns_get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseTurnList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/courses/{course_id}/cohorts":{"get":{"summary":"List Course Cohorts","operationId":"list_course_cohorts_v1_courses__course_id__cohorts_get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseCohortList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/courses/{course_id}/certificates":{"get":{"summary":"List Course Certificates","operationId":"list_course_certificates_v1_courses__course_id__certificates_get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseCertificateList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/certificates/{certificate_id}":{"get":{"summary":"Public Certificate Assertion","operationId":"public_certificate_assertion_v1_certificates__certificate_id__get","parameters":[{"name":"certificate_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Certificate Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/v1/comments/mentions":{"get":{"summary":"List My Mentions","operationId":"list_my_mentions_v1_comments_mentions_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/comments/people":{"get":{"summary":"List Mentionable People","operationId":"list_mentionable_people_v1_comments_people_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentPeopleList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/comments":{"get":{"summary":"List Comments","operationId":"list_comments_v1_comments_get","parameters":[{"name":"target_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CommentTargetType"}},{"name":"target_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Target Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/presence":{"get":{"summary":"List Presence","operationId":"list_presence_v1_presence_get","parameters":[{"name":"target_type","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PresenceTargetType"}},{"name":"target_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Target Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresenceList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/notifications":{"get":{"summary":"List Notifications","operationId":"list_notifications_v1_notifications_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationList"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}},"/v1/usage":{"get":{"summary":"Get usage and run allowance","operationId":"usage_v1_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageResponse"}}}},"422":{"description":"The request did not validate.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"default":{"description":"An error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearerAuth":[]}],"x-leona-token-scope":"read"}}},"components":{"schemas":{"Algorithm":{"type":"string","enum":["VQE","QAOA","Grover","Bell","GHZ","QFT","QPE","AmplitudeEstimation","StatePreparation","CircuitSynthesis","GateDecomposition","Transpilation","Simulation","ErrorCorrection","other"],"title":"Algorithm"},"AlgorithmCheck":{"properties":{"id":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,79}$","title":"Id"},"property":{"$ref":"#/components/schemas/CheckProperty"}},"additionalProperties":false,"type":"object","required":["id","property"],"title":"AlgorithmCheck"},"AlgorithmCheckResult":{"properties":{"node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Node Id"},"check_id":{"type":"string","title":"Check Id"},"scope":{"type":"string","enum":["isolated_block","composed_circuit","imported_output_boundary"],"title":"Scope"},"verdict":{"$ref":"#/components/schemas/CheckVerdict"},"context_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Context Sha256"},"check_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Check Sha256"},"source_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Source Sha256"},"block_qasm_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Block Qasm Sha256"},"wire_map_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Wire Map Sha256"}},"additionalProperties":false,"type":"object","required":["check_id","scope","verdict"],"title":"AlgorithmCheckResult"},"AlgorithmCostLine":{"properties":{"id":{"type":"string","maxLength":120,"minLength":1,"title":"Id"},"unit":{"type":"string","enum":["queries","t_gates","toffolis","serial_depth","uncomposed"],"title":"Unit"},"value":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Value"},"formula":{"type":"string","maxLength":1000,"title":"Formula"},"regime":{"type":"string","maxLength":160,"title":"Regime"},"source":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Source"},"citation":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":12,"title":"Citation"},"missing":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Missing"}},"additionalProperties":false,"type":"object","required":["id","unit","formula","regime"],"title":"AlgorithmCostLine"},"AlgorithmCostModel":{"properties":{"plan":{"$ref":"#/components/schemas/BlockPlan"},"model_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Model Sha256"},"lines":{"items":{"$ref":"#/components/schemas/AlgorithmCostLine"},"type":"array","maxItems":64,"title":"Lines"}},"additionalProperties":false,"type":"object","required":["plan","model_sha256"],"title":"AlgorithmCostModel"},"AlgorithmCostTotal":{"properties":{"line_id":{"type":"string","title":"Line Id"},"unit":{"type":"string","title":"Unit"},"source":{"type":"string","title":"Source"},"regime":{"type":"string","title":"Regime"},"model_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Model Sha256"},"complete":{"type":"boolean","title":"Complete","default":true},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"missing_nodes":{"items":{"type":"string"},"type":"array","title":"Missing Nodes"}},"additionalProperties":false,"type":"object","required":["line_id","unit","source","regime","model_sha256"],"title":"AlgorithmCostTotal"},"AlgorithmDependency":{"properties":{"snapshot_id":{"type":"string","format":"uuid","title":"Snapshot Id"},"graph_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Graph Sha256"},"node_id":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,79}$","title":"Node Id"}},"additionalProperties":false,"type":"object","required":["snapshot_id","graph_sha256","node_id"],"title":"AlgorithmDependency"},"AlgorithmEvaluation":{"properties":{"snapshot_id":{"type":"string","format":"uuid","title":"Snapshot Id"},"graph_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Graph Sha256"},"composed_qubits":{"type":"integer","title":"Composed Qubits"},"checks":{"items":{"$ref":"#/components/schemas/AlgorithmCheckResult"},"type":"array","title":"Checks"},"costs":{"items":{"$ref":"#/components/schemas/AlgorithmCostTotal"},"type":"array","title":"Costs"},"holes":{"items":{"type":"string"},"type":"array","title":"Holes"}},"additionalProperties":false,"type":"object","required":["snapshot_id","graph_sha256","composed_qubits","checks","costs","holes"],"title":"AlgorithmEvaluation"},"AlgorithmGraph":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"owner_user_id":{"type":"string","format":"uuid","title":"Owner User Id"},"current":{"$ref":"#/components/schemas/AlgorithmSnapshot"},"is_public":{"type":"boolean","title":"Is Public","default":false}},"additionalProperties":false,"type":"object","required":["id","title","owner_user_id","current"],"title":"AlgorithmGraph"},"AlgorithmGraphDocument":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version","default":1},"qubits":{"type":"integer","maximum":18.0,"minimum":1.0,"title":"Qubits"},"nodes":{"items":{"$ref":"#/components/schemas/AlgorithmNode"},"type":"array","maxItems":32,"minItems":1,"title":"Nodes"},"checks":{"items":{"$ref":"#/components/schemas/AlgorithmCheck"},"type":"array","maxItems":16,"title":"Checks"},"holes":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Holes"}},"additionalProperties":false,"type":"object","required":["qubits","nodes"],"title":"AlgorithmGraphDocument"},"AlgorithmGraphSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"revision":{"type":"integer","title":"Revision"},"owner_user_id":{"type":"string","format":"uuid","title":"Owner User Id"}},"additionalProperties":false,"type":"object","required":["id","title","revision","owner_user_id"],"title":"AlgorithmGraphSummary"},"AlgorithmNode":{"properties":{"id":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9_-]{0,79}$","title":"Id"},"label":{"type":"string","maxLength":160,"minLength":1,"title":"Label"},"source":{"$ref":"#/components/schemas/AlgorithmSource"},"canvas":{"anyOf":[{"$ref":"#/components/schemas/StudioCanvas"},{"type":"null"}]},"wires":{"items":{"type":"integer","maximum":17.0,"minimum":0.0},"type":"array","maxItems":18,"title":"Wires"},"checks":{"items":{"$ref":"#/components/schemas/AlgorithmCheck"},"type":"array","maxItems":16,"title":"Checks"},"cost":{"anyOf":[{"$ref":"#/components/schemas/AlgorithmCostModel"},{"type":"null"}]},"dependency":{"anyOf":[{"$ref":"#/components/schemas/AlgorithmDependency"},{"type":"null"}]},"holes":{"items":{"type":"string"},"type":"array","maxItems":16,"title":"Holes"}},"additionalProperties":false,"type":"object","required":["id","label","source"],"title":"AlgorithmNode"},"AlgorithmSnapshot":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"graph_id":{"type":"string","format":"uuid","title":"Graph Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"graph_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Graph Sha256"},"document":{"$ref":"#/components/schemas/AlgorithmGraphDocument"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","graph_id","revision","graph_sha256","document","created_at"],"title":"AlgorithmSnapshot"},"AlgorithmSource":{"properties":{"kind":{"type":"string","enum":["artifact","qapp","catalog"],"title":"Kind"},"object_id":{"type":"string","format":"uuid","title":"Object Id"},"version_id":{"type":"string","format":"uuid","title":"Version Id"},"fingerprint":{"type":"string","maxLength":160,"minLength":1,"title":"Fingerprint"},"code_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Code Sha256"},"cell_map_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Cell Map Sha256"},"source_map":{"anyOf":[{"$ref":"#/components/schemas/AlgorithmSourceMap"},{"type":"null"}]},"source_revision":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Source Revision"},"label":{"type":"string","maxLength":200,"title":"Label"}},"additionalProperties":false,"type":"object","required":["kind","object_id","version_id","fingerprint","code_sha256","label"],"title":"AlgorithmSource"},"AlgorithmSourceMap":{"properties":{"notebook_id":{"type":"string","format":"uuid","title":"Notebook Id"},"notebook_version_id":{"type":"string","format":"uuid","title":"Notebook Version Id"},"cell_ids":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Cell Ids"},"source_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Source Sha256"}},"additionalProperties":false,"type":"object","required":["notebook_id","notebook_version_id","cell_ids","source_sha256"],"title":"AlgorithmSourceMap"},"Allowance":{"properties":{"used":{"type":"integer","title":"Used"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining"},"exhausted":{"type":"boolean","title":"Exhausted"},"pressure":{"type":"string","enum":["ok","approaching","critical","exhausted"],"title":"Pressure","default":"ok"}},"type":"object","required":["used","limit","remaining","exhausted"],"title":"Allowance"},"AnswerPrompt":{"properties":{"kind":{"type":"string","enum":["choice","numeric","text","rubric"],"title":"Kind"},"options":{"items":{"type":"string"},"type":"array","title":"Options"},"unit":{"type":"string","title":"Unit","default":""}},"additionalProperties":false,"type":"object","required":["kind"],"title":"AnswerPrompt"},"Artifact":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"slug":{"type":"string","title":"Slug","description":"Unique; used for public pages"},"title":{"type":"string","title":"Title"},"family":{"type":"string","title":"Family","description":"Algorithm category"},"framework":{"$ref":"#/components/schemas/Framework"},"visibility":{"$ref":"#/components/schemas/Visibility"},"parent_artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Artifact Id","description":"Provenance edge"},"current_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Current Version Id"},"edit_revision":{"type":"integer","minimum":0.0,"title":"Edit Revision","description":"Monotonic authoring revision; compare equality, never assume +1","default":0},"verifier_decision":{"anyOf":[{"$ref":"#/components/schemas/VerifierDecision"},{"type":"null"}]},"evidence_strength":{"anyOf":[{"$ref":"#/components/schemas/EvidenceStrength"},{"type":"null"}]},"verification_summary":{"anyOf":[{"$ref":"#/components/schemas/VerificationSummary"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"kept_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Kept At"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"additionalProperties":false,"type":"object","required":["id","workspace_id","slug","title","family","framework","visibility","created_at","updated_at"],"title":"Artifact"},"ArtifactDocument":{"properties":{"artifact":{"$ref":"#/components/schemas/Artifact"},"version":{"anyOf":[{"$ref":"#/components/schemas/ArtifactVersion"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["artifact","version"],"title":"ArtifactDocument"},"ArtifactVersion":{"allOf":[{"if":{"properties":{"qasm":{"type":"string"}},"required":["qasm"]},"then":{"properties":{"qasm_version":{"const":"3.0"}},"required":["qasm_version"]}}],"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"artifact_id":{"type":"string","format":"uuid","title":"Artifact Id"},"seq":{"type":"integer","minimum":1.0,"title":"Seq"},"qasm_version":{"anyOf":[{"type":"string","const":"3.0"},{"type":"null"}],"title":"Qasm Version","description":"Optional OpenQASM interchange version"},"qasm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qasm","description":"Optional normalized OpenQASM interchange for framework conversion"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata","description":"Canonical-source role, provenance, and legacy migration data"},"code":{"type":"string","title":"Code"},"code_lang":{"type":"string","title":"Code Lang"},"fingerprint":{"type":"string","title":"Fingerprint","description":"Digest of the framework and normalized selected-framework source; identical source may share a fingerprint across artifact versions"},"export_status":{"$ref":"#/components/schemas/ExportStatus"},"export_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Reason"},"canvas":{"anyOf":[{"$ref":"#/components/schemas/StudioCanvas"},{"type":"null"}],"description":"Server-saved Studio authorship; no verification claims"},"framework_variants":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Framework Variants"},"resource_estimates":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Resource Estimates"},"limitations":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limitations"},"verification_summary":{"anyOf":[{"$ref":"#/components/schemas/VerificationSummary"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","artifact_id","seq","code","code_lang","fingerprint","export_status","created_at"],"title":"ArtifactVersion"},"ArtifactVersionPage":{"properties":{"versions":{"items":{"$ref":"#/components/schemas/ArtifactVersionSummary"},"type":"array","title":"Versions"},"current_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Current Version Id"},"next_before_seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Before Seq"}},"additionalProperties":false,"type":"object","required":["versions","current_version_id","next_before_seq"],"title":"ArtifactVersionPage"},"ArtifactVersionSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"seq":{"type":"integer","title":"Seq"},"is_current":{"type":"boolean","title":"Is Current"},"code_lang":{"type":"string","title":"Code Lang"},"fingerprint":{"type":"string","title":"Fingerprint"},"export_status":{"$ref":"#/components/schemas/ExportStatus"},"export_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Reason"},"limitations":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limitations"},"verification_summary":{"anyOf":[{"$ref":"#/components/schemas/VerificationSummary"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"origin":{"type":"string","title":"Origin"},"program_role":{"type":"string","title":"Program Role"},"has_qasm":{"type":"boolean","title":"Has Qasm"},"has_resource_estimates":{"type":"boolean","title":"Has Resource Estimates"},"has_framework_variants":{"type":"boolean","title":"Has Framework Variants"},"exportable":{"type":"boolean","title":"Exportable"},"verified":{"type":"boolean","title":"Verified"},"restore_losses":{"items":{"type":"string"},"type":"array","title":"Restore Losses"}},"additionalProperties":false,"type":"object","required":["id","seq","is_current","code_lang","fingerprint","export_status","export_reason","limitations","verification_summary","created_at","origin","program_role","has_qasm","has_resource_estimates","has_framework_variants","exportable","verified","restore_losses"],"title":"ArtifactVersionSummary"},"AssumptionSetSummary":{"properties":{"identity":{"type":"string","title":"Identity","description":"Stable identity, e.g. `gidney-2025@v2+eps=1e-06`. Two estimates may be ranked against each other only when these strings match."},"name":{"type":"string","title":"Name"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"citation":{"type":"string","title":"Citation"},"rotation_synthesis_epsilon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rotation Synthesis Epsilon","description":"Per-rotation approximation error the Clifford+T synthesis is held to. Null when no precision was named, in which case any circuit containing an arbitrary-angle rotation has no T-count at all."},"t_per_rotation":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"T Per Rotation","description":"T gates one arbitrary-angle rotation costs under this precision."},"t_per_toffoli":{"type":"integer","minimum":1.0,"title":"T Per Toffoli"},"physical_error_rate":{"type":"number","title":"Physical Error Rate"},"cycle_time_s":{"type":"number","title":"Cycle Time S"},"reaction_time_s":{"type":"number","title":"Reaction Time S"}},"additionalProperties":false,"type":"object","required":["identity","name","version","citation","t_per_toffoli","physical_error_rate","cycle_time_s","reaction_time_s"],"title":"AssumptionSetSummary"},"Audience":{"properties":{"level":{"type":"string","enum":["newcomer","engineer","student","researcher"],"title":"Level","default":"engineer"},"assumes":{"items":{"type":"string"},"type":"array","title":"Assumes"},"not_assumed":{"items":{"type":"string"},"type":"array","title":"Not Assumed"}},"additionalProperties":false,"type":"object","title":"Audience"},"AuthorNotebookVersionRequest":{"properties":{"spec":{"anyOf":[{"$ref":"#/components/schemas/NotebookSpec"},{"type":"null"}]},"source":{"anyOf":[{"type":"string","maxLength":400000},{"type":"null"}],"title":"Source"},"ipynb":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Ipynb"},"message":{"type":"string","maxLength":500,"title":"Message","default":""},"execute":{"type":"boolean","title":"Execute","default":true},"run_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Until"},"reuse_results":{"type":"boolean","title":"Reuse Results","default":true}},"additionalProperties":false,"type":"object","title":"AuthorNotebookVersionRequest"},"AuthorNotebookVersionResponse":{"properties":{"version":{"$ref":"#/components/schemas/NotebookVersionSummary"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"}},"additionalProperties":false,"type":"object","required":["version"],"title":"AuthorNotebookVersionResponse"},"Bilingual":{"properties":{"en":{"type":"string","title":"En"},"ja":{"type":"string","title":"Ja"}},"type":"object","required":["en","ja"],"title":"Bilingual"},"BlockPlan":{"properties":{"problem":{"type":"string","enum":["search","factoring","ecdlp","ground-state","hamiltonian-simulation","linear-system","maxcut","amplitude-estimation","phase-estimation","linear-ode","nonlinear-ode"],"title":"Problem"},"params":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"object","title":"Params"},"choices":{"additionalProperties":{"type":"string"},"type":"object","title":"Choices"}},"additionalProperties":false,"type":"object","required":["problem"],"title":"BlockPlan"},"BlockRef":{"properties":{"method":{"type":"string","title":"Method"},"plan":{"anyOf":[{"$ref":"#/components/schemas/BlockPlan"},{"type":"null"}]},"size_param":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size Param"},"author":{"type":"string","enum":["nala","user","source","leona"],"title":"Author","default":"nala"},"citation":{"type":"string","maxLength":500,"title":"Citation","default":""},"accepted":{"type":"boolean","title":"Accepted","default":false}},"additionalProperties":false,"type":"object","required":["method"],"title":"BlockRef"},"CatalogEntryEstimate":{"properties":{"slug":{"type":"string","title":"Slug"},"basis":{"$ref":"#/components/schemas/ResourceEstimateBasis"},"assumptions":{"$ref":"#/components/schemas/AssumptionSetSummary"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why no number is given, in one sentence naming the operations responsible. Present exactly when `basis` is REFUSED or NO_CIRCUIT."},"logical":{"anyOf":[{"$ref":"#/components/schemas/LogicalCostSummary"},{"type":"null"}]},"distance":{"anyOf":[{"$ref":"#/components/schemas/CodeDistanceSummary"},{"type":"null"}]},"footprint":{"anyOf":[{"$ref":"#/components/schemas/FootprintSummary"},{"type":"null"}]},"runtime":{"anyOf":[{"$ref":"#/components/schemas/RuntimeSummary"},{"type":"null"}]},"smallest_machine":{"anyOf":[{"$ref":"#/components/schemas/CostOnSmallestMachine"},{"type":"null"}],"description":"The same circuit at one factory, when that is a different machine from the one costed above. Null when there is no trade to show: a Clifford-only circuit uses no factories at all, and an estimate already costed at one factory is its own smallest machine. Present so the headline figure cannot be read as *the* cost — for a small circuit the factories are ~99% of it, and they are hardware bought for speed rather than by the circuit."},"target_failure_probability":{"anyOf":[{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Target Failure Probability"},"notes":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Notes"},"frontier":{"anyOf":[{"$ref":"#/components/schemas/FrontierSummary"},{"type":"null"}],"description":"The qubits-vs-runtime Pareto frontier across the deployment's built-in assumption sets. Present exactly when `basis` carries a cost (may still have zero points, e.g. Clifford-only); null under NO_CIRCUIT/REFUSED, same as the other layers."},"scaling":{"anyOf":[{"$ref":"#/components/schemas/ScalingCurveSummary"},{"type":"null"}],"description":"The estimate at a series of problem sizes, only when this entry's Atlas record states an explicit n-dependence for its logical cost. Null otherwise — never fabricated by fitting or extrapolating a curve. No entry currently states one."}},"additionalProperties":false,"type":"object","required":["slug","basis","assumptions"],"title":"CatalogEntryEstimate"},"CatalogEntryProfile":{"properties":{"slug":{"type":"string","title":"Slug"},"present":{"type":"boolean","title":"Present","description":"False when the entry carries no portable circuit, or carries one this stack cannot read. The other fields are then absent — not zero, which is a size a real circuit can have."},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why there is no profile. Present exactly when `present` is false."},"qubits":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Qubits"},"depth":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Depth"},"gate_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Gate Count"},"two_qubit_gate_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Two Qubit Gate Count"},"measurement_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Measurement Count"}},"additionalProperties":false,"type":"object","required":["slug","present"],"title":"CatalogEntryProfile"},"CatalogEstimateList":{"properties":{"assumptions":{"$ref":"#/components/schemas/AssumptionSetSummary"},"estimates":{"items":{"$ref":"#/components/schemas/CatalogEstimateSummary"},"type":"array","title":"Estimates"}},"additionalProperties":false,"type":"object","required":["assumptions"],"title":"CatalogEstimateList"},"CatalogEstimateSummary":{"properties":{"slug":{"type":"string","title":"Slug"},"basis":{"$ref":"#/components/schemas/ResourceEstimateBasis"},"total_physical_qubits":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Total Physical Qubits"},"smallest_machine_qubits":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Smallest Machine Qubits","description":"`total_physical_qubits` for the same circuit at one factory. Null on the same terms as `CatalogEntryEstimate.smallest_machine` — no factories, or already costed at one. **The ordering fields are unchanged**: a list is still ranked on `total_physical_qubits`, and this is here so a row can show the span it sits at the top of rather than a single number that reads as the cost."},"magic_states":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Magic States"},"logical_qubits":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Logical Qubits"},"code_distance":{"anyOf":[{"type":"integer","minimum":3.0},{"type":"null"}],"title":"Code Distance"},"seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seconds"}},"additionalProperties":false,"type":"object","required":["slug","basis"],"title":"CatalogEstimateSummary"},"CatalogProfileList":{"properties":{"profiles":{"items":{"$ref":"#/components/schemas/CatalogEntryProfile"},"type":"array","title":"Profiles"}},"additionalProperties":false,"type":"object","title":"CatalogProfileList"},"CatalogProvenance":{"properties":{"import_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Import Provider"},"upstream_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upstream Ref","description":"Pinned upstream ref (e.g. the manifest source commit)"},"upstream_identity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upstream Identity","description":"Per-item manifest identity; equals the public slug"},"source_blob_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Blob Sha256","description":"sha256 of the exact stored source bytes"}},"additionalProperties":false,"type":"object","title":"CatalogProvenance"},"Cell":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["markdown","code"],"title":"Kind"},"role":{"anyOf":[{"$ref":"#/components/schemas/CellRole"},{"type":"null"}]},"source":{"type":"string","title":"Source","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"execute":{"type":"boolean","title":"Execute","default":true},"stub":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stub"},"check":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check"},"graded_self_check_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Graded Self Check Ids"},"answer":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/ChoiceAnswer"},{"$ref":"#/components/schemas/NumericAnswer"},{"$ref":"#/components/schemas/TextAnswer"},{"$ref":"#/components/schemas/RubricAnswer"}],"discriminator":{"propertyName":"kind","mapping":{"choice":"#/components/schemas/ChoiceAnswer","numeric":"#/components/schemas/NumericAnswer","rubric":"#/components/schemas/RubricAnswer","text":"#/components/schemas/TextAnswer"}}},{"type":"null"}],"title":"Answer"},"answer_prompt":{"anyOf":[{"$ref":"#/components/schemas/AnswerPrompt"},{"type":"null"}]},"timeout_s":{"anyOf":[{"type":"integer","maximum":600.0,"minimum":1.0},{"type":"null"}],"title":"Timeout S"},"property":{"anyOf":[{"$ref":"#/components/schemas/CheckProperty"},{"type":"null"}]},"block":{"anyOf":[{"$ref":"#/components/schemas/BlockRef"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","kind"],"title":"Cell"},"CellError":{"properties":{"ename":{"type":"string","title":"Ename"},"evalue":{"type":"string","title":"Evalue"},"traceback":{"items":{"type":"string"},"type":"array","title":"Traceback"}},"additionalProperties":false,"type":"object","required":["ename","evalue"],"title":"CellError"},"CellGrade":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","enum":["passed","failed","unattempted","ungradable"],"title":"Status"},"graded_by":{"type":"string","enum":["deterministic","model"],"title":"Graded By"},"message":{"type":"string","title":"Message","default":""},"hint":{"type":"string","title":"Hint","default":""},"detail":{"type":"string","title":"Detail","default":""}},"additionalProperties":false,"type":"object","required":["id","status","graded_by"],"title":"CellGrade"},"CellOutput":{"properties":{"mime":{"type":"string","enum":["text/plain","text/html","text/latex","text/markdown","image/png","image/svg+xml"],"title":"Mime"},"data":{"type":"string","title":"Data"},"truncated":{"type":"boolean","title":"Truncated","default":false},"original_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Original Bytes"}},"additionalProperties":false,"type":"object","required":["mime","data"],"title":"CellOutput"},"CellResult":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","enum":["ok","error","skipped","not_run"],"title":"Status"},"stdout":{"type":"string","title":"Stdout","default":""},"stderr":{"type":"string","title":"Stderr","default":""},"outputs":{"items":{"$ref":"#/components/schemas/CellOutput"},"type":"array","title":"Outputs"},"error":{"anyOf":[{"$ref":"#/components/schemas/CellError"},{"type":"null"}]},"duration_ms":{"type":"integer","minimum":0.0,"title":"Duration Ms","default":0},"execution_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Execution Count"},"note":{"type":"string","title":"Note","default":""},"hardware_requests":{"items":{"$ref":"#/components/schemas/HardwareRequest"},"type":"array","maxItems":8,"title":"Hardware Requests"},"check":{"anyOf":[{"$ref":"#/components/schemas/CheckVerdict"},{"type":"null"}]},"cache_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cache Key"},"cached_from_seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cached From Seq"}},"additionalProperties":false,"type":"object","required":["id","status"],"title":"CellResult"},"CellRole":{"type":"string","enum":["setup","objective","concept","predict","run","observe","explain","modify","checkpoint","figure","exercise","hint","solution","question","answer","summary","references","note","check","block"],"title":"CellRole"},"CheckProperty":{"properties":{"kind":{"type":"string","enum":["state","unitary","distribution","energy","value"],"title":"Kind"},"subject":{"type":"string","maxLength":64,"minLength":1,"title":"Subject"},"amplitudes":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"string"}]},"type":"object","maxProperties":4096},{"type":"null"}],"title":"Amplitudes"},"probabilities":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"string"}]},"type":"object","maxProperties":4096},{"type":"null"}],"title":"Probabilities"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"reference_qasm":{"anyOf":[{"type":"string","maxLength":20000,"minLength":1},{"type":"null"}],"title":"Reference Qasm"},"hamiltonian":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object","maxProperties":256},{"type":"null"}],"title":"Hamiltonian"},"target":{"anyOf":[{"type":"string","const":"ground"},{"type":"number"},{"type":"null"}],"title":"Target"},"value":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Value"},"comparison":{"type":"string","enum":["eq","ge","le"],"title":"Comparison","default":"eq"},"tolerance":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Tolerance"},"statement":{"type":"string","maxLength":300,"title":"Statement","default":""},"author":{"type":"string","enum":["nala","user","source","leona"],"title":"Author","default":"nala"},"citation":{"type":"string","maxLength":500,"title":"Citation","default":""},"accepted":{"type":"boolean","title":"Accepted","default":false},"block":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Block"},"sizes":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Sizes"},"structure":{"anyOf":[{"$ref":"#/components/schemas/CheckStructure"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["kind","subject"],"title":"CheckProperty"},"CheckShortcut":{"properties":{"status":{"type":"string","enum":["caught","not_caught","not_tried"],"title":"Status"},"description":{"type":"string","maxLength":300,"title":"Description","default":""},"caught_by":{"items":{"type":"string","enum":["max_two_qubit_gates","max_gates","max_depth","allowed_gates","forbidden_gates","required_gates","measure_at_end"]},"type":"array","maxItems":7,"title":"Caught By"},"reason":{"type":"string","maxLength":500,"title":"Reason","default":""}},"additionalProperties":false,"type":"object","required":["status"],"title":"CheckShortcut"},"CheckSizeVerdict":{"properties":{"size":{"type":"integer","minimum":1.0,"title":"Size"},"status":{"type":"string","enum":["pass","fail","inconclusive","not_reached"],"title":"Status"},"checked_against":{"type":"string","maxLength":500,"title":"Checked Against","default":""},"measure":{"type":"string","maxLength":500,"title":"Measure","default":""},"detail":{"type":"string","maxLength":2000,"title":"Detail","default":""},"qubits":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Qubits"},"subject_fingerprint":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Subject Fingerprint"},"teeth":{"anyOf":[{"$ref":"#/components/schemas/CheckTeeth"},{"type":"null"}]},"counts":{"anyOf":[{"$ref":"#/components/schemas/GateCounts"},{"type":"null"}]},"structure":{"anyOf":[{"items":{"$ref":"#/components/schemas/StructureFinding"},"type":"array","maxItems":7},{"type":"null"}],"title":"Structure"},"behaviour_status":{"anyOf":[{"type":"string","enum":["pass","fail","inconclusive"]},{"type":"null"}],"title":"Behaviour Status"},"behaviour_detail":{"type":"string","maxLength":2000,"title":"Behaviour Detail","default":""}},"additionalProperties":false,"type":"object","required":["size","status"],"title":"CheckSizeVerdict"},"CheckStructure":{"properties":{"max_two_qubit_gates":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Max Two Qubit Gates"},"max_gates":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Max Gates"},"max_depth":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Max Depth"},"allowed_gates":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":32},{"type":"null"}],"title":"Allowed Gates"},"forbidden_gates":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":32},{"type":"null"}],"title":"Forbidden Gates"},"required_gates":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":32},{"type":"null"}],"title":"Required Gates"},"measure_at_end":{"type":"boolean","title":"Measure At End","default":false}},"additionalProperties":false,"type":"object","title":"CheckStructure"},"CheckTeeth":{"properties":{"status":{"type":"string","enum":["measured","not_measured"],"title":"Status"},"reason":{"type":"string","maxLength":500,"title":"Reason","default":""},"mutants":{"type":"integer","minimum":0.0,"title":"Mutants","default":0},"equivalent":{"type":"integer","minimum":0.0,"title":"Equivalent","default":0},"caught":{"type":"integer","minimum":0.0,"title":"Caught","default":0},"survivors":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Survivors"},"could_not_run":{"type":"integer","minimum":0.0,"title":"Could Not Run","default":0},"shortcut":{"anyOf":[{"$ref":"#/components/schemas/CheckShortcut"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["status"],"title":"CheckTeeth"},"CheckVerdict":{"properties":{"status":{"type":"string","enum":["pass","fail","inconclusive"],"title":"Status"},"basis":{"type":"string","enum":["circuit","value"],"title":"Basis"},"checked_against":{"type":"string","maxLength":500,"title":"Checked Against","default":""},"measure":{"type":"string","maxLength":500,"title":"Measure","default":""},"detail":{"type":"string","maxLength":2000,"title":"Detail","default":""},"qubits":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Qubits"},"subject_fingerprint":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Subject Fingerprint"},"subject_qasm":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}],"title":"Subject Qasm"},"teeth":{"anyOf":[{"$ref":"#/components/schemas/CheckTeeth"},{"type":"null"}]},"per_size":{"anyOf":[{"items":{"$ref":"#/components/schemas/CheckSizeVerdict"},"type":"array","maxItems":8},{"type":"null"}],"title":"Per Size"},"counts":{"anyOf":[{"$ref":"#/components/schemas/GateCounts"},{"type":"null"}]},"structure":{"anyOf":[{"items":{"$ref":"#/components/schemas/StructureFinding"},"type":"array","maxItems":7},{"type":"null"}],"title":"Structure"},"behaviour_status":{"anyOf":[{"type":"string","enum":["pass","fail","inconclusive"]},{"type":"null"}],"title":"Behaviour Status"},"behaviour_detail":{"type":"string","maxLength":2000,"title":"Behaviour Detail","default":""}},"additionalProperties":false,"type":"object","required":["status","basis"],"title":"CheckVerdict"},"ChoiceAnswer":{"properties":{"kind":{"type":"string","const":"choice","title":"Kind","default":"choice"},"options":{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":2,"title":"Options"},"correct":{"type":"integer","minimum":0.0,"title":"Correct"},"explanation":{"type":"string","title":"Explanation","default":""}},"additionalProperties":false,"type":"object","required":["options","correct"],"title":"ChoiceAnswer"},"CircuitAtSize":{"properties":{"size":{"type":"integer","minimum":1.0,"title":"Size"},"qasm":{"anyOf":[{"type":"string","maxLength":64000,"minLength":1},{"type":"null"}],"title":"Qasm","description":"The circuit built at this size, as OpenQASM 3."},"build_error":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Build Error","description":"What building the circuit at this size raised, such as 'ValueError: n must be even', when there is no circuit to send."}},"additionalProperties":false,"type":"object","required":["size"],"title":"CircuitAtSize"},"CircuitCheckRequest":{"properties":{"qasm":{"anyOf":[{"type":"string","maxLength":64000,"minLength":1},{"type":"null"}],"title":"Qasm","description":"The circuit, as OpenQASM 3 (include \"stdgates.inc\" for standard gates)."},"property":{"$ref":"#/components/schemas/CheckProperty"},"circuits":{"anyOf":[{"items":{"$ref":"#/components/schemas/CircuitAtSize"},"type":"array","maxItems":8,"minItems":1},{"type":"null"}],"title":"Circuits","description":"For a property with sizes: the circuit built at each size, one entry per size the property names."}},"additionalProperties":false,"type":"object","required":["property"],"title":"CircuitCheckRequest"},"CircuitCheckResponse":{"properties":{"verdict":{"$ref":"#/components/schemas/CheckVerdict"}},"additionalProperties":false,"type":"object","required":["verdict"],"title":"CircuitCheckResponse"},"CircuitCompiler":{"type":"string","enum":["qiskit","cirq","pytket","pennylane","pyzx","bqskit"],"title":"CircuitCompiler"},"CircuitLineage":{"properties":{"state":{"type":"string","enum":["unlinked","same_source","changed_source","studio_changed","unsupported"],"title":"State"},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"origin_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Origin Version Id"},"current_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Current Version Id"},"current_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Revision"},"exportable":{"type":"boolean","title":"Exportable","default":false},"notebook_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Notebook Version Id"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"context_changed":{"type":"boolean","title":"Context Changed","default":false}},"type":"object","required":["state"],"title":"CircuitLineage"},"CircuitOptimizationGate":{"type":"string","enum":["H","X","Y","Z","S","T","RX","RY","RZ","CX","CZ","SWAP","M"],"title":"CircuitOptimizationGate"},"CircuitOptimizationOperation":{"properties":{"gate":{"$ref":"#/components/schemas/CircuitOptimizationGate"},"qubits":{"items":{"type":"integer"},"type":"array","maxItems":2,"minItems":1,"title":"Qubits"},"angle_radians":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Angle Radians"}},"additionalProperties":false,"type":"object","required":["gate","qubits"],"title":"CircuitOptimizationOperation"},"CircuitOptimizationRequest":{"properties":{"compiler":{"$ref":"#/components/schemas/CircuitCompiler"},"qubit_count":{"type":"integer","maximum":64.0,"minimum":1.0,"title":"Qubit Count"},"operations":{"items":{"$ref":"#/components/schemas/CircuitOptimizationOperation"},"type":"array","maxItems":1024,"minItems":1,"title":"Operations"},"optimization_level":{"type":"integer","maximum":3.0,"minimum":1.0,"title":"Optimization Level","default":2}},"additionalProperties":false,"type":"object","required":["compiler","qubit_count","operations"],"title":"CircuitOptimizationRequest"},"CodeDistanceSummary":{"properties":{"code_distance":{"type":"integer","minimum":3.0,"title":"Code Distance"},"logical_operations":{"type":"integer","minimum":1.0,"title":"Logical Operations"},"required_error_per_operation":{"type":"number","title":"Required Error Per Operation"},"achieved_error_per_operation":{"type":"number","title":"Achieved Error Per Operation"},"physical_per_logical":{"type":"integer","minimum":1.0,"title":"Physical Per Logical"}},"additionalProperties":false,"type":"object","required":["code_distance","logical_operations","required_error_per_operation","achieved_error_per_operation","physical_per_logical"],"title":"CodeDistanceSummary"},"CohortMember":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"email":{"type":"string","title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"}},"additionalProperties":false,"type":"object","required":["user_id","email"],"title":"CohortMember"},"CohortVisibility":{"type":"string","enum":["all_cohorts","own_cohort"],"title":"CohortVisibility"},"Comment":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"target_type":{"$ref":"#/components/schemas/CommentTargetType"},"target_id":{"type":"string","format":"uuid","title":"Target Id"},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id"},"author":{"anyOf":[{"$ref":"#/components/schemas/CommentPerson"},{"type":"null"}]},"body":{"type":"string","title":"Body","default":""},"mentions":{"items":{"$ref":"#/components/schemas/CommentPerson"},"type":"array","title":"Mentions"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"edited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Edited At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"can_edit":{"type":"boolean","title":"Can Edit","default":false},"can_delete":{"type":"boolean","title":"Can Delete","default":false}},"additionalProperties":false,"type":"object","required":["id","workspace_id","target_type","target_id","created_at"],"title":"Comment"},"CommentList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Comment"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"},"can_comment":{"type":"boolean","title":"Can Comment","default":false}},"additionalProperties":false,"type":"object","required":["items"],"title":"CommentList"},"CommentPeopleList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CommentPerson"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","required":["items"],"title":"CommentPeopleList"},"CommentPerson":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"handle":{"type":"string","title":"Handle","default":""},"current_member":{"type":"boolean","title":"Current Member","default":true}},"additionalProperties":false,"type":"object","required":["user_id"],"title":"CommentPerson"},"CommentTargetType":{"type":"string","enum":["run","notebook","artifact"],"title":"CommentTargetType"},"Conversation":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"turns":{"items":{"$ref":"#/components/schemas/ConversationTurn"},"type":"array","title":"Turns"}},"additionalProperties":false,"type":"object","required":["id","workspace_id"],"title":"Conversation"},"ConversationTurn":{"properties":{"run":{"$ref":"#/components/schemas/Run"},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events"}},"additionalProperties":false,"type":"object","required":["run"],"title":"ConversationTurn"},"CostLine":{"properties":{"id":{"type":"string","title":"Id"},"label":{"$ref":"#/components/schemas/Bilingual"},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Value","description":"Null when a parameter it needs is missing (see `missing`). On a `scaling` line it is a magnitude, never a count."},"unit":{"$ref":"#/components/schemas/Bilingual"},"formula":{"type":"string","title":"Formula"},"kind":{"type":"string","title":"Kind"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"A key of `sources`, or null for Leona's own arithmetic."},"qualifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qualifier"},"note":{"anyOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"missing":{"items":{"type":"string"},"type":"array","title":"Missing"},"counts":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Counts"}},"type":"object","required":["id","label","value","unit","formula","kind","source","qualifier","note","missing","counts"],"title":"CostLine"},"CostOnSmallestMachine":{"properties":{"footprint":{"$ref":"#/components/schemas/FootprintSummary"},"runtime":{"$ref":"#/components/schemas/RuntimeSummary"}},"additionalProperties":false,"type":"object","required":["footprint","runtime"],"title":"CostOnSmallestMachine"},"Course":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"summary":{"type":"string","title":"Summary","default":""},"brief":{"type":"string","title":"Brief","default":""},"kind":{"type":"string","const":"course","title":"Kind","default":"course"},"audience":{"$ref":"#/components/schemas/Audience"},"style":{"$ref":"#/components/schemas/Style"},"framework":{"$ref":"#/components/schemas/NotebookFramework"},"language":{"type":"string","enum":["en","ja"],"title":"Language","default":"en"},"status":{"$ref":"#/components/schemas/CourseStatus"},"plan_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Plan Run Id"},"owner_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Owner User Id"},"modules":{"items":{"$ref":"#/components/schemas/CourseModule"},"type":"array","title":"Modules"},"module_count":{"type":"integer","minimum":0.0,"title":"Module Count","default":0},"ready_count":{"type":"integer","minimum":0.0,"title":"Ready Count","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["id","slug","title","status","created_at","updated_at"],"title":"Course"},"CourseCertificate":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"course_id":{"type":"string","format":"uuid","title":"Course Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"recipient_name":{"type":"string","maxLength":200,"minLength":1,"title":"Recipient Name"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"revoked_by_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revoked By User Id"},"public_url_path":{"type":"string","title":"Public Url Path"}},"additionalProperties":false,"type":"object","required":["id","course_id","user_id","recipient_name","issued_at","public_url_path"],"title":"CourseCertificate"},"CourseCertificateList":{"properties":{"course_id":{"type":"string","format":"uuid","title":"Course Id"},"items":{"items":{"$ref":"#/components/schemas/CourseCertificate"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","required":["course_id"],"title":"CourseCertificateList"},"CourseCohort":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"course_id":{"type":"string","format":"uuid","title":"Course Id"},"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"members":{"items":{"$ref":"#/components/schemas/CohortMember"},"type":"array","title":"Members"},"member_count":{"type":"integer","minimum":0.0,"title":"Member Count","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["id","course_id","name","created_at","updated_at"],"title":"CourseCohort"},"CourseCohortList":{"properties":{"course_id":{"type":"string","format":"uuid","title":"Course Id"},"visibility":{"$ref":"#/components/schemas/CohortVisibility"},"items":{"items":{"$ref":"#/components/schemas/CourseCohort"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","required":["course_id","visibility"],"title":"CourseCohortList"},"CourseGradebook":{"properties":{"course_id":{"type":"string","format":"uuid","title":"Course Id"},"visibility":{"$ref":"#/components/schemas/GradebookVisibility"},"cohort_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cohort Id"},"modules":{"items":{"$ref":"#/components/schemas/GradebookModule"},"type":"array","title":"Modules"},"rows":{"items":{"$ref":"#/components/schemas/GradebookRow"},"type":"array","title":"Rows"}},"additionalProperties":false,"type":"object","required":["course_id","visibility"],"title":"CourseGradebook"},"CourseGradingCoverage":{"properties":{"course_id":{"type":"string","format":"uuid","title":"Course Id"},"modules":{"items":{"$ref":"#/components/schemas/ModuleGradingCoverage"},"type":"array","title":"Modules"}},"type":"object","required":["course_id"],"title":"CourseGradingCoverage"},"CourseList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CourseSummary"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","title":"CourseList"},"CourseModule":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"seq":{"type":"integer","minimum":1.0,"title":"Seq"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"topic":{"type":"string","title":"Topic","default":""},"key_concepts":{"items":{"type":"string"},"type":"array","title":"Key Concepts"},"objectives":{"items":{"type":"string"},"type":"array","title":"Objectives"},"deliverable":{"type":"string","title":"Deliverable","default":""},"kind":{"$ref":"#/components/schemas/NotebookKind","default":"lesson"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":600.0,"minimum":1.0},{"type":"null"}],"title":"Duration Minutes"},"prerequisites":{"items":{"type":"string"},"type":"array","title":"Prerequisites"},"brief":{"type":"string","title":"Brief","default":""},"notebook_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Notebook Id"},"status":{"$ref":"#/components/schemas/CourseModuleStatus","default":"planned"},"notebook_version_seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Notebook Version Seq"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"}},"additionalProperties":false,"type":"object","required":["id","seq","slug","title"],"title":"CourseModule"},"CourseModuleStatus":{"type":"string","enum":["planned","queued","running","ready","failed"],"title":"CourseModuleStatus"},"CourseStatus":{"type":"string","enum":["planning","planned","generating","ready","failed"],"title":"CourseStatus"},"CourseSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"summary":{"type":"string","title":"Summary","default":""},"status":{"$ref":"#/components/schemas/CourseStatus"},"language":{"type":"string","enum":["en","ja"],"title":"Language","default":"en"},"module_count":{"type":"integer","minimum":0.0,"title":"Module Count","default":0},"ready_count":{"type":"integer","minimum":0.0,"title":"Ready Count","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["id","slug","title","status","created_at","updated_at"],"title":"CourseSummary"},"CourseTurn":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"seq":{"type":"integer","minimum":1.0,"title":"Seq"},"role":{"type":"string","enum":["user","nala"],"title":"Role"},"content":{"type":"string","title":"Content"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","seq","role","content","created_at"],"title":"CourseTurn"},"CourseTurnList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CourseTurn"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","title":"CourseTurnList"},"CreateNotebookRequest":{"properties":{"brief":{"type":"string","maxLength":8000,"minLength":1,"title":"Brief"},"kind":{"anyOf":[{"$ref":"#/components/schemas/NotebookKind"},{"type":"null"}]},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title"},"audience":{"anyOf":[{"$ref":"#/components/schemas/Audience"},{"type":"null"}]},"style":{"anyOf":[{"$ref":"#/components/schemas/Style"},{"type":"null"}]},"framework":{"anyOf":[{"$ref":"#/components/schemas/NotebookFramework"},{"type":"null"}]},"seeds":{"items":{"$ref":"#/components/schemas/Seed"},"type":"array","maxItems":8,"title":"Seeds"},"response_locale":{"type":"string","enum":["en","ja"],"title":"Response Locale","default":"en"}},"additionalProperties":false,"type":"object","required":["brief"],"title":"CreateNotebookRequest"},"CreateNotebookResponse":{"properties":{"notebook":{"$ref":"#/components/schemas/Notebook"},"version":{"$ref":"#/components/schemas/NotebookVersionSummary"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"additionalProperties":false,"type":"object","required":["notebook","version","run_id"],"title":"CreateNotebookResponse"},"CreateNotebookTurnRequest":{"properties":{"message":{"type":"string","maxLength":8000,"minLength":1,"title":"Message"}},"additionalProperties":false,"type":"object","required":["message"],"title":"CreateNotebookTurnRequest"},"CreateNotebookTurnResponse":{"properties":{"turn":{"$ref":"#/components/schemas/NotebookTurn"},"version":{"$ref":"#/components/schemas/NotebookVersionSummary"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"additionalProperties":false,"type":"object","required":["turn","version","run_id"],"title":"CreateNotebookTurnResponse"},"CreateRunRequest":{"properties":{"task_prompt":{"type":"string","minLength":1,"title":"Task Prompt"},"mode":{"$ref":"#/components/schemas/RunMode","default":"auto"},"framework":{"$ref":"#/components/schemas/Framework","default":"qiskit"},"thinking_level":{"anyOf":[{"$ref":"#/components/schemas/ThinkingLevel"},{"type":"null"}],"description":"Circuit reasoning and repair preset. Omit to retain the legacy budget."},"artifact_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Version Id"},"expected_revision":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Revision"},"seed":{"anyOf":[{"type":"integer","maximum":2147483647.0,"minimum":0.0},{"type":"null"}],"title":"Seed"},"shots":{"anyOf":[{"type":"integer","maximum":20000.0,"minimum":1.0},{"type":"null"}],"title":"Shots"},"timeout_s":{"anyOf":[{"type":"integer","maximum":600.0,"minimum":1.0},{"type":"null"}],"title":"Timeout S"},"source_code":{"anyOf":[{"type":"string","maxLength":100000},{"type":"null"}],"title":"Source Code"},"source_intent":{"type":"string","enum":["verify","revise"],"title":"Source Intent","default":"verify"},"circuit_title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Circuit Title"},"conversation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Conversation Id"},"response_locale":{"type":"string","enum":["en","ja"],"title":"Response Locale","default":"en"},"allow_ai_assumptions":{"type":"boolean","title":"Allow Ai Assumptions","default":false},"circuit_optimization":{"anyOf":[{"$ref":"#/components/schemas/CircuitOptimizationRequest"},{"type":"null"}]},"circuit_synthesis":{"anyOf":[{"$ref":"#/components/schemas/SynthesisRequest"},{"type":"null"}]},"workflow_context":{"anyOf":[{"$ref":"#/components/schemas/WorkflowContext"},{"type":"null"}]},"canvas":{"anyOf":[{"$ref":"#/components/schemas/StudioCanvas"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["task_prompt"],"title":"CreateRunRequest"},"ErrorStatistic":{"type":"string","enum":["median","mean","stated"],"title":"ErrorStatistic"},"EstimateBasis":{"type":"string","enum":["vendor_rate_card","free_tier_allowance"],"title":"EstimateBasis"},"EstimatePoint":{"properties":{"label":{"type":"string","title":"Label"},"parameter_value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Parameter Value"},"logical_qubits":{"type":"integer","title":"Logical Qubits"},"toffoli_count":{"type":"integer","title":"Toffoli Count"},"t_count":{"type":"integer","title":"T Count"},"non_clifford_depth":{"type":"integer","title":"Non Clifford Depth"}},"type":"object","required":["label","parameter_value","logical_qubits","toffoli_count","t_count","non_clifford_depth"],"title":"EstimatePoint"},"EvidenceStrength":{"type":"string","enum":["physical","structural"],"title":"EvidenceStrength"},"ExecuteQappRequest":{"properties":{"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"analyze":{"type":"boolean","title":"Analyze","default":false},"previous":{"anyOf":[{"$ref":"#/components/schemas/PreviousQappRun"},{"type":"null"}]},"locale":{"type":"string","enum":["en","ja"],"title":"Locale","default":"en"}},"additionalProperties":false,"type":"object","title":"ExecuteQappRequest"},"ExecutionReport":{"properties":{"notebook_slug":{"type":"string","title":"Notebook Slug"},"ok":{"type":"boolean","title":"Ok"},"runner":{"type":"string","enum":["sandbox","nbclient","inprocess"],"title":"Runner"},"cells":{"items":{"$ref":"#/components/schemas/CellResult"},"type":"array","title":"Cells"},"duration_ms":{"type":"integer","minimum":0.0,"title":"Duration Ms","default":0},"environment":{"additionalProperties":{"type":"string"},"type":"object","title":"Environment"},"dropped_bytes":{"type":"integer","minimum":0.0,"title":"Dropped Bytes","default":0},"note":{"type":"string","title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["notebook_slug","ok","runner"],"title":"ExecutionReport"},"ExerciseGradingChoice":{"properties":{"cell_id":{"type":"string","title":"Cell Id"},"exercise_number":{"type":"integer","title":"Exercise Number"},"self_check_ids":{"items":{"type":"string"},"type":"array","title":"Self Check Ids"},"count_self_checks":{"type":"boolean","title":"Count Self Checks"},"hidden_graded":{"type":"boolean","title":"Hidden Graded"}},"type":"object","required":["cell_id","exercise_number","self_check_ids","count_self_checks","hidden_graded"],"title":"ExerciseGradingChoice"},"ExportStatus":{"type":"string","enum":["lossless","lossy_with_reason","download_only","unsupported"],"title":"ExportStatus"},"FailingCell":{"properties":{"cell_id":{"type":"string","title":"Cell Id"},"is_checkpoint":{"type":"boolean","title":"Is Checkpoint"}},"type":"object","required":["cell_id","is_checkpoint"],"title":"FailingCell"},"FootprintSummary":{"properties":{"data_patch_qubits":{"type":"integer","minimum":0.0,"title":"Data Patch Qubits"},"routing_qubits":{"type":"integer","minimum":0.0,"title":"Routing Qubits"},"factory_qubits":{"type":"integer","minimum":0.0,"title":"Factory Qubits"},"total_physical_qubits":{"type":"integer","minimum":0.0,"title":"Total Physical Qubits"}},"additionalProperties":false,"type":"object","required":["data_patch_qubits","routing_qubits","factory_qubits","total_physical_qubits"],"title":"FootprintSummary"},"Framework":{"type":"string","enum":["qiskit","pennylane","cirq","braket","qibo","qulacs"],"title":"Framework"},"FrontierPointSummary":{"properties":{"assumption_set":{"type":"string","title":"Assumption Set","description":"AssumptionSet.identity that produced this point, e.g. `gidney-2025@v2`."},"assumption_citation":{"type":"string","title":"Assumption Citation"},"target_failure_probability":{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":0.0,"title":"Target Failure Probability"},"factory_count":{"type":"integer","minimum":0.0,"title":"Factory Count"},"total_physical_qubits":{"type":"integer","minimum":0.0,"title":"Total Physical Qubits"},"runtime_seconds":{"type":"number","exclusiveMinimum":0.0,"title":"Runtime Seconds","description":"Never null: a point with no stated runtime cannot be ranked, so it never reaches the frontier."}},"additionalProperties":false,"type":"object","required":["assumption_set","assumption_citation","target_failure_probability","factory_count","total_physical_qubits","runtime_seconds"],"title":"FrontierPointSummary"},"FrontierSummary":{"properties":{"points":{"items":{"$ref":"#/components/schemas/FrontierPointSummary"},"type":"array","title":"Points"},"considered":{"type":"integer","minimum":0.0,"title":"Considered","description":"How many candidate points were swept before the Pareto filter kept these."}},"additionalProperties":false,"type":"object","required":["considered"],"title":"FrontierSummary"},"FunctionExecution":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tool":{"$ref":"#/components/schemas/FunctionTool"},"status":{"$ref":"#/components/schemas/FunctionExecutionStatus"},"input":{"additionalProperties":true,"type":"object","title":"Input"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"additionalProperties":false,"type":"object","required":["id","tool","status","input","created_at"],"title":"FunctionExecution"},"FunctionExecutionList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/FunctionExecutionSummary"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","title":"FunctionExecutionList"},"FunctionExecutionStatus":{"type":"string","enum":["queued","running","succeeded","failed"],"title":"FunctionExecutionStatus"},"FunctionExecutionSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"tool":{"$ref":"#/components/schemas/FunctionTool"},"status":{"$ref":"#/components/schemas/FunctionExecutionStatus"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"additionalProperties":false,"type":"object","required":["id","tool","status","created_at"],"title":"FunctionExecutionSummary"},"FunctionTool":{"type":"string","enum":["quantum_chemistry","lucj_circuit","raacs_sampling","ceo_compression","circuit_compression"],"title":"FunctionTool"},"GateCountLine":{"properties":{"id":{"type":"string","maxLength":80,"title":"Id"},"label":{"type":"string","maxLength":200,"title":"Label","default":""},"formula":{"type":"string","maxLength":300,"title":"Formula","default":""},"source":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Source"},"ops":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"string","const":"all"}],"maxLength":32,"title":"Ops"},"predicted":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Predicted"},"counted":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Counted"},"status":{"type":"string","enum":["match","gap","not_countable"],"title":"Status"},"uncounted":{"additionalProperties":{"type":"integer","minimum":0.0},"type":"object","maxProperties":64,"title":"Uncounted"},"note":{"type":"string","maxLength":1000,"title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["id","status"],"title":"GateCountLine"},"GateCounts":{"properties":{"counted":{"additionalProperties":{"type":"integer","minimum":0.0},"type":"object","maxProperties":64,"title":"Counted"},"comparison":{"type":"string","enum":["compared","not_compared"],"title":"Comparison","default":"not_compared"},"reason":{"type":"string","maxLength":500,"title":"Reason","default":""},"block":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Block"},"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method"},"plan":{"anyOf":[{"$ref":"#/components/schemas/BlockPlan"},{"type":"null"}]},"size_param":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size Param"},"params":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"object","maxProperties":16,"title":"Params"},"lines":{"items":{"$ref":"#/components/schemas/GateCountLine"},"type":"array","maxItems":32,"title":"Lines"}},"additionalProperties":false,"type":"object","title":"GateCounts"},"GenerateCourseRequest":{"properties":{"module_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Module Ids"}},"additionalProperties":false,"type":"object","title":"GenerateCourseRequest"},"GenerateCourseResponse":{"properties":{"course":{"$ref":"#/components/schemas/Course"},"run_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Run Ids"}},"additionalProperties":false,"type":"object","required":["course"],"title":"GenerateCourseResponse"},"GradeAttemptRequest":{"properties":{"code":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":64,"title":"Code"},"answers":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":64,"title":"Answers"}},"additionalProperties":false,"type":"object","title":"GradeAttemptRequest"},"GradeAttemptResponse":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"graded_cells":{"type":"integer","title":"Graded Cells"}},"additionalProperties":false,"type":"object","required":["run_id","graded_cells"],"title":"GradeAttemptResponse"},"GradeReport":{"properties":{"notebook_slug":{"type":"string","title":"Notebook Slug"},"cells":{"items":{"$ref":"#/components/schemas/CellGrade"},"type":"array","title":"Cells"}},"additionalProperties":false,"type":"object","required":["notebook_slug"],"title":"GradeReport"},"GradebookEntry":{"properties":{"module_id":{"type":"string","format":"uuid","title":"Module Id"},"passed":{"type":"integer","minimum":0.0,"title":"Passed"},"failed":{"type":"integer","minimum":0.0,"title":"Failed"},"attempted":{"type":"integer","minimum":0.0,"title":"Attempted"},"graded_cells":{"type":"integer","minimum":0.0,"title":"Graded Cells"},"version_seq":{"type":"integer","minimum":1.0,"title":"Version Seq"},"stale":{"type":"boolean","title":"Stale","default":false},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"graded_at":{"type":"string","format":"date-time","title":"Graded At"},"late":{"type":"boolean","title":"Late","default":false}},"additionalProperties":false,"type":"object","required":["module_id","passed","failed","attempted","graded_cells","version_seq","run_id","graded_at"],"title":"GradebookEntry"},"GradebookModule":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"seq":{"type":"integer","minimum":1.0,"title":"Seq"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"notebook_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Notebook Id"},"graded_cells":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Graded Cells"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"}},"additionalProperties":false,"type":"object","required":["id","seq","slug","title"],"title":"GradebookModule"},"GradebookRow":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"email":{"type":"string","title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"cohort_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cohort Name"},"entries":{"items":{"$ref":"#/components/schemas/GradebookEntry"},"type":"array","title":"Entries"},"total_passed":{"type":"integer","minimum":0.0,"title":"Total Passed"},"total_graded_cells":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Total Graded Cells"},"last_graded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Graded At"},"missing_module_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Missing Module Ids"}},"additionalProperties":false,"type":"object","required":["user_id","email","total_passed"],"title":"GradebookRow"},"GradebookVisibility":{"type":"string","enum":["all_members","own_row"],"title":"GradebookVisibility"},"HardwareRequest":{"properties":{"qasm":{"type":"string","maxLength":200000,"minLength":1,"title":"Qasm"},"shots":{"type":"integer","maximum":1000000.0,"minimum":1.0,"title":"Shots"},"num_qubits":{"type":"integer","minimum":1.0,"title":"Num Qubits"},"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"}},"additionalProperties":false,"type":"object","required":["qasm","shots","num_qubits"],"title":"HardwareRequest"},"HardwareSpendAllowance":{"properties":{"used_usd":{"type":"number","title":"Used Usd"},"limit_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Limit Usd"},"remaining_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining Usd"},"exhausted":{"type":"boolean","title":"Exhausted"},"window_days":{"type":"integer","title":"Window Days"}},"type":"object","required":["used_usd","limit_usd","remaining_usd","exhausted","window_days"],"title":"HardwareSpendAllowance"},"IgnoredChoice":{"properties":{"path":{"type":"string","title":"Path"},"method":{"type":"string","title":"Method"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["path","method","reason"],"title":"IgnoredChoice"},"ImportNotebookRequest":{"properties":{"ipynb":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Ipynb"},"spec":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Spec"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title"},"execute":{"type":"boolean","title":"Execute","default":true},"message":{"type":"string","maxLength":500,"title":"Message","default":""}},"additionalProperties":false,"type":"object","title":"ImportNotebookRequest"},"ImportNotebookResponse":{"properties":{"notebook":{"$ref":"#/components/schemas/Notebook"},"version":{"$ref":"#/components/schemas/NotebookVersionSummary"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"}},"additionalProperties":false,"type":"object","required":["notebook","version"],"title":"ImportNotebookResponse"},"InspectInterchangeRequest":{"properties":{"document_json":{"type":"string","maxLength":262144,"minLength":1,"title":"Document Json"},"declared_profile":{"type":"string","enum":["qref-v1","qualtran-qref-v1"],"title":"Declared Profile","default":"qref-v1"},"resource_names":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object","maxProperties":6},{"type":"null"}],"title":"Resource Names"}},"additionalProperties":false,"type":"object","required":["document_json"],"title":"InspectInterchangeRequest"},"InspectedProjection":{"properties":{"metric":{"type":"string","title":"Metric"},"resource_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Name"},"state":{"type":"string","enum":["numeric","symbolic","missing"],"title":"State"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"source_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Path"}},"type":"object","required":["metric","resource_name","state","value","source_path"],"title":"InspectedProjection"},"InspectedResource":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"state":{"type":"string","enum":["numeric","symbolic","missing"],"title":"State"},"source_path":{"type":"string","title":"Source Path"}},"type":"object","required":["name","type","value","state","source_path"],"title":"InspectedResource"},"InterchangeInspection":{"properties":{"declared_profile":{"type":"string","enum":["qref-v1","qualtran-qref-v1"],"title":"Declared Profile"},"content_sha256":{"type":"string","title":"Content Sha256"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"routine_name":{"type":"string","title":"Routine Name"},"routine_count":{"type":"integer","title":"Routine Count"},"resources":{"items":{"$ref":"#/components/schemas/InspectedResource"},"type":"array","title":"Resources"},"projections":{"items":{"$ref":"#/components/schemas/InspectedProjection"},"type":"array","title":"Projections"},"original_json":{"type":"string","title":"Original Json"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"}},"type":"object","required":["declared_profile","content_sha256","workspace_id","routine_name","routine_count","resources","projections","original_json","limitations"],"title":"InterchangeInspection"},"LogicalCostSummary":{"properties":{"logical_qubits":{"type":"integer","minimum":1.0,"title":"Logical Qubits"},"t_count":{"type":"integer","minimum":0.0,"title":"T Count"},"toffoli_count":{"type":"integer","minimum":0.0,"title":"Toffoli Count"},"non_clifford_depth":{"type":"integer","minimum":0.0,"title":"Non Clifford Depth","description":"Longest serial non-Clifford chain."},"magic_states":{"type":"integer","minimum":0.0,"title":"Magic States"},"clifford_count":{"type":"integer","minimum":0.0,"title":"Clifford Count","description":"Reported so a reader can see the circuit was read."},"synthesis_required":{"type":"integer","minimum":0.0,"title":"Synthesis Required","description":"Arbitrary-angle rotations whose T-count came from the stated epsilon."},"t_from_synthesis":{"type":"integer","minimum":0.0,"title":"T From Synthesis","description":"How much of `t_count` is the epsilon's doing rather than the circuit's. The single number a reader needs to judge how load-bearing the assumption is; without it the two are indistinguishable in the total."}},"additionalProperties":false,"type":"object","required":["logical_qubits","t_count","toffoli_count","non_clifford_depth","magic_states","clifford_count","synthesis_required","t_from_synthesis"],"title":"LogicalCostSummary"},"LogicalEstimateRequest":{"properties":{"points":{"items":{"$ref":"#/components/schemas/LogicalPoint"},"type":"array","maxItems":16,"minItems":1,"title":"Points"},"assumptions":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Assumptions","description":"Registry key of a built-in assumption set (`gidney-2025@v2`, `composed-trapped-ion@v2`). Defaults to `gidney-2025@v2`."}},"additionalProperties":false,"type":"object","required":["points"],"title":"LogicalEstimateRequest"},"LogicalEstimateResponse":{"properties":{"assumptions":{"$ref":"#/components/schemas/AssumptionSetSummary"},"points":{"items":{"$ref":"#/components/schemas/PhysicalPoint"},"type":"array","title":"Points"},"citations":{"additionalProperties":{"type":"string"},"type":"object","title":"Citations","description":"Assumption-set identity -> its citation, once per set the frontier names."}},"type":"object","required":["assumptions","points","citations"],"title":"LogicalEstimateResponse"},"LogicalPoint":{"properties":{"label":{"type":"string","maxLength":120,"minLength":1,"title":"Label"},"parameter_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Parameter Value","description":"The problem parameter this point is at (echoed, never read)."},"logical_qubits":{"type":"integer","maximum":100000000.0,"minimum":1.0,"title":"Logical Qubits"},"toffoli_count":{"type":"integer","maximum":1e+20,"minimum":0.0,"title":"Toffoli Count","default":0},"t_count":{"type":"integer","maximum":1e+20,"minimum":0.0,"title":"T Count","default":0},"non_clifford_depth":{"type":"integer","maximum":1e+20,"minimum":0.0,"title":"Non Clifford Depth","default":0}},"additionalProperties":false,"type":"object","required":["label","logical_qubits"],"title":"LogicalPoint"},"MeCredential":{"properties":{"kind":{"type":"string","enum":["personal_access_token","workspace_api_key"],"title":"Kind","description":"Which kind of credential this is."},"id":{"type":"string","title":"Id","description":"The credential's id, as its owner's settings list it."},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes","description":"What it may do: `read`, and `run` if granted."},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At","description":"When it stops working. A health check can warn before this."}},"type":"object","required":["kind","id","scopes"],"title":"MeCredential"},"MeResponse":{"properties":{"user_id":{"type":"string","title":"User Id"},"email":{"type":"string","title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"workspace_id":{"type":"string","title":"Workspace Id"},"workspace_name":{"type":"string","title":"Workspace Name"},"role":{"type":"string","title":"Role"},"is_personal_workspace":{"type":"boolean","title":"Is Personal Workspace","default":true},"workspace_kind":{"type":"string","title":"Workspace Kind","default":"personal"},"tier":{"type":"string","title":"Tier","default":"free"},"credential":{"anyOf":[{"$ref":"#/components/schemas/MeCredential"},{"type":"null"}],"description":"The token or key this request used; absent for a browser session."}},"type":"object","required":["user_id","email","display_name","workspace_id","workspace_name","role"],"title":"MeResponse"},"MethodRef":{"properties":{"id":{"type":"string","title":"Id"},"label":{"$ref":"#/components/schemas/Bilingual"},"stated_cost":{"anyOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}],"description":"The method's cost as its primary source states it, `$…$` math intact."}},"type":"object","required":["id","label","stated_cost"],"title":"MethodRef"},"ModelSpend":{"properties":{"tokens":{"type":"integer","title":"Tokens"},"calls":{"type":"integer","title":"Calls"},"model":{"type":"string","title":"Model"}},"type":"object","required":["tokens","calls","model"],"title":"ModelSpend"},"ModuleGradingCoverage":{"properties":{"module_id":{"type":"string","format":"uuid","title":"Module Id"},"notebook_version_seq":{"type":"integer","title":"Notebook Version Seq"},"exercises":{"type":"integer","minimum":0.0,"title":"Exercises"},"exercise_choices":{"items":{"$ref":"#/components/schemas/ExerciseGradingChoice"},"type":"array","title":"Exercise Choices"},"ungraded_exercises":{"items":{"type":"integer"},"type":"array","title":"Ungraded Exercises"},"questions":{"type":"integer","minimum":0.0,"title":"Questions"},"ungraded_questions":{"items":{"type":"integer"},"type":"array","title":"Ungraded Questions"},"failing_cells":{"items":{"$ref":"#/components/schemas/FailingCell"},"type":"array","title":"Failing Cells"}},"type":"object","required":["module_id","notebook_version_seq","exercises","questions"],"title":"ModuleGradingCoverage"},"NodeRef":{"properties":{"id":{"type":"string","title":"Id"},"label":{"$ref":"#/components/schemas/Bilingual"}},"type":"object","required":["id","label"],"title":"NodeRef"},"Notebook":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"owner_user_id":{"type":"string","format":"uuid","title":"Owner User Id"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"kind":{"$ref":"#/components/schemas/NotebookKind"},"summary":{"type":"string","title":"Summary","default":""},"visibility":{"$ref":"#/components/schemas/Visibility","default":"private"},"language":{"type":"string","enum":["en","ja"],"title":"Language","default":"en"},"framework":{"$ref":"#/components/schemas/NotebookFramework"},"current_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Current Version Id"},"current_version_seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Version Seq"},"latest_status":{"$ref":"#/components/schemas/NotebookVersionStatus"},"latest_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Latest Run Id"},"version_count":{"type":"integer","minimum":0.0,"title":"Version Count","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"additionalProperties":false,"type":"object","required":["id","workspace_id","owner_user_id","slug","title","kind","latest_status","created_at","updated_at"],"title":"Notebook"},"NotebookFramework":{"properties":{"name":{"type":"string","enum":["qiskit","pennylane","cirq","braket","cudaq"],"title":"Name","default":"qiskit"},"version":{"type":"string","title":"Version","default":">=2.5,<2.6"},"execution":{"type":"string","enum":["local-statevector","aer","ibm-runtime"],"title":"Execution","default":"local-statevector"}},"additionalProperties":false,"type":"object","title":"NotebookFramework"},"NotebookGradesSnapshot":{"properties":{"version_seq":{"type":"integer","title":"Version Seq"},"stale":{"type":"boolean","title":"Stale","default":false},"grades":{"$ref":"#/components/schemas/GradeReport"},"passed":{"type":"integer","minimum":0.0,"title":"Passed"},"failed":{"type":"integer","minimum":0.0,"title":"Failed"},"attempted":{"type":"integer","minimum":0.0,"title":"Attempted"},"note":{"type":"string","title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["version_seq","grades","passed","failed","attempted"],"title":"NotebookGradesSnapshot"},"NotebookKind":{"type":"string","enum":["lesson","lab","challenge","solution","walkthrough","demo","quiz","hardware","benchmark","project","scratch"],"title":"NotebookKind"},"NotebookList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Notebook"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items"],"title":"NotebookList"},"NotebookReview":{"properties":{"verdict":{"type":"string","enum":["ready","needs-attention"],"title":"Verdict"},"findings":{"items":{"$ref":"#/components/schemas/ReviewFinding"},"type":"array","title":"Findings"},"what_this_notebook_does_not_establish":{"items":{"type":"string"},"type":"array","title":"What This Notebook Does Not Establish"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"}},"additionalProperties":false,"type":"object","required":["verdict"],"title":"NotebookReview"},"NotebookShareLink":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"notebook_id":{"type":"string","format":"uuid","title":"Notebook Id"},"tail":{"type":"string","maxLength":4,"minLength":4,"title":"Tail"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_viewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Viewed At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"additionalProperties":false,"type":"object","required":["id","notebook_id","tail","created_at"],"title":"NotebookShareLink"},"NotebookShareLinkList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NotebookShareLink"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","title":"NotebookShareLinkList"},"NotebookSpec":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version","default":1},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"kind":{"$ref":"#/components/schemas/NotebookKind","default":"lesson"},"summary":{"type":"string","title":"Summary","default":""},"audience":{"$ref":"#/components/schemas/Audience"},"style":{"$ref":"#/components/schemas/Style"},"framework":{"$ref":"#/components/schemas/NotebookFramework"},"objectives":{"items":{"type":"string"},"type":"array","title":"Objectives"},"prerequisites":{"items":{"type":"string"},"type":"array","title":"Prerequisites"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":600.0,"minimum":1.0},{"type":"null"}],"title":"Duration Minutes"},"cells":{"items":{"$ref":"#/components/schemas/Cell"},"type":"array","title":"Cells"},"references":{"items":{"$ref":"#/components/schemas/Reference"},"type":"array","title":"References"},"seeds":{"items":{"$ref":"#/components/schemas/Seed"},"type":"array","title":"Seeds"},"brief":{"type":"string","title":"Brief","default":""},"extra":{"additionalProperties":true,"type":"object","title":"Extra"}},"additionalProperties":false,"type":"object","required":["slug","title"],"title":"NotebookSpec"},"NotebookStarter":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"$ref":"#/components/schemas/NotebookKind"},"title":{"type":"string","title":"Title"},"brief":{"type":"string","title":"Brief"},"level":{"type":"string","enum":["newcomer","engineer","student","researcher"],"title":"Level","default":"engineer"}},"additionalProperties":false,"type":"object","required":["id","kind","title","brief"],"title":"NotebookStarter"},"NotebookTemplateKind":{"properties":{"id":{"$ref":"#/components/schemas/NotebookKind"},"description":{"type":"string","title":"Description"},"structure":{"items":{"type":"string"},"type":"array","title":"Structure"}},"additionalProperties":false,"type":"object","required":["id","description","structure"],"title":"NotebookTemplateKind"},"NotebookTemplates":{"properties":{"kinds":{"items":{"$ref":"#/components/schemas/NotebookTemplateKind"},"type":"array","title":"Kinds"},"starters":{"items":{"$ref":"#/components/schemas/NotebookStarter"},"type":"array","title":"Starters"},"course_starters":{"items":{"$ref":"#/components/schemas/NotebookStarter"},"type":"array","title":"Course Starters"}},"additionalProperties":false,"type":"object","required":["kinds","starters"],"title":"NotebookTemplates"},"NotebookTurn":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"notebook_id":{"type":"string","format":"uuid","title":"Notebook Id"},"seq":{"type":"integer","minimum":1.0,"title":"Seq"},"role":{"$ref":"#/components/schemas/NotebookTurnRole"},"content":{"type":"string","title":"Content"},"version_seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version Seq"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","notebook_id","seq","role","content","created_at"],"title":"NotebookTurn"},"NotebookTurnList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NotebookTurn"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","required":["items"],"title":"NotebookTurnList"},"NotebookTurnRole":{"type":"string","enum":["user","nala"],"title":"NotebookTurnRole"},"NotebookVersion":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"notebook_id":{"type":"string","format":"uuid","title":"Notebook Id"},"seq":{"type":"integer","minimum":1.0,"title":"Seq"},"status":{"$ref":"#/components/schemas/NotebookVersionStatus"},"created_by":{"$ref":"#/components/schemas/NotebookVersionAuthor"},"message":{"type":"string","title":"Message","default":""},"ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ok"},"cell_count":{"type":"integer","minimum":0.0,"title":"Cell Count","default":0},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"spec":{"anyOf":[{"$ref":"#/components/schemas/NotebookSpec"},{"type":"null"}]},"source":{"type":"string","title":"Source","default":""},"ipynb":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Ipynb"},"report":{"anyOf":[{"$ref":"#/components/schemas/ExecutionReport"},{"type":"null"}]},"review":{"anyOf":[{"$ref":"#/components/schemas/NotebookReview"},{"type":"null"}]},"error":{"type":"string","title":"Error","default":""},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"}},"additionalProperties":false,"type":"object","required":["id","notebook_id","seq","status","created_by","created_at"],"title":"NotebookVersion"},"NotebookVersionAuthor":{"type":"string","enum":["user","nala"],"title":"NotebookVersionAuthor"},"NotebookVersionList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NotebookVersionSummary"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","required":["items"],"title":"NotebookVersionList"},"NotebookVersionStatus":{"type":"string","enum":["queued","running","ready","failed"],"title":"NotebookVersionStatus"},"NotebookVersionSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"notebook_id":{"type":"string","format":"uuid","title":"Notebook Id"},"seq":{"type":"integer","minimum":1.0,"title":"Seq"},"status":{"$ref":"#/components/schemas/NotebookVersionStatus"},"created_by":{"$ref":"#/components/schemas/NotebookVersionAuthor"},"message":{"type":"string","title":"Message","default":""},"ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ok"},"cell_count":{"type":"integer","minimum":0.0,"title":"Cell Count","default":0},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","notebook_id","seq","status","created_by","created_at"],"title":"NotebookVersionSummary"},"Notification":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"$ref":"#/components/schemas/NotificationKind"},"summary":{"type":"string","title":"Summary"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"read_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Read At"}},"additionalProperties":false,"type":"object","required":["id","kind","summary","created_at"],"title":"Notification"},"NotificationKind":{"type":"string","enum":["qpu_run_terminal","mention"],"title":"NotificationKind"},"NotificationList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Notification"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"},"unread_count":{"type":"integer","title":"Unread Count"}},"additionalProperties":false,"type":"object","required":["items","unread_count"],"title":"NotificationList"},"NumericAnswer":{"properties":{"kind":{"type":"string","const":"numeric","title":"Kind","default":"numeric"},"value":{"type":"number","title":"Value"},"tolerance":{"type":"number","minimum":0.0,"title":"Tolerance","default":0.0},"unit":{"type":"string","title":"Unit","default":""},"explanation":{"type":"string","title":"Explanation","default":""}},"additionalProperties":false,"type":"object","required":["value"],"title":"NumericAnswer"},"PhysicalPoint":{"properties":{"label":{"type":"string","title":"Label"},"parameter_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Parameter Value"},"refused":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refused","description":"Why this point has no physical cost — no code distance in this assumption set can protect it, or it consumes no magic states."},"distance":{"anyOf":[{"$ref":"#/components/schemas/CodeDistanceSummary"},{"type":"null"}]},"fastest":{"anyOf":[{"$ref":"#/components/schemas/CostOnSmallestMachine"},{"type":"null"}]},"smallest":{"anyOf":[{"$ref":"#/components/schemas/CostOnSmallestMachine"},{"type":"null"}]},"frontier":{"anyOf":[{"items":{"$ref":"#/components/schemas/PlanFrontierPoint"},"type":"array"},{"type":"null"}],"title":"Frontier"}},"type":"object","required":["label"],"title":"PhysicalPoint"},"PlanFrontierPoint":{"properties":{"assumption_set":{"type":"string","title":"Assumption Set"},"factory_count":{"type":"integer","minimum":0.0,"title":"Factory Count"},"total_physical_qubits":{"type":"integer","minimum":0.0,"title":"Total Physical Qubits"},"runtime_seconds":{"type":"number","exclusiveMinimum":0.0,"title":"Runtime Seconds"}},"type":"object","required":["assumption_set","factory_count","total_physical_qubits","runtime_seconds"],"title":"PlanFrontierPoint"},"PlanNote":{"properties":{"id":{"type":"string","title":"Id"},"text":{"$ref":"#/components/schemas/Bilingual"}},"type":"object","required":["id","text"],"title":"PlanNote"},"PlanParam":{"properties":{"key":{"type":"string","title":"Key"},"label":{"$ref":"#/components/schemas/Bilingual"},"unit":{"anyOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Value"},"origin":{"type":"string","title":"Origin","description":"reader, assumed, unset or invalid."},"assumed_reason":{"anyOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"assumed_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assumed Source"},"min":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Min"},"max":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Max"},"integer":{"type":"boolean","title":"Integer"}},"type":"object","required":["key","label","unit","value","origin","assumed_reason","assumed_source","min","max","integer"],"title":"PlanParam"},"PlanProblem":{"properties":{"id":{"type":"string","title":"Id"},"label":{"$ref":"#/components/schemas/Bilingual"},"capability":{"type":"string","title":"Capability"}},"type":"object","required":["id","label","capability"],"title":"PlanProblem"},"PlanRequest":{"properties":{"problem":{"type":"string","maxLength":64,"minLength":1,"title":"Problem","description":"A planner problem id, e.g. `factoring`."},"params":{"additionalProperties":true,"type":"object","maxProperties":32,"title":"Params","description":"Parameter key to the value the caller sets, or null to clear a stated assumption. A parameter left out keeps its assumption, or stays unset."},"choices":{"additionalProperties":true,"type":"object","maxProperties":32,"title":"Choices","description":"Stage path, as the answer's stages carry it, to the method id to use there."}},"additionalProperties":false,"type":"object","required":["problem"],"title":"PlanRequest"},"PlanResponse":{"properties":{"problem":{"$ref":"#/components/schemas/PlanProblem"},"params":{"items":{"$ref":"#/components/schemas/PlanParam"},"type":"array","title":"Params"},"stages":{"items":{"$ref":"#/components/schemas/PlanStage"},"type":"array","title":"Stages"},"compile_stages":{"items":{"$ref":"#/components/schemas/PlanStage"},"type":"array","title":"Compile Stages"},"lines":{"items":{"$ref":"#/components/schemas/CostLine"},"type":"array","title":"Lines"},"classical":{"items":{"$ref":"#/components/schemas/CostLine"},"type":"array","title":"Classical"},"published":{"items":{"$ref":"#/components/schemas/CostLine"},"type":"array","title":"Published"},"logical":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object","title":"Logical","description":"logical_qubits, toffolis, t_gates, queries, serial_depth: the id of the line standing for each, or null."},"notes":{"items":{"$ref":"#/components/schemas/PlanNote"},"type":"array","title":"Notes"},"estimate_point":{"anyOf":[{"$ref":"#/components/schemas/EstimatePoint"},{"type":"null"}],"description":"The body `POST /v1/estimates/logical` takes for this plan, or null when the plan states no logical qubit count and no Toffoli or T count."},"sources":{"additionalProperties":{"$ref":"#/components/schemas/PlanSource"},"type":"object","title":"Sources"},"ignored_choices":{"items":{"$ref":"#/components/schemas/IgnoredChoice"},"type":"array","title":"Ignored Choices"}},"type":"object","required":["problem","params","stages","compile_stages","lines","classical","published","logical","notes","estimate_point","sources","ignored_choices"],"title":"PlanResponse"},"PlanSource":{"properties":{"paper_id":{"type":"string","title":"Paper Id"},"title":{"type":"string","title":"Title"},"authors":{"type":"string","title":"Authors"},"year":{"type":"string","title":"Year"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"locator":{"$ref":"#/components/schemas/Bilingual"},"quote":{"type":"string","title":"Quote"}},"type":"object","required":["paper_id","title","authors","year","url","locator","quote"],"title":"PlanSource"},"PlanStage":{"properties":{"path":{"type":"string","title":"Path"},"depth":{"type":"integer","title":"Depth"},"capability":{"$ref":"#/components/schemas/NodeRef"},"method":{"anyOf":[{"$ref":"#/components/schemas/MethodRef"},{"type":"null"}]},"choice":{"type":"string","title":"Choice","description":"reader, published, preferred, first or none: why this method."},"reason":{"anyOf":[{"$ref":"#/components/schemas/Bilingual"},{"type":"null"}]},"alternatives":{"items":{"$ref":"#/components/schemas/NodeRef"},"type":"array","title":"Alternatives"},"repeat":{"anyOf":[{"$ref":"#/components/schemas/Repeat"},{"type":"null"}]},"stop":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stop","description":"cycle or depth when the walk stopped here, else null."}},"type":"object","required":["path","depth","capability","method","choice","reason","alternatives","repeat","stop"],"title":"PlanStage"},"PresenceList":{"properties":{"viewers":{"items":{"$ref":"#/components/schemas/PresenceViewer"},"type":"array","title":"Viewers"}},"additionalProperties":false,"type":"object","title":"PresenceList"},"PresenceTargetType":{"type":"string","enum":["run","notebook","artifact"],"title":"PresenceTargetType"},"PresenceViewer":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"handle":{"type":"string","title":"Handle","default":""}},"additionalProperties":false,"type":"object","required":["user_id"],"title":"PresenceViewer"},"PreviousQappRun":{"properties":{"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"result":{"additionalProperties":true,"type":"object","title":"Result"}},"additionalProperties":false,"type":"object","required":["inputs","result"],"title":"PreviousQappRun"},"Project":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"max_artifacts":{"type":"integer","maximum":500.0,"minimum":0.0,"title":"Max Artifacts"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["id","workspace_id","name","max_artifacts","created_at","updated_at"],"title":"Project"},"ProjectShare":{"properties":{"project_id":{"type":"string","format":"uuid","title":"Project Id"},"grantee_user_id":{"type":"string","format":"uuid","title":"Grantee User Id"},"grantee_email":{"type":"string","title":"Grantee Email"},"grantee_display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grantee Display Name"},"role":{"$ref":"#/components/schemas/ShareRole"},"granted_by_user_id":{"type":"string","format":"uuid","title":"Granted By User Id"},"granted_by_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Granted By Email"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["project_id","grantee_user_id","grantee_email","role","granted_by_user_id","created_at","updated_at"],"title":"ProjectShare"},"PublicCatalogEntry":{"properties":{"slug":{"type":"string","title":"Slug","description":"Stable public identity (pinned manifest identity)"},"execution_state":{"type":"string","title":"Execution State","description":"Authoritative honest lifecycle state; the bootstrap corpus is template_only"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"provenance":{"anyOf":[{"$ref":"#/components/schemas/CatalogProvenance"},{"type":"null"}]},"record":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Record","description":"Pinned catalog source record (the rich presentation entry). A source claim from the pinned manifest, not execution evidence or legal approval."}},"additionalProperties":false,"type":"object","required":["slug","execution_state","updated_at"],"title":"PublicCatalogEntry"},"PublicQapp":{"properties":{"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"framework":{"$ref":"#/components/schemas/Framework"},"qubits_estimate":{"type":"integer","maximum":27.0,"minimum":1.0,"title":"Qubits Estimate"},"ui_document":{"type":"string","title":"Ui Document"},"input_schema":{"additionalProperties":true,"type":"object","title":"Input Schema"},"output_schema":{"additionalProperties":true,"type":"object","title":"Output Schema"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"fingerprint":{"type":"string","title":"Fingerprint"},"published_at":{"type":"string","format":"date-time","title":"Published At"}},"additionalProperties":false,"type":"object","required":["slug","title","description","framework","qubits_estimate","ui_document","input_schema","output_schema","version","fingerprint","published_at"],"title":"PublicQapp"},"PublicQappPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicQappSummary"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items","next_cursor"],"title":"PublicQappPage"},"PublicQappSummary":{"properties":{"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"framework":{"$ref":"#/components/schemas/Framework"},"qubits_estimate":{"type":"integer","maximum":27.0,"minimum":1.0,"title":"Qubits Estimate"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"published_at":{"type":"string","format":"date-time","title":"Published At"}},"additionalProperties":false,"type":"object","required":["slug","title","description","framework","qubits_estimate","version","published_at"],"title":"PublicQappSummary"},"PublishedErrorFigure":{"properties":{"value":{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":0.0,"title":"Value"},"statistic":{"$ref":"#/components/schemas/ErrorStatistic"},"published_as":{"type":"string","title":"Published As"},"source_url":{"type":"string","title":"Source Url"},"read_on":{"type":"string","title":"Read On"}},"type":"object","required":["value","statistic","published_as","source_url","read_on"],"title":"PublishedErrorFigure"},"PublishedNoise":{"properties":{"gate_model":{"type":"boolean","title":"Gate Model"},"machine_chosen_at_submit":{"type":"boolean","title":"Machine Chosen At Submit","default":false},"profiles":{"items":{"$ref":"#/components/schemas/PublishedNoiseProfile"},"type":"array","title":"Profiles","default":[]}},"type":"object","required":["gate_model"],"title":"PublishedNoise"},"PublishedNoiseProfile":{"properties":{"machine":{"type":"string","title":"Machine"},"one_qubit_gate_error":{"anyOf":[{"$ref":"#/components/schemas/PublishedErrorFigure"},{"type":"null"}]},"two_qubit_gate_error":{"anyOf":[{"$ref":"#/components/schemas/PublishedErrorFigure"},{"type":"null"}]},"readout_error":{"anyOf":[{"$ref":"#/components/schemas/PublishedErrorFigure"},{"type":"null"}]}},"type":"object","required":["machine"],"title":"PublishedNoiseProfile"},"Qapp":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"owner_user_id":{"type":"string","format":"uuid","title":"Owner User Id"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"visibility":{"$ref":"#/components/schemas/Visibility"},"current_version_id":{"type":"string","format":"uuid","title":"Current Version Id"},"created_by_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Run Id"},"forked_from_qapp_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Forked From Qapp Id"},"forked_from_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Forked From Version Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"}},"additionalProperties":false,"type":"object","required":["id","workspace_id","owner_user_id","slug","title","description","visibility","current_version_id","created_at","updated_at"],"title":"Qapp"},"QappActivityEntry":{"properties":{"action":{"type":"string","title":"Action"},"actor_user_id":{"type":"string","format":"uuid","title":"Actor User Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"additionalProperties":false,"type":"object","required":["action","actor_user_id","created_at"],"title":"QappActivityEntry"},"QappDetail":{"properties":{"qapp":{"$ref":"#/components/schemas/Qapp"},"version":{"$ref":"#/components/schemas/QappVersion"}},"additionalProperties":false,"type":"object","required":["qapp","version"],"title":"QappDetail"},"QappExampleSummary":{"properties":{"key":{"type":"string","title":"Key"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"framework":{"$ref":"#/components/schemas/Framework"},"qubits_estimate":{"type":"integer","maximum":27.0,"minimum":1.0,"title":"Qubits Estimate"}},"additionalProperties":false,"type":"object","required":["key","title","description","framework","qubits_estimate"],"title":"QappExampleSummary"},"QappExecution":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"qapp_id":{"type":"string","format":"uuid","title":"Qapp Id"},"qapp_version_id":{"type":"string","format":"uuid","title":"Qapp Version Id"},"status":{"$ref":"#/components/schemas/QappExecutionStatus"},"inputs":{"additionalProperties":true,"type":"object","title":"Inputs"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"analysis":{"anyOf":[{"$ref":"#/components/schemas/QappRunAnalysis"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","qapp_id","qapp_version_id","status","inputs","created_at"],"title":"QappExecution"},"QappExecutionStatus":{"type":"string","enum":["queued","running","succeeded","failed"],"title":"QappExecutionStatus"},"QappGraphOrigin":{"properties":{"template_version":{"type":"integer","minimum":1.0,"title":"Template Version"},"program_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Program Sha256"},"snapshot":{"$ref":"#/components/schemas/AlgorithmSnapshot"},"costs":{"items":{"$ref":"#/components/schemas/AlgorithmCostTotal"},"type":"array","title":"Costs"},"holes":{"items":{"type":"string"},"type":"array","title":"Holes"}},"additionalProperties":false,"type":"object","required":["template_version","program_sha256","snapshot"],"title":"QappGraphOrigin"},"QappPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Qapp"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"additionalProperties":false,"type":"object","required":["items","next_cursor"],"title":"QappPage"},"QappProgressResponse":{"properties":{"state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"State"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["state","updated_at"],"title":"QappProgressResponse"},"QappRangeSmoke":{"properties":{"status":{"$ref":"#/components/schemas/QappRangeSmokeStatus"},"detail":{"type":"string","maxLength":1200,"title":"Detail","default":""},"duration_ms":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Duration Ms"}},"additionalProperties":false,"type":"object","required":["status"],"title":"QappRangeSmoke"},"QappRangeSmokeStatus":{"type":"string","enum":["passed","failed","not_applicable","unreachable"],"title":"QappRangeSmokeStatus"},"QappRunAnalysis":{"properties":{"status":{"type":"string","enum":["pending","ready","unavailable"],"title":"Status"},"text":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Text"},"locale":{"type":"string","enum":["en","ja"],"title":"Locale","default":"en"}},"additionalProperties":false,"type":"object","required":["status"],"title":"QappRunAnalysis"},"QappVersion":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"qapp_id":{"type":"string","format":"uuid","title":"Qapp Id"},"seq":{"type":"integer","minimum":1.0,"title":"Seq"},"framework":{"$ref":"#/components/schemas/Framework"},"qubits_estimate":{"type":"integer","maximum":27.0,"minimum":1.0,"title":"Qubits Estimate"},"ui_document":{"type":"string","title":"Ui Document"},"quantum_source":{"type":"string","title":"Quantum Source"},"input_schema":{"additionalProperties":true,"type":"object","title":"Input Schema"},"output_schema":{"additionalProperties":true,"type":"object","title":"Output Schema"},"fingerprint":{"type":"string","title":"Fingerprint"},"source_artifact_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Artifact Version Id"},"graph_origin":{"anyOf":[{"$ref":"#/components/schemas/QappGraphOrigin"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"range_smoke":{"anyOf":[{"$ref":"#/components/schemas/QappRangeSmoke"},{"type":"null"}]},"quality_review_note":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}],"title":"Quality Review Note"}},"additionalProperties":false,"type":"object","required":["id","qapp_id","seq","framework","qubits_estimate","ui_document","quantum_source","input_schema","output_schema","fingerprint","created_at"],"title":"QappVersion"},"QappVersionPage":{"properties":{"versions":{"items":{"$ref":"#/components/schemas/QappVersionSummary"},"type":"array","title":"Versions"},"current_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Current Version Id"},"next_before_seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Before Seq"}},"additionalProperties":false,"type":"object","required":["versions","current_version_id","next_before_seq"],"title":"QappVersionPage"},"QappVersionSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"seq":{"type":"integer","minimum":1.0,"title":"Seq"},"is_current":{"type":"boolean","title":"Is Current"},"framework":{"$ref":"#/components/schemas/Framework"},"qubits_estimate":{"type":"integer","maximum":27.0,"minimum":1.0,"title":"Qubits Estimate"},"fingerprint":{"type":"string","title":"Fingerprint"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"range_smoke":{"anyOf":[{"$ref":"#/components/schemas/QappRangeSmoke"},{"type":"null"}]},"quality_review_note":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}],"title":"Quality Review Note"}},"additionalProperties":false,"type":"object","required":["id","seq","is_current","framework","qubits_estimate","fingerprint","created_at"],"title":"QappVersionSummary"},"QappVersionUsage":{"properties":{"qapp_version_id":{"type":"string","format":"uuid","title":"Qapp Version Id"},"total":{"type":"integer","title":"Total"},"succeeded":{"type":"integer","title":"Succeeded"},"failed":{"type":"integer","title":"Failed"},"queued":{"type":"integer","title":"Queued"},"running":{"type":"integer","title":"Running"},"last_execution_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Execution At"},"last_execution_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Execution Status"}},"additionalProperties":false,"type":"object","required":["qapp_version_id","total","succeeded","failed","queued","running"],"title":"QappVersionUsage"},"QpuAccess":{"type":"string","enum":["free_queue","on_demand"],"title":"QpuAccess"},"QpuBackendInfo":{"properties":{"provider":{"$ref":"#/components/schemas/QpuProviderKey"},"device_id":{"type":"string","title":"Device Id"},"display_name":{"type":"string","title":"Display Name"},"vendor":{"type":"string","title":"Vendor"},"technology":{"type":"string","enum":["superconducting","trapped_ion","neutral_atom"],"title":"Technology"},"access":{"$ref":"#/components/schemas/QpuAccess"},"qubit_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qubit Count"},"per_task_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Per Task Usd"},"per_shot_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Per Shot Usd"},"allowance_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allowance Note"},"rate_source":{"type":"string","title":"Rate Source"},"rate_confirmed_on":{"type":"string","title":"Rate Confirmed On"},"published_noise":{"anyOf":[{"$ref":"#/components/schemas/PublishedNoise"},{"type":"null"}]},"submittable":{"type":"boolean","title":"Submittable","description":"Whether Leona can send a job to this device today, or only price it.","readOnly":true}},"type":"object","required":["provider","device_id","display_name","vendor","technology","access","rate_source","rate_confirmed_on","submittable"],"title":"QpuBackendInfo"},"QpuBackendsResponse":{"properties":{"backends":{"items":{"$ref":"#/components/schemas/QpuBackendInfo"},"type":"array","title":"Backends"}},"type":"object","required":["backends"],"title":"QpuBackendsResponse"},"QpuCostEstimate":{"properties":{"device_id":{"type":"string","title":"Device Id"},"shots":{"type":"integer","minimum":1.0,"title":"Shots"},"circuits":{"type":"integer","minimum":1.0,"title":"Circuits","default":1},"total_shots":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Shots"},"basis":{"$ref":"#/components/schemas/EstimateBasis"},"currency":{"type":"string","const":"USD","title":"Currency","default":"USD"},"task_fee_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Task Fee Usd"},"shot_fees_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Shot Fees Usd"},"total_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Usd"},"allowance_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allowance Note"},"rate_source":{"type":"string","title":"Rate Source"},"rate_confirmed_on":{"type":"string","title":"Rate Confirmed On"},"disclaimer":{"type":"string","title":"Disclaimer"}},"type":"object","required":["device_id","shots","basis","rate_source","rate_confirmed_on","disclaimer"],"title":"QpuCostEstimate"},"QpuEstimateBasis":{"type":"string","enum":["vendor_rate_card","free_tier_allowance"],"title":"QpuEstimateBasis"},"QpuEstimateRequest":{"properties":{"device_id":{"type":"string","maxLength":120,"minLength":1,"title":"Device Id"},"shots":{"type":"integer","maximum":1000000.0,"minimum":1.0,"title":"Shots"},"zne":{"type":"boolean","title":"Zne","default":false},"sweep_bindings":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":2.0},{"type":"null"}],"title":"Sweep Bindings"}},"additionalProperties":false,"type":"object","required":["device_id","shots"],"title":"QpuEstimateRequest"},"QpuProvider":{"type":"string","enum":["ibm","braket"],"title":"QpuProvider"},"QpuProviderKey":{"type":"string","enum":["ibm","braket"],"title":"QpuProviderKey"},"QpuQueueStatusResponse":{"properties":{"device_id":{"type":"string","title":"Device Id"},"backend_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend Name"},"pending_jobs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pending Jobs"},"unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unavailable Reason"},"checked_at":{"type":"string","format":"date-time","title":"Checked At"}},"type":"object","required":["device_id","backend_name","pending_jobs","unavailable_reason","checked_at"],"title":"QpuQueueStatusResponse"},"QpuRunHistoryItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"artifact_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Version Id"},"provider":{"$ref":"#/components/schemas/QpuProvider"},"device_id":{"type":"string","title":"Device Id"},"provider_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Job Id"},"backend_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend Name"},"shots":{"type":"integer","minimum":1.0,"title":"Shots"},"status":{"$ref":"#/components/schemas/QpuRunStatus"},"source_fingerprint":{"type":"string","title":"Source Fingerprint"},"estimate_basis":{"$ref":"#/components/schemas/QpuEstimateBasis"},"estimated_total_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Total Usd"},"rate_source":{"type":"string","title":"Rate Source"},"rate_confirmed_on":{"type":"string","title":"Rate Confirmed On"},"raw_counts":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Raw Counts"},"mitigation":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Mitigation"},"sweep":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sweep"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"submitted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submitted At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"qasm":{"type":"string","title":"Qasm"}},"additionalProperties":false,"type":"object","required":["id","workspace_id","user_id","provider","device_id","shots","status","source_fingerprint","estimate_basis","rate_source","rate_confirmed_on","created_at","qasm"],"title":"QpuRunHistoryItem"},"QpuRunPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/QpuRunHistoryItem"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items","next_cursor"],"title":"QpuRunPage"},"QpuRunRecord":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"artifact_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Version Id"},"provider":{"$ref":"#/components/schemas/QpuProvider"},"device_id":{"type":"string","title":"Device Id"},"provider_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Job Id"},"backend_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend Name"},"shots":{"type":"integer","minimum":1.0,"title":"Shots"},"status":{"$ref":"#/components/schemas/QpuRunStatus"},"source_fingerprint":{"type":"string","title":"Source Fingerprint"},"estimate_basis":{"$ref":"#/components/schemas/QpuEstimateBasis"},"estimated_total_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Total Usd"},"rate_source":{"type":"string","title":"Rate Source"},"rate_confirmed_on":{"type":"string","title":"Rate Confirmed On"},"raw_counts":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Raw Counts"},"mitigation":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Mitigation"},"sweep":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sweep"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"submitted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submitted At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","workspace_id","user_id","provider","device_id","shots","status","source_fingerprint","estimate_basis","rate_source","rate_confirmed_on","created_at"],"title":"QpuRunRecord"},"QpuRunStatus":{"type":"string","enum":["queued","running","done","error","cancelled"],"title":"QpuRunStatus"},"QpuSubmissionGateResponse":{"properties":{"submission_available":{"type":"boolean","title":"Submission Available"},"blocked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked Reason"}},"type":"object","required":["submission_available","blocked_reason"],"title":"QpuSubmissionGateResponse"},"QpuSubmissionRequest":{"properties":{"device_id":{"type":"string","maxLength":120,"minLength":1,"title":"Device Id"},"shots":{"type":"integer","maximum":1000000.0,"minimum":1.0,"title":"Shots"},"qasm":{"type":"string","maxLength":200000,"minLength":1,"title":"Qasm"},"source_fingerprint":{"type":"string","maxLength":200,"minLength":1,"title":"Source Fingerprint"},"zne":{"type":"boolean","title":"Zne","default":false},"sweep":{"anyOf":[{"$ref":"#/components/schemas/QpuSweepRequest"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["device_id","shots","qasm","source_fingerprint"],"title":"QpuSubmissionRequest"},"QpuSweepBindingRequest":{"properties":{"label":{"type":"string","maxLength":60,"minLength":1,"title":"Label"},"qasm":{"type":"string","maxLength":200000,"minLength":1,"title":"Qasm"}},"additionalProperties":false,"type":"object","required":["label","qasm"],"title":"QpuSweepBindingRequest"},"QpuSweepRequest":{"properties":{"parameter_label":{"type":"string","maxLength":120,"minLength":1,"title":"Parameter Label"},"bindings":{"items":{"$ref":"#/components/schemas/QpuSweepBindingRequest"},"type":"array","maxItems":20,"minItems":2,"title":"Bindings"}},"additionalProperties":false,"type":"object","required":["parameter_label","bindings"],"title":"QpuSweepRequest"},"Reference":{"properties":{"title":{"type":"string","title":"Title"},"authors":{"type":"string","title":"Authors","default":""},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"url":{"type":"string","title":"Url","default":""},"note":{"type":"string","title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["title"],"title":"Reference"},"Repeat":{"properties":{"mark":{"$ref":"#/components/schemas/Bilingual"},"count":{"$ref":"#/components/schemas/Bilingual"}},"type":"object","required":["mark","count"],"title":"Repeat"},"RerunNotebookResponse":{"properties":{"version":{"$ref":"#/components/schemas/NotebookVersionSummary"},"run_id":{"type":"string","format":"uuid","title":"Run Id"}},"additionalProperties":false,"type":"object","required":["version","run_id"],"title":"RerunNotebookResponse"},"ResourceEstimateBasis":{"type":"string","enum":["exact","estimated","refused","no_circuit"],"title":"ResourceEstimateBasis"},"RetryTarget":{"type":"string","enum":["code_generation","planning","simulation","verification","none"],"title":"RetryTarget"},"ReviewFinding":{"properties":{"cell_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cell Id"},"severity":{"type":"string","enum":["blocker","should-fix","nit"],"title":"Severity"},"category":{"type":"string","enum":["accuracy","pedagogy","code","structure","safety","style"],"title":"Category"},"finding":{"type":"string","title":"Finding"},"suggestion":{"type":"string","title":"Suggestion","default":""}},"additionalProperties":false,"type":"object","required":["severity","category","finding"],"title":"ReviewFinding"},"Role":{"type":"string","enum":["owner","admin","member","viewer"],"title":"Role"},"RubricAnswer":{"properties":{"kind":{"type":"string","const":"rubric","title":"Kind","default":"rubric"},"rubric":{"type":"string","minLength":1,"title":"Rubric"},"explanation":{"type":"string","title":"Explanation","default":""}},"additionalProperties":false,"type":"object","required":["rubric"],"title":"RubricAnswer"},"Run":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"conversation_id":{"type":"string","format":"uuid","title":"Conversation Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"artifact_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Version Id"},"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"task_prompt":{"type":"string","title":"Task Prompt"},"mode":{"$ref":"#/components/schemas/RunMode"},"status":{"$ref":"#/components/schemas/RunStatus"},"framework":{"$ref":"#/components/schemas/Framework"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"},"shots":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shots"},"timeout_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeout S"},"sandbox_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sandbox Provider"},"sandbox_meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sandbox Meta","description":"Duration, memory, exit code as reported by the provider"},"verifier_decision":{"anyOf":[{"$ref":"#/components/schemas/VerifierDecision"},{"type":"null"}]},"verification_summary":{"anyOf":[{"$ref":"#/components/schemas/VerificationSummary"},{"type":"null"}]},"residual_risks":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Residual Risks"},"baseline":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Baseline","description":"Baseline result, or {not_applicable_reason}"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"queue_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Queue Position","description":"Claimable jobs ahead of this run in the worker queue; 0 means next, null means not waiting. Derived per request, never stored."}},"additionalProperties":false,"type":"object","required":["id","conversation_id","workspace_id","user_id","task_prompt","mode","status","framework","created_at"],"title":"Run"},"RunAllowance":{"properties":{"used":{"type":"integer","title":"Used"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining"},"exhausted":{"type":"boolean","title":"Exhausted"},"pressure":{"type":"string","enum":["ok","approaching","critical","exhausted"],"title":"Pressure","default":"ok"},"window_days":{"type":"integer","title":"Window Days"},"next_slot_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Slot At"}},"type":"object","required":["used","limit","remaining","exhausted","window_days","next_slot_at"],"title":"RunAllowance"},"RunMode":{"type":"string","enum":["auto","chat","execute","ideate","explain","qapp","notebook"],"title":"RunMode"},"RunSharingState":{"properties":{"shared":{"type":"boolean","title":"Shared"},"can_manage":{"type":"boolean","title":"Can Manage"},"read_only":{"type":"boolean","title":"Read Only"}},"type":"object","required":["shared","can_manage","read_only"],"title":"RunSharingState"},"RunStatus":{"type":"string","enum":["queued","running","succeeded","failed","cancelled"],"title":"RunStatus"},"RuntimeSummary":{"properties":{"magic_states":{"type":"integer","minimum":0.0,"title":"Magic States"},"factory_count":{"type":"integer","minimum":0.0,"title":"Factory Count"},"throughput_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Throughput Seconds","description":"Null when unbounded, i.e. states to distil and no factory."},"reaction_limited_seconds":{"type":"number","title":"Reaction Limited Seconds"},"seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seconds","description":"Null when this model cannot state a wall-clock — a Clifford-only circuit consumes no magic states, so both terms above are zero and reporting their max would claim the circuit runs instantly."},"binding_term":{"type":"string","enum":["throughput","reaction","unstated"],"title":"Binding Term"},"factory_crossover":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Factory Crossover","description":"Fewest factories past which buying more buys nothing. Null when no floor is known."}},"additionalProperties":false,"type":"object","required":["magic_states","factory_count","reaction_limited_seconds","binding_term"],"title":"RuntimeSummary"},"ScalingCurvePointSummary":{"properties":{"n":{"type":"integer","minimum":1.0,"title":"N"},"total_physical_qubits":{"type":"integer","minimum":0.0,"title":"Total Physical Qubits"},"runtime_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Runtime Seconds"}},"additionalProperties":false,"type":"object","required":["n","total_physical_qubits"],"title":"ScalingCurvePointSummary"},"ScalingCurveSummary":{"properties":{"parameter_name":{"type":"string","title":"Parameter Name"},"source":{"type":"string","title":"Source","description":"Where the n-dependence comes from — a paper or Atlas record, never derived here."},"points":{"items":{"$ref":"#/components/schemas/ScalingCurvePointSummary"},"type":"array","title":"Points"}},"additionalProperties":false,"type":"object","required":["parameter_name","source"],"title":"ScalingCurveSummary"},"Seed":{"properties":{"kind":{"type":"string","enum":["atlas-record","paper","artifact","upload","brief","curriculum","circuit","notebook"],"title":"Kind"},"ref":{"type":"string","title":"Ref","default":""},"note":{"type":"string","title":"Note","default":""},"content":{"type":"string","maxLength":20000,"title":"Content","default":""}},"additionalProperties":false,"type":"object","required":["kind"],"title":"Seed"},"SemanticReviewDecision":{"type":"string","enum":["ready","code_repair","replan","inconclusive"],"title":"SemanticReviewDecision"},"ShareRole":{"type":"string","enum":["viewer","editor"],"title":"ShareRole"},"SpendReport":{"properties":{"window_days":{"type":"integer","title":"Window Days"},"total":{"$ref":"#/components/schemas/TokenSpend"},"chat":{"$ref":"#/components/schemas/TokenSpend"},"runs":{"$ref":"#/components/schemas/TokenSpend"},"by_model":{"items":{"$ref":"#/components/schemas/ModelSpend"},"type":"array","title":"By Model"}},"type":"object","required":["window_days","total","chat","runs","by_model"],"title":"SpendReport"},"StructureFinding":{"properties":{"rule":{"type":"string","enum":["max_two_qubit_gates","max_gates","max_depth","allowed_gates","forbidden_gates","required_gates","measure_at_end"],"title":"Rule"},"status":{"type":"string","enum":["pass","fail"],"title":"Status"},"counted":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Counted"},"bound":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Bound"},"formula":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Formula"},"gates":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Gates"},"qubits":{"items":{"type":"integer","minimum":0.0},"type":"array","maxItems":64,"title":"Qubits"},"sentence":{"type":"string","maxLength":500,"title":"Sentence","default":""}},"additionalProperties":false,"type":"object","required":["rule","status"],"title":"StructureFinding"},"StudioCanvas":{"properties":{"version":{"type":"integer","const":1,"title":"Version","default":1},"qubitCount":{"type":"integer","maximum":4096.0,"minimum":1.0,"title":"Qubitcount"},"steps":{"items":{"$ref":"#/components/schemas/StudioStep"},"type":"array","maxItems":16384,"title":"Steps"},"customGates":{"items":{"$ref":"#/components/schemas/StudioCustomGate"},"type":"array","maxItems":256,"title":"Customgates"}},"additionalProperties":false,"type":"object","required":["qubitCount","steps"],"title":"StudioCanvas"},"StudioCustomGate":{"properties":{"id":{"type":"string","maxLength":160,"minLength":1,"title":"Id"},"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"qubitCount":{"type":"integer","maximum":4096.0,"minimum":1.0,"title":"Qubitcount"},"steps":{"items":{"$ref":"#/components/schemas/StudioStep"},"type":"array","maxItems":16384,"minItems":1,"title":"Steps"},"block":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Block"}},"additionalProperties":false,"type":"object","required":["id","name","qubitCount","steps"],"title":"StudioCustomGate"},"StudioStep":{"properties":{"id":{"type":"string","maxLength":160,"minLength":1,"title":"Id"},"gate":{"type":"string","enum":["H","X","Y","Z","S","T","SDG","TDG","RX","RY","RZ","P","CX","CZ","SWAP","CP","RZZ","RXX","RYY","CCX","M","CUSTOM"],"title":"Gate"},"qubits":{"items":{"type":"integer","maximum":4095.0,"minimum":0.0},"type":"array","maxItems":4096,"minItems":1,"title":"Qubits"},"param":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Param"},"customGateId":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Customgateid"}},"additionalProperties":false,"type":"object","required":["id","gate","qubits"],"title":"StudioStep"},"Style":{"properties":{"analogies":{"type":"boolean","title":"Analogies","default":true},"analogy_domains":{"items":{"type":"string"},"type":"array","title":"Analogy Domains"},"tone":{"type":"string","enum":["plain","friendly","formal"],"title":"Tone","default":"plain"},"math_level":{"type":"string","enum":["none","minimal","full"],"title":"Math Level","default":"minimal"},"visualizations":{"type":"boolean","title":"Visualizations","default":true},"code_comments":{"type":"string","enum":["light","heavy"],"title":"Code Comments","default":"light"},"language":{"type":"string","enum":["en","ja"],"title":"Language","default":"en"}},"additionalProperties":false,"type":"object","title":"Style"},"SynthesisConnectivity":{"type":"string","enum":["all_to_all","line","grid","heavy_hex"],"title":"SynthesisConnectivity"},"SynthesisObjective":{"type":"string","enum":["depth","two_qubit_count","t_count"],"title":"SynthesisObjective"},"SynthesisRequest":{"properties":{"qubit_count":{"type":"integer","maximum":64.0,"minimum":1.0,"title":"Qubit Count"},"operations":{"items":{"$ref":"#/components/schemas/CircuitOptimizationOperation"},"type":"array","maxItems":1024,"minItems":1,"title":"Operations"},"target":{"$ref":"#/components/schemas/SynthesisTarget"},"objective":{"$ref":"#/components/schemas/SynthesisObjective"}},"additionalProperties":false,"type":"object","required":["qubit_count","operations","target","objective"],"title":"SynthesisRequest"},"SynthesisTarget":{"properties":{"device_id":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Device Id"},"connectivity":{"anyOf":[{"$ref":"#/components/schemas/SynthesisConnectivity"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"SynthesisTarget"},"TextAnswer":{"properties":{"kind":{"type":"string","const":"text","title":"Kind","default":"text"},"accept":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Accept"},"explanation":{"type":"string","title":"Explanation","default":""}},"additionalProperties":false,"type":"object","required":["accept"],"title":"TextAnswer"},"ThinkingLevel":{"type":"string","enum":["fast","standard","high","xhigh","max","sol"],"title":"ThinkingLevel"},"TokenAllowance":{"properties":{"used":{"type":"integer","title":"Used"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining"},"exhausted":{"type":"boolean","title":"Exhausted"},"pressure":{"type":"string","enum":["ok","approaching","critical","exhausted"],"title":"Pressure","default":"ok"},"window_days":{"type":"integer","title":"Window Days"},"next_slot_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Slot At"},"runs_equivalent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Runs Equivalent"},"tokens_per_run":{"type":"integer","title":"Tokens Per Run"}},"type":"object","required":["used","limit","remaining","exhausted","window_days","next_slot_at","runs_equivalent","tokens_per_run"],"title":"TokenAllowance"},"TokenSpend":{"properties":{"tokens":{"type":"integer","title":"Tokens"},"calls":{"type":"integer","title":"Calls"}},"type":"object","required":["tokens","calls"],"title":"TokenSpend"},"UsageResponse":{"properties":{"tier":{"type":"string","title":"Tier"},"runs":{"$ref":"#/components/schemas/RunAllowance"},"tokens":{"$ref":"#/components/schemas/TokenAllowance"},"artifacts":{"$ref":"#/components/schemas/Allowance"},"workspaces":{"$ref":"#/components/schemas/Allowance"},"shared_projects":{"$ref":"#/components/schemas/Allowance"},"spend":{"$ref":"#/components/schemas/SpendReport"},"hardware_spend":{"$ref":"#/components/schemas/HardwareSpendAllowance"}},"type":"object","required":["tier","runs","tokens","artifacts","workspaces","shared_projects","spend","hardware_spend"],"title":"UsageResponse"},"VerificationCheckSummary":{"properties":{"method":{"$ref":"#/components/schemas/VerificationMethod"},"result":{"$ref":"#/components/schemas/VerificationResultKind"}},"additionalProperties":false,"type":"object","required":["method","result"],"title":"VerificationCheckSummary"},"VerificationFailureClass":{"type":"string","enum":["candidate_defect","plan_defect","evidence_gap","capability_limit","verifier_failure","evidence_conflict"],"title":"VerificationFailureClass"},"VerificationMethod":{"type":"string","enum":["exact","statistical","statistical_native","brute_force","exact_diag","return_contract","qasm_parse","structural","resource_contract","measurement_policy","success_criteria","native_optimization_evidence","bell_state_property","ghz_state_property","statistical_reproducibility"],"title":"VerificationMethod"},"VerificationResultKind":{"type":"string","enum":["pass","fail","skipped","unavailable","error"],"title":"VerificationResultKind"},"VerificationSummary":{"properties":{"decision":{"$ref":"#/components/schemas/VerifierDecision"},"semantic_review_decision":{"anyOf":[{"$ref":"#/components/schemas/SemanticReviewDecision"},{"type":"null"}]},"evidence_strength":{"anyOf":[{"$ref":"#/components/schemas/EvidenceStrength"},{"type":"null"}]},"reason_code":{"type":"string","maxLength":120,"minLength":1,"title":"Reason Code"},"candidate_defect_observed":{"type":"boolean","title":"Candidate Defect Observed"},"failure_class":{"anyOf":[{"$ref":"#/components/schemas/VerificationFailureClass"},{"type":"null"}]},"retry_target":{"$ref":"#/components/schemas/RetryTarget"},"unverified_claims":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Unverified Claims"},"checks":{"items":{"$ref":"#/components/schemas/VerificationCheckSummary"},"type":"array","maxItems":50,"title":"Checks"}},"additionalProperties":false,"type":"object","required":["decision","reason_code","candidate_defect_observed","retry_target"],"title":"VerificationSummary"},"VerifierDecision":{"type":"string","enum":["pass","fail","inconclusive"],"title":"VerifierDecision"},"Visibility":{"type":"string","enum":["private","public"],"title":"Visibility"},"WorkflowContext":{"properties":{"version":{"type":"integer","const":1,"title":"Version"},"problem":{"type":"string","maxLength":40,"minLength":1,"pattern":"^[a-z-]+$","title":"Problem"},"problem_label":{"type":"string","maxLength":200,"title":"Problem Label"},"reading":{"items":{"type":"string","maxLength":120},"type":"array","maxItems":8,"title":"Reading"},"params":{"items":{"$ref":"#/components/schemas/WorkflowParam"},"type":"array","maxItems":16,"title":"Params"},"stages":{"items":{"$ref":"#/components/schemas/WorkflowStage"},"type":"array","maxItems":32,"title":"Stages"},"costs":{"items":{"$ref":"#/components/schemas/WorkflowCost"},"type":"array","maxItems":32,"title":"Costs"},"suggestions":{"items":{"$ref":"#/components/schemas/WorkflowSuggestion"},"type":"array","maxItems":6,"title":"Suggestions"},"small_instance":{"anyOf":[{"$ref":"#/components/schemas/WorkflowSmallInstance"},{"type":"null"}]},"planner_path":{"type":"string","maxLength":2600,"title":"Planner Path"}},"additionalProperties":false,"type":"object","required":["version","problem","problem_label","planner_path"],"title":"WorkflowContext"},"WorkflowCost":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"title":"Id"},"label":{"type":"string","maxLength":200,"title":"Label"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"unit":{"type":"string","maxLength":80,"title":"Unit"},"formula":{"type":"string","maxLength":200,"title":"Formula"},"kind":{"type":"string","enum":["exact","upper-bound","leading-order","numerical-estimate","published","derived","supplied","scaling"],"title":"Kind"},"source":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Source"},"missing":{"items":{"type":"string","maxLength":40},"type":"array","maxItems":12,"title":"Missing"}},"additionalProperties":false,"type":"object","required":["id","label","unit","formula","kind"],"title":"WorkflowCost"},"WorkflowParam":{"properties":{"key":{"type":"string","maxLength":40,"minLength":1,"pattern":"^[A-Za-z]+$","title":"Key"},"label":{"type":"string","maxLength":120,"title":"Label"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"origin":{"type":"string","enum":["text","assumed","reader","unset","invalid"],"title":"Origin"},"evidence":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Evidence"}},"additionalProperties":false,"type":"object","required":["key","label","origin"],"title":"WorkflowParam"},"WorkflowSmallInstance":{"properties":{"id":{"type":"string","maxLength":80,"minLength":1,"title":"Id"},"title":{"type":"string","maxLength":200,"title":"Title"}},"additionalProperties":false,"type":"object","required":["id","title"],"title":"WorkflowSmallInstance"},"WorkflowStage":{"properties":{"depth":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Depth"},"capability":{"type":"string","maxLength":200,"title":"Capability"},"method":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Method"},"why":{"type":"string","enum":["reader","published","preferred","first","none"],"title":"Why"},"repeat":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Repeat"}},"additionalProperties":false,"type":"object","required":["depth","capability","why"],"title":"WorkflowStage"},"WorkflowSuggestion":{"properties":{"title":{"type":"string","maxLength":200,"title":"Title"},"body":{"type":"string","maxLength":800,"title":"Body"}},"additionalProperties":false,"type":"object","required":["title","body"],"title":"WorkflowSuggestion"},"Workspace":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"$ref":"#/components/schemas/WorkspaceKind"},"name":{"type":"string","title":"Name"},"owner_user_id":{"type":"string","format":"uuid","title":"Owner User Id"},"plan":{"type":"string","title":"Plan"},"auto_keep_artifacts":{"type":"boolean","title":"Auto Keep Artifacts","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"additionalProperties":false,"type":"object","required":["id","kind","name","owner_user_id","plan","created_at"],"title":"Workspace"},"WorkspaceFolder":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"workspace_id":{"type":"string","format":"uuid","title":"Workspace Id"},"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["id","workspace_id","name","created_at","updated_at"],"title":"WorkspaceFolder"},"WorkspaceKind":{"type":"string","enum":["personal","team","system"],"title":"WorkspaceKind"},"WorkspaceMember":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"email":{"type":"string","title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"role":{"$ref":"#/components/schemas/Role"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["user_id","email","role","created_at"],"title":"WorkspaceMember"},"WorkspaceOverview":{"properties":{"workspace":{"$ref":"#/components/schemas/Workspace"},"members":{"items":{"$ref":"#/components/schemas/WorkspaceMember"},"type":"array","title":"Members"},"artifact_count":{"type":"integer","minimum":0.0,"title":"Artifact Count"},"run_count":{"type":"integer","minimum":0.0,"title":"Run Count"}},"additionalProperties":false,"type":"object","required":["workspace","members","artifact_count","run_count"],"title":"WorkspaceOverview"},"Problem":{"type":"object","title":"Problem","description":"An RFC 9457 problem document. Fields beyond these may appear.","required":["type","title","status","code","request_id"],"properties":{"type":{"type":"string","description":"Always `about:blank`."},"title":{"type":"string","description":"A sentence to show a person."},"status":{"type":"integer","description":"The HTTP status."},"code":{"type":"string","description":"A coarse error class."},"reason":{"type":"string","description":"A machine-readable refusal reason, when the refusal has one."},"request_id":{"type":"string","description":"The same value as the `X-Request-Id` response header."},"errors":{"type":"array","description":"Validation failures, on a 422 only. In `msg`, a submitted string value of 16 or more characters is replaced with `<submitted value>`. Object keys are not replaced and can appear as sent in `loc` or `msg`.","items":{"type":"object","required":["loc","msg","type"],"properties":{"loc":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"msg":{"type":"string"},"type":{"type":"string"}}}}},"additionalProperties":true}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A personal access token, which starts with `lq_pat_`. Create one on leonaqt.com under Account, Access tokens. A token is bound to the workspace it was created in and lasts at most 90 days."}}}}