{"openapi":"3.1.0","info":{"title":"ClearCut API API","description":"Remove image and video backgrounds with one simple API call.","version":"1.0.0"},"paths":{"/api/v1/health":{"get":{"tags":["health"],"summary":"Health","operationId":"health_api_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Api V1 Health Get"}}}}}}},"/api/v1/auth/register":{"post":{"tags":["auth"],"summary":"Register","operationId":"register_api_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Register Api V1 Auth Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Login Api V1 Auth Login Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/providers":{"get":{"tags":["auth"],"summary":"Providers","description":"Sign-in methods this deployment offers (the Google client ID is public by design).","operationId":"providers_api_v1_auth_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Providers Api V1 Auth Providers Get"}}}}}}},"/api/v1/auth/google":{"post":{"tags":["auth"],"summary":"Google Login","description":"Sign in (or sign up) with a Google Identity Services ID token.","operationId":"google_login_api_v1_auth_google_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Google Login Api V1 Auth Google Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh","operationId":"refresh_api_v1_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Refresh Api V1 Auth Refresh Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","description":"Revoke every access and refresh token issued to this user (all devices).","operationId":"logout_api_v1_auth_logout_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Logout Api V1 Auth Logout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/send-verification":{"post":{"tags":["auth"],"summary":"Send Verification","operationId":"send_verification_api_v1_auth_send_verification_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Send Verification Api V1 Auth Send Verification Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/verify-email":{"post":{"tags":["auth"],"summary":"Verify Email","operationId":"verify_email_api_v1_auth_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Verify Email Api V1 Auth Verify Email Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/password-reset/request":{"post":{"tags":["auth"],"summary":"Request Password Reset","description":"Email a single-use reset link. Always answers the same way, so the endpoint\ncan't be used to discover which emails have accounts.","operationId":"request_password_reset_api_v1_auth_password_reset_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Request Password Reset Api V1 Auth Password Reset Request Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/password-reset/confirm":{"post":{"tags":["auth"],"summary":"Confirm Password Reset","description":"Set a new password from a reset link; every existing session is signed out.","operationId":"confirm_password_reset_api_v1_auth_password_reset_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetConfirm"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Confirm Password Reset Api V1 Auth Password Reset Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me":{"get":{"tags":["users"],"summary":"Get Me","operationId":"get_me_api_v1_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["users"],"summary":"Update Profile","operationId":"update_profile_api_v1_me_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me/notifications":{"get":{"tags":["users"],"summary":"Get Notifications","operationId":"get_notifications_api_v1_me_notifications_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPrefs"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["users"],"summary":"Update Notifications","operationId":"update_notifications_api_v1_me_notifications_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPrefs"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPrefs"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me/password":{"post":{"tags":["users"],"summary":"Change Password","operationId":"change_password_api_v1_me_password_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Password Api V1 Me Password Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me/google":{"post":{"tags":["users"],"summary":"Link Google","description":"Connect a Google account for Sign in with Google.","operationId":"link_google_api_v1_me_google_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleLinkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Link Google Api V1 Me Google Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Unlink Google","description":"Disconnect Google (only when the account has a password to sign in with).","operationId":"unlink_google_api_v1_me_google_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Unlink Google Api V1 Me Google Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/locales":{"get":{"tags":["localization"],"summary":"List Locales","description":"The interface languages ClearCut supports. Public; no authentication.","operationId":"list_locales_api_v1_locales_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalesResponse"}}}}}}},"/api/v1/me/preferences":{"get":{"tags":["localization"],"summary":"Get Preferences","operationId":"get_preferences_api_v1_me_preferences_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["localization"],"summary":"Update Preferences","operationId":"update_preferences_api_v1_me_preferences_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/capabilities":{"get":{"tags":["ai"],"summary":"Ai Capabilities","description":"Which AI features this workspace can use right now. Populated from live state\n(configuration, feature flags, admin settings, and the provider's model list).","operationId":"ai_capabilities_api_v1_ai_capabilities_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Ai Capabilities Api V1 Ai Capabilities Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/creative-assistant":{"post":{"tags":["ai"],"summary":"Create Plan","description":"Turn an instruction into a proposed plan with a credit estimate. Charges the\n``ai_plan`` rate (refunded if the model fails); nothing is processed yet.","operationId":"create_plan_api_v1_ai_creative_assistant_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Plan Api V1 Ai Creative Assistant Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/creative-assistant/{plan_id}":{"get":{"tags":["ai"],"summary":"Read Plan","operationId":"read_plan_api_v1_ai_creative_assistant__plan_id__get","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Plan Api V1 Ai Creative Assistant  Plan Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/creative-assistant/{plan_id}/revise":{"post":{"tags":["ai"],"summary":"Revise Plan","description":"Apply the user's edits (remove steps, change colours, scenes, sizes...) and re-quote.","operationId":"revise_plan_api_v1_ai_creative_assistant__plan_id__revise_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviseIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revise Plan Api V1 Ai Creative Assistant  Plan Id  Revise Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/creative-assistant/{plan_id}/execute":{"post":{"tags":["ai"],"summary":"Execute Plan","description":"Run the approved plan on existing assets (cutouts from your library).","operationId":"execute_plan_api_v1_ai_creative_assistant__plan_id__execute_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/creative-assistant/{plan_id}/execute/files":{"post":{"tags":["ai"],"summary":"Execute Plan Files","description":"Run the approved plan on newly uploaded images.","operationId":"execute_plan_files_api_v1_ai_creative_assistant__plan_id__execute_files_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_execute_plan_files_api_v1_ai_creative_assistant__plan_id__execute_files_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/scene-plan":{"post":{"tags":["ai"],"summary":"Scene Plan","description":"Suggest background scenes. Each idea includes a ready ``request`` for\n``POST /backgrounds/generate`` and a ready-made ``fallback_scene``. Nothing is generated.","operationId":"scene_plan_api_v1_ai_scene_plan_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenePlanIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Scene Plan Api V1 Ai Scene Plan Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/variant-brief":{"post":{"tags":["ai"],"summary":"Variant Brief","description":"Turn a campaign brief into One-to-Many variants (``variants`` is ready for\n``POST /studio/variants``), with a quote when ``asset_id`` is given.","operationId":"variant_brief_api_v1_ai_variant_brief_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariantBriefIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Variant Brief Api V1 Ai Variant Brief Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/workflow-plan":{"post":{"tags":["ai"],"summary":"Workflow Plan","description":"Draft a workflow (``draft`` is ready for ``POST /workflows``). It isn't saved or run.","operationId":"workflow_plan_api_v1_ai_workflow_plan_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowPlanIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Workflow Plan Api V1 Ai Workflow Plan Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/copy":{"post":{"tags":["ai"],"summary":"Product Copy","description":"Headlines, captions, alt text, descriptions, hashtags and calls to action from the\nproduct data given. Numbers that don't appear in that data are listed in ``unverified``.","operationId":"product_copy_api_v1_ai_copy_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Product Copy Api V1 Ai Copy Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/quality-explanation":{"post":{"tags":["ai"],"summary":"Quality Explanation","description":"Plain-language explanations of a QualityGuard report's flagged checks. Statuses and\nmeasurements are the measured ones; the explanation never changes them.","operationId":"quality_explanation_api_v1_ai_quality_explanation_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualityExplainIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Quality Explanation Api V1 Ai Quality Explanation Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/troubleshoot":{"post":{"tags":["ai"],"summary":"Troubleshoot","description":"Why a workflow run or job didn't fully succeed, and what to do about it.","operationId":"troubleshoot_api_v1_ai_troubleshoot_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TroubleshootIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Troubleshoot Api V1 Ai Troubleshoot Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai/docs-helper":{"post":{"tags":["ai"],"summary":"Docs Question","description":"Answer an API question from this deployment's real endpoints, with code samples\ngenerated from the endpoint's actual parameters and auth.","operationId":"docs_question_api_v1_ai_docs_helper_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocsQuestionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Docs Question Api V1 Ai Docs Helper Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/ai/config":{"get":{"tags":["admin"],"summary":"Get Ai Config","operationId":"get_ai_config_api_v1_admin_ai_config_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Ai Config Api V1 Admin Ai Config Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin"],"summary":"Update Ai Config","operationId":"update_ai_config_api_v1_admin_ai_config_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIConfigUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Ai Config Api V1 Admin Ai Config Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/ai/test":{"post":{"tags":["admin"],"summary":"Test Ai Connection","description":"Run a tiny structured, localized request against the model (no customer is charged).","operationId":"test_ai_connection_api_v1_admin_ai_test_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProbeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Test Ai Connection Api V1 Admin Ai Test Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/ai/usage":{"get":{"tags":["admin"],"summary":"Ai Usage","operationId":"ai_usage_api_v1_admin_ai_usage_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Ai Usage Api V1 Admin Ai Usage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tenants":{"get":{"tags":["tenants"],"summary":"List Workspaces","description":"Every workspace the user belongs to (for the workspace switcher).","operationId":"list_workspaces_api_v1_tenants_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceListItem"},"title":"Response List Workspaces Api V1 Tenants Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tenants/current":{"get":{"tags":["tenants"],"summary":"Get Current Workspace","operationId":"get_current_workspace_api_v1_tenants_current_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrentTenantOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["tenants"],"summary":"Update Current Workspace","operationId":"update_current_workspace_api_v1_tenants_current_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTenantRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurrentTenantOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tenants/current/members":{"get":{"tags":["tenants"],"summary":"List Members","operationId":"list_members_api_v1_tenants_current_members_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MemberOut"},"title":"Response List Members Api V1 Tenants Current Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["tenants"],"summary":"Add Member","operationId":"add_member_api_v1_tenants_current_members_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMemberRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tenants/current/members/{member_id}":{"patch":{"tags":["tenants"],"summary":"Update Member","operationId":"update_member_api_v1_tenants_current_members__member_id__patch","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMemberRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["tenants"],"summary":"Remove Member","operationId":"remove_member_api_v1_tenants_current_members__member_id__delete","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Remove Member Api V1 Tenants Current Members  Member Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/api-keys":{"post":{"tags":["api-keys"],"summary":"Create Key","operationId":"create_key_api_v1_api_keys_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAPIKeyRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyCreatedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["api-keys"],"summary":"List Keys","operationId":"list_keys_api_v1_api_keys_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/APIKeyWithUsageOut"},"title":"Response List Keys Api V1 Api Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/api-keys/{api_key_id}":{"patch":{"tags":["api-keys"],"summary":"Update Key","operationId":"update_key_api_v1_api_keys__api_key_id__patch","parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAPIKeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["api-keys"],"summary":"Revoke Key","operationId":"revoke_key_api_v1_api_keys__api_key_id__delete","parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/api-keys/{api_key_id}/regenerate":{"post":{"tags":["api-keys"],"summary":"Regenerate Key","operationId":"regenerate_key_api_v1_api_keys__api_key_id__regenerate_post","parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyCreatedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/removebg":{"post":{"tags":["background-removal"],"summary":"Remove Background Endpoint","description":"Remove the background from an image. Authenticated via ``X-API-Key``.\n\nOmitted ``size``/``format``/``bg_color`` fall back to the workspace's API\npreferences, then to ``auto``/``auto``/``transparent``. With an\n``Idempotency-Key`` header, a retried request returns the original result\nwithout processing or charging again.","operationId":"remove_background_endpoint_api_v1_removebg_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_remove_background_endpoint_api_v1_removebg_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/remove-video-bg":{"post":{"tags":["background-removal"],"summary":"Remove Video Bg Endpoint","description":"Start an asynchronous video background-removal job. Auth via ``X-API-Key``.\n\nSend an ``Idempotency-Key`` header to make retries safe: repeating the request\nwith the same key returns the original job instead of creating (and charging\nfor) another one.","operationId":"remove_video_bg_endpoint_api_v1_remove_video_bg_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_remove_video_bg_endpoint_api_v1_remove_video_bg_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/remove-video-bg/{job_id}":{"get":{"tags":["background-removal"],"summary":"Video Job Status","description":"Poll a video job (alias of ``GET /jobs/{job_id}``).","operationId":"video_job_status_api_v1_remove_video_bg__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStatusOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/uploads":{"get":{"tags":["uploads"],"summary":"List Uploads","description":"Recently uploaded source files (retained for retries, then cleaned up).","operationId":"list_uploads_api_v1_uploads_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Uploads Api V1 Uploads Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/uploads/remove-image-bg":{"post":{"tags":["uploads"],"summary":"Dashboard Remove Bg","operationId":"dashboard_remove_bg_api_v1_uploads_remove_image_bg_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_dashboard_remove_bg_api_v1_uploads_remove_image_bg_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/uploads/remove-video-bg":{"post":{"tags":["uploads"],"summary":"Dashboard Remove Video Bg","description":"Start an async video background-removal job from the dashboard (JWT auth).","operationId":"dashboard_remove_video_bg_api_v1_uploads_remove_video_bg_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_dashboard_remove_video_bg_api_v1_uploads_remove_video_bg_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jobs":{"get":{"tags":["jobs"],"summary":"List Jobs","operationId":"list_jobs_api_v1_jobs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"job_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Type"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Jobs Api V1 Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jobs/{job_id}":{"get":{"tags":["jobs"],"summary":"Get Job","operationId":"get_job_api_v1_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStatusOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jobs/{job_id}/cancel":{"post":{"tags":["jobs"],"summary":"Cancel Job","description":"Cancel a queued or processing job. Reserved video credits are refunded.","operationId":"cancel_job_api_v1_jobs__job_id__cancel_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStatusOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/usage":{"get":{"tags":["usage"],"summary":"Get Usage","operationId":"get_usage_api_v1_usage_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/credits/wallet":{"get":{"tags":["credits"],"summary":"Get Wallet","operationId":"get_wallet_api_v1_credits_wallet_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/credits/transactions":{"get":{"tags":["credits"],"summary":"List Transactions","operationId":"list_transactions_api_v1_credits_transactions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreditTransactionOut"},"title":"Response List Transactions Api V1 Credits Transactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/summary":{"get":{"tags":["billing"],"summary":"Billing Summary","operationId":"billing_summary_api_v1_billing_summary_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Billing Summary Api V1 Billing Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/plans":{"get":{"tags":["billing"],"summary":"Billing Plans","operationId":"billing_plans_api_v1_billing_plans_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Billing Plans Api V1 Billing Plans Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/change-plan":{"post":{"tags":["billing"],"summary":"Change Plan","operationId":"change_plan_api_v1_billing_change_plan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Plan Api V1 Billing Change Plan Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/credit-packages":{"get":{"tags":["billing"],"summary":"Credit Packages","operationId":"credit_packages_api_v1_billing_credit_packages_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Credit Packages Api V1 Billing Credit Packages Get"}}}}}}},"/api/v1/billing/purchase-credits":{"post":{"tags":["billing"],"summary":"Purchase Credits","operationId":"purchase_credits_api_v1_billing_purchase_credits_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Purchase Credits Api V1 Billing Purchase Credits Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/sync":{"post":{"tags":["billing"],"summary":"Sync Payment","description":"Confirm a just-completed checkout with the payment provider and apply it now,\nwithout waiting for the webhook. Safe to call repeatedly.","operationId":"sync_payment_api_v1_billing_sync_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sync Payment Api V1 Billing Sync Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/config":{"get":{"tags":["billing"],"summary":"Checkout Config","description":"Public checkout settings for the browser (e.g. Paddle client token + environment).","operationId":"checkout_config_api_v1_billing_config_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Checkout Config Api V1 Billing Config Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/subscription/cancel":{"post":{"tags":["billing"],"summary":"Cancel Subscription","description":"Cancel at the end of the current billing period (the plan stays until then).","operationId":"cancel_subscription_api_v1_billing_subscription_cancel_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cancel Subscription Api V1 Billing Subscription Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/subscription/resume":{"post":{"tags":["billing"],"summary":"Resume Subscription","description":"Undo a scheduled cancellation.","operationId":"resume_subscription_api_v1_billing_subscription_resume_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resume Subscription Api V1 Billing Subscription Resume Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/portal":{"post":{"tags":["billing"],"summary":"Billing Portal","description":"A short-lived link to the provider's customer portal (payment method, invoices).","operationId":"billing_portal_api_v1_billing_portal_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Billing Portal Api V1 Billing Portal Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/invoices/{transaction_id}/pdf":{"get":{"tags":["billing"],"summary":"Invoice Pdf","operationId":"invoice_pdf_api_v1_billing_invoices__transaction_id__pdf_get","parameters":[{"name":"transaction_id","in":"path","required":true,"schema":{"type":"string","title":"Transaction Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Invoice Pdf Api V1 Billing Invoices  Transaction Id  Pdf Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/invoices":{"get":{"tags":["billing"],"summary":"Invoices","operationId":"invoices_api_v1_billing_invoices_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Invoices Api V1 Billing Invoices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/events":{"get":{"tags":["webhooks"],"summary":"Supported Events","operationId":"supported_events_api_v1_webhooks_events_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Supported Events Api V1 Webhooks Events Get"}}}}}}},"/api/v1/webhooks/signing-secret":{"get":{"tags":["webhooks"],"summary":"Get Signing Secret","description":"Secret that signs deliveries to per-request ``webhook_url`` parameters.","operationId":"get_signing_secret_api_v1_webhooks_signing_secret_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Signing Secret Api V1 Webhooks Signing Secret Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/signing-secret/rotate":{"post":{"tags":["webhooks"],"summary":"Rotate Signing Secret","operationId":"rotate_signing_secret_api_v1_webhooks_signing_secret_rotate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Rotate Signing Secret Api V1 Webhooks Signing Secret Rotate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/adhoc-deliveries":{"get":{"tags":["webhooks"],"summary":"List Adhoc Deliveries","description":"Recent deliveries to per-request ``webhook_url``s.","operationId":"list_adhoc_deliveries_api_v1_webhooks_adhoc_deliveries_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEventOut"},"title":"Response List Adhoc Deliveries Api V1 Webhooks Adhoc Deliveries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks":{"post":{"tags":["webhooks"],"summary":"Create Webhook","operationId":"create_webhook_api_v1_webhooks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreatedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["webhooks"],"summary":"List Webhooks","operationId":"list_webhooks_api_v1_webhooks_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WebhookOut"},"title":"Response List Webhooks Api V1 Webhooks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/{webhook_id}/toggle":{"post":{"tags":["webhooks"],"summary":"Toggle Webhook","operationId":"toggle_webhook_api_v1_webhooks__webhook_id__toggle_post","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/{webhook_id}/test":{"post":{"tags":["webhooks"],"summary":"Test Webhook","operationId":"test_webhook_api_v1_webhooks__webhook_id__test_post","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Test Webhook Api V1 Webhooks  Webhook Id  Test Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/{webhook_id}":{"delete":{"tags":["webhooks"],"summary":"Delete Webhook","operationId":"delete_webhook_api_v1_webhooks__webhook_id__delete","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Webhook Api V1 Webhooks  Webhook Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/{webhook_id}/deliveries":{"get":{"tags":["webhooks"],"summary":"List Deliveries","operationId":"list_deliveries_api_v1_webhooks__webhook_id__deliveries_get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEventOut"},"title":"Response List Deliveries Api V1 Webhooks  Webhook Id  Deliveries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/stats":{"get":{"tags":["admin"],"summary":"System Stats","operationId":"system_stats_api_v1_admin_stats_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response System Stats Api V1 Admin Stats Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users":{"get":{"tags":["admin"],"summary":"List Users","operationId":"list_users_api_v1_admin_users_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Users Api V1 Admin Users Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tenants":{"get":{"tags":["admin"],"summary":"List Tenants","operationId":"list_tenants_api_v1_admin_tenants_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Tenants Api V1 Admin Tenants Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/jobs":{"get":{"tags":["admin"],"summary":"List All Jobs","operationId":"list_all_jobs_api_v1_admin_jobs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"job_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Type"}},{"name":"tenant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List All Jobs Api V1 Admin Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/jobs/{job_id}/retry":{"post":{"tags":["admin"],"summary":"Retry Job","description":"Re-run a failed/cancelled job from its retained source (charges credits again).","operationId":"retry_job_api_v1_admin_jobs__job_id__retry_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStatusOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/jobs/{job_id}/cancel":{"post":{"tags":["admin"],"summary":"Cancel Job","operationId":"cancel_job_api_v1_admin_jobs__job_id__cancel_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStatusOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tenants/{tenant_id}/credits":{"post":{"tags":["admin"],"summary":"Adjust Credits","operationId":"adjust_credits_api_v1_admin_tenants__tenant_id__credits_post","parameters":[{"name":"tenant_id","in":"path","required":true,"schema":{"type":"string","title":"Tenant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditAdjustRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Adjust Credits Api V1 Admin Tenants  Tenant Id  Credits Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tenants/{tenant_id}/plan":{"post":{"tags":["admin"],"summary":"Assign Plan","description":"Put a workspace on any active plan, including contract plans such as Enterprise.\nNo payment is taken; credits follow the normal billing cycle.","operationId":"assign_plan_api_v1_admin_tenants__tenant_id__plan_post","parameters":[{"name":"tenant_id","in":"path","required":true,"schema":{"type":"string","title":"Tenant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignPlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Assign Plan Api V1 Admin Tenants  Tenant Id  Plan Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tenants/{tenant_id}/suspend":{"post":{"tags":["admin"],"summary":"Toggle Suspend","operationId":"toggle_suspend_api_v1_admin_tenants__tenant_id__suspend_post","parameters":[{"name":"tenant_id","in":"path","required":true,"schema":{"type":"string","title":"Tenant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Toggle Suspend Api V1 Admin Tenants  Tenant Id  Suspend Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/plans":{"get":{"tags":["admin"],"summary":"List Plans","operationId":"list_plans_api_v1_admin_plans_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Plans Api V1 Admin Plans Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/plans/{slug}":{"patch":{"tags":["admin"],"summary":"Update Plan","operationId":"update_plan_api_v1_admin_plans__slug__patch","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Plan Api V1 Admin Plans  Slug  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/api-keys":{"get":{"tags":["admin"],"summary":"List Api Keys","description":"Every API key across tenants. Hashes and secrets are never returned.","operationId":"list_api_keys_api_v1_admin_api_keys_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Api Keys Api V1 Admin Api Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/usage":{"get":{"tags":["admin"],"summary":"Usage Overview","description":"Platform-wide API calls, errors and credits per day, plus top tenants.","operationId":"usage_overview_api_v1_admin_usage_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Usage Overview Api V1 Admin Usage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/storage":{"get":{"tags":["admin"],"summary":"Storage Usage","description":"Bytes held in storage: live results and retained uploads, overall and by tenant.","operationId":"storage_usage_api_v1_admin_storage_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Storage Usage Api V1 Admin Storage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/logs":{"get":{"tags":["admin"],"summary":"System Logs","description":"Recent failed API requests (from usage logs) with their error codes.","operationId":"system_logs_api_v1_admin_logs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"error_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response System Logs Api V1 Admin Logs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/models":{"get":{"tags":["admin"],"summary":"Model Performance","description":"Success rate and latency per processing engine (model/provider).","operationId":"model_performance_api_v1_admin_models_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Model Performance Api V1 Admin Models Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/queue":{"get":{"tags":["admin"],"summary":"Queue Health","description":"Worker/queue health: broker mode, queue depth, active and stuck jobs.","operationId":"queue_health_api_v1_admin_queue_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Queue Health Api V1 Admin Queue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/monitoring":{"get":{"tags":["admin"],"summary":"Monitoring","description":"Jobs (success rate, p50/p95 duration), credits reserved/charged/refunded, batches,\nworkflow runs, publishing, quality review rate and provider health.","operationId":"monitoring_api_v1_admin_monitoring_get","parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","default":24,"title":"Hours"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Monitoring Api V1 Admin Monitoring Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/audit":{"get":{"tags":["admin"],"summary":"Audit Log","operationId":"audit_log_api_v1_admin_audit_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Audit Log Api V1 Admin Audit Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/feature-flags":{"get":{"tags":["admin"],"summary":"List Feature Flags","operationId":"list_feature_flags_api_v1_admin_feature_flags_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Feature Flags Api V1 Admin Feature Flags Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/feature-flags/{name}":{"put":{"tags":["admin"],"summary":"Update Feature Flag","operationId":"update_feature_flag_api_v1_admin_feature_flags__name__put","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureFlagUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Feature Flag Api V1 Admin Feature Flags  Name  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin"],"summary":"Reset Feature Flag","operationId":"reset_feature_flag_api_v1_admin_feature_flags__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reset Feature Flag Api V1 Admin Feature Flags  Name  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/providers":{"get":{"tags":["admin"],"summary":"List Providers","description":"Provider registry with license status and live health (this API process).","operationId":"list_providers_api_v1_admin_providers_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Providers Api V1 Admin Providers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/providers/{adapter_key}":{"patch":{"tags":["admin"],"summary":"Update Provider","operationId":"update_provider_api_v1_admin_providers__adapter_key__patch","parameters":[{"name":"adapter_key","in":"path","required":true,"schema":{"type":"string","title":"Adapter Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Provider Api V1 Admin Providers  Adapter Key  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/price-rules":{"get":{"tags":["admin"],"summary":"List Price Rules","operationId":"list_price_rules_api_v1_admin_price_rules_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Price Rules Api V1 Admin Price Rules Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin"],"summary":"Create Price Rule","description":"Add a new rate version. The previous active rule for the same scope is retired\n(kept for audit), so quotes stay explainable.","operationId":"create_price_rule_api_v1_admin_price_rules_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceRuleCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Price Rule Api V1 Admin Price Rules Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/price-rules/{rule_id}/retire":{"post":{"tags":["admin"],"summary":"Retire Price Rule","operationId":"retire_price_rule_api_v1_admin_price_rules__rule_id__retire_post","parameters":[{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","title":"Rule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Retire Price Rule Api V1 Admin Price Rules  Rule Id  Retire Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/reservations":{"get":{"tags":["admin"],"summary":"Credit Reservations","description":"Credits reserved / settled / released, and reservations still open.","operationId":"credit_reservations_api_v1_admin_reservations_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Credit Reservations Api V1 Admin Reservations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/docs/examples":{"get":{"tags":["docs"],"summary":"List Examples","description":"Code samples (cURL, Python, Node.js, PHP/Laravel), optionally for one endpoint.","operationId":"list_examples_api_v1_docs_examples_get","parameters":[{"name":"endpoint","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Examples Api V1 Docs Examples Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/estimates":{"post":{"tags":["estimates"],"summary":"Create Estimate","operationId":"create_estimate_api_v1_estimates_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EstimateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Estimate Api V1 Estimates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/features":{"get":{"tags":["features"],"summary":"List Features","operationId":"list_features_api_v1_features_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Features Api V1 Features Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/projects":{"get":{"tags":["studio"],"summary":"List Projects","operationId":"list_projects_api_v1_projects_get","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Projects Api V1 Projects Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["studio"],"summary":"Create Project","operationId":"create_project_api_v1_projects_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Project Api V1 Projects Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/projects/{project_id}":{"get":{"tags":["studio"],"summary":"Get Project","operationId":"get_project_api_v1_projects__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Project Api V1 Projects  Project Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["studio"],"summary":"Update Project","operationId":"update_project_api_v1_projects__project_id__patch","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Project Api V1 Projects  Project Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["studio"],"summary":"Delete Project","operationId":"delete_project_api_v1_projects__project_id__delete","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Project Api V1 Projects  Project Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/assets":{"get":{"tags":["studio"],"summary":"List Assets","description":"Asset families: each source (or uploaded background) with its latest rendition.","operationId":"list_assets_api_v1_assets_get","parameters":[{"name":"project_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(source|background)$","default":"source","title":"Kind"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":24,"title":"Page Size"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Assets Api V1 Assets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["studio"],"summary":"Upload Background","description":"Upload a background image for compositions (stored as its own asset).","operationId":"upload_background_api_v1_assets_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_background_api_v1_assets_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Upload Background Api V1 Assets Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/assets/{asset_id}":{"get":{"tags":["studio"],"summary":"Get Asset","operationId":"get_asset_api_v1_assets__asset_id__get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Asset Api V1 Assets  Asset Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["studio"],"summary":"Update Asset","operationId":"update_asset_api_v1_assets__asset_id__patch","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Asset Api V1 Assets  Asset Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["studio"],"summary":"Delete Asset","operationId":"delete_asset_api_v1_assets__asset_id__delete","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"family","in":"query","required":false,"schema":{"type":"boolean","description":"Delete every version of this asset","default":false,"title":"Family"},"description":"Delete every version of this asset"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Asset Api V1 Assets  Asset Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/assets/{asset_id}/versions":{"get":{"tags":["studio"],"summary":"List Versions","operationId":"list_versions_api_v1_assets__asset_id__versions_get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Versions Api V1 Assets  Asset Id  Versions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/assets/{asset_id}/download":{"get":{"tags":["studio"],"summary":"Download Asset","description":"Stream the file through the API (works for every storage driver, always authorized).","operationId":"download_asset_api_v1_assets__asset_id__download_get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/assets/bulk-delete":{"post":{"tags":["studio"],"summary":"Bulk Delete Assets","description":"Delete whole asset families (every version). Files are removed by the hourly purge.\nIds that don't exist, belong to another workspace or are already deleted are skipped.","operationId":"bulk_delete_assets_api_v1_assets_bulk_delete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Bulk Delete Assets Api V1 Assets Bulk Delete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/assets/{asset_id}/matte":{"post":{"tags":["studio"],"summary":"Save Mask Edit","description":"Save a matte painted in the mask editor as a new version (free).","operationId":"save_mask_edit_api_v1_assets__asset_id__matte_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_save_mask_edit_api_v1_assets__asset_id__matte_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Save Mask Edit Api V1 Assets  Asset Id  Matte Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/assets/{asset_id}/refine":{"post":{"tags":["studio"],"summary":"Refine Edges","description":"Automatic edge clean-up on the latest matte: grow/shrink, feather, hardness,\ncolour decontamination. Produces a new matte version + transparent rendition (free).","operationId":"refine_edges_api_v1_assets__asset_id__refine_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefineRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Refine Edges Api V1 Assets  Asset Id  Refine Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/compositions":{"post":{"tags":["studio"],"summary":"Create Composition","operationId":"create_composition_api_v1_compositions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompositionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Composition Api V1 Compositions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quality/summary":{"get":{"tags":["studio"],"summary":"Quality Summary","description":"Pass / review / fail over time, the most-flagged checks, and the review queue\n(flagged outputs that no one has approved or rejected yet).","operationId":"quality_summary_api_v1_quality_summary_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Quality Summary Api V1 Quality Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quality/{job_id}":{"get":{"tags":["studio"],"summary":"Quality For Job","description":"Reports for a job (``job_…``) or an asset version id.","operationId":"quality_for_job_api_v1_quality__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Quality For Job Api V1 Quality  Job Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quality/assets/{asset_id}/run":{"post":{"tags":["studio"],"summary":"Rerun Quality","description":"Re-run the checks on a matte version (free).","operationId":"rerun_quality_api_v1_quality_assets__asset_id__run_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Rerun Quality Api V1 Quality Assets  Asset Id  Run Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/preview":{"post":{"tags":["public"],"summary":"Anonymous Preview","description":"Low-resolution background-removal preview for visitors (no account needed).","operationId":"anonymous_preview_api_v1_public_preview_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_anonymous_preview_api_v1_public_preview_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/batches":{"post":{"tags":["batches"],"summary":"Create Batch","operationId":"create_batch_api_v1_batches_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_batch_api_v1_batches_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["batches"],"summary":"List Batches","operationId":"list_batches_api_v1_batches_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"operation","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Batches Api V1 Batches Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/batches/{batch_id}":{"get":{"tags":["batches"],"summary":"Get Batch","operationId":"get_batch_api_v1_batches__batch_id__get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Batch Api V1 Batches  Batch Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/batches/{batch_id}/cancel":{"post":{"tags":["batches"],"summary":"Cancel Batch","operationId":"cancel_batch_api_v1_batches__batch_id__cancel_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cancel Batch Api V1 Batches  Batch Id  Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/batches/{batch_id}/retry":{"post":{"tags":["batches"],"summary":"Retry Batch","operationId":"retry_batch_api_v1_batches__batch_id__retry_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Retry Batch Api V1 Batches  Batch Id  Retry Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/batches/{batch_id}/export":{"post":{"tags":["batches"],"summary":"Export Batch","description":"Bundle the outputs + manifest into a ZIP (built asynchronously).","operationId":"export_batch_api_v1_batches__batch_id__export_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Export Batch Api V1 Batches  Batch Id  Export Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/batches/{batch_id}/export/download":{"get":{"tags":["batches"],"summary":"Download Export","operationId":"download_export_api_v1_batches__batch_id__export_download_get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/batches/{batch_id}/manifest":{"get":{"tags":["batches"],"summary":"Batch Manifest","description":"Map every output back to its input, variant and channel (JSON or CSV).","operationId":"batch_manifest_api_v1_batches__batch_id__manifest_get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(json|csv)$","default":"json","title":"Format"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/studio/product/jobs":{"post":{"tags":["studio"],"summary":"Create Product Job","operationId":"create_product_job_api_v1_studio_product_jobs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductJobRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/studio/variants":{"post":{"tags":["studio"],"summary":"Create Variants","operationId":"create_variants_api_v1_studio_variants_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariantsRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/templates":{"get":{"tags":["studio"],"summary":"List Templates","operationId":"list_templates_api_v1_templates_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(export_preset|scene|variant_set)$"},{"type":"null"}],"title":"Category"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Templates Api V1 Templates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/templates/{slug}":{"get":{"tags":["studio"],"summary":"Get Template","operationId":"get_template_api_v1_templates__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Template Api V1 Templates  Slug  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["studio"],"summary":"Save Template","operationId":"save_template_api_v1_templates__slug__put","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateSave"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Save Template Api V1 Templates  Slug  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["studio"],"summary":"Reset Template","description":"Retire the workspace's versions; the system template (if any) applies again.","operationId":"reset_template_api_v1_templates__slug__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reset Template Api V1 Templates  Slug  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/enhance/operations":{"get":{"tags":["studio"],"summary":"Enhance Operations","operationId":"enhance_operations_api_v1_images_enhance_operations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Enhance Operations Api V1 Images Enhance Operations Get"}}}}}}},"/api/v1/images/enhance":{"post":{"tags":["studio"],"summary":"Enhance","operationId":"enhance_api_v1_images_enhance_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnhanceRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Enhance Api V1 Images Enhance Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/inpaint":{"post":{"tags":["studio"],"summary":"Inpaint","operationId":"inpaint_api_v1_images_inpaint_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InpaintRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/approvals/{asset_id}":{"post":{"tags":["studio"],"summary":"Review Asset","operationId":"review_asset_api_v1_approvals__asset_id__post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"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 Asset Api V1 Approvals  Asset Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["studio"],"summary":"Approval History","operationId":"approval_history_api_v1_approvals__asset_id__get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Approval History Api V1 Approvals  Asset Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/studio/video/presets":{"get":{"tags":["video-studio"],"summary":"Presets","operationId":"presets_api_v1_studio_video_presets_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Presets Api V1 Studio Video Presets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/studio/video/jobs":{"post":{"tags":["video-studio"],"summary":"Create Job","operationId":"create_job_api_v1_studio_video_jobs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_job_api_v1_studio_video_jobs_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["video-studio"],"summary":"List Jobs","operationId":"list_jobs_api_v1_studio_video_jobs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Jobs Api V1 Studio Video Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/studio/video/jobs/{job_id}":{"get":{"tags":["video-studio"],"summary":"Get Job","operationId":"get_job_api_v1_studio_video_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Job Api V1 Studio Video Jobs  Job Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/studio/video/jobs/{job_id}/cancel":{"post":{"tags":["video-studio"],"summary":"Cancel","operationId":"cancel_api_v1_studio_video_jobs__job_id__cancel_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cancel Api V1 Studio Video Jobs  Job Id  Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/studio/video/jobs/{job_id}/retry":{"post":{"tags":["video-studio"],"summary":"Retry","description":"Re-run a failed or cancelled render. If matting already finished before the\nfailure, the saved alpha master is reused instead of matting again. The original\nquote is reserved again (the failure refunded it) and settled once.","operationId":"retry_api_v1_studio_video_jobs__job_id__retry_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Retry Api V1 Studio Video Jobs  Job Id  Retry Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/backgrounds/options":{"get":{"tags":["ai-generation"],"summary":"Options","operationId":"options_api_v1_backgrounds_options_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Options Api V1 Backgrounds Options Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/backgrounds/generate":{"post":{"tags":["ai-generation"],"summary":"Generate","operationId":"generate_api_v1_backgrounds_generate_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/backgrounds/jobs/{job_id}":{"get":{"tags":["ai-generation"],"summary":"Get Job","description":"Job status plus the generated background assets once complete.","operationId":"get_job_api_v1_backgrounds_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Job Api V1 Backgrounds Jobs  Job Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integrations":{"get":{"tags":["integrations"],"summary":"List Connections","operationId":"list_connections_api_v1_integrations_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Connections Api V1 Integrations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integrations/shopify/connect":{"post":{"tags":["integrations"],"summary":"Shopify Connect","description":"Start OAuth: returns Shopify's authorization URL to redirect the browser to.","operationId":"shopify_connect_api_v1_integrations_shopify_connect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Shopify Connect Api V1 Integrations Shopify Connect Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integrations/shopify/token":{"post":{"tags":["integrations"],"summary":"Shopify Token","description":"Connect with an Admin API access token from an existing custom app.","operationId":"shopify_token_api_v1_integrations_shopify_token_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenConnectRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Shopify Token Api V1 Integrations Shopify Token Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integrations/{connection_id}":{"delete":{"tags":["integrations"],"summary":"Disconnect","operationId":"disconnect_api_v1_integrations__connection_id__delete","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Disconnect Api V1 Integrations  Connection Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integrations/{connection_id}/products":{"get":{"tags":["integrations"],"summary":"Products","operationId":"products_api_v1_integrations__connection_id__products_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Products Api V1 Integrations  Connection Id  Products Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integrations/{connection_id}/import":{"post":{"tags":["integrations"],"summary":"Import Image","operationId":"import_image_api_v1_integrations__connection_id__import_post","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Import Image Api V1 Integrations  Connection Id  Import Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integrations/{connection_id}/publish":{"post":{"tags":["integrations"],"summary":"Publish","operationId":"publish_api_v1_integrations__connection_id__publish_post","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Publish Api V1 Integrations  Connection Id  Publish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integrations/{connection_id}/publishing":{"get":{"tags":["integrations"],"summary":"Publishing History","operationId":"publishing_history_api_v1_integrations__connection_id__publishing_get","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Publishing History Api V1 Integrations  Connection Id  Publishing Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/step-types":{"get":{"tags":["workflows"],"summary":"Step Types","operationId":"step_types_api_v1_workflows_step_types_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Step Types Api V1 Workflows Step Types Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/templates":{"get":{"tags":["workflows"],"summary":"Templates","description":"Templates, each marked with whether this deployment and workspace can run it.","operationId":"templates_api_v1_workflows_templates_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Templates Api V1 Workflows Templates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows":{"get":{"tags":["workflows"],"summary":"List Workflows","operationId":"list_workflows_api_v1_workflows_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Workflows Api V1 Workflows Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["workflows"],"summary":"Create Workflow","operationId":"create_workflow_api_v1_workflows_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Workflow Api V1 Workflows Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_id}":{"get":{"tags":["workflows"],"summary":"Get Workflow","operationId":"get_workflow_api_v1_workflows__workflow_id__get","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Workflow Api V1 Workflows  Workflow Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["workflows"],"summary":"Update Workflow","operationId":"update_workflow_api_v1_workflows__workflow_id__put","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Workflow Api V1 Workflows  Workflow Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["workflows"],"summary":"Archive Workflow","operationId":"archive_workflow_api_v1_workflows__workflow_id__delete","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Archive Workflow Api V1 Workflows  Workflow Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_id}/runs":{"post":{"tags":["workflows"],"summary":"Start Run","operationId":"start_run_api_v1_workflows__workflow_id__runs_post","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["workflows"],"summary":"Workflow Runs","operationId":"workflow_runs_api_v1_workflows__workflow_id__runs_get","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Workflow Runs Api V1 Workflows  Workflow Id  Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflows/{workflow_id}/runs/files":{"post":{"tags":["workflows"],"summary":"Start Run With Files","operationId":"start_run_with_files_api_v1_workflows__workflow_id__runs_files_post","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_start_run_with_files_api_v1_workflows__workflow_id__runs_files_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflow-runs":{"get":{"tags":["workflows"],"summary":"All Runs","operationId":"all_runs_api_v1_workflow_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response All Runs Api V1 Workflow Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflow-runs/{run_id}":{"get":{"tags":["workflows"],"summary":"Get Run","operationId":"get_run_api_v1_workflow_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Run Api V1 Workflow Runs  Run Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflow-runs/{run_id}/cancel":{"post":{"tags":["workflows"],"summary":"Cancel Run","operationId":"cancel_run_api_v1_workflow_runs__run_id__cancel_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cancel Run Api V1 Workflow Runs  Run Id  Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflow-runs/{run_id}/items/{item_id}/review":{"post":{"tags":["workflows"],"summary":"Review Item","operationId":"review_item_api_v1_workflow_runs__run_id__items__item_id__review_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Review Item Api V1 Workflow Runs  Run Id  Items  Item Id  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/workflow-runs/{run_id}/manifest":{"get":{"tags":["workflows"],"summary":"Manifest","operationId":"manifest_api_v1_workflow_runs__run_id__manifest_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"json","title":"Format"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/assets/{asset_id}/comments":{"get":{"tags":["collaboration"],"summary":"List Comments","operationId":"list_comments_api_v1_assets__asset_id__comments_get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Comments Api V1 Assets  Asset Id  Comments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["collaboration"],"summary":"Add Comment","operationId":"add_comment_api_v1_assets__asset_id__comments_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Add Comment Api V1 Assets  Asset Id  Comments Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/review-links":{"get":{"tags":["collaboration"],"summary":"List Review Links","operationId":"list_review_links_api_v1_review_links_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Review Links Api V1 Review Links Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["collaboration"],"summary":"Create Review Link","operationId":"create_review_link_api_v1_review_links_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLinkIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Review Link Api V1 Review Links Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/review-links/{link_id}":{"delete":{"tags":["collaboration"],"summary":"Revoke Review Link","operationId":"revoke_review_link_api_v1_review_links__link_id__delete","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Review Link Api V1 Review Links  Link Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/brand-kits":{"get":{"tags":["collaboration"],"summary":"List Brand Kits","operationId":"list_brand_kits_api_v1_brand_kits_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Brand Kits Api V1 Brand Kits Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["collaboration"],"summary":"Create Brand Kit","operationId":"create_brand_kit_api_v1_brand_kits_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandKitIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Brand Kit Api V1 Brand Kits Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/brand-kits/{kit_id}":{"get":{"tags":["collaboration"],"summary":"Get Brand Kit","operationId":"get_brand_kit_api_v1_brand_kits__kit_id__get","parameters":[{"name":"kit_id","in":"path","required":true,"schema":{"type":"string","title":"Kit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Brand Kit Api V1 Brand Kits  Kit Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["collaboration"],"summary":"Update Brand Kit","operationId":"update_brand_kit_api_v1_brand_kits__kit_id__patch","parameters":[{"name":"kit_id","in":"path","required":true,"schema":{"type":"string","title":"Kit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandKitIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Brand Kit Api V1 Brand Kits  Kit Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["collaboration"],"summary":"Delete Brand Kit","operationId":"delete_brand_kit_api_v1_brand_kits__kit_id__delete","parameters":[{"name":"kit_id","in":"path","required":true,"schema":{"type":"string","title":"Kit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Brand Kit Api V1 Brand Kits  Kit Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/brand-kits/{kit_id}/apply":{"post":{"tags":["collaboration"],"summary":"Apply Brand","description":"Watermark / logo one output as a new rendition (``image_brand`` rate).","operationId":"apply_brand_api_v1_brand_kits__kit_id__apply_post","parameters":[{"name":"kit_id","in":"path","required":true,"schema":{"type":"string","title":"Kit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyBrandIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Apply Brand Api V1 Brand Kits  Kit Id  Apply Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/reviews/{token}":{"get":{"tags":["public"],"summary":"View Review","operationId":"view_review_api_v1_public_reviews__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response View Review Api V1 Public Reviews  Token  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/reviews/{token}/comments":{"post":{"tags":["public"],"summary":"Public Comment","operationId":"public_comment_api_v1_public_reviews__token__comments_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicCommentIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Public Comment Api V1 Public Reviews  Token  Comments Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/reviews/{token}/decisions":{"post":{"tags":["public"],"summary":"Public Decision","operationId":"public_decision_api_v1_public_reviews__token__decisions_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicDecisionIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Public Decision Api V1 Public Reviews  Token  Decisions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/entitlements":{"get":{"tags":["operations"],"summary":"My Entitlements","operationId":"my_entitlements_api_v1_entitlements_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response My Entitlements Api V1 Entitlements Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me/export":{"get":{"tags":["operations"],"summary":"Export My Data","operationId":"export_my_data_api_v1_me_export_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me/delete":{"post":{"tags":["operations"],"summary":"Delete My Account","operationId":"delete_my_account_api_v1_me_delete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccountIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete My Account Api V1 Me Delete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/status":{"get":{"tags":["operations"],"summary":"Status","operationId":"status_api_v1_public_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Status Api V1 Public Status Get"}}}}}}},"/api/v1/admin/tenants/{tenant_id}/entitlements":{"get":{"tags":["admin"],"summary":"Tenant Entitlements","operationId":"tenant_entitlements_api_v1_admin_tenants__tenant_id__entitlements_get","parameters":[{"name":"tenant_id","in":"path","required":true,"schema":{"type":"string","title":"Tenant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Tenant Entitlements Api V1 Admin Tenants  Tenant Id  Entitlements Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tenants/{tenant_id}/entitlements/{key}":{"put":{"tags":["admin"],"summary":"Set Entitlement","operationId":"set_entitlement_api_v1_admin_tenants__tenant_id__entitlements__key__put","parameters":[{"name":"tenant_id","in":"path","required":true,"schema":{"type":"string","title":"Tenant Id"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Set Entitlement Api V1 Admin Tenants  Tenant Id  Entitlements  Key  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin"],"summary":"Clear Entitlement","operationId":"clear_entitlement_api_v1_admin_tenants__tenant_id__entitlements__key__delete","parameters":[{"name":"tenant_id","in":"path","required":true,"schema":{"type":"string","title":"Tenant Id"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Clear Entitlement Api V1 Admin Tenants  Tenant Id  Entitlements  Key  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/costs":{"get":{"tags":["admin"],"summary":"Costs","operationId":"costs_api_v1_admin_costs_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Costs Api V1 Admin Costs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/reconciliation":{"get":{"tags":["admin"],"summary":"Reconciliation","operationId":"reconciliation_api_v1_admin_reconciliation_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reconciliation Api V1 Admin Reconciliation Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/reconciliation/fix":{"post":{"tags":["admin"],"summary":"Reconciliation Fix","operationId":"reconciliation_fix_api_v1_admin_reconciliation_fix_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reconciliation Fix Api V1 Admin Reconciliation Fix Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/access-audit":{"get":{"tags":["admin"],"summary":"Access Audit","operationId":"access_audit_api_v1_admin_access_audit_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Access Audit Api V1 Admin Access Audit Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/readiness":{"get":{"tags":["admin"],"summary":"Readiness","operationId":"readiness_api_v1_admin_readiness_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Readiness Api V1 Admin Readiness Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/incidents":{"get":{"tags":["admin"],"summary":"List Incidents","operationId":"list_incidents_api_v1_admin_incidents_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Incidents Api V1 Admin Incidents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin"],"summary":"Open Incident","operationId":"open_incident_api_v1_admin_incidents_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Open Incident Api V1 Admin Incidents Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/incidents/{incident_id}/updates":{"post":{"tags":["admin"],"summary":"Update Incident","operationId":"update_incident_api_v1_admin_incidents__incident_id__updates_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","title":"Incident Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Incident Api V1 Admin Incidents  Incident Id  Updates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/incidents/{incident_id}":{"patch":{"tags":["admin"],"summary":"Incident Postmortem","operationId":"incident_postmortem_api_v1_admin_incidents__incident_id__patch","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","title":"Incident Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostmortemIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Incident Postmortem Api V1 Admin Incidents  Incident Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Root  Get"}}}}}}}},"components":{"schemas":{"AIConfigUpdate":{"properties":{"feature_key":{"type":"string","title":"Feature Key"},"model_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Model Id"},"fallback_model_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Fallback Model Id"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"timeout_seconds":{"anyOf":[{"type":"integer","maximum":300.0,"minimum":5.0},{"type":"null"}],"title":"Timeout Seconds"},"max_retries":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":0.0},{"type":"null"}],"title":"Max Retries"},"max_output_tokens":{"anyOf":[{"type":"integer","maximum":16000.0,"minimum":64.0},{"type":"null"}],"title":"Max Output Tokens"},"credits_per_request":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Credits Per Request"},"clear":{"items":{"type":"string"},"type":"array","title":"Clear"}},"type":"object","required":["feature_key"],"title":"AIConfigUpdate"},"APIKeyCreatedOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"mode":{"type":"string","title":"Mode"},"status":{"type":"string","title":"Status"},"allowed_domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Domains"},"allowed_ips":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Ips"},"rate_limit_per_minute":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rate Limit Per Minute"},"monthly_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Limit"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"key":{"type":"string","title":"Key"}},"type":"object","required":["id","name","key_prefix","mode","status","created_at","key"],"title":"APIKeyCreatedOut"},"APIKeyOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"mode":{"type":"string","title":"Mode"},"status":{"type":"string","title":"Status"},"allowed_domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Domains"},"allowed_ips":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Ips"},"rate_limit_per_minute":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rate Limit Per Minute"},"monthly_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Limit"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"type":"object","required":["id","name","key_prefix","mode","status","created_at"],"title":"APIKeyOut"},"APIKeyWithUsageOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"mode":{"type":"string","title":"Mode"},"status":{"type":"string","title":"Status"},"allowed_domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Domains"},"allowed_ips":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Ips"},"rate_limit_per_minute":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rate Limit Per Minute"},"monthly_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Limit"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"calls_this_month":{"type":"integer","title":"Calls This Month","default":0},"credits_this_month":{"type":"number","title":"Credits This Month","default":0.0}},"type":"object","required":["id","name","key_prefix","mode","status","created_at"],"title":"APIKeyWithUsageOut"},"AddMemberRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"role":{"type":"string","enum":["admin","member","reviewer","viewer"],"title":"Role","default":"member"}},"type":"object","required":["email"],"title":"AddMemberRequest"},"ApplyBrandIn":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"mark":{"type":"string","pattern":"^(watermark|logo)$","title":"Mark","default":"watermark"},"max_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Credits"}},"type":"object","required":["asset_id"],"title":"ApplyBrandIn"},"AssetUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},"type":"object","title":"AssetUpdate"},"AssignPlanRequest":{"properties":{"plan_slug":{"type":"string","maxLength":64,"minLength":1,"title":"Plan Slug"}},"type":"object","required":["plan_slug"],"title":"AssignPlanRequest"},"Body_anonymous_preview_api_v1_public_preview_post":{"properties":{"image_file":{"type":"string","contentMediaType":"application/octet-stream","title":"Image File"}},"type":"object","required":["image_file"],"title":"Body_anonymous_preview_api_v1_public_preview_post"},"Body_create_batch_api_v1_batches_post":{"properties":{"operation":{"type":"string","title":"Operation","description":"remove | compose | enhance"},"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files","default":[]},"asset_ids":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Ids","description":"JSON array of asset ids"},"pipeline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pipeline","description":"JSON pipeline options"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"max_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Credits"},"dry_run":{"type":"boolean","title":"Dry Run","description":"Quote only; create nothing","default":false}},"type":"object","required":["operation"],"title":"Body_create_batch_api_v1_batches_post"},"Body_create_job_api_v1_studio_video_jobs_post":{"properties":{"video_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Video File"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"video_file_b64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video File B64"},"options":{"type":"string","title":"Options","description":"JSON studio options (see module docs)","default":"{}"},"max_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Credits"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","title":"Body_create_job_api_v1_studio_video_jobs_post"},"Body_dashboard_remove_bg_api_v1_uploads_remove_image_bg_post":{"properties":{"image_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Image File"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"image_file_b64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image File B64"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"type":{"type":"string","title":"Type","default":"auto"},"bg_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg Color"},"bg_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg Image Url"},"crop":{"type":"string","title":"Crop","default":"false"},"shadow":{"type":"string","title":"Shadow","default":"false"},"margin":{"type":"integer","title":"Margin","default":0},"response_type":{"type":"string","title":"Response Type","default":"json"}},"type":"object","title":"Body_dashboard_remove_bg_api_v1_uploads_remove_image_bg_post"},"Body_dashboard_remove_video_bg_api_v1_uploads_remove_video_bg_post":{"properties":{"video_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Video File"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"video_file_b64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video File B64"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"background":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background"},"bg_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg Color"},"bg_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg Image Url"},"fps":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fps"},"resolution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution"}},"type":"object","title":"Body_dashboard_remove_video_bg_api_v1_uploads_remove_video_bg_post"},"Body_execute_plan_files_api_v1_ai_creative_assistant__plan_id__execute_files_post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"},"max_credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Credits"},"steps":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Steps","description":"JSON list of edited plan steps (optional)"}},"type":"object","required":["files"],"title":"Body_execute_plan_files_api_v1_ai_creative_assistant__plan_id__execute_files_post"},"Body_remove_background_endpoint_api_v1_removebg_post":{"properties":{"image_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Image File"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"image_file_b64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image File B64"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size","description":"preview | full | auto"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format","description":"png | jpg | webp | zip | auto"},"type":{"type":"string","title":"Type","description":"auto | person | product | animal | car | graphic | transportation","default":"auto"},"bg_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg Color","description":"transparent | white | black | hex"},"bg_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg Image Url"},"crop":{"type":"string","title":"Crop","default":"false"},"shadow":{"type":"string","title":"Shadow","default":"false"},"margin":{"type":"integer","title":"Margin","default":0},"response_type":{"type":"string","title":"Response Type","description":"json | url | binary","default":"json"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"}},"type":"object","title":"Body_remove_background_endpoint_api_v1_removebg_post"},"Body_remove_video_bg_endpoint_api_v1_remove_video_bg_post":{"properties":{"video_file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Video File"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"video_file_b64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video File B64"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format","description":"webm | mov | mp4 | gif | zip_frames"},"background":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background","description":"transparent | color | image"},"bg_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg Color","description":"hex color, white or black"},"bg_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg Image Url"},"fps":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fps","description":"15 | 24 | 30"},"resolution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution","description":"original | 720p | 1080p"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"max_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Credits","description":"Reject if the quote exceeds this"}},"type":"object","title":"Body_remove_video_bg_endpoint_api_v1_remove_video_bg_post"},"Body_save_mask_edit_api_v1_assets__asset_id__matte_post":{"properties":{"matte":{"type":"string","contentMediaType":"application/octet-stream","title":"Matte","description":"Edited matte: grayscale PNG the size of the source"},"strokes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Strokes","description":"Optional JSON of brush strokes (provenance)"}},"type":"object","required":["matte"],"title":"Body_save_mask_edit_api_v1_assets__asset_id__matte_post"},"Body_start_run_with_files_api_v1_workflows__workflow_id__runs_files_post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"},"max_credits":{"type":"number","exclusiveMinimum":0.0,"title":"Max Credits"},"budget_mode":{"type":"string","title":"Budget Mode","default":"strict"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["files","max_credits"],"title":"Body_start_run_with_files_api_v1_workflows__workflow_id__runs_files_post"},"Body_upload_background_api_v1_assets_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"}},"type":"object","required":["file"],"title":"Body_upload_background_api_v1_assets_post"},"BrandKitIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"colors":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Colors"},"logo_asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Asset Id"},"watermark":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Watermark"},"font_refs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Font Refs"},"scene_prefs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Scene Prefs"},"default_export_presets":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Default Export Presets"},"approval_rules":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Approval Rules"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"}},"type":"object","title":"BrandKitIn"},"BulkDeleteRequest":{"properties":{"asset_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Asset Ids","description":"Asset (family) ids to delete"}},"type":"object","required":["asset_ids"],"title":"BulkDeleteRequest"},"ChangePasswordRequest":{"properties":{"current_password":{"type":"string","maxLength":128,"title":"Current Password","default":""},"new_password":{"type":"string","maxLength":128,"minLength":8,"title":"New Password"},"remember_me":{"type":"boolean","title":"Remember Me","default":true}},"type":"object","required":["new_password"],"title":"ChangePasswordRequest"},"ChangePlanRequest":{"properties":{"plan_slug":{"type":"string","title":"Plan Slug"}},"type":"object","required":["plan_slug"],"title":"ChangePlanRequest"},"CommentIn":{"properties":{"body":{"type":"string","maxLength":4000,"minLength":1,"title":"Body"}},"type":"object","required":["body"],"title":"CommentIn"},"CompositionRequest":{"properties":{"asset_id":{"type":"string","title":"Asset Id","description":"A matte version, or any version in the asset's family"},"background":{"additionalProperties":true,"type":"object","title":"Background"},"placement":{"additionalProperties":true,"type":"object","title":"Placement"},"format":{"type":"string","pattern":"^(auto|png|jpg|jpeg|webp)$","title":"Format","default":"auto"},"max_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Credits"}},"type":"object","required":["asset_id"],"title":"CompositionRequest"},"ConnectRequest":{"properties":{"shop":{"type":"string","title":"Shop","description":"acme.myshopify.com"}},"type":"object","required":["shop"],"title":"ConnectRequest"},"CopyIn":{"properties":{"product":{"$ref":"#/components/schemas/ProductIn"},"kinds":{"items":{"type":"string","enum":["headline","caption","alt_text","description","hashtags","cta"]},"type":"array","maxItems":6,"minItems":1,"title":"Kinds"},"tone":{"type":"string","enum":["neutral","friendly","premium","playful","technical"],"title":"Tone","default":"neutral"},"channel":{"type":"string","enum":["marketplace","instagram","tiktok","facebook","website","email"],"title":"Channel","default":"marketplace"},"options":{"type":"integer","maximum":3.0,"minimum":1.0,"title":"Options","default":2},"locale":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Locale"}},"type":"object","required":["product"],"title":"CopyIn"},"CreateAPIKeyRequest":{"properties":{"allowed_domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Domains"},"allowed_ips":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Ips"},"rate_limit_per_minute":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":1.0},{"type":"null"}],"title":"Rate Limit Per Minute"},"monthly_limit":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Monthly Limit"},"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"mode":{"type":"string","pattern":"^(live|test)$","title":"Mode","default":"live"}},"type":"object","required":["name"],"title":"CreateAPIKeyRequest"},"CreateWebhookRequest":{"properties":{"url":{"type":"string","maxLength":1024,"minLength":1,"title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"}},"type":"object","required":["url"],"title":"CreateWebhookRequest"},"CreditAdjustRequest":{"properties":{"amount":{"type":"number","title":"Amount"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["amount"],"title":"CreditAdjustRequest"},"CreditTransactionOut":{"properties":{"id":{"type":"string","title":"Id"},"transaction_type":{"type":"string","title":"Transaction Type"},"amount":{"type":"number","title":"Amount"},"balance_after":{"type":"number","title":"Balance After"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","transaction_type","amount","balance_after","created_at"],"title":"CreditTransactionOut"},"CurrentTenantOut":{"properties":{"tenant":{"$ref":"#/components/schemas/TenantOut"},"role":{"type":"string","title":"Role"},"preferences":{"$ref":"#/components/schemas/TenantPreferences"}},"type":"object","required":["tenant","role","preferences"],"title":"CurrentTenantOut"},"DeleteAccountIn":{"properties":{"password":{"type":"string","title":"Password"},"confirm":{"type":"string","title":"Confirm","description":"Type \"DELETE\""}},"type":"object","required":["password","confirm"],"title":"DeleteAccountIn"},"DocsQuestionIn":{"properties":{"question":{"type":"string","maxLength":600,"minLength":1,"title":"Question"},"locale":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Locale"}},"type":"object","required":["question"],"title":"DocsQuestionIn"},"EnhanceRequest":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"operations":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":12,"minItems":1,"title":"Operations"},"format":{"type":"string","pattern":"^(auto|png|jpg|jpeg|webp)$","title":"Format","default":"auto"},"max_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Credits"}},"type":"object","required":["asset_id","operations"],"title":"EnhanceRequest"},"EntitlementIn":{"properties":{"value":{"title":"Value"},"note":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Note"}},"type":"object","title":"EntitlementIn"},"ErrorCount":{"properties":{"error_code":{"type":"string","title":"Error Code"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["error_code","count"],"title":"ErrorCount"},"EstimateRequest":{"properties":{"operation":{"type":"string","enum":["image","video"],"title":"Operation"},"width":{"anyOf":[{"type":"integer","maximum":20000.0,"minimum":1.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","maximum":20000.0,"minimum":1.0},{"type":"null"}],"title":"Height"},"size":{"type":"string","enum":["preview","full","auto"],"title":"Size","default":"auto"},"bg_color":{"type":"string","title":"Bg Color","default":"transparent"},"bg_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bg Image Url"},"duration":{"anyOf":[{"type":"number","maximum":3600.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Duration"},"resolution":{"type":"string","enum":["auto","original","720p","1080p"],"title":"Resolution","default":"auto"},"background":{"type":"string","enum":["transparent","color","image"],"title":"Background","default":"transparent"},"fps":{"anyOf":[{"type":"integer","enum":[15,24,30]},{"type":"null"}],"title":"Fps"}},"type":"object","required":["operation"],"title":"EstimateRequest"},"ExecuteIn":{"properties":{"asset_ids":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Asset Ids"},"max_credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Credits"}},"type":"object","required":["asset_ids"],"title":"ExecuteIn"},"FeatureFlagUpdate":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"rollout_percent":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Rollout Percent","default":100},"plan_scope":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Plan Scope"},"tenant_allowlist":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tenant Allowlist"}},"type":"object","required":["enabled"],"title":"FeatureFlagUpdate"},"GenerateRequest":{"properties":{"prompt":{"type":"string","maxLength":800,"minLength":3,"title":"Prompt","description":"Describe the scene, e.g. 'sunlit marble kitchen counter'"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Style"},"mood":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mood"},"lighting":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lighting"},"placement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Placement","description":"Where the subject will go: center|left|right|bottom"},"aspect":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aspect","description":"1:1 | 16:9 | 9:16 | 4:5 | 3:2 | 2:3"},"negative":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Negative"},"quality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quality","description":"low | medium | high (cost rises steeply)"},"count":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Count","default":1},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"max_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Credits"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["prompt"],"title":"GenerateRequest"},"GoogleLinkRequest":{"properties":{"credential":{"type":"string","maxLength":4096,"minLength":20,"title":"Credential"}},"type":"object","required":["credential"],"title":"GoogleLinkRequest"},"GoogleLoginRequest":{"properties":{"credential":{"type":"string","maxLength":4096,"minLength":20,"title":"Credential","description":"Google Identity Services ID token"},"remember_me":{"type":"boolean","title":"Remember Me","default":true}},"type":"object","required":["credential"],"title":"GoogleLoginRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImageInfo":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"width":{"type":"integer","maximum":20000.0,"minimum":1.0,"title":"Width"},"height":{"type":"integer","maximum":20000.0,"minimum":1.0,"title":"Height"}},"type":"object","required":["width","height"],"title":"ImageInfo"},"ImportRequest":{"properties":{"product_id":{"type":"string","title":"Product Id"},"media_id":{"type":"string","title":"Media Id"}},"type":"object","required":["product_id","media_id"],"title":"ImportRequest"},"IncidentIn":{"properties":{"title":{"type":"string","maxLength":255,"minLength":3,"title":"Title"},"severity":{"type":"string","pattern":"^(minor|major|critical)$","title":"Severity"},"components":{"items":{"type":"string"},"type":"array","title":"Components"},"message":{"type":"string","maxLength":4000,"minLength":1,"title":"Message"}},"type":"object","required":["title","severity","message"],"title":"IncidentIn"},"IncidentUpdateIn":{"properties":{"status":{"type":"string","pattern":"^(investigating|identified|monitoring|resolved)$","title":"Status"},"message":{"type":"string","maxLength":4000,"minLength":1,"title":"Message"}},"type":"object","required":["status","message"],"title":"IncidentUpdateIn"},"InpaintRequest":{"properties":{"asset_id":{"type":"string","title":"Asset Id","description":"Source or rendition to edit"},"mask":{"type":"string","title":"Mask","description":"Base64 PNG, same aspect as the image; white (or painted strokes) = area to replace"},"prompt":{"anyOf":[{"type":"string","maxLength":800},{"type":"null"}],"title":"Prompt","description":"What to fill the area with (default: remove)"},"quality":{"anyOf":[{"type":"string","pattern":"^(low|medium|high)$"},{"type":"null"}],"title":"Quality"},"max_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Credits"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["asset_id","mask"],"title":"InpaintRequest"},"JobResult":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration"},"poster_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Poster Url"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","title":"JobResult"},"JobStatusOut":{"properties":{"id":{"type":"string","title":"Id"},"job_type":{"type":"string","title":"Job Type"},"status":{"type":"string","title":"Status"},"progress":{"type":"integer","title":"Progress"},"output_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Format"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"credits_used":{"type":"number","title":"Credits Used"},"input_params":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Input Params"},"api_key_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key Id"},"processing_time_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Processing Time Ms"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"success":{"type":"boolean","title":"Success","default":true},"job_id":{"type":"string","title":"Job Id"},"type":{"type":"string","title":"Type"},"message":{"type":"string","title":"Message"},"result":{"anyOf":[{"$ref":"#/components/schemas/JobResult"},{"type":"null"}]},"exports":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Exports"},"quality":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Quality"},"usage":{"$ref":"#/components/schemas/JobUsage"}},"type":"object","required":["id","job_type","status","progress","credits_used","created_at","job_id","type","message","usage"],"title":"JobStatusOut","description":"Job status in the documented API shape (plus the flat ``JobOut`` fields)."},"JobTypeStats":{"properties":{"jobs":{"type":"integer","title":"Jobs"},"completed":{"type":"integer","title":"Completed"},"success_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Success Rate"},"avg_processing_time_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Processing Time Ms"}},"type":"object","required":["jobs","completed"],"title":"JobTypeStats"},"JobUsage":{"properties":{"credits_used":{"type":"number","title":"Credits Used"},"credits_remaining":{"type":"number","title":"Credits Remaining"}},"type":"object","required":["credits_used","credits_remaining"],"title":"JobUsage"},"LocaleOut":{"properties":{"tag":{"type":"string","title":"Tag"},"english_name":{"type":"string","title":"English Name"},"native_name":{"type":"string","title":"Native Name"},"direction":{"type":"string","title":"Direction"},"default":{"type":"boolean","title":"Default"}},"type":"object","required":["tag","english_name","native_name","direction","default"],"title":"LocaleOut"},"LocalesResponse":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"default_locale":{"type":"string","title":"Default Locale"},"i18n_enabled":{"type":"boolean","title":"I18N Enabled"},"locales":{"items":{"$ref":"#/components/schemas/LocaleOut"},"type":"array","title":"Locales"}},"type":"object","required":["default_locale","i18n_enabled","locales"],"title":"LocalesResponse"},"LoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"},"remember_me":{"type":"boolean","title":"Remember Me","default":true}},"type":"object","required":["email","password"],"title":"LoginRequest"},"MeResponse":{"properties":{"user":{"$ref":"#/components/schemas/UserOut"},"tenant":{"$ref":"#/components/schemas/TenantSummary"},"role":{"type":"string","title":"Role"},"credits_balance":{"type":"number","title":"Credits Balance"},"plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan"},"plan_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Slug"},"monthly_credits":{"type":"integer","title":"Monthly Credits","default":0},"video_enabled":{"type":"boolean","title":"Video Enabled","default":false}},"type":"object","required":["user","tenant","role","credits_balance"],"title":"MeResponse"},"MemberOut":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"type":"string","title":"User Id"},"email":{"type":"string","title":"Email"},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"role":{"type":"string","title":"Role"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","user_id","email","role","created_at"],"title":"MemberOut"},"NotificationPrefs":{"properties":{"low_credits":{"type":"boolean","title":"Low Credits","default":true},"video_ready":{"type":"boolean","title":"Video Ready","default":true},"team_invites":{"type":"boolean","title":"Team Invites","default":true}},"type":"object","title":"NotificationPrefs"},"PasswordResetConfirm":{"properties":{"token":{"type":"string","maxLength":4096,"minLength":10,"title":"Token"},"new_password":{"type":"string","maxLength":128,"minLength":8,"title":"New Password"}},"type":"object","required":["token","new_password"],"title":"PasswordResetConfirm"},"PasswordResetRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"PasswordResetRequest"},"PlanIn":{"properties":{"instruction":{"type":"string","maxLength":1000,"minLength":1,"title":"Instruction"},"locale":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Locale"},"images":{"items":{"$ref":"#/components/schemas/ImageInfo"},"type":"array","maxItems":50,"title":"Images"}},"type":"object","required":["instruction"],"title":"PlanIn"},"PlanStep":{"properties":{"action":{"type":"string","enum":["remove_background","solid_background","gradient_background","scene_background","ai_background","adjust","export_sizes","brand_mark","human_review"],"title":"Action"},"label":{"type":"string","title":"Label","description":"Short description of this step in the user's language"},"subject_type":{"anyOf":[{"type":"string","enum":["auto","person","product","animal","car","graphic"]},{"type":"null"}],"title":"Subject Type"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color","description":"Hex colour like #FFFFFF for solid_background"},"gradient_top":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gradient Top"},"gradient_bottom":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gradient Bottom"},"scene":{"anyOf":[{"type":"string","enum":["studio_white","studio_neutral","brand_blue","dark_luxury","pedestal"]},{"type":"null"}],"title":"Scene"},"ai_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Prompt","description":"English scene description for ai_background, no people, no text or logos"},"ai_style":{"anyOf":[{"type":"string","enum":["studio","lifestyle","outdoor","luxury","minimal","seasonal","abstract"]},{"type":"null"}],"title":"Ai Style"},"ai_mood":{"anyOf":[{"type":"string","enum":["bright","warm","calm","dramatic","playful","moody"]},{"type":"null"}],"title":"Ai Mood"},"ai_lighting":{"anyOf":[{"type":"string","enum":["soft","golden_hour","studio","dramatic","neon"]},{"type":"null"}],"title":"Ai Lighting"},"aspect":{"anyOf":[{"type":"string","enum":["1:1","16:9","9:16","4:5","3:2","2:3"]},{"type":"null"}],"title":"Aspect"},"shadow":{"anyOf":[{"type":"string","enum":["none","drop","contact"]},{"type":"null"}],"title":"Shadow"},"adjustments":{"anyOf":[{"items":{"type":"string","enum":["sharpen","denoise","brighter","darker","more_contrast","less_contrast","more_saturation","less_saturation","warmer","cooler"]},"type":"array"},{"type":"null"}],"title":"Adjustments"},"export_presets":{"anyOf":[{"items":{"type":"string","enum":["amazon_main","shopify_square","etsy_listing","ebay_main","woocommerce_square","social_square","social_portrait","social_story","thumbnail_16_9","avatar_square"]},"type":"array"},{"type":"null"}],"title":"Export Presets"},"brand_mark":{"anyOf":[{"type":"string","enum":["watermark","logo"]},{"type":"null"}],"title":"Brand Mark"}},"type":"object","required":["action","label"],"title":"PlanStep"},"PlanUpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Name"},"monthly_price":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Monthly Price"},"included_credits":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Included Credits"},"rate_limit_per_minute":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Rate Limit Per Minute"},"max_file_size_mb":{"anyOf":[{"type":"integer","maximum":1024.0,"minimum":1.0},{"type":"null"}],"title":"Max File Size Mb"},"max_video_seconds":{"anyOf":[{"type":"integer","maximum":3600.0,"minimum":0.0},{"type":"null"}],"title":"Max Video Seconds"},"features":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Features"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"PlanUpdateRequest"},"PostmortemIn":{"properties":{"postmortem":{"type":"string","maxLength":20000,"title":"Postmortem"}},"type":"object","required":["postmortem"],"title":"PostmortemIn"},"PreferencesOut":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"preferred_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preferred Locale"},"supported_locales":{"items":{"type":"string"},"type":"array","title":"Supported Locales"}},"type":"object","required":["preferred_locale","supported_locales"],"title":"PreferencesOut"},"PreferencesUpdate":{"properties":{"preferred_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preferred Locale"}},"type":"object","required":["preferred_locale"],"title":"PreferencesUpdate"},"PriceRuleCreate":{"properties":{"operation":{"type":"string","maxLength":64,"minLength":1,"title":"Operation"},"rate":{"type":"number","minimum":0.0,"title":"Rate"},"units":{"type":"string","maxLength":32,"title":"Units","default":"request"},"plan_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Slug"},"gpu_multiplier":{"type":"number","exclusiveMinimum":0.0,"title":"Gpu Multiplier","default":1.0}},"type":"object","required":["operation","rate"],"title":"PriceRuleCreate"},"ProbeRequest":{"properties":{"model":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Model"},"locale":{"type":"string","title":"Locale","default":"fr"}},"type":"object","title":"ProbeRequest"},"ProductIn":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"brand":{"type":"string","maxLength":100,"title":"Brand","default":""},"sku":{"type":"string","maxLength":64,"title":"Sku","default":""},"category":{"type":"string","maxLength":100,"title":"Category","default":""},"facts":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Facts","description":"Product facts the copy may use"},"description":{"type":"string","maxLength":2000,"title":"Description","default":""}},"type":"object","required":["name"],"title":"ProductIn"},"ProductJobRequest":{"properties":{"asset_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Asset Ids"},"scene":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scene","description":"Scene template slug, e.g. studio_white"},"export_presets":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Export Presets","description":"Export preset slugs"},"overrides":{"additionalProperties":true,"type":"object","title":"Overrides","description":"placement / format overrides"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"max_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Credits"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["asset_ids","export_presets"],"title":"ProductJobRequest"},"ProjectCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Description"}},"type":"object","required":["name"],"title":"ProjectCreate"},"ProjectUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"type":"string","pattern":"^(active|archived)$"},{"type":"null"}],"title":"Status"}},"type":"object","title":"ProjectUpdate"},"ProviderUpdate":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"priority":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":0.0},{"type":"null"}],"title":"Priority"},"license_status":{"anyOf":[{"type":"string","pattern":"^(approved|needs_review|rejected)$"},{"type":"null"}],"title":"License Status"},"license_notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"License Notes"}},"type":"object","title":"ProviderUpdate"},"PublicCommentIn":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"body":{"type":"string","maxLength":4000,"minLength":1,"title":"Body"}},"type":"object","required":["asset_id","name","body"],"title":"PublicCommentIn"},"PublicDecisionIn":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"status":{"type":"string","pattern":"^(approved|rejected)$","title":"Status"},"comment":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Comment"}},"type":"object","required":["asset_id","name","status"],"title":"PublicDecisionIn"},"PublishRequest":{"properties":{"asset_id":{"type":"string","title":"Asset Id","description":"An approved rendition"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id","description":"Shopify product GID (defaults to the import's product)"},"alt":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Alt"}},"type":"object","required":["asset_id"],"title":"PublishRequest"},"PurchaseRequest":{"properties":{"package_id":{"type":"string","title":"Package Id"}},"type":"object","required":["package_id"],"title":"PurchaseRequest"},"QualityExplainIn":{"properties":{"report_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"asset_version_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Version Id"},"locale":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Locale"}},"type":"object","title":"QualityExplainIn"},"RefineRequest":{"properties":{"grow_px":{"type":"integer","maximum":50.0,"minimum":-50.0,"title":"Grow Px","default":0},"feather_px":{"type":"number","maximum":50.0,"minimum":0.0,"title":"Feather Px","default":0},"hardness":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Hardness","default":0},"decontaminate":{"type":"boolean","title":"Decontaminate","default":false}},"type":"object","title":"RefineRequest"},"RefreshRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshRequest"},"RegisterRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":128,"minLength":8,"title":"Password"},"full_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Full Name"},"workspace_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Workspace Name"}},"type":"object","required":["email","password"],"title":"RegisterRequest"},"ReviewIn":{"properties":{"status":{"type":"string","pattern":"^(approved|rejected)$","title":"Status"},"comment":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Comment"}},"type":"object","required":["status"],"title":"ReviewIn"},"ReviewLinkIn":{"properties":{"asset_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Asset Ids"},"title":{"type":"string","maxLength":255,"title":"Title","default":"Review"},"message":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Message"},"expires_in_days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Expires In Days","default":7},"allow_decisions":{"type":"boolean","title":"Allow Decisions","default":false}},"type":"object","required":["asset_ids"],"title":"ReviewLinkIn"},"ReviewRequest":{"properties":{"status":{"type":"string","pattern":"^(approved|rejected)$","title":"Status"},"comment":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Comment"}},"type":"object","required":["status"],"title":"ReviewRequest"},"ReviseIn":{"properties":{"steps":{"items":{"$ref":"#/components/schemas/PlanStep"},"type":"array","maxItems":12,"minItems":1,"title":"Steps"},"images":{"items":{"$ref":"#/components/schemas/ImageInfo"},"type":"array","maxItems":50,"title":"Images"}},"type":"object","required":["steps"],"title":"ReviseIn"},"RunIn":{"properties":{"inputs":{"$ref":"#/components/schemas/RunInputs"},"max_credits":{"type":"number","exclusiveMinimum":0.0,"title":"Max Credits","description":"Hard budget for the whole run"},"budget_mode":{"type":"string","pattern":"^(strict|partial)$","title":"Budget Mode","default":"strict"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["max_credits"],"title":"RunIn"},"RunInputs":{"properties":{"asset_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Asset Ids"},"image_urls":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Image Urls"},"shopify":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Shopify","description":"Catalog Agent: {connection_id, product_ids? | query?, limit, images: featured|all}"}},"type":"object","title":"RunInputs"},"ScenePlanIn":{"properties":{"subject":{"type":"string","maxLength":500,"minLength":1,"title":"Subject","description":"The product or subject, e.g. 'amber glass candle jar'"},"use":{"type":"string","maxLength":300,"title":"Use","description":"Where the image will be used","default":""},"constraints":{"type":"string","maxLength":300,"title":"Constraints","description":"Brand colours, things to avoid...","default":""},"count":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Count","default":3},"locale":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Locale"}},"type":"object","required":["subject"],"title":"ScenePlanIn"},"SyncRequest":{"properties":{"transaction_id":{"type":"string","maxLength":64,"minLength":4,"title":"Transaction Id"}},"type":"object","required":["transaction_id"],"title":"SyncRequest"},"TemplateSave":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"type":"string","pattern":"^(export_preset|scene|variant_set)$"},{"type":"null"}],"title":"Category"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["name","config"],"title":"TemplateSave"},"TenantOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"status":{"type":"string","title":"Status"},"owner_id":{"type":"string","title":"Owner Id"},"default_locale":{"type":"string","title":"Default Locale","default":"en"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","name","slug","status","owner_id","created_at"],"title":"TenantOut"},"TenantPreferences":{"properties":{"default_format":{"type":"string","enum":["auto","png","jpg","webp","zip"],"title":"Default Format","default":"auto"},"default_size":{"type":"string","enum":["auto","preview","full"],"title":"Default Size","default":"auto"},"default_bg_color":{"type":"string","maxLength":32,"title":"Default Bg Color","default":"transparent"},"default_video_format":{"type":"string","enum":["auto","webm","mov","mp4","gif","zip_frames"],"title":"Default Video Format","default":"auto"}},"type":"object","title":"TenantPreferences","description":"Workspace defaults applied when an API request omits the parameter."},"TenantSummary":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"status":{"type":"string","title":"Status"}},"type":"object","required":["id","name","slug","status"],"title":"TenantSummary"},"TokenConnectRequest":{"properties":{"shop":{"type":"string","title":"Shop"},"access_token":{"type":"string","maxLength":255,"minLength":20,"title":"Access Token"}},"type":"object","required":["shop","access_token"],"title":"TokenConnectRequest"},"TroubleshootIn":{"properties":{"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"locale":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Locale"}},"type":"object","title":"TroubleshootIn"},"UpdateAPIKeyRequest":{"properties":{"allowed_domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Domains"},"allowed_ips":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Ips"},"rate_limit_per_minute":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":1.0},{"type":"null"}],"title":"Rate Limit Per Minute"},"monthly_limit":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Monthly Limit"},"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"}},"type":"object","title":"UpdateAPIKeyRequest","description":"Partial update; send ``null`` to clear a limit, ``[]`` to clear a list."},"UpdateMemberRequest":{"properties":{"role":{"type":"string","enum":["admin","member","reviewer","viewer"],"title":"Role"}},"type":"object","required":["role"],"title":"UpdateMemberRequest"},"UpdateProfileRequest":{"properties":{"full_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Full Name"}},"type":"object","title":"UpdateProfileRequest"},"UpdateTenantRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"preferences":{"anyOf":[{"$ref":"#/components/schemas/TenantPreferences"},{"type":"null"}]},"default_locale":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Default Locale"}},"type":"object","title":"UpdateTenantRequest"},"UsageByEndpoint":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"api_calls":{"type":"integer","title":"Api Calls"},"errors":{"type":"integer","title":"Errors"},"credits_used":{"type":"number","title":"Credits Used"}},"type":"object","required":["endpoint","api_calls","errors","credits_used"],"title":"UsageByEndpoint"},"UsageByKey":{"properties":{"api_key_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key Id"},"name":{"type":"string","title":"Name"},"api_calls":{"type":"integer","title":"Api Calls"},"errors":{"type":"integer","title":"Errors"},"credits_used":{"type":"number","title":"Credits Used"}},"type":"object","required":["name","api_calls","errors","credits_used"],"title":"UsageByKey"},"UsagePoint":{"properties":{"date":{"type":"string","title":"Date"},"api_calls":{"type":"integer","title":"Api Calls"},"errors":{"type":"integer","title":"Errors","default":0},"credits_used":{"type":"number","title":"Credits Used"}},"type":"object","required":["date","api_calls","credits_used"],"title":"UsagePoint"},"UsageSummary":{"properties":{"total_api_calls":{"type":"integer","title":"Total Api Calls"},"total_errors":{"type":"integer","title":"Total Errors","default":0},"total_credits_used":{"type":"number","title":"Total Credits Used"},"images_processed":{"type":"integer","title":"Images Processed"},"videos_processed":{"type":"integer","title":"Videos Processed"},"failed_jobs":{"type":"integer","title":"Failed Jobs"},"avg_processing_time_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Processing Time Ms"},"timeseries":{"items":{"$ref":"#/components/schemas/UsagePoint"},"type":"array","title":"Timeseries"},"by_api_key":{"items":{"$ref":"#/components/schemas/UsageByKey"},"type":"array","title":"By Api Key","default":[]},"by_endpoint":{"items":{"$ref":"#/components/schemas/UsageByEndpoint"},"type":"array","title":"By Endpoint","default":[]},"errors_by_type":{"items":{"$ref":"#/components/schemas/ErrorCount"},"type":"array","title":"Errors By Type","default":[]},"by_job_type":{"additionalProperties":{"$ref":"#/components/schemas/JobTypeStats"},"type":"object","title":"By Job Type","default":{}}},"type":"object","required":["total_api_calls","total_credits_used","images_processed","videos_processed","failed_jobs","timeseries"],"title":"UsageSummary"},"UserOut":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","format":"email","title":"Email"},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"role":{"type":"string","title":"Role"},"is_active":{"type":"boolean","title":"Is Active"},"is_verified":{"type":"boolean","title":"Is Verified"},"preferred_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preferred Locale"},"has_password":{"type":"boolean","title":"Has Password","default":true},"google_linked":{"type":"boolean","title":"Google Linked","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","email","role","is_active","is_verified","created_at"],"title":"UserOut"},"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"},"VariantBriefIn":{"properties":{"brief":{"type":"string","maxLength":1000,"minLength":1,"title":"Brief"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id","description":"Cutout to quote the variants for (optional)"},"max_variants":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Max Variants","default":6},"locale":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Locale"}},"type":"object","required":["brief"],"title":"VariantBriefIn"},"VariantsRequest":{"properties":{"asset_id":{"type":"string","title":"Asset Id"},"variant_set":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Set","description":"Variant set template slug"},"variants":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":32},{"type":"null"}],"title":"Variants","description":"Explicit variants"},"overrides":{"additionalProperties":true,"type":"object","title":"Overrides"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"max_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Credits"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["asset_id"],"title":"VariantsRequest"},"VerifyEmailRequest":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"VerifyEmailRequest"},"WalletOut":{"properties":{"balance":{"type":"number","title":"Balance"},"lifetime_credits":{"type":"number","title":"Lifetime Credits"}},"type":"object","required":["balance","lifetime_credits"],"title":"WalletOut"},"WebhookCreatedOut":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"secret":{"type":"string","title":"Secret"}},"type":"object","required":["id","url","events","status","created_at","secret"],"title":"WebhookCreatedOut"},"WebhookEventOut":{"properties":{"id":{"type":"string","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"target_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Url"},"status":{"type":"string","title":"Status"},"attempts":{"type":"integer","title":"Attempts"},"response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Response Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"last_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Attempt At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","event_type","status","attempts","created_at"],"title":"WebhookEventOut"},"WebhookOut":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","url","events","status","created_at"],"title":"WebhookOut"},"WorkflowIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"definition":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Definition"},"template_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Slug"}},"type":"object","title":"WorkflowIn"},"WorkflowPlanIn":{"properties":{"goal":{"type":"string","maxLength":1000,"minLength":1,"title":"Goal"},"locale":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Locale"}},"type":"object","required":["goal"],"title":"WorkflowPlanIn"},"WorkspaceListItem":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"is_owner":{"type":"boolean","title":"Is Owner"}},"type":"object","required":["id","name","role","is_owner"],"title":"WorkspaceListItem"}}}}