{"openapi":"3.1.0","info":{"title":"Splatware Public API","version":"1.0.0","description":"Direct resumable datasets and the existing Splatware training queue. Private account-owned outputs. No media bodies pass through this API."},"servers":[{"url":"/api/v1"}],"paths":{"/capabilities":{"get":{"operationId":"getCapabilities","security":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","example":{"version":"v1","training_depths":["fast","balanced","high","higher","highest"],"input_types":["images","videos","mixed","360-image","360-video","dataset"],"configuration_schema":{"type":"object","additionalProperties":false,"properties":{"trainingDepth":{"type":"string","enum":["fast","balanced","high","higher","highest"],"default":"fast"},"maxGaussiansCount":{"anyOf":[{"type":"integer","minimum":1,"maximum":20000000},{"type":"string","enum":["auto"]}],"default":"auto","description":"Automatic population or an explicit cap of 1–20000000. Fast always uses 1100000."},"modelSHDegree":{"type":"integer","enum":[0,1,2,3],"default":3},"hide_camera_operator":{"type":"boolean","default":true,"description":"360-degree images/videos only. Exclude the camera operator. Requires worker support."},"atmosphericAudio":{"type":"boolean","default":true}}},"training_billing":{"currency":"eur","modes":["auto","included","pay_as_you_go"],"quote_path":"/api/v1/trainings/quote","estimate_path":"/api/v1/trainings/estimate","included_share_for_pro_and_enterprise":0.25,"min_payment_cents":100},"training_workload":{"version":"training-workload-v3","worker_policy_version":"training-worker-policy-v3.1","payable":false,"includes_queue_time":false,"includes_worker_transfer_time":true},"metadata_validation":{"max_header_bytes":2097152,"video_duration_and_dimensions":["mp4","mov","mkv","webm","avi","insv","osv","360"],"video_duration":["mp4","mov","mkv","webm","avi","flv","insv","osv","360"],"panorama_video_extensions":["mp4","mov","mkv","webm","avi","insv","osv","360"],"reconstruction_image_extensions":["jpg","jpeg","png"],"video_sample_counts":["mp4","mov","avi","insv","osv","360"],"panorama_images":"Exported panoramas require landscape 2:1. Declare fisheye geometry in the file manifest or use embedded native camera metadata.","worker_validation_formats":["mkv","webm","flv"],"description":"Training requires readable video timing metadata. Containers that cannot be verified with bounded reads return media_metadata_unavailable."},"limits":{"manifest_batch_files":50,"max_file_bytes":16000000000,"request_body_bytes":65536,"files_per_dataset":10000,"requests_per_key_per_minute":120,"requests_per_account_per_minute":300},"restrictions":["Fast accepts images/videos with shared training selectors and a fixed population of 1100000.","360 and reconstructed datasets require Balanced or above.","Meshes are converted locally in Create/Convert and cannot be uploaded or queued for API training.","Gaussian Splat and instant mesh conversions are local Create/Convert operations, not training jobs.","ZIP extraction is not supported by the existing pipeline. Upload dataset relative files in batches.","Image training requires at least 25 images.","API upload and queue limits apply independently of website subscriptions."],"states":["uploading","payment_pending","queued","processing","completed","failed"]}}},"required":["data"]}}}}}}},"/openapi.json":{"get":{"operationId":"getOpenApi","security":[],"responses":{"200":{"description":"This OpenAPI 3.1 document","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/datasets":{"post":{"operationId":"createDataset","description":"Required scope: training:write.","security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":128},"description":"Reuse for identical retries. Results retained for seven days. Use a new key for each complete validation batch."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":120},"input_type":{"type":"string","enum":["images","videos","mixed","360-image","360-video","dataset"]}},"required":["name","input_type"]}}}},"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Dataset"}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/session":{"get":{"operationId":"verifySession","description":"Requires a valid API key belonging to an active account.","security":[{"ApiKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"account_authenticated":{"const":true},"api_key_verified":{"const":true},"scopes":{"type":"array","items":{"enum":["training:read","training:write","captures:read"]}}},"required":["account_authenticated","api_key_verified","scopes"]}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/account":{"get":{"operationId":"getAccount","description":"Required scope: training:read.","security":[{"ApiKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"display_name":{"type":["string","null"]},"role":{"type":"string"},"subscription_paused":{"type":"boolean"},"api_allowance_tier":{"enum":["free","creator","pro","enterprise",null]}},"required":["display_name","role","subscription_paused","api_allowance_tier"]}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/usage":{"get":{"operationId":"getCurrentUsage","description":"Required scope: training:read.","security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"include","schema":{"enum":["activity"]},"description":"Include gross API requests across included and pay-as-you-go billing. Includes failed or refunded requests. limited is true above 5,000 requests."}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"month":{"type":"string","example":"2026-11"},"resets_at":{"type":"string","format":"date-time"},"api_included":{"type":"object","additionalProperties":false,"properties":{"training_points":{"type":"object","additionalProperties":false,"properties":{"limit":{"type":"number"},"used":{"type":"number"},"remaining":{"type":"number"}},"required":["limit","used","remaining"]},"upload_bytes":{"type":"object","additionalProperties":false,"properties":{"limit":{"type":"null"},"used":{"type":"integer"},"remaining":{"type":"null"}},"required":["limit","used","remaining"]}},"required":["training_points","upload_bytes"]},"workspace":{"type":"object","additionalProperties":false,"properties":{"training_points":{"type":"object","additionalProperties":false,"properties":{"limit":{"type":"number"},"used":{"type":"number"},"remaining":{"type":"number"}},"required":["limit","used","remaining"]},"upload_bytes":{"type":"object","additionalProperties":false,"properties":{"limit":{"type":"null"},"used":{"type":"integer"},"remaining":{"type":"null"}},"required":["limit","used","remaining"]}},"required":["training_points","upload_bytes"]},"api_activity":{"type":"object","additionalProperties":false,"properties":{"requests":{"type":"integer"},"requested_points":{"type":"number"},"requested_upload_bytes":{"type":"integer"},"limited":{"type":"boolean"}},"required":["requests","requested_points","requested_upload_bytes","limited"]}},"required":["month","resets_at","api_included","workspace"]}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects":{"get":{"operationId":"listOwnProjects","description":"Required scope: training:read and captures:read.","security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"in":"query","name":"cursor","schema":{"type":"string"},"description":"Pass the previous next_cursor until null. Projects are ordered by stable document ID."}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"projects":{"type":"array","items":{"$ref":"#/components/schemas/Project"}},"next_cursor":{"type":["string","null"]}},"required":["projects","next_cursor"]}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/projects/{projectId}":{"get":{"operationId":"getOwnProject","description":"Required scope: training:read and captures:read.","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,160}$"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Project"}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/trainings/estimate":{"post":{"operationId":"estimateTraining","description":"Required scope: training:write.","security":[{"ApiKey":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"input_type":{"enum":["images","videos","mixed","360-image","360-video","dataset"]},"configuration":{"$ref":"#/components/schemas/TrainingConfiguration"},"source":{"type":"object","additionalProperties":false,"required":["upload_bytes","file_count"],"properties":{"upload_bytes":{"type":"integer","minimum":1,"maximum":9007199254740991},"file_count":{"type":"integer","minimum":1,"maximum":10000},"image_count":{"type":"integer","minimum":0,"maximum":10000},"video_seconds":{"type":"number","minimum":0,"maximum":9007199254740991},"native_360_seconds":{"type":"number","minimum":0,"maximum":9007199254740991,"description":"Total playback seconds of native 360 recordings. Count paired lenses once."}}}},"required":["input_type","configuration","source"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"estimated_points":{"type":"integer","minimum":0},"estimated_processing_seconds":{"type":"integer"},"score_version":{"type":"string"},"advisory":{"const":true}},"required":["estimated_points","estimated_processing_seconds","score_version","advisory"]}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/datasets/{datasetId}":{"get":{"operationId":"getDataset","description":"Required scope: training:read.","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"datasetId","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,128}$"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Dataset"}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/datasets/{datasetId}/uploads":{"post":{"operationId":"createUploadSessions","description":"Required scope: training:write.","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"datasetId","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,128}$"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":128},"description":"Reuse for identical retries. Results retained for seven days. Use a new key for each complete validation batch."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"files":{"type":"array","minItems":1,"maxItems":50,"items":{"$ref":"#/components/schemas/UploadFile"}}},"required":["files"]}}}},"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"uploads":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"file_id":{"type":"string"},"path":{"type":"string"},"upload_url":{"type":"string","format":"uri"},"expires_at":{"type":"string","format":"date-time"}},"required":["file_id","path","upload_url","expires_at"]}}},"required":["uploads"]}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/datasets/{datasetId}/complete":{"post":{"operationId":"completeDataset","description":"Required scope: training:write.","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"datasetId","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,128}$"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":128},"description":"Reuse for identical retries. Results retained for seven days. Use a new key for each complete validation batch."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{},"required":[]}}}},"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Dataset"}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/trainings":{"post":{"operationId":"createTraining","description":"Required scope: training:write.","security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":128},"description":"Reuse for identical retries. Results retained for seven days. Use a new key for each complete validation batch."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"dataset_id":{"type":"string"},"configuration":{"$ref":"#/components/schemas/TrainingConfiguration"},"webhook_id":{"type":"string"},"billing_mode":{"type":"string","enum":["auto","included","pay_as_you_go"],"default":"auto"},"max_amount_cents":{"type":"integer","minimum":50,"maximum":100000},"quote_fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Optional. Submit the fingerprint returned by the quote to require the same verified sources and payable amount."}},"required":["dataset_id","configuration"],"example":{"dataset_id":"your_dataset_id","configuration":{"trainingDepth":"fast"},"billing_mode":"auto"}}}}},"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Training"}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/trainings/quote":{"post":{"operationId":"quoteTraining","description":"Required scope: training:write.","security":[{"ApiKey":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"dataset_id":{"type":"string"},"configuration":{"$ref":"#/components/schemas/TrainingConfiguration"},"webhook_id":{"type":"string"},"billing_mode":{"type":"string","enum":["auto","included","pay_as_you_go"],"default":"auto"},"max_amount_cents":{"type":"integer","minimum":50,"maximum":100000},"quote_fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Optional. Submit the fingerprint returned by the quote to require the same verified sources and payable amount."}},"required":["dataset_id","configuration"],"example":{"dataset_id":"your_dataset_id","configuration":{"trainingDepth":"fast"},"billing_mode":"auto"}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["included","pay_as_you_go"]},"status":{"type":"string"},"currency":{"type":"string","const":"eur"},"amount_cents":{"type":["integer","null"],"minimum":0},"points":{"type":"number"},"uploaded_bytes":{"type":"integer"},"workload":{"anyOf":[{"$ref":"#/components/schemas/TrainingWorkload"},{"type":"null"}]},"quote_fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"can_submit":{"type":"boolean"},"error":{"type":["object","null"]}},"required":["mode","status","currency","amount_cents","points","uploaded_bytes","workload","quote_fingerprint","can_submit","error"]}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/trainings/{trainingId}":{"get":{"operationId":"getTraining","description":"Required scope: training:read.","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"trainingId","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,128}$"}},{"in":"query","name":"include","schema":{"enum":["stages"]},"description":"Include final worker stage outcomes when a report exists."}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Training"}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/captures/{captureId}":{"get":{"operationId":"getOwnCapture","description":"Required scope: captures:read.","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"captureId","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,160}$"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"title":{"type":"string"},"capture_url":{"type":"string"},"visibility":{"enum":["private","unlisted","public"]},"creator_name":{"type":"string"},"created_at":{"type":["string","null"],"format":"date-time"}},"required":["id","title","capture_url","visibility","creator_name","created_at"]}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/webhooks":{"post":{"operationId":"createWebhook","description":"Required scope: training:write.","security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":128},"description":"Reuse for identical retries. Results retained for seven days. Use a new key for each complete validation batch."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","format":"uri","maxLength":2048}},"required":["url"]}}}},"responses":{"201":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"url":{"type":"string","format":"uri"},"signing_secret":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["training.completed","training.failed"]}}},"required":["id","url","signing_secret","events"]}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/webhooks/{webhookId}":{"delete":{"operationId":"disableWebhook","description":"Required scope: training:write.","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"webhookId","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,128}$"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"active":{"type":"boolean","const":false}},"required":["id","active"]}},"required":["data"]}}}},"400":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Stable error envelope. 429 includes Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"ApiKey":{"type":"http","scheme":"bearer","bearerFormat":"sw_live_…","description":"Scopes: training:read, training:write, captures:read"}},"schemas":{"Project":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"title":{"type":"string"},"created_at":{"type":["string","null"],"format":"date-time"},"model":{"type":["string","null"]},"input_type":{"type":["string","null"]},"origin":{"enum":["api","workspace"]},"status":{"enum":["queued","processing","completed","failed"]},"visibility":{"enum":["private","unlisted","public"]},"capture_url":{"type":["string","null"]}},"required":["id","title","created_at","model","input_type","origin","status","visibility","capture_url"]},"TrainingConfiguration":{"type":"object","additionalProperties":false,"properties":{"trainingDepth":{"type":"string","enum":["fast","balanced","high","higher","highest"],"default":"fast"},"maxGaussiansCount":{"anyOf":[{"type":"integer","minimum":1,"maximum":20000000},{"type":"string","enum":["auto"]}],"default":"auto","description":"Automatic population or an explicit cap of 1–20000000. Fast always uses 1100000."},"modelSHDegree":{"type":"integer","enum":[0,1,2,3],"default":3},"hide_camera_operator":{"type":"boolean","default":true,"description":"360-degree images/videos only. Exclude the camera operator. Requires worker support."},"atmosphericAudio":{"type":"boolean","default":true}}},"UploadFile":{"type":"object","additionalProperties":false,"properties":{"path":{"type":"string","maxLength":200,"description":"Safe relative path. Nested paths only for reconstructed datasets. ZIP unsupported."},"content_type":{"type":"string"},"size_bytes":{"type":"integer","minimum":1,"maximum":16000000000},"projection":{"type":"string","enum":["equirectangular","fisheye","dual-fisheye"],"description":"Optional for exported 360° images and videos. Embedded projection takes precedence."}},"required":["path","content_type","size_bytes"]},"Dataset":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"input_type":{"type":"string","enum":["images","videos","mixed","360-image","360-video","dataset"]},"status":{"type":"string","enum":["uploading","validating","ready","expiring","expired"],"description":"Unused uploads expire after 14 days of inactivity. Each account can stage 12 datasets and 96 GiB; submitted sources are retained."},"file_count":{"type":"integer"},"validated_files":{"type":"integer"},"size_bytes":{"type":"integer"},"created_at":{"type":"string","format":"date-time"}},"required":["id","name","input_type","status","file_count","validated_files","size_bytes","created_at"]},"TrainingWorkload":{"type":"object","description":"Versioned reference-worker forecast. V3 includes worker download and delivery, and excludes customer upload and queue time. Comparison points are non-payable.","required":["version","runtimeMinutes","retainedViews","confidence","queueIncluded"],"properties":{"version":{"type":"string","enum":["training-workload-v1","training-workload-v3"]},"workerPolicyVersion":{"type":"string"},"processingMinutes":{"type":"number","minimum":0},"workerMinutes":{"type":"number","minimum":0},"filePoints":{"type":"number","minimum":0},"processingPoints":{"type":"number","minimum":0},"comparisonPoints":{"type":"number","minimum":0},"comparisonRate":{"type":"number","minimum":0},"payable":{"type":"boolean","const":false},"trainingViews":{"type":"integer","minimum":0},"caveats":{"type":"array","items":{"type":"string"}},"retainedViews":{"type":"integer","minimum":0},"stagesSeconds":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"runtimeMinutes":{"type":"object","additionalProperties":false,"properties":{"low":{"type":"integer"},"high":{"type":"integer"}},"required":["low","high"]},"confidence":{"type":"string","enum":["source-verified","estimated"]},"queueIncluded":{"type":"boolean","const":false}}},"Training":{"type":"object","additionalProperties":false,"properties":{"poll_after_seconds":{"type":"integer","minimum":1,"description":"Recommended wait before the next status poll."},"id":{"type":"string"},"status":{"type":"string","enum":["payment_pending","queued","processing","completed","failed"]},"configuration":{"type":"object","description":"Normalized worker configuration, including the input type and effective training settings."},"progress":{"type":"object","additionalProperties":false,"properties":{"stage":{"enum":["preparing","payment_pending","processing","download","preprocessing","masking","alignment","training","export","completed","failed"]},"percent":{"type":["number","null"],"minimum":0,"maximum":100,"description":"Estimated within the confirmed stage. Null while the stage is unknown."},"stage_end_percent":{"type":["number","null"]},"stage_start_percent":{"type":["number","null"]},"estimated_stage_seconds":{"type":["integer","null"]},"elapsed_seconds":{"type":["integer","null"],"description":"Wall clock since submission. Terminal observations give an approximate elapsed time."},"elapsed_basis":{"enum":["live","worker","completion_observed",null]},"estimated_remaining_seconds":{"type":["integer","null"],"description":"Estimated processing time remaining, excluding queue wait. Null when the worker phase or remaining time is unknown."},"estimated_processing_seconds":{"type":["integer","null"]}},"required":["stage","percent","stage_end_percent","stage_start_percent","estimated_stage_seconds","elapsed_seconds","elapsed_basis","estimated_remaining_seconds","estimated_processing_seconds"]},"stage_results":{"type":["array","null"],"items":{"type":"object","additionalProperties":false,"properties":{"stage":{"enum":["download","preprocessing","masking","alignment","training","export"]},"outcome":{"enum":["completed","skipped","failed"]}},"required":["stage","outcome"]}},"scene_revision":{"type":["string","null"],"description":"Currently active capture geometry revision. The capture URL follows this revision."},"result_revision":{"type":["string","null"],"description":"Original training output revision; remains unchanged by subsequent edits. Null for legacy runs without a recorded revision."},"capture_id":{"type":["string","null"]},"capture_url":{"type":["string","null"]},"created_at":{"type":["string","null"]},"error":{"type":["object","null"]},"billing":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["included","pay_as_you_go"]},"status":{"type":"string"},"currency":{"type":"string","const":"eur"},"amount_cents":{"type":"integer","minimum":0},"points":{"type":"number"},"uploaded_bytes":{"type":"integer"},"refunded_cents":{"type":"integer","minimum":0},"disputed_cents":{"type":"integer","minimum":0},"dispute_status":{"type":["string","null"]}},"required":["mode","status","currency","amount_cents","points","uploaded_bytes"]},"workload":{"$ref":"#/components/schemas/TrainingWorkload"}},"required":["id","status","configuration","capture_id","capture_url","created_at","error"]},"Error":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string","format":"uuid"},"details":{"type":"object"}},"required":["code","message","request_id","details"]}},"required":["error"]}}}}