{"openapi":"3.1.0","info":{"title":"Animation Pipeline API","description":"Stufenbasierte Single-Owner-API. Integrationsanleitung: https://isoani.huecki.com/animation/agent-guide.md","version":"1.0.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health Health Get"}}}}},"security":[]}},"/ui":{"get":{"summary":"Ui Index","operationId":"ui_index_ui_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}},"security":[]}},"/ui/":{"get":{"summary":"Ui Index","operationId":"ui_index_ui__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}},"security":[]}},"/ui/{asset}":{"get":{"summary":"Ui Asset","operationId":"ui_asset_ui__asset__get","parameters":[{"name":"asset","in":"path","required":true,"schema":{"type":"string","title":"Asset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/ui/demo/{name}":{"get":{"summary":"Ui Demo Asset","operationId":"ui_demo_asset_ui_demo__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/v1/capabilities":{"get":{"summary":"Capabilities","operationId":"capabilities_v1_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Capabilities V1 Capabilities Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/jobs":{"get":{"summary":"List Jobs","operationId":"list_jobs_v1_jobs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Jobs V1 Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]},"post":{"summary":"Create Job","operationId":"create_job_v1_jobs_post","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_job_v1_jobs_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Job V1 Jobs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/jobs/{job_id}":{"get":{"summary":"Get Job","operationId":"get_job_v1_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Job V1 Jobs  Job Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/jobs/{job_id}/stages":{"post":{"summary":"Submit Stage","operationId":"submit_stage_v1_jobs__job_id__stages_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Submit Stage V1 Jobs  Job Id  Stages Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/jobs/{job_id}/automatic-review":{"post":{"summary":"Submit Automatic Review","operationId":"submit_automatic_review_v1_jobs__job_id__automatic_review_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomaticReviewRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Submit Automatic Review V1 Jobs  Job Id  Automatic Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/jobs/{job_id}/reviews":{"post":{"summary":"Review Artifact","operationId":"review_artifact_v1_jobs__job_id__reviews_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Review Artifact V1 Jobs  Job Id  Reviews Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/jobs/{job_id}/selections":{"post":{"summary":"Create Spatial Selection","operationId":"create_spatial_selection_v1_jobs__job_id__selections_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpatialSelectionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Spatial Selection V1 Jobs  Job Id  Selections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/jobs/{job_id}/artifacts/{name}":{"get":{"summary":"Download Artifact","operationId":"download_artifact_v1_jobs__job_id__artifacts__name__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/jobs/{job_id}/download":{"get":{"summary":"Download Zip","operationId":"download_zip_v1_jobs__job_id__download_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"bearerAuth":[]}]}}},"components":{"schemas":{"AutomaticReviewRequest":{"properties":{"artifact":{"type":"string","title":"Artifact"},"sha256":{"type":"string","title":"Sha256"},"revision":{"type":"integer","title":"Revision"},"authorize_paid_review":{"type":"boolean","title":"Authorize Paid Review","default":false},"budget_cap_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget Cap Usd"},"frame_policy":{"type":"string","enum":["8","12","16","native"],"title":"Frame Policy","default":"8"},"action":{"type":"string","enum":["walk","punch"],"title":"Action","default":"walk"}},"additionalProperties":false,"type":"object","required":["artifact","sha256","revision"],"title":"AutomaticReviewRequest"},"Body_create_job_v1_jobs_post":{"properties":{"reference":{"type":"string","contentMediaType":"application/octet-stream","title":"Reference"},"options":{"type":"string","title":"Options","default":"{}"}},"type":"object","required":["reference"],"title":"Body_create_job_v1_jobs_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ReviewRequest":{"properties":{"artifact":{"type":"string","title":"Artifact"},"sha256":{"type":"string","title":"Sha256"},"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"}},"additionalProperties":false,"type":"object","required":["artifact","sha256","decision"],"title":"ReviewRequest"},"SpatialSelectionRequest":{"properties":{"source_artifact":{"type":"string","title":"Source Artifact"},"source_sha256":{"type":"string","title":"Source Sha256"},"source_revision":{"type":"integer","title":"Source Revision"},"native_fps":{"type":"number","title":"Native Fps"},"cycle_start":{"type":"integer","title":"Cycle Start"},"cycle_end_exclusive":{"type":"integer","title":"Cycle End Exclusive"},"selected_indices":{"items":{"type":"integer"},"type":"array","title":"Selected Indices"}},"additionalProperties":false,"type":"object","required":["source_artifact","source_sha256","source_revision","native_fps","cycle_start","cycle_end_exclusive","selected_indices"],"title":"SpatialSelectionRequest"},"StageRequest":{"properties":{"stage":{"type":"string","title":"Stage"},"params":{"additionalProperties":true,"type":"object","title":"Params","description":"Stufenspezifische Parameter. Der Container ist absichtlich generisch; vollständige implementierte Schemas und Beispiele stehen unter https://isoani.huecki.com/animation/agent-guide.md. Budget- und Autorisierungsfelder gehören nicht in params."},"authorize_paid":{"type":"boolean","title":"Authorize Paid","default":false},"budget_cap_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Budget Cap Usd"}},"additionalProperties":false,"type":"object","required":["stage"],"title":"StageRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API token"}}},"servers":[{"url":"https://isoani.huecki.com/animation","description":"Öffentlicher Produktionsendpunkt"}]}