{"openapi":"3.1.0","info":{"title":"public_apis.core_fast.main","version":"0.1.0"},"paths":{"/api/v1/batches":{"get":{"tags":["batches","third_party"],"summary":"Get All Batches","description":"Retrieve a paginated list of all batches for the authenticated user.\n\nSupports ordering, pagination, and filtering via query parameters.\n\nReturns:\n    A paginated collection of batches with job status counts.","operationId":"get_all_batches_api_v1_batches_get","parameters":[{"name":"order_by","in":"query","required":false,"schema":{"type":"string","default":"created_at","title":"Order By"}},{"name":"order_by_direction","in":"query","required":false,"schema":{"$ref":"#/components/schemas/SortDirection","default":"DESC"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMaximum":101,"exclusiveMinimum":0,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Unique id for the batch","default":[],"title":"Id"},"description":"Unique id for the batch"},{"name":"id__starts_with","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"First characters of the batch id","title":"Id  Starts With"},"description":"First characters of the batch id"},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Owner project of the batch","default":[],"title":"Project Id"},"description":"Owner project of the batch"},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Owner user of the batch","default":[],"title":"User Id"},"description":"Owner user of the batch"},{"name":"device_type","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Device type enum","default":[],"title":"Device Type"},"description":"Device type enum"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/BatchStatus"}},{"type":"null"}],"description":"Batch status type enum","default":[],"title":"Status"},"description":"Batch status type enum"},{"name":"complete","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Deprecated. Use `open` instead.","deprecated":true,"title":"Complete"},"description":"Deprecated. Use `open` instead.","deprecated":true},{"name":"open","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by whether the batch is still open.","title":"Open"},"description":"Filter by whether the batch is still open."},{"name":"min_jobs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Minimum number of jobs in the batch","title":"Min Jobs"},"description":"Minimum number of jobs in the batch"},{"name":"max_jobs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum number of jobs in the batch","title":"Max Jobs"},"description":"Maximum number of jobs in the batch"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Time when the emulator or QPU indicated a batch was started","title":"Start Date"},"description":"Time when the emulator or QPU indicated a batch was started"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Time when the emulator or QPU indicated a batch finished, failed or was cancelled","title":"End Date"},"description":"Time when the emulator or QPU indicated a batch finished, failed or was cancelled"},{"name":"queue_priority","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/QueuePriority"}},{"type":"null"}],"description":"Priority of the batch in the queue.","default":[],"title":"Queue Priority"},"description":"Priority of the batch in the queue."},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Tag used to identify the batch","title":"Tag"},"description":"Tag used to identify the batch"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeaderPaginatedResponse_ProducedBatchResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]},"post":{"tags":["batches","third_party"],"summary":"Create Batch","description":"Create a new batch to submit quantum computing jobs.\n\nThe authenticated user must be a member of the target project.\nThe project will be billed for all jobs in the batch.\n\nA batch groups one or more jobs sharing the same target device.\nThe pulse sequence can be defined once at the batch level\n(`sequence_builder`) or individually per job (`jobs[].sequence`).\nThe batch-level sequence can be parametrized: each job then\nprovides its own variable bindings via `variables` instead of\na full sequence.\n\n**Required fields:**\n- `project_id` — the project that will be billed.\n- At least one job in `jobs`, unless the batch is left open\n  (`complete=false`) for jobs to be added later.\n\n**Optional fields:**\n- `device_type` — when omitted, inferred from the device\n  embedded in the sequence. Use GET /api/v2/devices to\n  discover available devices (includes private devices\n  accessible to the authenticated user).\n\nReturns:\n    The created batch with its ID and initial status (PENDING).","operationId":"create_batch_api_v1_batches_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBatchSchema"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedBatchWithPartialJobsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v1/batches/{batch_id}/status":{"get":{"tags":["batches","third_party"],"summary":"Get Batch Status","description":"Retrieve the id, status and jobs count per status of a batch.","operationId":"get_batch_status_api_v1_batches__batch_id__status_get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedBatchStatusResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v1/batches/{batch_id}/tags":{"patch":{"tags":["batches","third_party"],"summary":"Set Batch Tags","description":"Set or replace the tags on a batch.\n\nTags are user-defined labels that can be used to organize and filter\nbatches. The provided set of tags replaces all existing tags on the\nbatch.\n\nReturns:\n    The updated batch with the new tags applied.","operationId":"set_batch_tags_api_v1_batches__batch_id__tags_patch","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","uniqueItems":true,"items":{"type":"string"},"title":"Batch Tags"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedBatchWithPartialJobsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v1/batches/cancel":{"patch":{"tags":["batches","third_party"],"summary":"Cancel Batches","description":"Cancel a group of batches owned by the authenticated user,\nmatching the given criteria.\n\nIf `batch_ids` is provided, all other filters are ignored and only\nthe specified batches are canceled. To cancel all batches, use\n`cancel_all` alone without any other filters.\n\nReturns:\n    A list of canceled batches and any batches that could not be\n    canceled with their error explained.","operationId":"cancel_batches_api_v1_batches_cancel_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumedBatchBulkCancelRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedBatchBulkCancelResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v1/batches/{batch__id}/rebatch":{"post":{"tags":["batches","third_party"],"summary":"Rebatch Jobs","description":"Retry a selection of jobs from an existing batch in a new batch.\n\nThe new batch inherits the same parameters (sequence, device type) as\nthe original. Its `parent_id` is set to the original batch ID, and each\nretried job's `parent_id` references the original job. The project\nwill be billed for the retried jobs.\n\nReturns:\n    The newly created batch containing the retried jobs.","operationId":"rebatch_jobs_api_v1_batches__batch__id__rebatch_post","parameters":[{"name":"batch__id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch  Id"}},{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Unique id for the job","default":[],"title":"Id"},"description":"Unique id for the job"},{"name":"id__starts_with","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"First characters of the job id","title":"Id  Starts With"},"description":"First characters of the job id"},{"name":"batch_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Owner batch of the job","default":[],"title":"Batch Id"},"description":"Owner batch of the job"},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Owner project of the job","default":[],"title":"Project Id"},"description":"Owner project of the job"},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Owner user of the job","default":[],"title":"User Id"},"description":"Owner user of the job"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/JobStatus"}},{"type":"null"}],"description":"Job status type enum","default":[],"title":"Status"},"description":"Job status type enum"},{"name":"min_runs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Minimum number of times the pulser sequence is repeated","title":"Min Runs"},"description":"Minimum number of times the pulser sequence is repeated"},{"name":"max_runs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum number of times the pulser sequence is repeated","title":"Max Runs"},"description":"Maximum number of times the pulser sequence is repeated"},{"name":"errors","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether errors were returned when executing the job","title":"Errors"},"description":"Whether errors were returned when executing the job"},{"name":"origin","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/JobOrigin"}},{"type":"null"}],"description":"Origin of the job","default":[],"title":"Origin"},"description":"Origin of the job"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Time when the emulator or QPU indicated a job was started","title":"Start Date"},"description":"Time when the emulator or QPU indicated a job was started"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Time when the emulator or QPU indicated a job finished, failed or was cancelled","title":"End Date"},"description":"Time when the emulator or QPU indicated a job finished, failed or was cancelled"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedBatchWithPartialJobsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v1/jobs/{job_id}/status":{"get":{"tags":["jobs","third_party"],"summary":"Get Job Status","description":"Retrieve the id and status of a job.","operationId":"get_job_status_api_v1_jobs__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedJobStatusResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v1/jobs/{job_id}/results_link":{"get":{"tags":["jobs","third_party"],"summary":"Get Job Results Link","description":"Get a signed, time-limited URL to download the results of a completed job.\n\nThe job must have reached DONE status. The returned URL expires after\none minute — download the results promptly or request a fresh link.\nResults are returned as JSON containing measurement outcomes.\n\nReturns:\n    A signed URL to download the job results.","operationId":"get_job_results_link_api_v1_jobs__job_id__results_link_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedJobResultLinkResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v2/jobs/{job_id}":{"get":{"tags":["jobs","third_party"],"summary":"Get Job","description":"Retrieve the current state of a single job including status and\ntiming information.\n\nJob statuses follow the lifecycle:\nPENDING → RUNNING → DONE | ERROR | CANCELED.\n\nReturns:\n    The full job details excluding the result payload. To\n    download results, request a pre-signed URL via\n    GET /api/v1/jobs/{job_id}/results_link.","operationId":"get_job_api_v2_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedFullJobResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v2/jobs":{"get":{"tags":["jobs","third_party"],"summary":"Get Jobs","description":"Retrieve a paginated list of jobs.\n\nSupports ordering, pagination, and filtering via query parameters.\n\nReturns:\n    A paginated list of jobs excluding the result payload. To\n    download results for a specific job, request a pre-signed\n    URL via GET /api/v1/jobs/{job_id}/results_link.","operationId":"get_jobs_api_v2_jobs_get","parameters":[{"name":"order_by","in":"query","required":false,"schema":{"type":"string","default":"created_at","title":"Order By"}},{"name":"order_by_direction","in":"query","required":false,"schema":{"$ref":"#/components/schemas/SortDirection","default":"DESC"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMaximum":101,"exclusiveMinimum":0,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Unique id for the job","default":[],"title":"Id"},"description":"Unique id for the job"},{"name":"id__starts_with","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"First characters of the job id","title":"Id  Starts With"},"description":"First characters of the job id"},{"name":"batch_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Owner batch of the job","default":[],"title":"Batch Id"},"description":"Owner batch of the job"},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Owner project of the job","default":[],"title":"Project Id"},"description":"Owner project of the job"},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Owner user of the job","default":[],"title":"User Id"},"description":"Owner user of the job"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/JobStatus"}},{"type":"null"}],"description":"Job status type enum","default":[],"title":"Status"},"description":"Job status type enum"},{"name":"min_runs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Minimum number of times the pulser sequence is repeated","title":"Min Runs"},"description":"Minimum number of times the pulser sequence is repeated"},{"name":"max_runs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum number of times the pulser sequence is repeated","title":"Max Runs"},"description":"Maximum number of times the pulser sequence is repeated"},{"name":"errors","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether errors were returned when executing the job","title":"Errors"},"description":"Whether errors were returned when executing the job"},{"name":"origin","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/JobOrigin"}},{"type":"null"}],"description":"Origin of the job","default":[],"title":"Origin"},"description":"Origin of the job"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Time when the emulator or QPU indicated a job was started","title":"Start Date"},"description":"Time when the emulator or QPU indicated a job was started"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Time when the emulator or QPU indicated a job finished, failed or was cancelled","title":"End Date"},"description":"Time when the emulator or QPU indicated a job finished, failed or was cancelled"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeaderPaginatedResponse_ProducedPartialJobResponseV2_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v2/jobs/{job_id}/cancel":{"patch":{"tags":["jobs","third_party"],"summary":"Cancel Job","description":"Cancel a specific job. Only the job owner can perform this\noperation.\n\nThe job must be in a cancelable state (PENDING or RUNNING). If the job\nis already running on hardware, cancellation may not take effect\nimmediately.\n\nReturns:\n    The canceled job with its updated status.","operationId":"cancel_job_api_v2_jobs__job_id__cancel_patch","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedPartialJobResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v2/batches/{batch_id}":{"get":{"tags":["batches","third_party"],"summary":"Get Batch","description":"Retrieve the current state of a batch including status, job IDs, and\nmetadata.\n\nUse this endpoint to poll batch progress after creation. Batch statuses\nfollow the lifecycle: PENDING → RUNNING → CANCELING → CANCELED\n                                        ↘ DONE | ERROR\n\nReturns:\n    The batch with its current status, job IDs, and child batch IDs.","operationId":"get_batch_api_v2_batches__batch_id__get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedBatchWithJobIdsAndChildIDsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v2/batches/{batch__id}/cancel/jobs":{"patch":{"tags":["batches","third_party"],"summary":"Cancel Jobs","description":"Cancel a subset of jobs within a batch based on filter criteria.\nOnly the batch owner can perform this operation.\n\nOnly jobs in a cancelable state (PENDING, RUNNING) are affected.\nAlready completed or errored jobs are left unchanged.\n\nReturns:\n    The list of successfully canceled jobs and the list of job IDs\n    that could not be canceled, with their error explained.","operationId":"cancel_jobs_api_v2_batches__batch__id__cancel_jobs_patch","parameters":[{"name":"batch__id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch  Id"}},{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Unique id for the job","default":[],"title":"Id"},"description":"Unique id for the job"},{"name":"id__starts_with","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"First characters of the job id","title":"Id  Starts With"},"description":"First characters of the job id"},{"name":"batch_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Owner batch of the job","default":[],"title":"Batch Id"},"description":"Owner batch of the job"},{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Owner project of the job","default":[],"title":"Project Id"},"description":"Owner project of the job"},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Owner user of the job","default":[],"title":"User Id"},"description":"Owner user of the job"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/JobStatus"}},{"type":"null"}],"description":"Job status type enum","default":[],"title":"Status"},"description":"Job status type enum"},{"name":"min_runs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Minimum number of times the pulser sequence is repeated","title":"Min Runs"},"description":"Minimum number of times the pulser sequence is repeated"},{"name":"max_runs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum number of times the pulser sequence is repeated","title":"Max Runs"},"description":"Maximum number of times the pulser sequence is repeated"},{"name":"errors","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether errors were returned when executing the job","title":"Errors"},"description":"Whether errors were returned when executing the job"},{"name":"origin","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/JobOrigin"}},{"type":"null"}],"description":"Origin of the job","default":[],"title":"Origin"},"description":"Origin of the job"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Time when the emulator or QPU indicated a job was started","title":"Start Date"},"description":"Time when the emulator or QPU indicated a job was started"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Time when the emulator or QPU indicated a job finished, failed or was cancelled","title":"End Date"},"description":"Time when the emulator or QPU indicated a job finished, failed or was cancelled"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedPartialJobBulkCancelResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v2/batches/{batch__id}/cancel":{"patch":{"tags":["batches","third_party"],"summary":"Cancel Batch","description":"Cancel an entire batch and all its pending jobs. Only the batch\nowner can perform this operation.\n\nJobs that are already running may complete before the cancellation takes\neffect. The batch status will transition to CANCELED. This operation is\nirreversible.\n\nReturns:\n    The canceled batch with its updated status and partial job data.","operationId":"cancel_batch_api_v2_batches__batch__id__cancel_patch","parameters":[{"name":"batch__id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch  Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedBatchWithPartialJobsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v2/batches/{batch__id}/complete":{"patch":{"tags":["batches","third_party"],"summary":"Complete Batch","description":"Mark a batch as complete, indicating no more jobs will be added.\nOnly the batch owner can perform this operation.\n\nAfter calling this endpoint, no more jobs can be added via\nPOST /api/v2/batches/{batch_id}/jobs. The batch will transition to\nRUNNING once jobs begin processing on hardware.\n\nReturns:\n    The completed batch with its updated status and partial job data.","operationId":"complete_batch_api_v2_batches__batch__id__complete_patch","parameters":[{"name":"batch__id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch  Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedBatchWithPartialJobsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v2/batches/{batch_id}/jobs":{"post":{"tags":["batches","third_party"],"summary":"Add Jobs","description":"Add additional jobs to an existing batch that has not yet been completed.\n\nEach job specifies variable assignments for the batch's parametrized\nsequence, or provides its own sequence via the `sequence` field.\nThe batch must still be open (not completed or canceled). The project\nwill be billed for each added job.\n\nReturns:\n    The updated batch with the newly added jobs.","operationId":"add_jobs_api_v2_batches__batch_id__jobs_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreateJobSchema"},"title":"New Jobs"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NonPaginatedResponse_ProducedBatchWithPartialJobsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/api/v2/devices":{"get":{"tags":["devices","third_party"],"summary":"Get Devices","description":"Retrieve the list of devices accessible to the authenticated\nuser.\n\nReturns both QPU and emulator devices. Use query parameters to\nfilter by device type, availability, or public visibility.\nResults include each device's current status, supported\nfeatures, and specifications.","operationId":"get_devices_api_v2_devices_get","parameters":[{"name":"order_by","in":"query","required":false,"schema":{"type":"string","default":"created_at","title":"Order By"}},{"name":"order_by_direction","in":"query","required":false,"schema":{"$ref":"#/components/schemas/SortDirection","default":"DESC"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMaximum":101,"exclusiveMinimum":0,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"device_type","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/DeviceTypeName"}},{"type":"null"}],"description":"Filter devices by type. Omit to skip filter.","default":[],"title":"Device Type"},"description":"Filter devices by type. Omit to skip filter."},{"name":"availability","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/DeviceAvailability"}},{"type":"null"}],"description":"Filter devices by availability status. Omit to skip filter.","default":[],"title":"Availability"},"description":"Filter devices by availability status. Omit to skip filter."},{"name":"public","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter devices by public visibility. Omit to skip filter.","title":"Public"},"description":"Filter devices by public visibility. Omit to skip filter."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeaderPaginatedResponse_ProducedDeviceResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"x-required-scopes":["compute:base"]}},"/oauth/token":{"post":{"summary":"Get Auth0 Access Token (Service Account)","description":"Generates an access token for machine-to-machine interactions using service account client credentials. Provided by Pasqal for third-party integrations with Pasqal Cloud services.","servers":[{"url":"https://pasqal.eu.auth0.com"}],"tags":["Authentication","third_party"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth0TokenRequest"},"example":{"client_id":"your-service-account-client-id","client_secret":"your-service-account-client-secret","audience":"https://apis.pasqal.cloud/account/api/v1","grant_type":"client_credentials"}}}},"responses":{"200":{"description":"Access token retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Auth0TokenResponse"},"example":{"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCI6...","token_type":"Bearer","expires_in":86400,"scope":"openid profile email"}}}},"401":{"description":"Unauthorized - invalid client credentials"}}}}},"components":{"schemas":{"BatchStatus":{"type":"string","enum":["PENDING","RUNNING","DONE","CANCELED","CANCELING","TIMED_OUT","ERROR","PAUSED"],"title":"BatchStatus"},"ConsumedBatchBulkCancelRequest":{"properties":{"batch_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Batch Ids","description":"List of batch IDs to cancel. If provided, all other filters are ignored."},"project_id":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Project Id","description":"Filter by project ID."},"user_id":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"User Id","description":"Filter by user ID."},"device_type":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Device Type","description":"Filter by device type."},"status":{"anyOf":[{"items":{"$ref":"#/components/schemas/BatchStatus"},"type":"array"},{"type":"null"}],"title":"Status","description":"Filter by batch status (only PENDING and RUNNING allowed)."},"open":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open","description":"Filter by whether the batch is still open."},"start_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date","description":"Filter batches created on or after this date."},"queue_priority":{"anyOf":[{"items":{"$ref":"#/components/schemas/QueuePriority"},"type":"array"},{"type":"null"}],"title":"Queue Priority","description":"Filter by queue priority."},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","description":"Filter by tag."},"cancel_all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cancel All","description":"Cancel all batches. Cannot be combined with other filters."}},"type":"object","title":"ConsumedBatchBulkCancelRequest","description":"Request to cancel a collection of batches.","examples":[{"batch_ids":["00000000-0000-0000-0000-000000000002"]},{"project_id":["00000000-0000-0000-0000-000000000001"],"status":["PENDING"]},{"cancel_all":true}]},"CreateBatchSchema":{"properties":{"priority":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Priority","description":"Deprecated. No longer used.","deprecated":true},"sequence_builder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sequence Builder","description":"Serialized Pulser sequence shared by all jobs in the batch. Can be a parametrized sequence — each job then supplies its own variable assignments via `variables`. Optional if each job provides its own sequence via the `sequence` field."},"emulator":{"anyOf":[{"$ref":"#/components/schemas/DeviceTypeName"},{"type":"null"}],"description":"Deprecated. Use `device_type` instead.","deprecated":true},"device_type":{"anyOf":[{"$ref":"#/components/schemas/DeviceTypeName"},{"type":"null"}],"description":"Device used to run the batch. If not provided, it will be extracted from the device inside the sequence."},"configuration":{"anyOf":[{},{"type":"null"}],"title":"Configuration","description":"Deprecated. Use `backend_configuration` instead.","deprecated":true},"complete":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Complete","description":"Deprecated. Use `open` instead. When True, the batch is closed and will not accept new jobs.","deprecated":true},"open":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open","description":"Whether the batch is open and accepting additional jobs. When True, new jobs can be added; when False, the batch is closed."},"tags":{"items":{"type":"string"},"type":"array","uniqueItems":true,"title":"Tags","description":"Keywords used to refine the batch search."},"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project to run the batch for."},"backend_configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend Configuration","description":"Serialized emulator backend configuration."},"jobs":{"items":{"$ref":"#/components/schemas/CreateJobSchema"},"type":"array","title":"Jobs","description":"The list of jobs to execute in the batch. Required if the batch is not open."}},"type":"object","required":["project_id"],"title":"CreateBatchSchema","description":"Schema to parse request for the creation of a batch.","examples":[{"device_type":"FRESNEL","jobs":[{"runs":100,"variables":{"omega":5.0}}],"project_id":"00000000-0000-0000-0000-000000000001","sequence_builder":"<serialized Pulser sequence (sequence.to_abstract_repr())>"},{"backend_configuration":"<serialized emulator config>","device_type":"EMU_FREE","jobs":[{"runs":50,"variables":{"omega":3.0}}],"project_id":"00000000-0000-0000-0000-000000000001","sequence_builder":"<serialized Pulser sequence (sequence.to_abstract_repr())>"}]},"CreateJobSchema":{"properties":{"runs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Runs","description":"Number of times the pulse sequence is repeated."},"variables":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Variables","description":"Variable assignments for a parametrized sequence. Mutually exclusive with `sequence`."},"sequence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sequence","description":"Serialized Pulser sequence for this specific job. Mutually exclusive with `variables`. Required if no batch-level `sequence_builder` is provided."}},"type":"object","title":"CreateJobSchema","description":"Schema to create a job within a batch.","examples":[{"runs":100,"variables":{"omega":5.0}},{"runs":50,"sequence":"<serialized Pulser sequence>"}]},"DeviceAvailability":{"type":"string","enum":["ACTIVE","INACTIVE","RETIRED"],"title":"DeviceAvailability"},"DeviceStatus":{"type":"string","enum":["UP","DOWN"],"title":"DeviceStatus"},"DeviceTypeName":{"type":"string","enum":["EMU_FREE","EMU_SV","EMU_TN","EMU_C","FRESNEL","FRESNEL_CAN1","FRESNEL_SA1","FRESNEL8","EMU_FRESNEL","FRESNEL_RD","FRESNEL2_RD","EMU_MPS"],"title":"DeviceTypeName","description":"Enumeration of allowed and legacy device type names"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HeaderPaginatedResponse_ProducedBatchResponse_":{"properties":{"status":{"$ref":"#/components/schemas/JSendStatus","default":"success"},"message":{"type":"string","title":"Message","default":"OK."},"code":{"type":"string","title":"Code","default":"200"},"data":{"items":{"$ref":"#/components/schemas/ProducedBatchResponse"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/JSendPagination"}},"type":"object","required":["data","pagination"],"title":"HeaderPaginatedResponse[ProducedBatchResponse]"},"HeaderPaginatedResponse_ProducedDeviceResponse_":{"properties":{"status":{"$ref":"#/components/schemas/JSendStatus","default":"success"},"message":{"type":"string","title":"Message","default":"OK."},"code":{"type":"string","title":"Code","default":"200"},"data":{"items":{"$ref":"#/components/schemas/ProducedDeviceResponse"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/JSendPagination"}},"type":"object","required":["data","pagination"],"title":"HeaderPaginatedResponse[ProducedDeviceResponse]"},"HeaderPaginatedResponse_ProducedPartialJobResponseV2_":{"properties":{"status":{"$ref":"#/components/schemas/JSendStatus","default":"success"},"message":{"type":"string","title":"Message","default":"OK."},"code":{"type":"string","title":"Code","default":"200"},"data":{"items":{"$ref":"#/components/schemas/ProducedPartialJobResponseV2"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/JSendPagination"}},"type":"object","required":["data","pagination"],"title":"HeaderPaginatedResponse[ProducedPartialJobResponseV2]"},"JSendPagination":{"properties":{"total":{"type":"integer","title":"Total"},"start":{"type":"integer","title":"Start"},"end":{"type":"integer","title":"End"}},"type":"object","required":["total","start","end"],"title":"JSendPagination","description":"Pagination information"},"JSendStatus":{"type":"string","enum":["success","fail","error"],"title":"JSendStatus"},"JobOrigin":{"type":"string","enum":["CLIENT","AZURE","OVH","UNKNOWN"],"title":"JobOrigin","description":"The origin of this job."},"JobStatus":{"type":"string","enum":["PENDING","RUNNING","DONE","ERROR","CANCELED","CANCELING"],"title":"JobStatus"},"NonPaginatedResponse_ProducedBatchBulkCancelResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ProducedBatchBulkCancelResponse"},{"type":"null"}]}},"type":"object","title":"NonPaginatedResponse[ProducedBatchBulkCancelResponse]"},"NonPaginatedResponse_ProducedBatchStatusResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ProducedBatchStatusResponse"},{"type":"null"}]}},"type":"object","title":"NonPaginatedResponse[ProducedBatchStatusResponse]"},"NonPaginatedResponse_ProducedBatchWithJobIdsAndChildIDsResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ProducedBatchWithJobIdsAndChildIDsResponse"},{"type":"null"}]}},"type":"object","title":"NonPaginatedResponse[ProducedBatchWithJobIdsAndChildIDsResponse]"},"NonPaginatedResponse_ProducedBatchWithPartialJobsResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ProducedBatchWithPartialJobsResponse"},{"type":"null"}]}},"type":"object","title":"NonPaginatedResponse[ProducedBatchWithPartialJobsResponse]"},"NonPaginatedResponse_ProducedFullJobResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ProducedFullJobResponse"},{"type":"null"}]}},"type":"object","title":"NonPaginatedResponse[ProducedFullJobResponse]"},"NonPaginatedResponse_ProducedJobResultLinkResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ProducedJobResultLinkResponse"},{"type":"null"}]}},"type":"object","title":"NonPaginatedResponse[ProducedJobResultLinkResponse]"},"NonPaginatedResponse_ProducedJobStatusResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ProducedJobStatusResponse"},{"type":"null"}]}},"type":"object","title":"NonPaginatedResponse[ProducedJobStatusResponse]"},"NonPaginatedResponse_ProducedPartialJobBulkCancelResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ProducedPartialJobBulkCancelResponse"},{"type":"null"}]}},"type":"object","title":"NonPaginatedResponse[ProducedPartialJobBulkCancelResponse]"},"NonPaginatedResponse_ProducedPartialJobResponse_":{"properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/ProducedPartialJobResponse"},{"type":"null"}]}},"type":"object","title":"NonPaginatedResponse[ProducedPartialJobResponse]"},"PaginatedResponse_ProducedBatchResponse_":{"properties":{"status":{"$ref":"#/components/schemas/JSendStatus","default":"success"},"message":{"type":"string","title":"Message","default":"OK."},"code":{"type":"string","title":"Code","default":"200"},"data":{"items":{"$ref":"#/components/schemas/ProducedBatchResponse"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/JSendPagination"}},"type":"object","required":["data","pagination"],"title":"PaginatedResponse[ProducedBatchResponse]"},"PaginatedResponse_ProducedDeviceResponse_":{"properties":{"status":{"$ref":"#/components/schemas/JSendStatus","default":"success"},"message":{"type":"string","title":"Message","default":"OK."},"code":{"type":"string","title":"Code","default":"200"},"data":{"items":{"$ref":"#/components/schemas/ProducedDeviceResponse"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/JSendPagination"}},"type":"object","required":["data","pagination"],"title":"PaginatedResponse[ProducedDeviceResponse]"},"PaginatedResponse_ProducedPartialJobResponseV2_":{"properties":{"status":{"$ref":"#/components/schemas/JSendStatus","default":"success"},"message":{"type":"string","title":"Message","default":"OK."},"code":{"type":"string","title":"Code","default":"200"},"data":{"items":{"$ref":"#/components/schemas/ProducedPartialJobResponseV2"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/JSendPagination"}},"type":"object","required":["data","pagination"],"title":"PaginatedResponse[ProducedPartialJobResponseV2]"},"ProducedBatchBulkCancelResponse":{"properties":{"batches":{"items":{"$ref":"#/components/schemas/ProducedBatchWithoutJobsResponse"},"type":"array","title":"Batches","description":"Batches that were successfully canceled."},"errors":{"additionalProperties":{"type":"string"},"propertyNames":{"format":"uuid"},"type":"object","title":"Errors","description":"Batch IDs that could not be canceled, with error details."}},"additionalProperties":false,"type":"object","required":["batches","errors"],"title":"ProducedBatchBulkCancelResponse","description":"Response to a request for cancelling a bunch of batches.","example":{"batches":[{"complete":true,"created_at":"2025-01-15T10:30:00Z","device_type":"FRESNEL","end_datetime":"2025-01-15T10:40:00Z","id":"00000000-0000-0000-0000-000000000002","jobs_count":2,"jobs_count_per_status":{"CANCELED":2},"open":false,"priority":0,"project_id":"00000000-0000-0000-0000-000000000001","queue_priority":"MEDIUM","sequence_builder":"<serialized Pulser sequence>","status":"CANCELED","tags":["experiment-1"],"updated_at":"2025-01-15T10:40:00Z","user_id":"user-123"}],"errors":{}}},"ProducedBatchResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the batch."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"ID of the parent batch if created from a retry."},"status":{"$ref":"#/components/schemas/BatchStatus","description":"Current batch status."},"complete":{"type":"boolean","title":"Complete","description":"Deprecated. Use `open` instead. Indicates whether the batch is still accepting additional jobs. False means the batch is open; True means it is closed.","deprecated":true},"open":{"type":"boolean","title":"Open","description":"Whether the batch is open and accepting additional jobs."},"priority":{"type":"integer","title":"Priority","description":"Deprecated. Priority of the batch.","deprecated":true},"device_type":{"type":"string","title":"Device Type","description":"Target device type for the batch."},"user_id":{"type":"string","title":"User Id","description":"ID of the user who created the batch."},"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project this batch belongs to."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the batch was created."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Timestamp of the last batch update."},"jobs_count":{"type":"integer","title":"Jobs Count","description":"Total number of jobs in the batch."},"jobs_count_per_status":{"additionalProperties":true,"type":"object","title":"Jobs Count Per Status","description":"Number of jobs grouped by status."},"tags":{"items":{"type":"string"},"type":"array","uniqueItems":true,"title":"Tags","description":"User-defined labels for organizing batches."},"configuration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Configuration","description":"Deprecated. Use `backend_configuration`. Extra configuration for job execution.","deprecated":true},"backend_configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend Configuration","description":"Serialized emulator backend configuration."},"webhook":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook","description":"URL where job results are sent via webhook."},"start_datetime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Datetime","description":"Timestamp when processing started on hardware."},"end_datetime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Datetime","description":"Timestamp when processing finished, errored, or was canceled."},"queue_priority":{"$ref":"#/components/schemas/QueuePriority","description":"Priority queue on which the batch is scheduled."},"queue_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Queue Position","description":"1-based position of the batch in its device queue. None if the batch is not pending/running."},"estimated_start_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Start Seconds","description":"Estimated time in seconds before the batch starts executing, based on shots ahead of it in the queue. Only computed for QPU devices; None for emulators or non-pending/running batches."}},"additionalProperties":false,"type":"object","required":["id","parent_id","status","complete","open","priority","device_type","user_id","project_id","created_at","updated_at","jobs_count","jobs_count_per_status","tags","configuration","backend_configuration","webhook","start_datetime","end_datetime","queue_priority"],"title":"ProducedBatchResponse","description":"Response for a batch request which does not include its jobs data.\n\nThis schema defines all the fields that can be publicly shared by the API.","example":{"complete":true,"created_at":"2025-01-15T10:30:00Z","device_type":"FRESNEL","end_datetime":"2025-01-15T10:35:00Z","id":"00000000-0000-0000-0000-000000000002","jobs_count":3,"jobs_count_per_status":{"DONE":3},"open":false,"priority":0,"project_id":"00000000-0000-0000-0000-000000000001","queue_priority":"MEDIUM","start_datetime":"2025-01-15T10:31:00Z","status":"DONE","tags":["experiment-1"],"updated_at":"2025-01-15T10:35:00Z","user_id":"user-123"}},"ProducedBatchStatusResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the batch."},"status":{"$ref":"#/components/schemas/BatchStatus","description":"Current batch status."},"jobs_count_per_status":{"additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/JobStatus"},"type":"object","title":"Jobs Count Per Status","description":"Number of jobs grouped by status."}},"type":"object","required":["id","status","jobs_count_per_status"],"title":"ProducedBatchStatusResponse"},"ProducedBatchWithJobIdsAndChildIDsResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the batch."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"ID of the parent batch if created from a retry."},"status":{"$ref":"#/components/schemas/BatchStatus","description":"Current batch status."},"complete":{"type":"boolean","title":"Complete","description":"Deprecated. Use `open` instead. Indicates whether the batch is still accepting additional jobs. False means the batch is open; True means it is closed.","deprecated":true},"open":{"type":"boolean","title":"Open","description":"Whether the batch is open and accepting additional jobs."},"priority":{"type":"integer","title":"Priority","description":"Deprecated. Priority of the batch.","deprecated":true},"device_type":{"type":"string","title":"Device Type","description":"Target device type for the batch."},"user_id":{"type":"string","title":"User Id","description":"ID of the user who created the batch."},"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project this batch belongs to."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the batch was created."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Timestamp of the last batch update."},"sequence_builder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sequence Builder","description":"Serialized Pulser sequence shared by all jobs."},"jobs_count":{"type":"integer","title":"Jobs Count","description":"Total number of jobs in the batch."},"jobs_count_per_status":{"additionalProperties":true,"type":"object","title":"Jobs Count Per Status","description":"Number of jobs grouped by status."},"tags":{"items":{"type":"string"},"type":"array","uniqueItems":true,"title":"Tags","description":"User-defined labels for organizing batches."},"configuration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Configuration","description":"Deprecated. Use `backend_configuration`. Extra configuration for job execution.","deprecated":true},"backend_configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend Configuration","description":"Serialized emulator backend configuration."},"webhook":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook","description":"URL where job results are sent via webhook."},"start_datetime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Datetime","description":"Timestamp when processing started on hardware."},"end_datetime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Datetime","description":"Timestamp when processing finished, errored, or was canceled."},"job_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Job Ids","description":"IDs of all jobs in the batch."},"child_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Child Ids","description":"IDs of child batches created from retries."},"queue_priority":{"$ref":"#/components/schemas/QueuePriority","description":"Priority queue on which the batch is scheduled."},"queue_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Queue Position","description":"1-based position of the batch in its device queue. None if the batch is not pending/running."},"estimated_start_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Start Seconds","description":"Estimated time in seconds before the batch starts executing, based on shots ahead of it in the queue. Only computed for QPU devices; None for emulators or non-pending/running batches."}},"additionalProperties":false,"type":"object","required":["id","parent_id","status","complete","open","priority","device_type","user_id","project_id","created_at","updated_at","sequence_builder","jobs_count","jobs_count_per_status","tags","configuration","backend_configuration","webhook","start_datetime","end_datetime","job_ids","child_ids","queue_priority"],"title":"ProducedBatchWithJobIdsAndChildIDsResponse","description":"Response for a batch request that includes only its job ids.\n\nThis schema defines all the fields that can be publicly shared by the API.","example":{"child_ids":[],"complete":true,"created_at":"2025-01-15T10:30:00Z","device_type":"FRESNEL","end_datetime":"2025-01-15T10:35:00Z","id":"00000000-0000-0000-0000-000000000002","job_ids":["00000000-0000-0000-0000-000000000003","00000000-0000-0000-0000-000000000004"],"jobs_count":2,"jobs_count_per_status":{"DONE":2},"open":false,"priority":0,"project_id":"00000000-0000-0000-0000-000000000001","queue_priority":"MEDIUM","sequence_builder":"<serialized Pulser sequence>","start_datetime":"2025-01-15T10:31:00Z","status":"DONE","tags":["experiment-1"],"updated_at":"2025-01-15T10:35:00Z","user_id":"user-123"}},"ProducedBatchWithPartialJobsResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the batch."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"ID of the parent batch if created from a retry."},"status":{"$ref":"#/components/schemas/BatchStatus","description":"Current batch status."},"complete":{"type":"boolean","title":"Complete","description":"Deprecated. Use `open` instead. Indicates whether the batch is still accepting additional jobs. False means the batch is open; True means it is closed.","deprecated":true},"open":{"type":"boolean","title":"Open","description":"Whether the batch is open and accepting additional jobs."},"priority":{"type":"integer","title":"Priority","description":"Deprecated. Priority of the batch.","deprecated":true},"device_type":{"type":"string","title":"Device Type","description":"Target device type for the batch."},"user_id":{"type":"string","title":"User Id","description":"ID of the user who created the batch."},"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project this batch belongs to."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the batch was created."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Timestamp of the last batch update."},"sequence_builder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sequence Builder","description":"Serialized Pulser sequence shared by all jobs."},"jobs_count":{"type":"integer","title":"Jobs Count","description":"Total number of jobs in the batch."},"jobs_count_per_status":{"additionalProperties":true,"type":"object","title":"Jobs Count Per Status","description":"Number of jobs grouped by status."},"tags":{"items":{"type":"string"},"type":"array","uniqueItems":true,"title":"Tags","description":"User-defined labels for organizing batches."},"configuration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Configuration","description":"Deprecated. Use `backend_configuration`. Extra configuration for job execution.","deprecated":true},"backend_configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend Configuration","description":"Serialized emulator backend configuration."},"webhook":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook","description":"URL where job results are sent via webhook."},"start_datetime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Datetime","description":"Timestamp when processing started on hardware."},"end_datetime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Datetime","description":"Timestamp when processing finished, errored, or was canceled."},"jobs":{"anyOf":[{"items":{"$ref":"#/components/schemas/ProducedPartialJobResponse"},"type":"array"},{"type":"null"}],"title":"Jobs","description":"Jobs in the batch (without result payloads)."},"queue_priority":{"$ref":"#/components/schemas/QueuePriority","description":"Priority queue on which the batch is scheduled."}},"additionalProperties":false,"type":"object","required":["id","parent_id","status","complete","open","priority","device_type","user_id","project_id","created_at","updated_at","sequence_builder","jobs_count","jobs_count_per_status","tags","configuration","backend_configuration","webhook","start_datetime","end_datetime","jobs","queue_priority"],"title":"ProducedBatchWithPartialJobsResponse","description":"Response for a batch request which includes its jobs data but\nwithout the results.\n\nThis schema defines all the fields that can be publicly shared by the API.","example":{"complete":false,"created_at":"2025-01-15T10:30:00Z","device_type":"FRESNEL","id":"00000000-0000-0000-0000-000000000002","jobs":[{"batch_id":"00000000-0000-0000-0000-000000000002","created_at":"2025-01-15T10:30:00Z","creation_order":0,"id":"00000000-0000-0000-0000-000000000003","progress":0,"project_id":"00000000-0000-0000-0000-000000000001","runs":100,"status":"PENDING","updated_at":"2025-01-15T10:30:00Z","variables":{"omega":5.0}}],"jobs_count":1,"jobs_count_per_status":{"PENDING":1},"open":true,"priority":0,"project_id":"00000000-0000-0000-0000-000000000001","queue_priority":"MEDIUM","sequence_builder":"<serialized Pulser sequence>","status":"PENDING","tags":[],"updated_at":"2025-01-15T10:30:00Z","user_id":"user-123"}},"ProducedBatchWithoutJobsResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the batch."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"ID of the parent batch if created from a retry."},"status":{"$ref":"#/components/schemas/BatchStatus","description":"Current batch status."},"complete":{"type":"boolean","title":"Complete","description":"Deprecated. Use `open` instead. Indicates whether the batch is still accepting additional jobs. False means the batch is open; True means it is closed.","deprecated":true},"open":{"type":"boolean","title":"Open","description":"Whether the batch is open and accepting additional jobs."},"priority":{"type":"integer","title":"Priority","description":"Deprecated. Priority of the batch.","deprecated":true},"device_type":{"type":"string","title":"Device Type","description":"Target device type for the batch."},"user_id":{"type":"string","title":"User Id","description":"ID of the user who created the batch."},"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project this batch belongs to."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the batch was created."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Timestamp of the last batch update."},"sequence_builder":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sequence Builder","description":"Serialized Pulser sequence shared by all jobs."},"jobs_count":{"type":"integer","title":"Jobs Count","description":"Total number of jobs in the batch."},"jobs_count_per_status":{"additionalProperties":true,"type":"object","title":"Jobs Count Per Status","description":"Number of jobs grouped by status."},"tags":{"items":{"type":"string"},"type":"array","uniqueItems":true,"title":"Tags","description":"User-defined labels for organizing batches."},"configuration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Configuration","description":"Deprecated. Use `backend_configuration`. Extra configuration for job execution.","deprecated":true},"backend_configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend Configuration","description":"Serialized emulator backend configuration."},"webhook":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook","description":"URL where job results are sent via webhook."},"start_datetime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Datetime","description":"Timestamp when processing started on hardware."},"end_datetime":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Datetime","description":"Timestamp when processing finished, errored, or was canceled."},"queue_priority":{"$ref":"#/components/schemas/QueuePriority","description":"Priority queue on which the batch is scheduled."}},"additionalProperties":false,"type":"object","required":["id","parent_id","status","complete","open","priority","device_type","user_id","project_id","created_at","updated_at","sequence_builder","jobs_count","jobs_count_per_status","tags","configuration","backend_configuration","webhook","start_datetime","end_datetime","queue_priority"],"title":"ProducedBatchWithoutJobsResponse","description":"Response for a batch request that not includes its jobs.\n\nThis schema defines all the fields that can be publicly shared by the API.","example":{"complete":true,"created_at":"2025-01-15T10:30:00Z","device_type":"FRESNEL","end_datetime":"2025-01-15T10:40:00Z","id":"00000000-0000-0000-0000-000000000002","jobs_count":1,"jobs_count_per_status":{"CANCELED":1},"open":false,"priority":0,"project_id":"00000000-0000-0000-0000-000000000001","queue_priority":"MEDIUM","sequence_builder":"<serialized Pulser sequence>","status":"CANCELED","tags":[],"updated_at":"2025-01-15T10:40:00Z","user_id":"user-123"}},"ProducedDeviceResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the device."},"name":{"type":"string","title":"Name","description":"Deprecated. Same value as `device_type`.","deprecated":true},"device_type":{"type":"string","title":"Device Type","description":"Type identifier of the device (e.g. FRESNEL)."},"status":{"$ref":"#/components/schemas/DeviceStatus","description":"Current operational status of the device."},"average_queue_time":{"type":"integer","title":"Average Queue Time","description":"Average wait time (seconds) before a job of this device type is processed, measured over the last hour."},"max_atom_num":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Atom Num","description":"Maximum number of qubits supported by the device."},"is_emulator":{"type":"boolean","title":"Is Emulator","description":"Whether the device is an emulator."},"channels":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Channels","description":"Channel identifiers available on the device."},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message","description":"Human-readable status message for the device."},"allowed_result_types":{"items":{"$ref":"#/components/schemas/ResultsType"},"type":"array","title":"Allowed Result Types","description":"Result types the device can produce."},"default_result_types":{"items":{"$ref":"#/components/schemas/ResultsType"},"type":"array","title":"Default Result Types","description":"Result types the device uses by default when none are specified."},"active":{"type":"boolean","title":"Active","description":"Deprecated. Use `availability` instead.","deprecated":true},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the device."},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"Location of the device."},"bill_usage":{"type":"boolean","title":"Bill Usage","description":"Whether usage of this device is billed."},"availability":{"$ref":"#/components/schemas/DeviceAvailability","description":"Availability status of the device."},"has_execution_logs":{"type":"boolean","title":"Has Execution Logs","description":"Whether the device provides execution logs."}},"additionalProperties":false,"type":"object","required":["id","name","device_type","status","average_queue_time","is_emulator","allowed_result_types","default_result_types","active","bill_usage","availability","has_execution_logs"],"title":"ProducedDeviceResponse","description":"Device visible to the authenticated user.","example":{"active":true,"allowed_result_types":["counter","run"],"availability":"ACTIVE","average_queue_time":42,"bill_usage":true,"channels":["rydberg_global","rydberg_local"],"default_result_types":["counter"],"description":"Fresnel QPU","device_type":"FRESNEL","has_execution_logs":false,"id":"00000000-0000-0000-0000-000000000010","is_emulator":false,"location":"Europe","max_atom_num":100,"name":"FRESNEL","status":"UP"}},"ProducedFullJobResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the job."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"ID of the original job if created from a retry (rebatch)."},"status":{"$ref":"#/components/schemas/JobStatus","description":"Current job status."},"runs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Runs","description":"Number of times the pulse sequence is repeated."},"batch_id":{"type":"string","format":"uuid","title":"Batch Id","description":"ID of the batch this job belongs to."},"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project this job belongs to."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the job was created."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Timestamp of the last job update."},"start_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Timestamp","description":"Timestamp when the QPU or emulator started processing."},"end_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Timestamp","description":"Timestamp when the QPU or emulator finished, errored, or canceled the job."},"variables":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Variables","description":"Variable assignments used to build the pulse sequence."},"errors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Errors","description":"Errors returned during job execution."},"logs_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logs Link","description":"Signed URL to download execution logs, if available."},"progress":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Progress","description":"Job progress percentage (0–100)."},"sequence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sequence","description":"The built pulse sequence for the job."}},"additionalProperties":false,"type":"object","required":["id","parent_id","status","runs","batch_id","project_id","created_at","updated_at","start_timestamp","end_timestamp","variables","errors","progress","sequence"],"title":"ProducedFullJobResponse","description":"Response to a request for a job.\n\nThis schema defines all the fields that can be publicly shared by the API.","example":{"batch_id":"00000000-0000-0000-0000-000000000002","created_at":"2025-01-15T10:30:00Z","end_timestamp":"2025-01-15T10:35:00Z","id":"00000000-0000-0000-0000-000000000003","progress":100,"project_id":"00000000-0000-0000-0000-000000000001","runs":100,"start_timestamp":"2025-01-15T10:31:00Z","status":"DONE","updated_at":"2025-01-15T10:35:00Z","variables":{"omega":5.0}}},"ProducedJobResultLinkResponse":{"properties":{"results_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Results Link","description":"Signed URL to download job results. Expires after one minute."}},"additionalProperties":false,"type":"object","required":["results_link"],"title":"ProducedJobResultLinkResponse","description":"Response for job results link","example":{"results_link":"https://storage.example.com/results/job-id?token=..."}},"ProducedJobStatusResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the job."},"status":{"$ref":"#/components/schemas/JobStatus","description":"Current job status."}},"type":"object","required":["id","status"],"title":"ProducedJobStatusResponse"},"ProducedPartialJobBulkCancelResponse":{"properties":{"jobs":{"items":{"$ref":"#/components/schemas/ProducedPartialJobResponse"},"type":"array","title":"Jobs","description":"Jobs that were successfully canceled."},"errors":{"additionalProperties":{"type":"string"},"propertyNames":{"format":"uuid"},"type":"object","title":"Errors","description":"Job IDs that could not be canceled, with error details."}},"type":"object","required":["jobs","errors"],"title":"ProducedPartialJobBulkCancelResponse","description":"Response to a request for cancelling a bunch of jobs without the results of\nthe jobs.","example":{"errors":{},"jobs":[{"batch_id":"00000000-0000-0000-0000-000000000002","created_at":"2025-01-15T10:30:00Z","creation_order":0,"end_timestamp":"2025-01-15T10:40:00Z","id":"00000000-0000-0000-0000-000000000003","project_id":"00000000-0000-0000-0000-000000000001","runs":100,"status":"CANCELED","updated_at":"2025-01-15T10:40:00Z","variables":{"omega":5.0}}]}},"ProducedPartialJobResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the job."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"ID of the original job if created from a retry (rebatch)."},"status":{"$ref":"#/components/schemas/JobStatus","description":"Current job status."},"runs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Runs","description":"Number of times the pulse sequence is repeated."},"batch_id":{"type":"string","format":"uuid","title":"Batch Id","description":"ID of the batch this job belongs to."},"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project this job belongs to."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the job was created."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Timestamp of the last job update."},"start_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Timestamp","description":"Timestamp when the QPU or emulator started processing."},"end_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Timestamp","description":"Timestamp when the QPU or emulator finished, errored, or canceled the job."},"variables":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Variables","description":"Variable assignments used to build the pulse sequence."},"errors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Errors","description":"Errors returned during job execution."},"progress":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Progress","description":"Job progress percentage (0-100)."},"sequence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sequence","description":"The built pulse sequence for the job."},"creation_order":{"type":"integer","title":"Creation Order","description":"Position in the creation order within the batch."}},"additionalProperties":false,"type":"object","required":["id","parent_id","status","runs","batch_id","project_id","created_at","updated_at","start_timestamp","end_timestamp","variables","errors","progress","sequence","creation_order"],"title":"ProducedPartialJobResponse","description":"Response to a request for a job.\n\nThis schema defines all the fields that can be publicly shared by the API and do not\nrequire significant computational resources. For example, 'logs_links' or\n'results link'.","example":{"batch_id":"00000000-0000-0000-0000-000000000002","created_at":"2025-01-15T10:30:00Z","creation_order":1,"end_timestamp":"2025-01-15T10:35:00Z","id":"00000000-0000-0000-0000-000000000003","progress":100,"project_id":"00000000-0000-0000-0000-000000000001","runs":100,"start_timestamp":"2025-01-15T10:31:00Z","status":"DONE","updated_at":"2025-01-15T10:35:00Z","variables":{"omega":5.0}}},"ProducedPartialJobResponseV2":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"Unique identifier for the job."},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id","description":"ID of the original job if this job was created from a retry (rebatch)."},"status":{"$ref":"#/components/schemas/JobStatus","description":"Current job status."},"runs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Runs","description":"Number of times the pulse sequence is repeated."},"batch_id":{"type":"string","format":"uuid","title":"Batch Id","description":"ID of the batch this job belongs to."},"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project this job belongs to."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Timestamp when the job was created."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Timestamp of the last job update."},"start_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Timestamp","description":"Timestamp when the QPU or emulator started processing the job."},"end_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Timestamp","description":"Timestamp when the QPU or emulator finished, errored, or canceled the job."},"variables":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Variables","description":"Variable assignments used to build the pulse sequence for this job."},"errors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Errors","description":"Errors returned during job execution."},"progress":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Progress","description":"Job progress percentage (0–100)."},"creation_order":{"type":"integer","title":"Creation Order","description":"Position of this job in the creation order within its batch."},"slurm_job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slurm Job Id","description":"SLURM job ID if the job was run on an emulator cluster."},"slurm_cluster_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slurm Cluster Name","description":"Name of the SLURM cluster where the job was submitted for execution."}},"additionalProperties":false,"type":"object","required":["id","parent_id","status","runs","batch_id","project_id","created_at","updated_at","start_timestamp","end_timestamp","variables","errors","progress","creation_order","slurm_job_id","slurm_cluster_name"],"title":"ProducedPartialJobResponseV2","description":"Response to a request for a job.\n\nThis schema defines all the fields that can be publicly shared by the API and do not\nrequire significant computational resources. For example, 'logs_links',\n'results link' or 'sequence'","example":{"batch_id":"00000000-0000-0000-0000-000000000002","created_at":"2025-01-15T10:30:00Z","creation_order":1,"end_timestamp":"2025-01-15T10:35:00Z","id":"00000000-0000-0000-0000-000000000003","progress":100,"project_id":"00000000-0000-0000-0000-000000000001","runs":100,"start_timestamp":"2025-01-15T10:31:00Z","status":"DONE","updated_at":"2025-01-15T10:35:00Z","variables":{"omega":5.0}}},"QueuePriority":{"type":"string","enum":["CRITICAL","HIGH","MEDIUM","LOW","FREE"],"title":"QueuePriority","description":"Values represent the queue a value will be written to, each priority\nrepresents the order of preference batches will be executed.\nQueue priority is processed in a descending order: CRITICAL, HIGH, MEDIUM, LOW, FREE"},"ResultsType":{"type":"string","enum":["counter","run","sample","expectation"],"title":"ResultsType"},"SortDirection":{"type":"string","enum":["ASC","DESC"],"title":"SortDirection"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"Auth0TokenRequest":{"type":"object","required":["client_id","client_secret","audience","grant_type"],"additionalProperties":false,"properties":{"client_id":{"type":"string","description":"Service account client identifier provided by Pasqal"},"client_secret":{"type":"string","description":"Service account secret key provided by Pasqal"},"audience":{"type":"string","description":"The target API endpoint","example":"https://apis.pasqal.cloud/account/api/v1"},"grant_type":{"type":"string","description":"OAuth grant type for client credentials flow","enum":["client_credentials"],"default":"client_credentials"}}},"Auth0TokenResponse":{"type":"object","properties":{"access_token":{"type":"string","description":"JWT token to authenticate subsequent API requests. Include in the Authorization header as: Bearer {access_token}"},"token_type":{"type":"string","description":"Token type, always Bearer","example":"Bearer"},"expires_in":{"type":"integer","description":"Token validity duration in seconds","example":86400},"scope":{"type":"string","description":"Granted permissions","example":"openid profile email"}}}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Pass your JWT access token as a bearer token in the Authorization header: `Authorization: Bearer <token>`."}}},"tags":[{"name":"Authentication","description":"Auth0 token generation for Pasqal Cloud service account authentication"}]}