{"openapi":"3.1.0","info":{"title":"DeepInfra API","description":"The DeepInfra API provides serverless AI inference, custom model deployments, and GPU rentals.","version":"1.0.0"},"servers":[{"url":"https:\/\/api.deepinfra.com"}],"paths":{"\/v1\/metrics\/live":{"get":{"tags":["Logs & Metrics"],"summary":"Get Live Metrics","description":"Get the latest values for the Live metrics section on the web front page.","operationId":"get_live_metrics_v1_metrics_live_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WebLiveMetricsOut"}}}}}}},"\/cli\/version":{"get":{"tags":["Utilities"],"summary":"Cli Version","operationId":"cli_version_cli_version_get","parameters":[{"name":"version","in":"query","required":true,"schema":{"type":"string","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/me":{"get":{"tags":["Account"],"summary":"Me","operationId":"me_v1_me_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"checklist","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Checklist"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/Me"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["Account"],"summary":"Delete Account","operationId":"delete_account_v1_me_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/Me"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["Account"],"summary":"Account Update Details","operationId":"account_update_details_v1_me_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/MeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unprocessable Entity"}}}},"\/v1\/me\/emails":{"get":{"tags":["Account"],"summary":"Account Email Values","operationId":"account_email_values_v1_me_emails_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/EmailsOut"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/me\/team_display_name":{"post":{"tags":["Account"],"summary":"Team Set Display Name","operationId":"team_set_display_name_v1_me_team_display_name_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DisplayNameIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/me\/rate_limit":{"get":{"tags":["Account"],"summary":"Account Rate Limit","operationId":"account_rate_limit_v1_me_rate_limit_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/RateLimitOut"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/me\/rate_limit\/request":{"post":{"tags":["Account"],"summary":"Request Rate Limit Increase","operationId":"request_rate_limit_increase_v1_me_rate_limit_request_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/RateLimitRequestIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"403":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Forbidden"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/deploy":{"post":{"tags":["Dedicated Models"],"summary":"Deploy Create","operationId":"deploy_create_v1_deploy_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeployModelIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeployResult"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"423":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Locked"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/me\/gpu_limit":{"get":{"tags":["Account"],"summary":"Account Gpu Limit","operationId":"account_gpu_limit_v1_me_gpu_limit_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/GpuLimitOut"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/me\/gpu_limit\/request":{"post":{"tags":["Account"],"summary":"Request Gpu Limit Increase","operationId":"request_gpu_limit_increase_v1_me_gpu_limit_request_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/GpuLimitRequestIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"403":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Forbidden"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/hf\/":{"post":{"tags":["Dedicated Models"],"summary":"Deploy Create Hf","operationId":"deploy_create_hf_deploy_hf__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/HFModel"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeployResult"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"423":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Locked"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/llm\/gpu_availability":{"get":{"tags":["Dedicated Models"],"summary":"Deploy Gpu Availability","operationId":"deploy_gpu_availability_deploy_llm_gpu_availability_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"source","in":"query","required":false,"schema":{"type":"string","default":"","title":"Source"}},{"name":"base_model","in":"query","required":false,"schema":{"type":"string","default":"","title":"Base Model"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeployGPUAvailability"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/llm\/suggest_name":{"get":{"tags":["Dedicated Models"],"summary":"Deploy Llm Suggest Name","operationId":"deploy_llm_suggest_name_deploy_llm_suggest_name_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_name","in":"query","required":true,"schema":{"type":"string","title":"Model Name"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ModelNameSuggestionOut"}}}},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/llm\/standard_args":{"get":{"tags":["Dedicated Models"],"summary":"Deploy Llm Standard Args","operationId":"deploy_llm_standard_args_deploy_llm_standard_args_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"engine","in":"query","required":false,"schema":{"type":"string","default":"vllm","title":"Engine"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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 Deploy Llm Standard Args Deploy Llm Standard Args Get"}}}},"422":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unprocessable Entity"}}}},"\/deploy\/llm\/presets":{"get":{"tags":["Dedicated Models"],"summary":"Deploy Llm Presets","description":"DeepInfra presets and mirrored vLLM recipes for ``hf_repo_id``, told apart by\n``source``; empty when none. Filter by ``gpu``\/``engine``\/``source``.","operationId":"deploy_llm_presets_deploy_llm_presets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"hf_repo_id","in":"query","required":true,"schema":{"type":"string","title":"Hf Repo Id"}},{"name":"gpu","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/DeployGPUs"},{"type":"null"}],"title":"Gpu"}},{"name":"engine","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Engine"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/PresetConfigOut"},"title":"Response Deploy Llm Presets Deploy Llm Presets Get"}}}},"422":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unprocessable Entity"}}}},"\/deploy\/llm":{"post":{"tags":["Dedicated Models"],"summary":"Deploy Create Llm","operationId":"deploy_create_llm_deploy_llm_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeployLLMIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeploymentOut"}}}},"402":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Payment Required"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unprocessable Entity"}}}},"\/deploy\/list\/":{"get":{"tags":["Dedicated Models"],"summary":"Deploy List","operationId":"deploy_list_deploy_list__get","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A list of statuses that should be returned, separated by comma. Allowed values in the list are: initializing,downloading,deploying,running,updating,stopped,failed,deleted","title":"Status"},"description":"A list of statuses that should be returned, separated by comma. Allowed values in the list are: initializing,downloading,deploying,running,updating,stopped,failed,deleted"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/DeploymentOut"},"title":"Response Deploy List Deploy List  Get"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/list":{"get":{"tags":["Dedicated Models"],"summary":"Deploy List","operationId":"deploy_list_deploy_list_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A list of statuses that should be returned, separated by comma. Allowed values in the list are: initializing,downloading,deploying,running,updating,stopped,failed,deleted","title":"Status"},"description":"A list of statuses that should be returned, separated by comma. Allowed values in the list are: initializing,downloading,deploying,running,updating,stopped,failed,deleted"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/DeploymentOut"},"title":"Response Deploy List Deploy List Get"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/stats":{"get":{"tags":["Dedicated Models"],"summary":"Deployment Stats","operationId":"deployment_stats_deploy_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"string","description":"start of period, unix ts or 'now-5h', supported units s(ec), m(min), h(our), d(ay), w(eek), M(onth)","title":"From"},"description":"start of period, unix ts or 'now-5h', supported units s(ec), m(min), h(our), d(ay), w(eek), M(onth)"},{"name":"to","in":"query","required":false,"schema":{"type":"string","description":"end of period, unix ts or now-relative, check from, defaults to now","default":"now","title":"To"},"description":"end of period, unix ts or now-relative, check from, defaults to now"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/DeploymentMainStatsOut"},"title":"Response Deployment Stats Deploy Stats Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/{deploy_id}":{"get":{"tags":["Dedicated Models"],"summary":"Deploy Status","operationId":"deploy_status_deploy__deploy_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeploymentOut"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"put":{"tags":["Dedicated Models"],"summary":"Deploy Update","operationId":"deploy_update_deploy__deploy_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeployLLMUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeployStatusOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["Dedicated Models"],"summary":"Deploy Delete","operationId":"deploy_delete_deploy__deploy_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeployDelete"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/{deploy_id}\/stats":{"get":{"tags":["Dedicated Models"],"summary":"Deploy Stats","operationId":"deploy_stats_deploy__deploy_id__stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}},{"name":"from","in":"query","required":true,"schema":{"type":"string","description":"start of period, unix ts or 'now-5h', supported units s(ec), m(min), h(our), d(ay), w(eek), M(onth)","title":"From"},"description":"start of period, unix ts or 'now-5h', supported units s(ec), m(min), h(our), d(ay), w(eek), M(onth)"},{"name":"to","in":"query","required":false,"schema":{"type":"string","description":"end of period, unix ts or now-relative, check from, defaults to now","default":"now","title":"To"},"description":"end of period, unix ts or now-relative, check from, defaults to now"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeploymentStatsOut"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"410":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Gone"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/{deploy_id}\/stats2":{"get":{"tags":["Dedicated Models"],"summary":"Deploy Detailed Stats","operationId":"deploy_detailed_stats_deploy__deploy_id__stats2_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}},{"name":"from","in":"query","required":true,"schema":{"type":"string","description":"start of period, unix ts or 'now-5h', supported units s, m, h, d, w","title":"From"},"description":"start of period, unix ts or 'now-5h', supported units s, m, h, d, w"},{"name":"to","in":"query","required":false,"schema":{"type":"string","description":"end of period, unix ts or now-relative, check from, defaults to now","default":"now","title":"To"},"description":"end of period, unix ts or now-relative, check from, defaults to now"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DetailedDeploymentStatsOut"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"410":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Gone"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/{deploy_id}\/config\/history":{"get":{"tags":["Dedicated Models"],"summary":"Deploy Args History","operationId":"deploy_args_history_deploy__deploy_id__config_history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/DeployArgsHistoryOut"},"title":"Response Deploy Args History Deploy  Deploy Id  Config History Get"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/{deploy_id}\/config\/history\/{entry_id}\/restore":{"post":{"tags":["Dedicated Models"],"summary":"Deploy Args Restore","operationId":"deploy_args_restore_deploy__deploy_id__config_history__entry_id__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}},{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeployStatusOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/{deploy_id}\/stop":{"post":{"tags":["Dedicated Models"],"summary":"Deploy Stop","description":"Stop a running deployment. Terminates pods. Can be restarted later.","operationId":"deploy_stop_deploy__deploy_id__stop_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeployStatusOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/deploy\/{deploy_id}\/start":{"post":{"tags":["Dedicated Models"],"summary":"Deploy Start","description":"Start a stopped deployment. Re-creates pods via auto-scaling.","operationId":"deploy_start_deploy__deploy_id__start_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeployStatusOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/models\/private\/list":{"get":{"tags":["Models"],"summary":"Private Models List","operationId":"private_models_list_models_private_list_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/ModelOut"},"title":"Response Private Models List Models Private List Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/lora-model":{"post":{"tags":["LoRA Adapters"],"summary":"Upload Lora Model","operationId":"upload_lora_model_lora_model_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/LoraModelUploadIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeploymentOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/lora-model\/{lora_model_name}":{"delete":{"tags":["LoRA Adapters"],"summary":"Delete Lora Model","operationId":"delete_lora_model_lora_model__lora_model_name__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lora_model_name","in":"path","required":true,"schema":{"type":"string","title":"Lora Model Name"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/model-families\/names":{"get":{"tags":["Models"],"summary":"Model Families Names","operationId":"model_families_names_model_families_names_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response Model Families Names Model Families Names Get"}}}}}}},"\/model-families\/{family_name}":{"get":{"tags":["Models"],"summary":"Model Family","operationId":"model_family_model_families__family_name__get","parameters":[{"name":"family_name","in":"path","required":true,"schema":{"type":"string","title":"Family Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ModelFamilyOut"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/models\/list":{"get":{"tags":["Models"],"summary":"Models List","operationId":"models_list_models_list_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/ModelOut"},"type":"array","title":"Response Models List Models List Get"}}}}}}},"\/models\/deployment\/list":{"get":{"tags":["Models"],"summary":"Models Deployment List","operationId":"models_deployment_list_models_deployment_list_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/ModelOut"},"title":"Response Models Deployment List Models Deployment List Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/models\/lora\/list":{"get":{"tags":["Models"],"summary":"Models Lora List","operationId":"models_lora_list_models_lora_list_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/ModelOut"},"type":"array","title":"Response Models Lora List Models Lora List Get"}}}}}}},"\/openrouter\/models":{"get":{"tags":["Models"],"summary":"Openrouter Models","operationId":"openrouter_models_openrouter_models_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenRouterModelsOut"}}}}}}},"\/models\/{model_name}\/versions":{"get":{"tags":["Models"],"summary":"Model Versions","operationId":"model_versions_models__model_name__versions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_name","in":"path","required":true,"schema":{"type":"string","title":"Model Name"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/ModelVersionOut"},"title":"Response Model Versions Models  Model Name  Versions Get"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/models\/{model_name}\/publicity":{"post":{"tags":["Models"],"summary":"Model Publicity","operationId":"model_publicity_models__model_name__publicity_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_name","in":"path","required":true,"schema":{"type":"string","title":"Model Name"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ModelPublicityIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/models\/{model_name}\/meta":{"post":{"tags":["Models"],"summary":"Model Meta Update","operationId":"model_meta_update_models__model_name__meta_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_name","in":"path","required":true,"schema":{"type":"string","title":"Model Name"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ModelMetaIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/models\/{model_name}":{"delete":{"tags":["Models"],"summary":"Model Delete","operationId":"model_delete_models__model_name__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_name","in":"path","required":true,"schema":{"type":"string","title":"Model Name"}},{"name":"version","in":"query","required":true,"schema":{"type":"string","description":"delete a particular version, pass 'ALL' to wipe everything","title":"Version"},"description":"delete a particular version, pass 'ALL' to wipe everything"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["Models"],"summary":"Models Info","operationId":"models_info_models__model_name__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_name","in":"path","required":true,"schema":{"type":"string","title":"Model Name"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ModelInfoOut"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/models\/featured":{"get":{"tags":["Models"],"summary":"Models Featured","operationId":"models_featured_models_featured_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/ModelOut"},"type":"array","title":"Response Models Featured Models Featured Get"}}}}}}},"\/models\/{model_name}\/schema\/{variantKey}":{"get":{"tags":["Models"],"summary":"Model Schema","operationId":"model_schema_models__model_name__schema__variantKey__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_name","in":"path","required":true,"schema":{"type":"string","title":"Model Name"}},{"name":"variantKey","in":"path","required":true,"schema":{"$ref":"#\/components\/schemas\/SchemaVariantKey"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/SchemaOut"}}}},"403":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Forbidden"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"423":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Locked"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/inference\/deploy\/{deploy_id}":{"post":{"tags":["Inference"],"summary":"Inference Deploy","operationId":"inference_deploy_v1_inference_deploy__deploy_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"path","required":true,"schema":{"type":"string","title":"Deploy Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"403":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Forbidden"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/inference\/{model_name}":{"post":{"tags":["Inference"],"summary":"Inference Model","operationId":"inference_model_v1_inference__model_name__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_name","in":"path","required":true,"schema":{"type":"string","title":"Model Name"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"model version to run inference against","title":"Version"},"description":"model version to run inference against"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"403":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Forbidden"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"423":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Locked"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tokenize":{"post":{"tags":["Tokenizer"],"summary":"Tokenize","operationId":"tokenize_v1_tokenize_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/TokenizeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TokenizeOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/detokenize":{"post":{"tags":["Tokenizer"],"summary":"Detokenize","operationId":"detokenize_v1_detokenize_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DetokenizeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetokenizeOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/anthropic\/v1\/messages":{"post":{"tags":["Chat Completions"],"summary":"Anthropic Messages","operationId":"anthropic_messages_anthropic_v1_messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"anthropic-version","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anthropic-Version"}},{"name":"anthropic-beta","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anthropic-Beta"}},{"name":"x-deepinfra-source","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Deepinfra-Source"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/AnthropicMessagesIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/anthropic\/v1\/messages\/count_tokens":{"post":{"tags":["Chat Completions"],"summary":"Anthropic Messages Count Tokens","operationId":"anthropic_messages_count_tokens_anthropic_v1_messages_count_tokens_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/AnthropicTokenCountRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/models":{"get":{"tags":["Models"],"summary":"Openai Models","operationId":"openai_models_v1_models_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenAIModelsOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/images\/generations":{"post":{"tags":["Image Generation"],"summary":"Openai Images Generations","description":"Generate image using OpenAI Images API","operationId":"openai_images_generations_v1_images_generations_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenAIImagesGenerationsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenAIImagesOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/images\/variations":{"post":{"tags":["Image Generation"],"summary":"Openai Images Variations","description":"Generate a similar image using OpenAI Images Variations API","operationId":"openai_images_variations_v1_images_variations_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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_openai_images_variations_v1_images_variations_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenAIImagesOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/images\/edits":{"post":{"tags":["Image Generation"],"summary":"Openai Images Edits","description":"Edit image using OpenAI Images Edits API","operationId":"openai_images_edits_v1_images_edits_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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_openai_images_edits_v1_images_edits_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenAIImagesOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/feedback":{"post":{"tags":["Utilities"],"summary":"Submit Feedback","description":"Submit feedback","operationId":"submit_feedback_v1_feedback_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/FeedbackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"403":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Forbidden"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/audio\/speech":{"post":{"tags":["Audio"],"summary":"Openai Audio Speech","operationId":"openai_audio_speech_v1_audio_speech_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-deepinfra-source","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Deepinfra-Source"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenAITextToSpeechIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/audio\/transcriptions":{"post":{"tags":["Audio"],"summary":"Openai Audio Transcriptions","operationId":"openai_audio_transcriptions_v1_audio_transcriptions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-deepinfra-source","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Deepinfra-Source"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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_openai_audio_transcriptions_v1_audio_transcriptions_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/audio\/translations":{"post":{"tags":["Audio"],"summary":"Openai Audio Translations","operationId":"openai_audio_translations_v1_audio_translations_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-deepinfra-source","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Deepinfra-Source"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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_openai_audio_translations_v1_audio_translations_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/videos":{"post":{"tags":["Videos"],"summary":"Create Video Generation","operationId":"create_video_generation_v1_videos_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/VideoGenerationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VideoGenerationOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/openai\/videos":{"post":{"tags":["Videos"],"summary":"Create Video Generation","operationId":"create_video_generation_v1_openai_videos_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/VideoGenerationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VideoGenerationOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/videos\/{video_id}":{"get":{"tags":["Videos"],"summary":"Get Video Generation","operationId":"get_video_generation_v1_videos__video_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","title":"Video Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/VideoGenerationOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/openai\/videos\/{video_id}":{"get":{"tags":["Videos"],"summary":"Get Video Generation","operationId":"get_video_generation_v1_openai_videos__video_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","title":"Video Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/VideoGenerationOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/videos\/{video_id}\/content":{"get":{"tags":["Videos"],"summary":"Get Video Content","operationId":"get_video_content_v1_videos__video_id__content_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","title":"Video Id"}},{"name":"variant","in":"query","required":false,"schema":{"type":"string","default":"video","title":"Variant"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}}},"\/v1\/openai\/videos\/{video_id}\/content":{"get":{"tags":["Videos"],"summary":"Get Video Content","operationId":"get_video_content_v1_openai_videos__video_id__content_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","title":"Video Id"}},{"name":"variant","in":"query","required":false,"schema":{"type":"string","default":"video","title":"Variant"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}}},"\/v1\/logs\/query":{"get":{"tags":["Logs & Metrics"],"summary":"Logs Query","description":"Query inference logs.\n* Without timestamps (from\/to) returns last `limit` messages (in last month).\n* With `from` only, returns first `limit` messages after `from` (inclusive).\n* With `to` only, returns last `limit` messages before `to` (inclusive).\n* With both `from` and `to`, return the first `limit` messages after `from`, but not later than `to`.\n* `from` and `to` should be no more than a month apart.","operationId":"logs_query_v1_logs_query_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"query","required":true,"schema":{"type":"string","description":"the deploy id to get the logs from","title":"Deploy Id"},"description":"the deploy id to get the logs from"},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"start of period, in fractional seconds since unix epoch (inclusive)","title":"From"},"description":"start of period, in fractional seconds since unix epoch (inclusive)"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"end of period, in fractional seconds since unix epoch (exclusive)","title":"To"},"description":"end of period, in fractional seconds since unix epoch (exclusive)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","description":"how many items to return at most (default 100, in [1, 1000])","default":100,"title":"Limit"},"description":"how many items to return at most (default 100, in [1, 1000])"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/LogQueryOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/deployment_logs\/query":{"get":{"tags":["Logs & Metrics"],"summary":"Deployment Logs Query","description":"Query deployment logs.\n* Without timestamps (from\/to) returns last `limit` messages (in last month).\n* With `from` only, returns first `limit` messages after `from` (inclusive).\n* With `to` only, returns last `limit` messages before `to` (inclusive).\n* With both `from` and `to`, return the first `limit` messages after `from`, but not later than `to`.\n* `from` and `to` should be no more than a month apart.","operationId":"deployment_logs_query_v1_deployment_logs_query_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"deploy_id","in":"query","required":true,"schema":{"type":"string","description":"the deploy id to get the logs from","title":"Deploy Id"},"description":"the deploy id to get the logs from"},{"name":"pod_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"the pod name to get the logs from","title":"Pod Name"},"description":"the pod name to get the logs from"},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"start of period, in fractional seconds since unix epoch (inclusive)","title":"From"},"description":"start of period, in fractional seconds since unix epoch (inclusive)"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"end of period, in fractional seconds since unix epoch (exclusive)","title":"To"},"description":"end of period, in fractional seconds since unix epoch (exclusive)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","description":"how many items to return at most (default 100, in [1, 1000])","default":100,"title":"Limit"},"description":"how many items to return at most (default 100, in [1, 1000])"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeploymentLogQueryOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/voices":{"get":{"tags":["Text to Speech"],"summary":"Get Voices","description":"Get available voices for a given user","operationId":"get_voices_v1_voices_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/GetVoicesOut"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/text-to-speech\/{voice_id}\/stream":{"post":{"tags":["Text to Speech"],"summary":"Text To Speech Stream","operationId":"text_to_speech_stream_v1_text_to_speech__voice_id__stream_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}},{"name":"output_format","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Format"},"example":"wav"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ElevenLabsTextToSpeechIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/text-to-speech\/{voice_id}":{"post":{"tags":["Text to Speech"],"summary":"Text To Speech","operationId":"text_to_speech_v1_text_to_speech__voice_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}},{"name":"output_format","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Format"},"example":"wav"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ElevenLabsTextToSpeechIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/voices\/{voice_id}":{"get":{"tags":["Text to Speech"],"summary":"Get Voice","description":"Get a voice by its id","operationId":"get_voice_v1_voices__voice_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/Voice"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["Text to Speech"],"summary":"Delete Voice","operationId":"delete_voice_v1_voices__voice_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/voices\/add":{"post":{"tags":["Text to Speech"],"summary":"Create Voice","description":"Create a new voice","operationId":"create_voice_v1_voices_add_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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_voice_v1_voices_add_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Voice"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/voices\/{voice_id}\/edit":{"post":{"tags":["Text to Speech"],"summary":"Update Voice","operationId":"update_voice_v1_voices__voice_id__edit_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_update_voice_v1_voices__voice_id__edit_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Voice"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/lora\/create":{"post":{"tags":["LoRA Adapters"],"summary":"Create Lora","operationId":"create_lora_v1_lora_create_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/CreateLoraApiRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeploymentOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/lora\/{lora_name}\/status":{"get":{"tags":["LoRA Adapters"],"summary":"Get Lora Status","operationId":"get_lora_status_v1_lora__lora_name__status_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lora_name","in":"path","required":true,"schema":{"type":"string","title":"Lora Name"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}}},"\/v1\/lora\/{lora_name}":{"get":{"tags":["LoRA Adapters"],"summary":"Get Lora","operationId":"get_lora_v1_lora__lora_name__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lora_name","in":"path","required":true,"schema":{"type":"string","title":"Lora Name"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}},"patch":{"tags":["LoRA Adapters"],"summary":"Update Lora","operationId":"update_lora_v1_lora__lora_name__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lora_name","in":"path","required":true,"schema":{"type":"string","title":"Lora Name"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/UpdateLoraApiRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["LoRA Adapters"],"summary":"Delete Lora","operationId":"delete_lora_v1_lora__lora_name__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"lora_name","in":"path","required":true,"schema":{"type":"string","title":"Lora Name"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}}},"\/v1\/model\/{model_name}\/loras":{"get":{"tags":["LoRA Adapters"],"summary":"Get Model Loras","operationId":"get_model_loras_v1_model__model_name__loras_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model_name","in":"path","required":true,"schema":{"type":"string","title":"Model Name"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}}},"\/v1\/user\/loras":{"get":{"tags":["LoRA Adapters"],"summary":"Get User Loras","operationId":"get_user_loras_v1_user_loras_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}}},"\/v1\/containers\/params":{"get":{"tags":["GPU Rentals"],"summary":"Container Rentals Get Params","operationId":"container_rentals_get_params_v1_containers_params_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/containers\/gpu_availability":{"get":{"tags":["GPU Rentals"],"summary":"Rent Gpu Availability","operationId":"rent_gpu_availability_v1_containers_gpu_availability_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"source","in":"query","required":false,"schema":{"type":"string","default":"","title":"Source"}},{"name":"base_model","in":"query","required":false,"schema":{"type":"string","default":"","title":"Base Model"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/DeployGPUAvailability"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/containers":{"post":{"tags":["GPU Rentals"],"summary":"Container Rentals Start","operationId":"container_rentals_start_v1_containers_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ContainerRentalStartIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContainerRentalStartOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"422":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unprocessable Entity"},"429":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Too Many Requests"}}},"get":{"tags":["GPU Rentals"],"summary":"Container Rentals List","operationId":"container_rentals_list_v1_containers_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"state","in":"query","required":false,"schema":{"enum":["active","inactive"],"type":"string","description":"whether to return active or inactive containers","default":"active","title":"State"},"description":"whether to return active or inactive containers"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/ContainerRentalOut"},"title":"Response Container Rentals List V1 Containers Get"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"422":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unprocessable Entity"}}}},"\/v1\/containers\/{container_id}":{"get":{"tags":["GPU Rentals"],"summary":"Container Rentals Get","operationId":"container_rentals_get_v1_containers__container_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string","title":"Container Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ContainerRentalOut"}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["GPU Rentals"],"summary":"Container Rentals Update","operationId":"container_rentals_update_v1_containers__container_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string","title":"Container Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ContainerRentalUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unprocessable Entity"}}},"delete":{"tags":["GPU Rentals"],"summary":"Container Rentals Delete","operationId":"container_rentals_delete_v1_containers__container_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"container_id","in":"path","required":true,"schema":{"type":"string","title":"Container Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/request-costs":{"post":{"tags":["Logs & Metrics"],"summary":"Get Request Costs","operationId":"get_request_costs_v1_request_costs_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/RequestCostQuery"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RequestCostResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/hardware":{"get":{"tags":["Models"],"summary":"Get Hardware","operationId":"get_hardware_v2_hardware_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"model","in":"query","required":true,"schema":{"type":"string","description":"Model name (NVIDIA NemoClaw format)","title":"Model"},"description":"Model name (NVIDIA NemoClaw format)"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/HardwareResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/completions":{"post":{"tags":["Text Completions"],"summary":"Openai Completions","operationId":"openai_completions_v1_completions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-deepinfra-source","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Deepinfra-Source"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenAICompletionsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/chat\/completions":{"post":{"tags":["Chat Completions"],"summary":"Openai Chat Completions","operationId":"openai_chat_completions_v1_chat_completions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-deepinfra-source","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Deepinfra-Source"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenAIChatCompletionsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/embeddings":{"post":{"tags":["Embeddings"],"summary":"Openai Embeddings","operationId":"openai_embeddings_v1_embeddings_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-deepinfra-source","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Deepinfra-Source"}},{"name":"user-agent","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User-Agent"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenAIEmbeddingsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/github\/login":{"get":{"tags":["Authentication"],"summary":"Github Login","description":"Initiate github SSO login flow. Callback is \/github\/callback","operationId":"github_login_github_login_get","parameters":[{"name":"login_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login Id"}},{"name":"origin","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}},{"name":"deal","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deal"}},{"name":"ti_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ti Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/okta\/login":{"get":{"tags":["Authentication"],"summary":"Okta Login","operationId":"okta_login_okta_login_get","parameters":[{"name":"team_id","in":"query","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"origin","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}},{"name":"login_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/github\/cli\/login":{"get":{"tags":["Authentication"],"summary":"Github Cli Login","description":"deepctl is calling this request waiting for auth token during login.\nThe token is stored in \/github\/callback","operationId":"github_cli_login_github_cli_login_get","parameters":[{"name":"login_id","in":"query","required":true,"schema":{"type":"string","title":"Login Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/google\/login":{"get":{"tags":["Authentication"],"summary":"Google Login","description":"Initiate Google SSO login flow. Callback is \/google\/callback","operationId":"google_login_google_login_get","parameters":[{"name":"login_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Login Id"}},{"name":"origin","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}},{"name":"deal","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deal"}},{"name":"ti_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ti Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/api-tokens":{"get":{"tags":["Authentication"],"summary":"Get Api Tokens","operationId":"get_api_tokens_v1_api_tokens_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/ApiToken"},"title":"Response Get Api Tokens V1 Api Tokens Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["Authentication"],"summary":"Create Api Token","operationId":"create_api_token_v1_api_tokens_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ApiTokenIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ApiToken"}}}},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/api-tokens\/{api_token}":{"get":{"tags":["Authentication"],"summary":"Get Api Token","operationId":"get_api_token_v1_api_tokens__api_token__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"api_token","in":"path","required":true,"schema":{"type":"string","title":"Api Token"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ApiToken"}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["Authentication"],"summary":"Delete Api Token","operationId":"delete_api_token_v1_api_tokens__api_token__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"api_token","in":"path","required":true,"schema":{"type":"string","title":"Api Token"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/api-tokens\/{api_token}\/vercel_export":{"post":{"tags":["Authentication"],"summary":"Export Api Token To Vercel","operationId":"export_api_token_to_vercel_v1_api_tokens__api_token__vercel_export_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"api_token","in":"path","required":true,"schema":{"type":"string","title":"Api Token"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ApiTokenVercelExportIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/scoped-jwt":{"post":{"tags":["Authentication"],"summary":" Create Scoped Jwt","operationId":"_create_scoped_jwt_v1_scoped_jwt_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/ScopedJWTIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScopedJWTOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["Authentication"],"summary":"Inspect Scoped Jwt","operationId":"inspect_scoped_jwt_v1_scoped_jwt_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"jwtoken","in":"query","required":true,"schema":{"type":"string","title":"Jwtoken"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/InspectScopedJWTOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/ssh_keys":{"get":{"tags":["Authentication"],"summary":"Get Ssh Keys","operationId":"get_ssh_keys_v1_ssh_keys_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/SshKeyOut"},"title":"Response Get Ssh Keys V1 Ssh Keys Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["Authentication"],"summary":"Create Ssh Key","operationId":"create_ssh_key_v1_ssh_keys_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/SshKeyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SshKeyOut"}}}},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/ssh_keys\/{ssh_key_id}":{"delete":{"tags":["Authentication"],"summary":"Delete Ssh Key","operationId":"delete_ssh_key_v1_ssh_keys__ssh_key_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ssh_key_id","in":"path","required":true,"schema":{"type":"string","title":"Ssh Key Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/files":{"get":{"tags":["Files & Batches"],"summary":"List Files","operationId":"list_files_v1_files_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"}},{"name":"purpose","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"}},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10000,"title":"Limit"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}},"post":{"tags":["Files & Batches"],"summary":"Openai Files","operationId":"openai_files_v1_files_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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_openai_files_v1_files_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/files\/{file_id}":{"get":{"tags":["Files & Batches"],"summary":"Get File","operationId":"get_file_v1_files__file_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","title":"File Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenAIFile"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["Files & Batches"],"summary":"Delete File","operationId":"delete_file_v1_files__file_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","title":"File Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}}},"\/v1\/files\/{file_id}\/content":{"get":{"tags":["Files & Batches"],"summary":"Get File Content","operationId":"get_file_content_v1_files__file_id__content_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","title":"File Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}}},"\/v1\/batches":{"get":{"tags":["Files & Batches"],"summary":"Retrieve Openai Batches","operationId":"retrieve_openai_batches_v1_batches_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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"}}}}}},"post":{"tags":["Files & Batches"],"summary":"Create Openai Batch","operationId":"create_openai_batch_v1_batches_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenAIBatchesIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenAIBatchesOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/batches\/{batch_id}":{"get":{"tags":["Files & Batches"],"summary":"Retrieve Openai Batch","operationId":"retrieve_openai_batch_v1_batches__batch_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenAIBatchesOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/batches\/{batch_id}\/cancel":{"post":{"tags":["Files & Batches"],"summary":"Cancel Openai Batch","operationId":"cancel_openai_batch_v1_batches__batch_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenAIBatchesOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agents":{"post":{"tags":["Agents"],"summary":"Create Instance","operationId":"openclaw_create_v1_agents_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/AgentCreateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentCreateOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"402":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Payment Required"},"429":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Too Many Requests"},"503":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["Agents"],"summary":"List Instances","operationId":"openclaw_list_v1_agents_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"state","in":"query","required":false,"schema":{"enum":["active","inactive","all"],"type":"string","description":"Which instances to return: active, inactive, or all (both)","default":"active","title":"State"},"description":"Which instances to return: active, inactive, or all (both)"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/AgentInstanceOut"},"title":"Response Openclaw List V1 Agents Get"}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agents\/catalog":{"get":{"tags":["Agents"],"summary":"Get Catalog","operationId":"openclaw_catalog_v1_agents_catalog_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/AgentCatalogOut"}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agents\/{instance_id}":{"get":{"tags":["Agents"],"summary":"Get Instance","operationId":"openclaw_get_v1_agents__instance_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/AgentInstanceOut"}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["Agents"],"summary":"Rename Instance","operationId":"openclaw_update_v1_agents__instance_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/AgentUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["Agents"],"summary":"Delete Instance","operationId":"openclaw_delete_v1_agents__instance_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agents\/{instance_id}\/launch_token":{"post":{"tags":["Agents"],"summary":"Create Dashboard Launch Token","description":"Mint a single-use launch URL for the dashboard.\n\nCalled by the launcher page right when readyz flips ready. The launch URL\nis used as a top-level navigation; \/launch then sets the oc_auth cookie\nand 302s into the proxied dashboard.\n\nThe user's bearer token is stashed in Redis under the token's jti and\nretrieved (atomic GETDEL) on \/launch redeem \u2014 this keeps the bearer out of\nthe URL and out of any signed payload while preserving the existing proxy\nauth flow (oc_auth cookie value = bearer token).\n\nRefuses instances whose agent_type has has_dashboard=False (e.g. hermes).","operationId":"openclaw_launch_token_v1_agents__instance_id__launch_token_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/OpenClawLaunchTokenOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agents\/{instance_id}\/stop":{"post":{"tags":["Agents"],"summary":"Stop Instance","operationId":"openclaw_stop_v1_agents__instance_id__stop_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agents\/{instance_id}\/start":{"post":{"tags":["Agents"],"summary":"Start Instance","operationId":"openclaw_start_v1_agents__instance_id__start_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agents\/{instance_id}\/update":{"post":{"tags":["Agents"],"summary":"Update Instance Version","operationId":"openclaw_update_version_v1_agents__instance_id__update_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agents\/{instance_id}\/backups":{"get":{"tags":["Agents"],"summary":"List Backups","operationId":"openclaw_list_backups_v1_agents__instance_id__backups_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/AgentBackupOut"},"title":"Response Openclaw List Backups V1 Agents  Instance Id  Backups Get"}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agents\/{instance_id}\/backup":{"post":{"tags":["Agents"],"summary":"Create Backup","operationId":"openclaw_trigger_backup_v1_agents__instance_id__backup_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agents\/{instance_id}\/backups\/{backup_id}\/restore":{"post":{"tags":["Agents"],"summary":"Restore Backup","operationId":"openclaw_restore_backup_v1_agents__instance_id__backups__backup_id__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"instance_id","in":"path","required":true,"schema":{"type":"string","title":"Instance Id"}},{"name":"backup_id","in":"path","required":true,"schema":{"type":"string","title":"Backup Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/sandboxes":{"post":{"tags":["Sandboxes"],"summary":"Create Sandbox","description":"Create a new sandbox instance with the given plan, image, and settings. The sandbox starts in CREATING state and transitions to RUNNING asynchronously.","operationId":"sandbox_create_v1_sandboxes_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/SandboxCreateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SandboxCreateOut"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"429":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Too Many Requests"},"503":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["Sandboxes"],"summary":"List Sandboxes","operationId":"sandbox_list_v1_sandboxes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":"array","items":{"$ref":"#\/components\/schemas\/SandboxOut"},"title":"Response Sandbox List V1 Sandboxes Get"}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/sandboxes\/{sandbox_id}":{"get":{"tags":["Sandboxes"],"summary":"Get Sandbox","operationId":"sandbox_get_v1_sandboxes__sandbox_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sandbox_id","in":"path","required":true,"schema":{"type":"string","title":"Sandbox Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/SandboxOut"}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["Sandboxes"],"summary":"Delete Sandbox","operationId":"sandbox_delete_v1_sandboxes__sandbox_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sandbox_id","in":"path","required":true,"schema":{"type":"string","title":"Sandbox Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/sandboxes\/{sandbox_id}\/stop":{"post":{"tags":["Sandboxes"],"summary":"Stop Sandbox","operationId":"sandbox_stop_v1_sandboxes__sandbox_id__stop_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sandbox_id","in":"path","required":true,"schema":{"type":"string","title":"Sandbox Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/sandboxes\/{sandbox_id}\/start":{"post":{"tags":["Sandboxes"],"summary":"Start Sandbox","operationId":"sandbox_start_v1_sandboxes__sandbox_id__start_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sandbox_id","in":"path","required":true,"schema":{"type":"string","title":"Sandbox Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"429":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Too Many Requests"},"503":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/sandboxes\/{sandbox_id}\/exec":{"post":{"tags":["Sandboxes"],"summary":"Exec Command","description":"Run a command in the sandbox. Streams NDJSON lines (application\/x-ndjson): {\"stdout\": ...}\/{\"stderr\": ...} chunks followed by exactly one terminal {\"returncode\": N} or {\"error\": msg} line. STUB: returns 501 until the exec bridge is implemented.","operationId":"sandbox_exec_v1_sandboxes__sandbox_id__exec_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sandbox_id","in":"path","required":true,"schema":{"type":"string","title":"Sandbox Id"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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\/SandboxExecIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Implemented"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/sandboxes\/{sandbox_id}\/fs\/content":{"put":{"tags":["Sandboxes"],"summary":"Write File","description":"Write the raw request body (application\/octet-stream, max 100 MiB) to an absolute path inside the sandbox. STUB: returns 501 until the fs transfer is implemented.","operationId":"sandbox_fs_write_v1_sandboxes__sandbox_id__fs_content_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sandbox_id","in":"path","required":true,"schema":{"type":"string","title":"Sandbox Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"413":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Request Entity Too Large"},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Implemented"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["Sandboxes"],"summary":"Read File","description":"Read a file from an absolute path inside the sandbox; returns raw bytes (application\/octet-stream). STUB: returns 501 until the fs transfer is implemented.","operationId":"sandbox_fs_read_v1_sandboxes__sandbox_id__fs_content_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sandbox_id","in":"path","required":true,"schema":{"type":"string","title":"Sandbox Id"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}},{"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":{}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Bad Request"},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Unauthorized"},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Found"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Conflict"},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepError"}}},"description":"Not Implemented"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/payment\/checklist":{"get":{"summary":"Get Checklist","operationId":"get_checklist_payment_checklist_get","parameters":[{"name":"compute_owed","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Compute Owed"}},{"name":"session","in":"cookie","schema":{"type":"String"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Checklist"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}},"\/payment\/config":{"get":{"summary":"Get Config","operationId":"get_config_payment_config_get","parameters":[{"name":"session","in":"cookie","schema":{"type":"String"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfigOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]},"post":{"summary":"Set Config","operationId":"set_config_payment_config_post","parameters":[{"name":"session","in":"cookie","schema":{"type":"String"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfigIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfigOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}},"\/payment\/billing-portal":{"get":{"summary":"Billing Portal","operationId":"billing_portal_payment_billing_portal_get","parameters":[{"name":"return_url","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Url"}},{"name":"session","in":"cookie","schema":{"type":"String"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BillingPortalOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}},"\/payment\/invoices":{"get":{"summary":"List Invoices","operationId":"list_invoices_payment_invoices_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}},{"name":"starting_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Starting After"}},{"name":"invoice_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Type"}},{"name":"session","in":"cookie","schema":{"type":"String"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InvoicesOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}},"\/payment\/usage":{"get":{"summary":"Usage","operationId":"usage_payment_usage_get","parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"string","description":"start of period in YYYY.MM, current(-N), unix_timestamp (in seconds, UTC) format","title":"From"},"description":"start of period in YYYY.MM, current(-N), unix_timestamp (in seconds, UTC) format"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"end of period (if missing a single month marked by from is return), same format as from","title":"To"},"description":"end of period (if missing a single month marked by from is return), same format as from"},{"name":"session","in":"cookie","schema":{"type":"String"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UsageOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}},"\/payment\/usage\/tokens":{"get":{"summary":"Usage Tokens","operationId":"usage_tokens_payment_usage_tokens_get","parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"string","description":"start of period in YYYY.MM, current(-N), unix_timestamp (in seconds, UTC) format","title":"From"},"description":"start of period in YYYY.MM, current(-N), unix_timestamp (in seconds, UTC) format"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"end of period (if missing a single month marked by from is return), same format as from","title":"To"},"description":"end of period (if missing a single month marked by from is return), same format as from"},{"name":"session","in":"cookie","schema":{"type":"String"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UsageOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}},"\/payment\/usage\/rent":{"get":{"summary":"Usage Rent","operationId":"usage_rent_payment_usage_rent_get","parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"integer","description":"start of period, in seconds since unix epoch","title":"From"},"description":"start of period, in seconds since unix epoch"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"end of period, in seconds since unix epoch","title":"To"},"description":"end of period, in seconds since unix epoch"},{"name":"session","in":"cookie","schema":{"type":"String"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UsageRentOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}},"\/payment\/usage\/{api_token}":{"get":{"summary":"Usage Api Token","operationId":"usage_api_token_payment_usage__api_token__get","parameters":[{"name":"api_token","in":"path","required":true,"schema":{"type":"string","title":"Api Token"}},{"name":"from","in":"query","required":true,"schema":{"type":"string","description":"start of period in YYYY.MM, current(-N), unix_timestamp (in seconds, UTC) format","title":"From"},"description":"start of period in YYYY.MM, current(-N), unix_timestamp (in seconds, UTC) format"},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"end of period (if missing a single month marked by from is return), same format as from","title":"To"},"description":"end of period (if missing a single month marked by from is return), same format as from"},{"name":"session","in":"cookie","schema":{"type":"String"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UsageOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}},"\/payment\/deepstart\/application":{"post":{"summary":"Deepstart Apply","operationId":"deepstart_apply_payment_deepstart_application_post","parameters":[{"name":"session","in":"cookie","schema":{"type":"String"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepStartApplicationIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeepStartApplicationOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}},"\/payment\/funds":{"post":{"summary":"Add Funds","operationId":"add_funds_payment_funds_post","parameters":[{"name":"use_checkout","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Use Checkout"}},{"name":"session","in":"cookie","schema":{"type":"String"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AddFundsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AddFundsOut"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}},"\/payment\/topup":{"post":{"summary":"Setup Topup","operationId":"setup_topup_payment_topup_post","parameters":[{"name":"session","in":"cookie","schema":{"type":"String"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TopUpIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}],"tags":["Billing"]}}},"components":{"schemas":{"AddFundsIn":{"properties":{"amount":{"type":"integer","title":"Amount","description":"Amount to add in cents"}},"type":"object","required":["amount"],"title":"AddFundsIn"},"AddFundsOut":{"properties":{"checkout_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkout Url","description":"Stripe Checkout Session URL to complete payment. Non-null when no saved payment method is on file."}},"type":"object","title":"AddFundsOut"},"BillingAddressOut":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line1"},"line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line2"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},"type":"object","title":"BillingAddressOut"},"BillingPortalOut":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"BillingPortalOut"},"Checklist":{"properties":{"email":{"type":"boolean","title":"Email","default":false},"billing_address":{"type":"boolean","title":"Billing Address","default":false},"billing_address_info":{"anyOf":[{"$ref":"#\/components\/schemas\/BillingAddressOut"},{"type":"null"}]},"payment_method":{"type":"boolean","title":"Payment Method","default":false},"payment_method_info":{"anyOf":[{"$ref":"#\/components\/schemas\/PaymentMethodOut"},{"type":"null"}]},"suspended":{"type":"boolean","title":"Suspended","default":false},"overdue_invoices":{"type":"number","title":"Overdue Invoices","default":0},"last_checked":{"type":"integer","title":"Last Checked","default":0},"stripe_balance":{"type":"number","title":"Stripe Balance","description":"Negative value indicates funds ready-to-spend. Positive value indicates money owed"},"recent":{"type":"number","title":"Recent","description":"usage since most recent invoice"},"limit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Limit"},"suspend_reason":{"anyOf":[{"$ref":"#\/components\/schemas\/SuspendReason"},{"type":"null"}]},"topup":{"type":"boolean","title":"Topup","default":false},"topup_amount":{"type":"integer","title":"Topup Amount","default":0},"topup_threshold":{"type":"integer","title":"Topup Threshold","default":0},"topup_failed":{"type":"boolean","title":"Topup Failed","default":false},"billing_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Type"},"intermediate_invoicing_threshold":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Intermediate Invoicing Threshold"}},"type":"object","required":["stripe_balance","recent","limit","suspend_reason"],"title":"Checklist"},"ConfigIn":{"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Limit","description":"Set usage limit (in USD). Negative means no limit.null\/not-set means don't change it"}},"type":"object","title":"ConfigIn"},"ConfigOut":{"properties":{"limit":{"type":"number","title":"Limit","description":"Spending limit (in USD). Negative means no limit"}},"type":"object","required":["limit"],"title":"ConfigOut"},"DeepStartApplicationIn":{"properties":{"id":{"type":"string","title":"Id"},"uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uid"},"company":{"type":"string","title":"Company"},"ceo":{"type":"string","title":"Ceo"},"funding":{"type":"string","title":"Funding"},"founded_on":{"type":"string","title":"Founded On"},"website":{"type":"string","title":"Website"},"created_at":{"type":"integer","title":"Created At"},"status":{"type":"string","title":"Status","default":"pending"},"deal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deal"}},"type":"object","required":["company","ceo","funding","founded_on","website"],"title":"DeepStartApplicationIn"},"DeepStartApplicationOut":{"properties":{"id":{"type":"string","title":"Id"},"uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uid"},"company":{"type":"string","title":"Company"},"ceo":{"type":"string","title":"Ceo"},"funding":{"type":"string","title":"Funding"},"founded_on":{"type":"string","title":"Founded On"},"website":{"type":"string","title":"Website"},"created_at":{"type":"integer","title":"Created At"},"status":{"type":"string","title":"Status","default":"pending"},"deal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deal"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["company","ceo","funding","founded_on","website"],"title":"DeepStartApplicationOut"},"DiscountMeta":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"description of the discount, only for display purposes"}},"type":"object","required":["name"],"title":"DiscountMeta"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#\/components\/schemas\/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InvoiceListItem":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"total":{"type":"integer","title":"Total"},"amount_due":{"type":"integer","title":"Amount Due"},"created":{"type":"integer","title":"Created"},"due_date":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Due Date"},"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period"},"invoice_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Type"},"hosted_invoice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hosted Invoice Url"},"invoice_pdf":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Pdf"}},"type":"object","required":["id","status","total","amount_due","created"],"title":"InvoiceListItem"},"InvoicesOut":{"properties":{"invoices":{"items":{"$ref":"#\/components\/schemas\/InvoiceListItem"},"type":"array","title":"Invoices"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["invoices","has_more","next_cursor"],"title":"InvoicesOut"},"ModelMeta":{"properties":{"provider":{"type":"string","title":"Provider"},"model_name":{"type":"string","title":"Model Name"},"task":{"type":"string","title":"Task"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Id"},"private":{"type":"boolean","title":"Private","default":false},"contract":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract","description":"bare-metal contract description, shown like on invoices"}},"type":"object","required":["provider","model_name","task"],"title":"ModelMeta"},"PaymentMethodBank":{"properties":{"bank_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Name"},"last4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last4"}},"type":"object","title":"PaymentMethodBank"},"PaymentMethodCard":{"properties":{"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"last4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last4"},"wallet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet"}},"type":"object","title":"PaymentMethodCard"},"PaymentMethodCashApp":{"properties":{"cashtag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cashtag"}},"type":"object","title":"PaymentMethodCashApp"},"PaymentMethodOut":{"properties":{"type":{"type":"string","title":"Type"},"card":{"anyOf":[{"$ref":"#\/components\/schemas\/PaymentMethodCard"},{"type":"null"}]},"us_bank_account":{"anyOf":[{"$ref":"#\/components\/schemas\/PaymentMethodBank"},{"type":"null"}]},"cashapp":{"anyOf":[{"$ref":"#\/components\/schemas\/PaymentMethodCashApp"},{"type":"null"}]}},"type":"object","required":["type"],"title":"PaymentMethodOut"},"SuspendReason":{"type":"string","enum":["balance","payment-method","overdue-invoices","limit-reached","admin","bad-cc","missing-address"],"title":"SuspendReason"},"TimeInterval":{"properties":{"fr":{"type":"integer","title":"Fr","default":0},"to":{"type":"integer","title":"To","default":4000000000000}},"type":"object","title":"TimeInterval","description":"Inclusive, in ms"},"TopUpIn":{"properties":{"amount":{"type":"integer","title":"Amount","description":"Amount to top up in cents","default":0},"threshold":{"type":"integer","title":"Threshold","description":"Top up threshold in cents, if balance goes below this value, top up will be triggered","default":0},"enabled":{"type":"boolean","title":"Enabled","description":"If true, top up will be triggered when balance goes below threshold","default":true}},"type":"object","title":"TopUpIn"},"UsageItem":{"properties":{"model":{"$ref":"#\/components\/schemas\/ModelMeta"},"units":{"type":"integer","title":"Units","description":"billed seconds or tokens"},"rate":{"type":"number","title":"Rate","description":"rate in cents\/sec or cents per token"},"cost":{"type":"integer","title":"Cost","description":"model cost in cents"},"pricing_type":{"type":"string","title":"Pricing Type","description":"pricing type"},"interval":{"$ref":"#\/components\/schemas\/TimeInterval","description":"time interval with this particular pricing"},"discount":{"anyOf":[{"$ref":"#\/components\/schemas\/DiscountMeta"},{"type":"null"}],"description":"discount meta, only if pricing_type is discount"}},"type":"object","required":["model","units","rate","cost","pricing_type","interval"],"title":"UsageItem"},"UsageMonth":{"properties":{"period":{"type":"string","title":"Period","description":"YYYY.MM formatted period"},"interval":{"$ref":"#\/components\/schemas\/TimeInterval","description":"time interval in this period"},"items":{"items":{"$ref":"#\/components\/schemas\/UsageItem"},"type":"array","title":"Items"},"total_cost":{"type":"integer","title":"Total Cost","description":"total cost for all items in cents"},"invoice_id":{"type":"string","title":"Invoice Id","description":"Stripe Invoice ID, or EMPTY|NOT_FINAL","default":"NOT_FINAL"}},"type":"object","required":["period","interval","items","total_cost"],"title":"UsageMonth"},"UsageOut":{"properties":{"months":{"items":{"$ref":"#\/components\/schemas\/UsageMonth"},"type":"array","title":"Months"},"initial_month":{"type":"string","title":"Initial Month","description":"The first month for this account"}},"type":"object","required":["months","initial_month"],"title":"UsageOut"},"UsageRentOut":{"properties":{"id_to_duration":{"additionalProperties":{"type":"integer"},"type":"object","title":"Id To Duration","description":"container id to duration in seconds"}},"type":"object","required":["id_to_duration"],"title":"UsageRentOut"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"AgentBackupOut":{"properties":{"snapshot_name":{"type":"string","title":"Snapshot Name"},"size_in_gb":{"type":"integer","title":"Size In Gb"},"state":{"type":"string","title":"State"},"created_at_unix":{"type":"integer","title":"Created At Unix"}},"type":"object","required":["snapshot_name","size_in_gb","state","created_at_unix"],"title":"AgentBackupOut"},"AgentCatalogOut":{"additionalProperties":{"$ref":"#\/components\/schemas\/AgentTypeMetaOut"},"type":"object","title":"AgentCatalogOut","description":"Per-agent-type catalog: keyed by agent_type_id, each entry carries the\ncurrent version and the plans available for that type."},"AgentCreateIn":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name","description":"Instance name"},"agent_type_id":{"type":"string","title":"Agent Type Id","description":"Agent type identifier","default":"openclaw"},"plan_id":{"type":"string","title":"Plan Id","description":"Plan identifier","default":"standard"}},"type":"object","required":["name"],"title":"AgentCreateIn"},"AgentCreateOut":{"properties":{"instance_id":{"type":"string","title":"Instance Id","description":"Instance ID"}},"type":"object","required":["instance_id"],"title":"AgentCreateOut"},"AgentInstanceOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"state":{"$ref":"#\/components\/schemas\/AgentInstanceState"},"start_ts":{"type":"integer","title":"Start Ts"},"state_ts":{"type":"integer","title":"State Ts"},"stop_ts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stop Ts"},"price_per_hour":{"type":"number","title":"Price Per Hour"},"region":{"type":"string","title":"Region"},"last_backup_ts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Backup Ts"},"ssh_port":{"type":"integer","title":"Ssh Port"},"fail_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fail Reason"},"public_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Ip"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"agent_type":{"type":"string","title":"Agent Type"},"ssh_user":{"type":"string","title":"Ssh User","description":"POSIX user the agent runs as inside the VM; also the SSH login user."},"plan_id":{"type":"string","title":"Plan Id"}},"type":"object","required":["id","name","state","start_ts","state_ts","stop_ts","price_per_hour","region","last_backup_ts","ssh_port","fail_reason","public_ip","version","agent_type","ssh_user","plan_id"],"title":"AgentInstanceOut"},"AgentInstanceState":{"type":"string","enum":["creating","starting","running","stopping","stopped","failed","deleted"],"title":"AgentInstanceState"},"AgentPlanOut":{"properties":{"id":{"type":"string","title":"Id","description":"Plan identifier"},"vcpu":{"type":"integer","title":"Vcpu","description":"Number of vCPUs"},"ram_gb":{"type":"integer","title":"Ram Gb","description":"RAM in GB"},"price_per_hour":{"type":"number","title":"Price Per Hour","description":"Price in USD per hour"},"monthly_egress_gb":{"type":"integer","title":"Monthly Egress Gb","description":"Included monthly egress allowance in GB"}},"type":"object","required":["id","vcpu","ram_gb","price_per_hour","monthly_egress_gb"],"title":"AgentPlanOut"},"AgentTypeMetaOut":{"properties":{"pretty_name":{"type":"string","title":"Pretty Name","description":"Human-readable display name for the framework"},"version":{"type":"string","title":"Version","description":"Agent framework version"},"has_dashboard":{"type":"boolean","title":"Has Dashboard","description":"Whether instances of this framework expose a dashboard via the nginx proxy. False -> SSH-only; the UI should hide the dashboard launch affordance and surface the SSH connection string instead."},"plans":{"items":{"$ref":"#\/components\/schemas\/AgentPlanOut"},"type":"array","title":"Plans","description":"Plans available for this agent type"}},"type":"object","required":["pretty_name","version","has_dashboard","plans"],"title":"AgentTypeMetaOut"},"AgentUpdateIn":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name","description":"Instance name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"AgentUpdateIn"},"AnthropicMessagesIn":{"properties":{"model":{"type":"string","title":"Model"},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens"},"messages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Messages"},"system":{"anyOf":[{"type":"string"},{"items":{"$ref":"#\/components\/schemas\/AnthropicSystemContent"},"type":"array"},{"type":"null"}],"title":"System"},"stop_sequences":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Stop Sequences"},"stream":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stream","default":false},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature","default":1},"top_p":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Top P"},"top_k":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Top K"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"tools":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/AnthropicTool"},"type":"array"},{"type":"null"}],"title":"Tools"},"tool_choice":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tool Choice"},"thinking":{"anyOf":[{"$ref":"#\/components\/schemas\/AnthropicThinkingConfig"},{"type":"null"}]}},"type":"object","required":["model","messages"],"title":"AnthropicMessagesIn"},"AnthropicSystemContent":{"properties":{"type":{"type":"string","const":"text","title":"Type"},"text":{"type":"string","title":"Text"}},"type":"object","required":["type","text"],"title":"AnthropicSystemContent"},"AnthropicThinkingConfig":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","title":"AnthropicThinkingConfig"},"AnthropicTokenCountRequest":{"properties":{"model":{"type":"string","title":"Model"},"messages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Messages"},"system":{"anyOf":[{"type":"string"},{"items":{"$ref":"#\/components\/schemas\/AnthropicSystemContent"},"type":"array"},{"type":"null"}],"title":"System"},"tools":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/AnthropicTool"},"type":"array"},{"type":"null"}],"title":"Tools"},"thinking":{"anyOf":[{"$ref":"#\/components\/schemas\/AnthropicThinkingConfig"},{"type":"null"}]},"tool_choice":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tool Choice"}},"type":"object","required":["model","messages"],"title":"AnthropicTokenCountRequest"},"AnthropicTool":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"input_schema":{"additionalProperties":true,"type":"object","title":"Input Schema"}},"type":"object","required":["name","input_schema"],"title":"AnthropicTool"},"ApiToken":{"properties":{"token":{"type":"string","title":"Token"},"created_at":{"type":"integer","title":"Created At","description":"creation unix timestamp"},"name":{"type":"string","title":"Name"},"token_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Id"},"allowed_ips":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Ips"}},"type":"object","required":["token","created_at","name"],"title":"ApiToken"},"ApiTokenIn":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"ApiTokenIn"},"ApiTokenVercelExportIn":{"properties":{"project_id_or_name":{"type":"string","title":"Project Id Or Name"},"is_sensitive":{"type":"boolean","title":"Is Sensitive"},"env_development":{"type":"boolean","title":"Env Development"},"env_preview":{"type":"boolean","title":"Env Preview"},"env_production":{"type":"boolean","title":"Env Production"}},"type":"object","required":["project_id_or_name","is_sensitive","env_development","env_preview","env_production"],"title":"ApiTokenVercelExportIn"},"BatchErrorData":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code","description":"An error code identifying the error type."},"line":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Line","description":"The line number of the input file where the error occurred."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"A human-readable message describing the error."},"param":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Param","description":"The name of the parameter that caused the error."}},"type":"object","title":"BatchErrorData"},"BatchErrors":{"properties":{"object":{"type":"string","title":"Object","description":"The object type, which is always list.","default":"list"},"data":{"items":{"$ref":"#\/components\/schemas\/BatchErrorData"},"type":"array","title":"Data","description":"List of error objects."}},"type":"object","title":"BatchErrors"},"BatchInputTokensDetails":{"properties":{"cached_tokens":{"type":"integer","title":"Cached Tokens","default":0}},"type":"object","title":"BatchInputTokensDetails"},"BatchOutputExpiresAfter":{"properties":{"anchor":{"type":"string","const":"created_at","title":"Anchor","description":"The anchor timestamp after which the expiration policy applies. Currently only created_at is supported.","default":"created_at"},"seconds":{"type":"integer","maximum":2592000,"minimum":3600,"title":"Seconds","description":"The number of seconds after the anchor time that the output and error files will expire. Must be between 3600 (1 hour) and 2592000 (30 days).","default":2592000}},"type":"object","title":"BatchOutputExpiresAfter"},"BatchOutputTokensDetails":{"properties":{"reasoning_tokens":{"type":"integer","title":"Reasoning Tokens","default":0}},"type":"object","title":"BatchOutputTokensDetails"},"BatchRequestCounts":{"properties":{"total":{"type":"integer","title":"Total","description":"Total number of requests in the batch.","default":0},"completed":{"type":"integer","title":"Completed","description":"Number of requests that completed successfully.","default":0},"failed":{"type":"integer","title":"Failed","description":"Number of requests that failed.","default":0}},"type":"object","title":"BatchRequestCounts"},"BatchUsage":{"properties":{"input_tokens":{"type":"integer","title":"Input Tokens","default":0},"input_tokens_details":{"$ref":"#\/components\/schemas\/BatchInputTokensDetails"},"output_tokens":{"type":"integer","title":"Output Tokens","default":0},"output_tokens_details":{"$ref":"#\/components\/schemas\/BatchOutputTokensDetails"},"total_tokens":{"type":"integer","title":"Total Tokens","default":0}},"type":"object","title":"BatchUsage"},"Body_create_voice_v1_voices_add_post":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["name","description","files"],"title":"Body_create_voice_v1_voices_add_post"},"Body_openai_audio_transcriptions_v1_audio_transcriptions_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"model":{"type":"string","title":"Model"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"response_format":{"anyOf":[{"type":"string","enum":["json","verbose_json","text","srt","vtt"]},{"type":"null"}],"title":"Response Format","default":"json"},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature","default":0},"timestamp_granularities":{"anyOf":[{"items":{"type":"string","enum":["segment","word"]},"type":"array"},{"type":"null"}],"title":"Timestamp Granularities"},"service_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Tier"}},"type":"object","required":["file","model"],"title":"Body_openai_audio_transcriptions_v1_audio_transcriptions_post"},"Body_openai_audio_translations_v1_audio_translations_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"model":{"type":"string","title":"Model"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"response_format":{"anyOf":[{"type":"string","enum":["json","verbose_json","text","srt","vtt"]},{"type":"null"}],"title":"Response Format","default":"json"},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature","default":0},"service_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Tier"}},"type":"object","required":["file","model"],"title":"Body_openai_audio_translations_v1_audio_translations_post"},"Body_openai_files_v1_files_post":{"properties":{"purpose":{"type":"string","title":"Purpose"},"file":{"items":{"type":"string","format":"binary"},"type":"array","title":"File"}},"type":"object","required":["purpose","file"],"title":"Body_openai_files_v1_files_post"},"Body_openai_images_edits_v1_images_edits_post":{"properties":{"image":{"type":"string","format":"binary","title":"Image"},"inp":{"anyOf":[{"$ref":"#\/components\/schemas\/OpenAIImagesEditsIn"},{"type":"null"}]},"prompt":{"type":"string","title":"Prompt"},"model":{"type":"string","title":"Model"}},"type":"object","required":["image","prompt","model"],"title":"Body_openai_images_edits_v1_images_edits_post"},"Body_openai_images_variations_v1_images_variations_post":{"properties":{"image":{"type":"string","format":"binary","title":"Image"},"inp":{"anyOf":[{"$ref":"#\/components\/schemas\/OpenAIImagesVariationsIn"},{"type":"null"}]},"model":{"type":"string","title":"Model"}},"type":"object","required":["image","model"],"title":"Body_openai_images_variations_v1_images_variations_post"},"Body_update_voice_v1_voices__voice_id__edit_post":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"}},"type":"object","required":["name","description"],"title":"Body_update_voice_v1_voices__voice_id__edit_post"},"ChatCompletionAssistantMessage":{"properties":{"cache_control":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cache Control","description":"Cache control for prompt caching"},"role":{"type":"string","const":"assistant","title":"Role","description":"the role of the author of this message","default":"assistant"},"content":{"anyOf":[{"type":"string"},{"items":{"$ref":"#\/components\/schemas\/ChatCompletionContentPartText"},"type":"array"},{"type":"null"}],"title":"Content","description":"the message content"},"reasoning_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning Content","description":"the reasoning content"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"tool_calls":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/ChatCompletionMessageToolCall"},"type":"array"},{"type":"null"}],"title":"Tool Calls","description":"the tool calls generated by the mode"}},"type":"object","title":"ChatCompletionAssistantMessage"},"ChatCompletionContentPartAudio":{"properties":{"type":{"type":"string","const":"input_audio","title":"Type"},"input_audio":{"$ref":"#\/components\/schemas\/InputAudio"}},"type":"object","required":["type","input_audio"],"title":"ChatCompletionContentPartAudio"},"ChatCompletionContentPartImage":{"properties":{"type":{"type":"string","const":"image_url","title":"Type"},"image_url":{"$ref":"#\/components\/schemas\/ImageURL"}},"type":"object","required":["type","image_url"],"title":"ChatCompletionContentPartImage"},"ChatCompletionContentPartText":{"properties":{"type":{"type":"string","const":"text","title":"Type"},"text":{"type":"string","title":"Text"}},"type":"object","required":["type","text"],"title":"ChatCompletionContentPartText"},"ChatCompletionContentPartVideo":{"properties":{"type":{"type":"string","const":"video_url","title":"Type"},"video_url":{"$ref":"#\/components\/schemas\/VideoURL"}},"type":"object","required":["type","video_url"],"title":"ChatCompletionContentPartVideo"},"ChatCompletionMessageToolCall":{"properties":{"id":{"type":"string","title":"Id","description":"the id of the tool call"},"type":{"type":"string","title":"Type","description":"the type of the tool call. only function is supported currently"},"function":{"$ref":"#\/components\/schemas\/Function","description":"the function that the model called"}},"type":"object","required":["id","type","function"],"title":"ChatCompletionMessageToolCall"},"ChatCompletionSystemMessage":{"properties":{"cache_control":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cache Control","description":"Cache control for prompt caching"},"role":{"type":"string","const":"system","title":"Role","description":"the role of the author of this message","default":"system"},"content":{"anyOf":[{"type":"string"},{"items":{"$ref":"#\/components\/schemas\/ChatCompletionContentPartText"},"type":"array"}],"title":"Content","description":"the message content"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["content"],"title":"ChatCompletionSystemMessage"},"ChatCompletionToolMessage":{"properties":{"cache_control":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cache Control","description":"Cache control for prompt caching"},"role":{"type":"string","const":"tool","title":"Role","description":"the role of the author of this message","default":"tool"},"content":{"anyOf":[{"type":"string"},{"items":{"$ref":"#\/components\/schemas\/ChatCompletionContentPartText"},"type":"array"}],"title":"Content","description":"the message content"},"tool_call_id":{"type":"string","title":"Tool Call Id"}},"type":"object","required":["content","tool_call_id"],"title":"ChatCompletionToolMessage"},"ChatCompletionUserMessage":{"properties":{"cache_control":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cache Control","description":"Cache control for prompt caching"},"role":{"type":"string","const":"user","title":"Role","description":"the role of the author of this message","default":"user"},"content":{"anyOf":[{"type":"string"},{"items":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatCompletionContentPartText"},{"$ref":"#\/components\/schemas\/ChatCompletionContentPartImage"},{"$ref":"#\/components\/schemas\/ChatCompletionContentPartAudio"},{"$ref":"#\/components\/schemas\/ChatCompletionContentPartVideo"}]},"type":"array"}],"title":"Content","description":"the message content"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["content"],"title":"ChatCompletionUserMessage"},"ChatReasoningSettings":{"properties":{"effort":{"anyOf":[{"type":"string","enum":["none","minimal","low","medium","high","xhigh","max"]},{"type":"null"}],"title":"Effort","description":"Constrains effort on reasoning for reasoning models. Set to none to disable reasoning entirely if the model supports it."},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled","description":"Enable or disable reasoning with default parameters."}},"type":"object","title":"ChatReasoningSettings"},"ChatTools":{"properties":{"cache_control":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cache Control","description":"Cache control for prompt caching"},"type":{"type":"string","title":"Type","default":"function"},"function":{"$ref":"#\/components\/schemas\/FunctionDefinition"}},"type":"object","required":["function"],"title":"ChatTools"},"CompletionMultiModalData":{"properties":{"image":{"items":{"type":"string"},"type":"array","title":"Image","description":"List of images as base64 data URIs (e.g. 'data:image\/png;base64,...'). Each image must correspond to a placeholder token in the prompt."},"video":{"items":{"type":"string"},"type":"array","title":"Video","description":"List of videos as base64 data URIs (e.g. 'data:video\/mp4;base64,...'). Each video must correspond to a placeholder token in the prompt."}},"type":"object","title":"CompletionMultiModalData"},"ContainerRentalOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"state":{"$ref":"#\/components\/schemas\/ContainerRentalStateOut"},"start_ts":{"type":"integer","title":"Start Ts"},"state_ts":{"type":"integer","title":"State Ts"},"stop_ts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stop Ts"},"ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip"},"gpu_config":{"type":"string","title":"Gpu Config"},"price_per_hour":{"type":"number","title":"Price Per Hour"},"container_image":{"type":"string","title":"Container Image"},"fail_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fail Reason"}},"type":"object","required":["id","name","state","start_ts","state_ts","stop_ts","ip","gpu_config","price_per_hour","container_image","fail_reason"],"title":"ContainerRentalOut"},"ContainerRentalStartIn":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name","description":"Container Name"},"gpu_config":{"type":"string","minLength":1,"title":"Gpu Config","description":"GPU config"},"container_image":{"type":"string","minLength":1,"title":"Container Image","description":"Container Image"},"cloud_init_user_data":{"type":"string","maxLength":32000,"minLength":1,"title":"Cloud Init User Data","description":"Cloud Init User Data"}},"type":"object","required":["name","gpu_config","container_image","cloud_init_user_data"],"title":"ContainerRentalStartIn"},"ContainerRentalStartOut":{"properties":{"container_id":{"type":"string","title":"Container Id","description":"Container Id"}},"type":"object","required":["container_id"],"title":"ContainerRentalStartOut"},"ContainerRentalStateOut":{"type":"string","enum":["creating","starting","running","shutting_down","failed","deleted"],"title":"ContainerRentalStateOut"},"ContainerRentalUpdateIn":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name","description":"Container Name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"ContainerRentalUpdateIn"},"CreateLoraApiRequest":{"properties":{"base_model":{"type":"string","title":"Base Model"},"lora_name":{"type":"string","title":"Lora Name"},"source":{"$ref":"#\/components\/schemas\/SourceModel"},"private":{"type":"boolean","title":"Private"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","default":""}},"type":"object","required":["base_model","lora_name","source","private"],"title":"CreateLoraApiRequest"},"DeepError":{"properties":{"error":{"type":"string","title":"Error","description":"Error","examples":["Model not found"]}},"type":"object","required":["error"],"title":"DeepError"},"DeployArgsHistoryOut":{"properties":{"entry_id":{"type":"string","title":"Entry Id","description":"Identifier of this past config; pass it to POST \/deploy\/{deploy_id}\/config\/history\/{entry_id}\/restore."},"retired_at":{"type":"string","title":"Retired At","description":"When this config was retired.","examples":["2021-08-27T17:19:21+00:00"]},"standard_args":{"additionalProperties":true,"type":"object","description":"Engine tuning knobs of this config."},"extra_args":{"items":{"type":"string"},"type":"array","title":"Extra Args","description":"Extra engine-specific command-line args of this config (custom-weight deploys only)."}},"type":"object","required":["entry_id","retired_at","standard_args"],"title":"DeployArgsHistoryOut"},"DeployDelete":{"properties":{"deploy_id":{"type":"string","title":"Deploy Id","description":"Deploy Id","examples":["fkj843kjh8"]}},"type":"object","required":["deploy_id"],"title":"DeployDelete"},"DeployGPUAvailability":{"properties":{"gpus":{"items":{"$ref":"#\/components\/schemas\/GPUAvailabilityInfo"},"type":"array","title":"Gpus","description":"A list of all provided GPUs configurations, including their price and wether they are available"}},"type":"object","required":["gpus"],"title":"DeployGPUAvailability"},"DeployGPUs":{"type":"string","enum":["L4-24GB","L40S-48GB","A100-80GB","H100-80GB","H200-141GB","B200-180GB","B300-270GB","RTXPRO6000-96GB","other"],"title":"DeployGPUs"},"DeployInstances":{"properties":{"running":{"type":"integer","title":"Running"},"pending":{"type":"integer","title":"Pending"}},"type":"object","required":["running","pending"],"title":"DeployInstances"},"DeployLLMConfig":{"properties":{"gpu":{"$ref":"#\/components\/schemas\/DeployGPUs","description":"The type of GPU the deployment is running on"},"num_gpus":{"type":"integer","title":"Num Gpus","description":"Number of GPUs used by one instance"},"max_batch_size":{"type":"integer","title":"Max Batch Size","description":"Maximum number of concurrent requests"},"weights":{"anyOf":[{"$ref":"#\/components\/schemas\/HFWeights"},{"type":"null"}],"description":"Model weights information"}},"type":"object","required":["gpu","num_gpus","max_batch_size"],"title":"DeployLLMConfig"},"DeployLLMIn":{"properties":{"model_name":{"type":"string","title":"Model Name","description":"model name for deepinfra (username\/mode-name format)"},"gpu":{"$ref":"#\/components\/schemas\/DeployGPUs","description":"The type of GPU the deployment is running on."},"num_gpus":{"type":"integer","maximum":8,"minimum":1,"title":"Num Gpus","description":"Number of GPUs used by one instance","default":1},"max_batch_size":{"type":"integer","maximum":256,"minimum":1,"title":"Max Batch Size","description":"Maximum number of concurrent requests","default":96},"hf":{"anyOf":[{"$ref":"#\/components\/schemas\/HFWeights"},{"type":"null"}]},"base_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Model","description":"Base public model"},"container_image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Container Image","description":"Docker image for the deployment (e.g. vllm\/vllm-openai:v0.8.4)"},"settings":{"anyOf":[{"$ref":"#\/components\/schemas\/ScaleSettings"},{"type":"null"}]},"extra_args":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Extra Args","description":"Extra command line arguments for custom deployments"},"standard_args":{"anyOf":[{"$ref":"#\/components\/schemas\/StandardArgs"},{"type":"null"}],"description":"Engine tuning knobs. Values are validated on submission; unsupported or out-of-range values are rejected."},"preset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preset Id","description":"Apply a stored preset or vLLM recipe by id. A non-empty standard_args or extra_args in this request replaces the preset's whole matching field."}},"type":"object","required":["model_name","gpu"],"title":"DeployLLMIn"},"DeployLLMUpdateIn":{"properties":{"settings":{"anyOf":[{"$ref":"#\/components\/schemas\/ScaleSettings"},{"type":"null"}]},"standard_args":{"anyOf":[{"$ref":"#\/components\/schemas\/StandardArgs"},{"type":"null"}],"description":"Engine tuning knobs. Replaces the whole set; omitted knobs are cleared."},"extra_args":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Extra Args","description":"Extra engine-specific command-line args (custom-weight deploys only). Replaces the whole list; omitted args are cleared."}},"type":"object","title":"DeployLLMUpdateIn"},"DeployModelIn":{"properties":{"provider":{"$ref":"#\/components\/schemas\/ModelProvider","description":"namespace for the model name","default":"cnt"},"model_name":{"type":"string","title":"Model Name","description":"model name in specified provider"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version","description":"A specific revision, if left empty uses the last one"}},"type":"object","required":["model_name"],"title":"DeployModelIn"},"DeployResult":{"properties":{"deploy_id":{"type":"string","title":"Deploy Id","description":"Deploy Id","examples":["fkj843kjh8"]}},"type":"object","required":["deploy_id"],"title":"DeployResult"},"DeployRollout":{"properties":{"up_to_date":{"type":"integer","title":"Up To Date","description":"Instances serving the current config."},"outdated":{"type":"integer","title":"Outdated","description":"Instances still serving a previous config."},"booting":{"type":"integer","title":"Booting","description":"Instances starting up."}},"type":"object","required":["up_to_date","outdated","booting"],"title":"DeployRollout"},"DeployStatusOut":{"properties":{"deploy_id":{"type":"string","title":"Deploy Id","description":"Deploy Id","examples":["fkj843kjh8"]}},"type":"object","required":["deploy_id"],"title":"DeployStatusOut"},"DeployType":{"type":"string","enum":["legacy","llm","lora","tts"],"title":"DeployType"},"DeploymentLogEntry":{"prefixItems":[{"type":"string","title":"Ts","description":"timestamp in fractional seconds since unix epoch (ns precision)"},{"type":"string","title":"Line","description":"a single log line"}],"type":"array","maxItems":2,"minItems":2},"DeploymentLogQueryOut":{"properties":{"entries":{"additionalProperties":{"items":{"$ref":"#\/components\/schemas\/DeploymentLogEntry"},"type":"array"},"type":"object","title":"Entries","description":"mapping of pod names to log lines ordered by increasing timestamp"}},"type":"object","title":"DeploymentLogQueryOut"},"DeploymentMainStatsOut":{"properties":{"model_name":{"type":"string","title":"Model Name","description":"Model name","examples":["google\/vit-base-patch16-224"]},"requests":{"type":"integer","title":"Requests","description":"number of inference requests in the provided interval"}},"type":"object","required":["model_name","requests"],"title":"DeploymentMainStatsOut"},"DeploymentOut":{"properties":{"type":{"$ref":"#\/components\/schemas\/DeployType","default":"legacy"},"deploy_id":{"type":"string","title":"Deploy Id","description":"Deploy Id","examples":["fkj843kjh8"]},"model_name":{"type":"string","title":"Model Name","description":"Model Id from huggingface","examples":["google\/vit-base-patch16-224"]},"version":{"type":"string","title":"Version","description":"Model version","examples":["d8b79b422843bd59d628bf25b01aded94a9ec1a9b917e69fe460df9ff39ec42b"]},"task":{"type":"string","title":"Task","description":"Task","examples":["image-classification"]},"status":{"type":"string","title":"Status","description":"Status","examples":["deployed"]},"fail_reason":{"type":"string","title":"Fail Reason","description":"Failure reason","examples":["Initialization failed"]},"created_at":{"type":"string","title":"Created At","description":"Created at","examples":["2021-08-27T17:19:21+00:00"]},"updated_at":{"type":"string","title":"Updated At","description":"Updated at","examples":["2021-08-27T17:19:21+00:00"]},"instances":{"anyOf":[{"$ref":"#\/components\/schemas\/DeployInstances"},{"type":"null"}],"description":"Details about number of instances running right now"},"config":{"anyOf":[{"$ref":"#\/components\/schemas\/DeployLLMConfig"},{"type":"null"}],"description":"Immutable deploy configuration"},"settings":{"anyOf":[{"$ref":"#\/components\/schemas\/ScaleSettings"},{"type":"null"}],"description":"Scale Settings"},"standard_args":{"properties":{"max_context_size":{"anyOf":[{"type":"integer","maximum":10000000,"minimum":1},{"type":"null"}],"title":"Max Context Size","description":"Maximum total sequence length (prompt + generation)."},"max_concurrent_requests":{"anyOf":[{"type":"integer","maximum":1024,"minimum":1},{"type":"null"}],"title":"Max Concurrent Requests","description":"Max number of requests served concurrently."},"gpu_memory_fraction":{"anyOf":[{"type":"number","maximum":0.97,"minimum":0.5},{"type":"null"}],"title":"Gpu Memory Fraction","description":"Fraction of GPU memory the engine may use for weights + KV cache."},"max_prefill_tokens":{"anyOf":[{"type":"integer","maximum":131072,"minimum":512},{"type":"null"}],"title":"Max Prefill Tokens","description":"Max tokens processed per prefill\/engine step (chunked prefill size)."},"kv_cache_dtype":{"anyOf":[{"type":"string","enum":["auto","fp8"]},{"type":"null"}],"title":"Kv Cache Dtype","description":"KV cache precision. fp8 ~doubles KV capacity at <1% accuracy loss."},"enable_prefix_caching":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable Prefix Caching","description":"Reuse KV cache for shared prompt prefixes."},"quantization":{"anyOf":[{"type":"string","enum":["fp8","awq","gptq","awq_marlin","gptq_marlin","compressed-tensors","bitsandbytes"]},{"type":"null"}],"title":"Quantization","description":"On-the-fly weight quantization method."}},"additionalProperties":false,"type":"object","title":"StandardArgs","description":"Current engine tuning knobs"},"extra_args":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Extra Args","description":"Current extra engine-specific command-line args (custom-weight deploys only)"},"update_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Update Error","description":"If the last config update was auto-reverted after an engine crash-loop, the error that caused it (status stays 'running')"},"rollout":{"anyOf":[{"$ref":"#\/components\/schemas\/DeployRollout"},{"type":"null"}],"description":"Per-instance rollout progress of the current config"}},"type":"object","required":["deploy_id","model_name","version","task","status","fail_reason","created_at","updated_at"],"title":"DeploymentOut"},"DeploymentStatsOut":{"properties":{"requests":{"type":"integer","title":"Requests","description":"number of inference requests in the provided interval"},"total_time":{"type":"integer","title":"Total Time","description":"total number of seconds spend in inference"},"total_tokens":{"type":"integer","title":"Total Tokens","description":"total number of tokens generated"},"input_tokens":{"type":"integer","title":"Input Tokens","description":"number of input tokens generated"},"output_tokens":{"type":"integer","title":"Output Tokens","description":"number of output tokens generated"},"total_amount":{"type":"integer","title":"Total Amount","description":"total number of cents spent"},"avg_time":{"type":"number","title":"Avg Time","description":"average millisecond inference time"},"avg95_time":{"type":"number","title":"Avg95 Time","description":"95th percentile inference time (estimated)"},"errors":{"type":"integer","title":"Errors","description":"number of errors"}},"type":"object","required":["requests","total_time","total_tokens","input_tokens","output_tokens","total_amount","avg_time","avg95_time","errors"],"title":"DeploymentStatsOut"},"DetailedDeploymentStatsOut":{"properties":{"llm":{"anyOf":[{"$ref":"#\/components\/schemas\/LLMDeploymentStatsOut"},{"type":"null"}],"description":"LLM Deployment Stats"},"embeddings":{"anyOf":[{"$ref":"#\/components\/schemas\/EmbeddingsDeploymentStatsOut"},{"type":"null"}],"description":"Embeddings Deployment Stats"},"time":{"anyOf":[{"$ref":"#\/components\/schemas\/TimeDeploymentStatsOut"},{"type":"null"}],"description":"Time based Deployment Stats"}},"type":"object","title":"DetailedDeploymentStatsOut"},"DetokenizeIn":{"properties":{"model":{"type":"string","title":"Model","description":"model name","examples":["my-org\/my-dedicated-llm"]},"tokens":{"items":{"type":"integer"},"type":"array","title":"Tokens","description":"token ids to detokenize"}},"additionalProperties":true,"type":"object","required":["model"],"title":"DetokenizeIn"},"DetokenizeOut":{"properties":{"prompt":{"type":"string","title":"Prompt","description":"detokenized text"}},"type":"object","required":["prompt"],"title":"DetokenizeOut"},"DisplayNameIn":{"properties":{"display_name":{"type":"string","maxLength":39,"minLength":1,"pattern":"^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$","title":"Display Name","description":"String with length between 1 and 39 characters. Only alphanumeric characters and dashes allowed. Must contain no leading, trailing or consecutive dashes."}},"type":"object","required":["display_name"],"title":"DisplayNameIn"},"ElevenLabsTextToSpeechIn":{"properties":{"text":{"type":"string","title":"Text","description":"Text to convert to speech","examples":["I'm beginnin' to feel like a Rap God, Rap God\nAll my people from the front to the back nod, back nod\nNow, who thinks their arms are long enough to slap box, slap box?\nThey said I rap like a robot, so call me Rap-bot"]},"model_id":{"type":"string","title":"Model Id","description":"Model ID to use for the conversion","default":"hexgrad\/Kokoro-82M"},"output_format":{"$ref":"#\/components\/schemas\/TtsResponseFormat","description":"Output format for the speech"},"language_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language Code","description":"ISO 639-1, 2 letter language code"}},"type":"object","required":["text"],"title":"ElevenLabsTextToSpeechIn"},"EmailsOut":{"properties":{"emails":{"items":{"type":"string"},"type":"array","title":"Emails","description":"List of emails verified by theauthenticaiton provider"}},"type":"object","required":["emails"],"title":"EmailsOut"},"EmbeddingsDeploymentStatsOut":{"properties":{"requests":{"type":"integer","title":"Requests","description":"number of inference requests in the provided interval"},"input_tokens":{"type":"integer","title":"Input Tokens","description":"number of input tokens generated"},"avg_tpt_ms":{"type":"number","title":"Avg Tpt Ms","description":"average millisecond time per token"},"avg95_tpt_ms":{"type":"number","title":"Avg95 Tpt Ms","description":"95th percentile time per token (estimated)"},"total_amount_cents":{"type":"integer","title":"Total Amount Cents","description":"total number of cents spent"},"errors":{"type":"integer","title":"Errors","description":"number of errors"}},"type":"object","required":["requests","input_tokens","avg_tpt_ms","avg95_tpt_ms","total_amount_cents","errors"],"title":"EmbeddingsDeploymentStatsOut"},"FAQEntryOut":{"properties":{"faq_id":{"type":"string","title":"Faq Id","description":"FAQ entry ID, usually the question"},"question":{"type":"string","title":"Question","description":"FAQ question"},"answer":{"type":"string","title":"Answer","description":"FAQ answer in markdown format"},"order":{"type":"integer","title":"Order","description":"order of the FAQ entry in the list, lower numbers come first","default":0}},"type":"object","required":["faq_id","question","answer"],"title":"FAQEntryOut"},"FeedbackIn":{"properties":{"message":{"type":"string","title":"Message","description":"The message you'd like to send to deepinfra team"},"contact_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Contact Email","description":"Optional contact email to reach you back"}},"type":"object","required":["message"],"title":"FeedbackIn"},"Function":{"properties":{"name":{"type":"string","title":"Name","description":"the name of the function to call"},"arguments":{"type":"string","title":"Arguments","description":"the function arguments, generated by the model in JSON format. the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema"}},"type":"object","required":["name","arguments"],"title":"Function"},"FunctionDefinition":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Parameters"}},"type":"object","required":["name"],"title":"FunctionDefinition"},"GPUAvailabilityInfo":{"properties":{"gpu_config":{"type":"string","title":"Gpu Config"},"usd_per_hour":{"type":"number","title":"Usd Per Hour"},"available":{"type":"boolean","title":"Available"},"recommended":{"type":"boolean","title":"Recommended","default":false}},"type":"object","required":["gpu_config","usd_per_hour","available"],"title":"GPUAvailabilityInfo"},"GetVoicesOut":{"properties":{"voices":{"items":{"$ref":"#\/components\/schemas\/Voice"},"type":"array","title":"Voices"}},"type":"object","title":"GetVoicesOut"},"GpuLimitOut":{"properties":{"limits":{"additionalProperties":{"type":"integer"},"type":"object","title":"Limits","description":"Effective GPU limits per type (defaults merged with overrides)"},"pending_requests":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Pending Requests","description":"Pending GPU limit increase requests per type"}},"type":"object","required":["limits"],"title":"GpuLimitOut"},"GpuLimitRequestIn":{"properties":{"gpu_type":{"type":"string","title":"Gpu Type"},"requested_limit":{"type":"integer","title":"Requested Limit"},"reason":{"type":"string","maxLength":2048,"title":"Reason"}},"type":"object","required":["gpu_type","requested_limit","reason"],"title":"GpuLimitRequestIn"},"HFModel":{"properties":{"model_name":{"type":"string","title":"Model Name","description":"Model Id from huggingface","examples":["google\/vit-base-patch16-224"]},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task","description":"Task","examples":["image-classification"]}},"type":"object","required":["model_name"],"title":"HFModel"},"HFTasksE":{"type":"string","enum":["automatic-speech-recognition","image-classification","question-answering","token-classification","text-to-image","fill-mask","zero-shot-image-classification","text2text-generation","text-generation","text-classification","object-detection","embeddings","dreambooth","custom","text-to-speech","text-to-video","text-to-music","rent-container","bare-metal","reranker","openclaw","hermes","world-model","sandbox"],"title":"HFTasksE"},"HFWeights":{"properties":{"repo":{"type":"string","title":"Repo","description":"huggingface repository i.e username\/reponame"},"revision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revision","description":"commit sha or branch name"},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token","description":"huggingface access token with read access to the repo"}},"type":"object","required":["repo"],"title":"HFWeights"},"HardwareOption":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"type":{"type":"string","enum":["serverless","dedicated"],"title":"Type"},"pricing":{"anyOf":[{"$ref":"#\/components\/schemas\/HardwarePricingServerless"},{"$ref":"#\/components\/schemas\/HardwarePricingDedicated"}],"title":"Pricing"}},"type":"object","required":["id","name","type","pricing"],"title":"HardwareOption"},"HardwarePricingDedicated":{"properties":{"cents_per_minute":{"type":"number","title":"Cents Per Minute"}},"type":"object","required":["cents_per_minute"],"title":"HardwarePricingDedicated"},"HardwarePricingServerless":{"properties":{"cents_per_million_input_tokens":{"type":"number","title":"Cents Per Million Input Tokens"},"cents_per_million_output_tokens":{"type":"number","title":"Cents Per Million Output Tokens"}},"type":"object","required":["cents_per_million_input_tokens","cents_per_million_output_tokens"],"title":"HardwarePricingServerless"},"HardwareResponse":{"properties":{"hardware":{"items":{"$ref":"#\/components\/schemas\/HardwareOption"},"type":"array","title":"Hardware"}},"type":"object","title":"HardwareResponse"},"ImageURL":{"properties":{"url":{"type":"string","title":"Url"},"detail":{"type":"string","enum":["auto","low","high"],"title":"Detail","default":"auto"}},"type":"object","required":["url"],"title":"ImageURL"},"InputAudio":{"properties":{"data":{"type":"string","title":"Data"},"format":{"type":"string","enum":["wav","mp3"],"title":"Format","default":"wav"}},"type":"object","required":["data"],"title":"InputAudio"},"InspectScopedJWTOut":{"properties":{"expires_at":{"type":"integer","title":"Expires At","description":"unix timestamp of when the token expires"},"models":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Models","description":"which models is the token limited to"},"spending_limit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spending Limit","description":"how much is the total spending limit set at creation"}},"type":"object","required":["expires_at"],"title":"InspectScopedJWTOut"},"JsonObjectResponseFormat":{"properties":{"type":{"type":"string","const":"json_object","title":"Type","default":"json_object"}},"type":"object","title":"JsonObjectResponseFormat"},"JsonSchema":{"properties":{"name":{"type":"string","title":"Name","description":"Name identifier for the JSON schema"},"schema":{"additionalProperties":true,"type":"object","title":"Schema","description":"The actual JSON schema definition"}},"type":"object","required":["name","schema"],"title":"JsonSchema"},"JsonSchemaResponseFormat":{"properties":{"type":{"type":"string","const":"json_schema","title":"Type","default":"json_schema"},"json_schema":{"$ref":"#\/components\/schemas\/JsonSchema","description":"JSON schema for structured output when type is 'json_schema'"}},"type":"object","required":["json_schema"],"title":"JsonSchemaResponseFormat"},"LLMDeploymentStatsOut":{"properties":{"requests":{"type":"integer","title":"Requests","description":"number of inference requests in the provided interval"},"input_tokens":{"type":"integer","title":"Input Tokens","description":"number of input tokens generated"},"output_tokens":{"type":"integer","title":"Output Tokens","description":"number of output tokens generated"},"avg_ttft_ms":{"type":"number","title":"Avg Ttft Ms","description":"average millisecond time to first token"},"avg95_ttft_ms":{"type":"number","title":"Avg95 Ttft Ms","description":"95th percentile time to first token (estimated)"},"avg_tpt_ms":{"type":"number","title":"Avg Tpt Ms","description":"average millisecond time per token"},"avg95_tpt_ms":{"type":"number","title":"Avg95 Tpt Ms","description":"95th percentile time per token (estimated)"},"total_amount_cents":{"type":"integer","title":"Total Amount Cents","description":"total number of cents spent"},"errors":{"type":"integer","title":"Errors","description":"number of errors"}},"type":"object","required":["requests","input_tokens","output_tokens","avg_ttft_ms","avg95_ttft_ms","avg_tpt_ms","avg95_tpt_ms","total_amount_cents","errors"],"title":"LLMDeploymentStatsOut"},"LogEntry":{"prefixItems":[{"type":"string","title":"Ts","description":"timestamp in fractional seconds since unix epoch (ns precision)"},{"type":"string","title":"Line","description":"a single log line"}],"type":"array","maxItems":2,"minItems":2},"LogQueryOut":{"properties":{"entries":{"items":{"$ref":"#\/components\/schemas\/LogEntry"},"type":"array","title":"Entries","description":"list of log lines ordered by increasing timestamp"}},"type":"object","title":"LogQueryOut"},"LoraModelUploadIn":{"properties":{"hf_model_name":{"type":"string","title":"Hf Model Name"},"hf_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hf Token"},"lora_model_name":{"type":"string","title":"Lora Model Name"},"base_model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base Model Name"}},"type":"object","required":["hf_model_name","lora_model_name"],"title":"LoraModelUploadIn"},"Me":{"properties":{"uid":{"type":"string","title":"Uid"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"email_verified":{"type":"boolean","title":"Email Verified"},"account_setup":{"type":"boolean","title":"Account Setup"},"require_email_verified":{"type":"boolean","title":"Require Email Verified","default":false},"display_name":{"type":"string","title":"Display Name","description":"Name that is used to identifythe account on the website"},"provider":{"type":"string","title":"Provider","description":"Authentication provider, e.g. 'github'"},"picture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Picture"},"is_admin":{"type":"boolean","title":"Is Admin"},"can_access_agents":{"type":"boolean","title":"Can Access Agents","description":"Whether the user may use the hosted-agents feature (admins, plus the AGENTS_ACCESS_UIDS allowlist)","default":false},"name":{"type":"string","title":"Name","description":"Personal name"},"first_name":{"type":"string","title":"First Name","description":"First name of the user"},"last_name":{"type":"string","title":"Last Name","description":"Last name of the user"},"country":{"type":"string","title":"Country","description":"Country of the user"},"is_business_account":{"type":"boolean","title":"Is Business Account"},"company":{"type":"string","title":"Company","description":"Company name"},"website":{"type":"string","title":"Website","description":"Company website address"},"title":{"type":"string","title":"Title","description":"Job title of the user, e.g. 'Software Engineer'"},"is_team_account":{"type":"boolean","title":"Is Team Account","default":false},"is_team_owner":{"type":"boolean","title":"Is Team Owner","default":false},"team_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Role"},"team_display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Display Name"},"is_team_upgrade_enabled":{"type":"boolean","title":"Is Team Upgrade Enabled","default":true},"vercel_connection":{"anyOf":[{"$ref":"#\/components\/schemas\/MeVercelConnection"},{"type":"null"}]},"google_linked":{"type":"boolean","title":"Google Linked","description":"Whether a Google account is linked","default":false},"show_signup_form":{"type":"boolean","title":"Show Signup Form","description":"Frontend should route the user into the post-signup account-details form","default":false},"checklist":{"anyOf":[{"$ref":"#\/components\/schemas\/Checklist"},{"type":"null"}]}},"type":"object","required":["uid","email","email_verified","account_setup","display_name","provider","picture","is_admin","name","first_name","last_name","country","is_business_account","company","website","title"],"title":"Me"},"MeIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":256,"minLength":1},{"type":"null"}],"title":"Name","description":"Personal name"},"first_name":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"First Name","description":"First name of the user"},"last_name":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Last Name","description":"Last name of the user"},"country":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Country","description":"Country of the user"},"email":{"anyOf":[{"type":"string","maxLength":320,"minLength":1},{"type":"null"}],"title":"Email"},"is_business_account":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Business Account"},"company":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Company","description":"Company name"},"website":{"anyOf":[{"type":"string","maxLength":128,"minLength":0},{"type":"null"}],"title":"Website","description":"Company website address"},"title":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Title","description":"Job title of the user, e.g. 'Software Engineer'"},"display_name":{"anyOf":[{"type":"string","maxLength":39,"minLength":1,"pattern":"^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$"},{"type":"null"}],"title":"Display Name","description":"String with length between 1 and 39 characters. Only alphanumeric characters and dashes allowed. Must contain no leading, trailing or consecutive dashes."},"use_case":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"null"}],"title":"Use Case","description":"Short description of the use case for the account"},"attribution":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"null"}],"title":"Attribution","description":"Short description of how the user found out about DeepInfra"},"marketing_emails":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Marketing Emails","description":"Set to false to opt out of marketing emails"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"ISO 3166-1 alpha-2 country code of the user selected country"}},"type":"object","title":"MeIn"},"MeVercelConnection":{"properties":{"user_id":{"type":"string","title":"User Id"},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id"},"installation_id":{"type":"string","title":"Installation Id"}},"type":"object","required":["user_id","installation_id"],"title":"MeVercelConnection"},"ModelDocBlock":{"properties":{"key":{"$ref":"#\/components\/schemas\/ModelDocBlockKey"},"url":{"type":"string","title":"Url"}},"type":"object","required":["key","url"],"title":"ModelDocBlock"},"ModelDocBlockKey":{"type":"string","enum":["http","http-bge-m3-multimodal","http-bagel-multimodal","deepctl","js-text-gen","js-emb","js-text-to-img","js-speech-to-text","openai-python","openai-python-short","openai-http","openai-js","openai-js-short","openai-speech-http","openai-speech-python","openai-speech-js","openai-images-http","openai-images-python","openai-images-js","openai-images-variations-http","openai-images-variations-python","openai-images-variations-js","openai-images-edits-http","openai-images-edits-python","openai-images-edits-js","openai-comp-python","openai-comp-python-short","openai-comp-http","openai-comp-js","openai-comp-js-short","openai-emb-py","openai-emb-http","openai-emb-js","openai-tts-http","openai-tts-python","openai-tts-js","elevenlabs-tts-http","elevenlabs-tts-python","elevenlabs-tts-js","create-voice-http","create-voice-python","create-voice-js","read-voice-http","read-voice-python","read-voice-js","update-voice-http","update-voice-python","update-voice-js","delete-voice-http","delete-voice-python","delete-voice-js","list-voices-http","list-voices-python","list-voices-js","ai-sdk-js","ai-sdk-js-short"],"title":"ModelDocBlockKey"},"ModelFamilyOut":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"Model family name"},"title":{"type":"string","title":"Title","description":"Model family title"},"description":{"type":"string","title":"Description","description":"Model family description"},"developer":{"type":"string","title":"Developer","description":"Model family developer organization"},"meta_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Title","description":"Meta title for SEO"},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description","description":"Meta description for SEO"},"featured_models":{"items":{"type":"string"},"type":"array","title":"Featured Models"},"pp_sections_out":{"items":{"$ref":"#\/components\/schemas\/PricingPageSectionOut"},"type":"array","title":"Pp Sections Out"},"faq_entries":{"items":{"$ref":"#\/components\/schemas\/FAQEntryOut"},"type":"array","title":"Faq Entries","description":"List of FAQ entries for this model family, ordered by their order field"}},"type":"object","required":["name","title","description","developer","featured_models","pp_sections_out"],"title":"ModelFamilyOut"},"ModelFieldInfo":{"properties":{"name":{"type":"string","title":"Name"},"parent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent"},"ftype":{"type":"string","title":"Ftype"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"allowed":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Allowed"},"default":{"title":"Default"},"examples":{"items":{},"type":"array","title":"Examples","default":[]},"minimum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimum"},"exclusiveMinimum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Exclusiveminimum"},"maximum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maximum"},"exclusiveMaximum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Exclusivemaximum"}},"type":"object","required":["name","ftype"],"title":"ModelFieldInfo"},"ModelInfoOut":{"properties":{"model_name":{"type":"string","title":"Model Name"},"type":{"type":"string","title":"Type"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"reported_type":{"type":"string","title":"Reported Type"},"version":{"type":"string","title":"Version"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"mf_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mf Description"},"featured":{"type":"boolean","title":"Featured"},"owner":{"type":"boolean","title":"Owner","default":false},"public":{"type":"boolean","title":"Public"},"curl_inv":{"type":"string","title":"Curl Inv"},"cmdline_inv":{"type":"string","title":"Cmdline Inv"},"txt_docs":{"type":"string","title":"Txt Docs"},"out_example":{"type":"string","title":"Out Example"},"out_docs":{"type":"string","title":"Out Docs"},"in_schema":{"title":"In Schema"},"out_schema":{"title":"Out Schema"},"in_fields":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/ModelFieldInfo"},"type":"array"},{"type":"null"}],"title":"In Fields"},"pricing":{"anyOf":[{"$ref":"#\/components\/schemas\/ModelPricingTime"},{"$ref":"#\/components\/schemas\/ModelPricingUptime"},{"$ref":"#\/components\/schemas\/ModelPricingTokens"},{"$ref":"#\/components\/schemas\/ModelPricingInputLength"},{"$ref":"#\/components\/schemas\/ModelPricingInputTokens"},{"$ref":"#\/components\/schemas\/ModelPricingInputCharacterLength"},{"$ref":"#\/components\/schemas\/ModelPricingImageUnits"},{"$ref":"#\/components\/schemas\/ModelPricingOutputLength"},{"$ref":"#\/components\/schemas\/ModelPricingFrameUnits"}],"title":"Pricing"},"doc_blocks":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/ModelDocBlock"},"type":"array"},{"type":"null"}],"title":"Doc Blocks"},"short_doc_block":{"anyOf":[{"$ref":"#\/components\/schemas\/ModelDocBlock"},{"type":"null"}]},"schemas":{"items":{"$ref":"#\/components\/schemas\/SchemaVariant"},"type":"array","title":"Schemas"},"meta":{"additionalProperties":true,"type":"object","title":"Meta","default":{}},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens"},"max_output_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Output Tokens"},"replaced_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replaced By"},"deprecated":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Deprecated"},"quantization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quantization"},"mmlu":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mmlu"},"expected":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected"},"import_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Import Time"},"is_partner":{"type":"boolean","title":"Is Partner","default":false},"is_custom_deployable":{"type":"boolean","title":"Is Custom Deployable","default":false},"mf_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mf Name"},"mf_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mf Title"}},"type":"object","required":["model_name","type","tags","reported_type","version","featured","public","curl_inv","cmdline_inv","txt_docs","out_example","out_docs","pricing","schemas"],"title":"ModelInfoOut"},"ModelMetaIn":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"short model description in plain text"},"github_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Url","description":"source code project link (empty to delete)"},"paper_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paper Url","description":"paper\/research link (empty to delete)"},"license_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License Url","description":"usage license link (empty to delete)"},"readme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Readme","description":"markdown flavored model readme"},"cover_img_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Img Url","description":"dataurl or regular url to cover image (empty to delete)"},"reported_type":{"anyOf":[{"$ref":"#\/components\/schemas\/HFTasksE"},{"type":"null"}],"description":"model type"}},"additionalProperties":false,"type":"object","title":"ModelMetaIn"},"ModelMetadata":{"properties":{"description":{"type":"string","title":"Description"},"context_length":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Context Length"},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens"},"pricing":{"additionalProperties":{"type":"number"},"type":"object","title":"Pricing"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"default_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Default Width"},"default_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Default Height"},"default_iterations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Default Iterations"}},"type":"object","required":["description","pricing","tags"],"title":"ModelMetadata","description":"Per-model metadata exposed by ``\/v1\/openai\/models``.\n\nPricing key names are surface-specific:\n\n- chat \/ vlm:  {\"input_tokens\", \"output_tokens\", \"cache_read_tokens\"}  ($\/1M tokens)\n- embed:       {\"input_tokens\"}                                        ($\/1M tokens)\n- image-gen:   {\"per_image_unit\"}                                      ($\/image at default geometry)\n- video-gen:   {\"output_seconds\"}                                      ($\/sec generated)\n- tts:         {\"input_characters\"}                                    ($\/1M input chars)\n- stt:         {\"input_seconds\"}                                       ($\/sec input audio)\n\n``tags`` always carries the surface short alias (e.g. ``'chat'``,\n``'image-gen'``) and, for chat models, any of ``'vision'``,\n``'prompt_cache'``, ``'reasoning_effort'``, ``'reasoning'``."},"ModelNameSuggestionOut":{"properties":{"model_name":{"type":"string","title":"Model Name","description":"A model name that is currently free to claim (prefixed in username\/model-name format)."}},"type":"object","required":["model_name"],"title":"ModelNameSuggestionOut"},"ModelOut":{"properties":{"model_name":{"type":"string","title":"Model Name","description":"Model Name","examples":["microsoft\/resnet-50"]},"type":{"type":"string","title":"Type","description":"raw type of the model","examples":["image-classification"]},"reported_type":{"type":"string","title":"Reported Type","description":"reported type of the model","examples":["text-generation"]},"description":{"type":"string","title":"Description","description":"description of the model","default":"","examples":["ResNet-50 is a convolutional neural network that is trained on more than a million images from the ImageNet database. It is a 50-layer deep neural network."]},"cover_img_url":{"type":"string","title":"Cover Img Url","description":"cover image link","default":""},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"list of tags"},"pricing":{"anyOf":[{"$ref":"#\/components\/schemas\/ModelPricingTime"},{"$ref":"#\/components\/schemas\/ModelPricingTokens"},{"$ref":"#\/components\/schemas\/ModelPricingInputLength"},{"$ref":"#\/components\/schemas\/ModelPricingInputTokens"},{"$ref":"#\/components\/schemas\/ModelPricingUptime"},{"$ref":"#\/components\/schemas\/ModelPricingInputCharacterLength"},{"$ref":"#\/components\/schemas\/ModelPricingImageUnits"},{"$ref":"#\/components\/schemas\/ModelPricingOutputLength"},{"$ref":"#\/components\/schemas\/ModelPricingFrameUnits"}],"title":"Pricing","description":"The pricing type and cost for this model"},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens","description":"The maximum context size of this model, if applicable"},"replaced_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replaced By"},"deprecated":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Deprecated"},"quantization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quantization"},"mmlu":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mmlu"},"expected":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected"},"create_ts":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Create Ts"},"private":{"type":"integer","title":"Private","default":0},"is_partner":{"type":"boolean","title":"Is Partner","default":false}},"type":"object","required":["model_name","type","reported_type","pricing"],"title":"ModelOut"},"ModelPricingFrameUnits":{"properties":{"short":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short","description":"Short description of the pricing, ideal for cards and headers","examples":["$0.15 \/ second"]},"full":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full","description":"Full description of the pricing, perfect for details","examples":["$0.15 \/ second for 1080P, $0.10 \/ second for 720P"]},"table":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Table","description":"Could be used to generate pricing tables","examples":[{"columns":["resolution","$ cost per second"],"rows":[["780P","$0.10"],["1080P","$0.15"]]}]},"type":{"type":"string","title":"Type","default":"frame_units"},"cents_per_frame_unit":{"type":"number","title":"Cents Per Frame Unit"}},"type":"object","required":["cents_per_frame_unit"],"title":"ModelPricingFrameUnits"},"ModelPricingImageUnits":{"properties":{"short":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short","description":"Short description of the pricing, ideal for cards and headers","examples":["$0.15 \/ second"]},"full":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full","description":"Full description of the pricing, perfect for details","examples":["$0.15 \/ second for 1080P, $0.10 \/ second for 720P"]},"table":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Table","description":"Could be used to generate pricing tables","examples":[{"columns":["resolution","$ cost per second"],"rows":[["780P","$0.10"],["1080P","$0.15"]]}]},"type":{"type":"string","title":"Type","default":"image_units"},"cents_per_image_unit":{"type":"number","title":"Cents Per Image Unit"},"default_width":{"type":"integer","title":"Default Width"},"default_height":{"type":"integer","title":"Default Height"},"default_iterations":{"type":"integer","title":"Default Iterations"},"default_price_cents":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Price Cents"},"usage_from_cost":{"type":"boolean","title":"Usage From Cost"}},"type":"object","required":["cents_per_image_unit","default_width","default_height","default_iterations","usage_from_cost"],"title":"ModelPricingImageUnits"},"ModelPricingInputCharacterLength":{"properties":{"short":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short","description":"Short description of the pricing, ideal for cards and headers","examples":["$0.15 \/ second"]},"full":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full","description":"Full description of the pricing, perfect for details","examples":["$0.15 \/ second for 1080P, $0.10 \/ second for 720P"]},"table":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Table","description":"Could be used to generate pricing tables","examples":[{"columns":["resolution","$ cost per second"],"rows":[["780P","$0.10"],["1080P","$0.15"]]}]},"type":{"type":"string","title":"Type","default":"input_character_length"},"cents_per_input_chars":{"type":"number","title":"Cents Per Input Chars"}},"type":"object","required":["cents_per_input_chars"],"title":"ModelPricingInputCharacterLength"},"ModelPricingInputLength":{"properties":{"short":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short","description":"Short description of the pricing, ideal for cards and headers","examples":["$0.15 \/ second"]},"full":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full","description":"Full description of the pricing, perfect for details","examples":["$0.15 \/ second for 1080P, $0.10 \/ second for 720P"]},"table":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Table","description":"Could be used to generate pricing tables","examples":[{"columns":["resolution","$ cost per second"],"rows":[["780P","$0.10"],["1080P","$0.15"]]}]},"type":{"type":"string","title":"Type","default":"input_length"},"cents_per_input_sec":{"type":"number","title":"Cents Per Input Sec"}},"type":"object","required":["cents_per_input_sec"],"title":"ModelPricingInputLength"},"ModelPricingInputTokens":{"properties":{"short":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short","description":"Short description of the pricing, ideal for cards and headers","examples":["$0.15 \/ second"]},"full":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full","description":"Full description of the pricing, perfect for details","examples":["$0.15 \/ second for 1080P, $0.10 \/ second for 720P"]},"table":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Table","description":"Could be used to generate pricing tables","examples":[{"columns":["resolution","$ cost per second"],"rows":[["780P","$0.10"],["1080P","$0.15"]]}]},"type":{"type":"string","title":"Type","default":"input_tokens"},"cents_per_input_token":{"type":"number","title":"Cents Per Input Token"}},"type":"object","required":["cents_per_input_token"],"title":"ModelPricingInputTokens"},"ModelPricingOutputLength":{"properties":{"short":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short","description":"Short description of the pricing, ideal for cards and headers","examples":["$0.15 \/ second"]},"full":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full","description":"Full description of the pricing, perfect for details","examples":["$0.15 \/ second for 1080P, $0.10 \/ second for 720P"]},"table":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Table","description":"Could be used to generate pricing tables","examples":[{"columns":["resolution","$ cost per second"],"rows":[["780P","$0.10"],["1080P","$0.15"]]}]},"type":{"type":"string","title":"Type","default":"output_length"},"cents_per_output_sec":{"type":"number","title":"Cents Per Output Sec"}},"type":"object","required":["cents_per_output_sec"],"title":"ModelPricingOutputLength"},"ModelPricingTime":{"properties":{"short":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short","description":"Short description of the pricing, ideal for cards and headers","examples":["$0.15 \/ second"]},"full":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full","description":"Full description of the pricing, perfect for details","examples":["$0.15 \/ second for 1080P, $0.10 \/ second for 720P"]},"table":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Table","description":"Could be used to generate pricing tables","examples":[{"columns":["resolution","$ cost per second"],"rows":[["780P","$0.10"],["1080P","$0.15"]]}]},"type":{"type":"string","title":"Type","default":"time"},"cents_per_sec":{"type":"number","title":"Cents Per Sec"}},"type":"object","required":["cents_per_sec"],"title":"ModelPricingTime"},"ModelPricingTokens":{"properties":{"short":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short","description":"Short description of the pricing, ideal for cards and headers","examples":["$0.15 \/ second"]},"full":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full","description":"Full description of the pricing, perfect for details","examples":["$0.15 \/ second for 1080P, $0.10 \/ second for 720P"]},"table":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Table","description":"Could be used to generate pricing tables","examples":[{"columns":["resolution","$ cost per second"],"rows":[["780P","$0.10"],["1080P","$0.15"]]}]},"type":{"type":"string","title":"Type","default":"tokens"},"cents_per_input_token":{"type":"number","title":"Cents Per Input Token"},"cents_per_output_token":{"type":"number","title":"Cents Per Output Token"},"rate_per_input_token_cached":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate Per Input Token Cached"},"rate_per_input_token_cache_write":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate Per Input Token Cache Write"},"rate_per_service_tier_priority":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate Per Service Tier Priority"},"rate_per_service_tier_flex":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate Per Service Tier Flex"}},"type":"object","required":["cents_per_input_token","cents_per_output_token"],"title":"ModelPricingTokens"},"ModelPricingUptime":{"properties":{"short":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Short","description":"Short description of the pricing, ideal for cards and headers","examples":["$0.15 \/ second"]},"full":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full","description":"Full description of the pricing, perfect for details","examples":["$0.15 \/ second for 1080P, $0.10 \/ second for 720P"]},"table":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Table","description":"Could be used to generate pricing tables","examples":[{"columns":["resolution","$ cost per second"],"rows":[["780P","$0.10"],["1080P","$0.15"]]}]},"type":{"type":"string","title":"Type","default":"uptime"},"cents_per_sec":{"type":"number","title":"Cents Per Sec"}},"type":"object","required":["cents_per_sec"],"title":"ModelPricingUptime"},"ModelProvider":{"type":"string","enum":["huggingface","deepinfra","cnt"],"title":"ModelProvider"},"ModelPublicityIn":{"properties":{"public":{"type":"boolean","title":"Public","description":"whether to make the model public of private"}},"type":"object","required":["public"],"title":"ModelPublicityIn"},"ModelVersionOut":{"properties":{"model_name":{"type":"string","title":"Model Name","description":"Model Name","examples":["microsoft\/resnet-50"]},"version":{"type":"string","title":"Version","description":"Version identifier","examples":["06dbf5f73be4b5eca79e137e00c4825f467cd5b172c64b6c9255dc4b5a25a03a"]},"uploaded_at":{"type":"string","title":"Uploaded At","description":"Upload time","examples":["2023-01-19T21:52:03.626241+00:00"]}},"type":"object","required":["model_name","version","uploaded_at"],"title":"ModelVersionOut"},"OpenAIBatchesIn":{"properties":{"input_file_id":{"type":"string","title":"Input File Id","description":"The ID of an uploaded file that contains requests for the new batch."},"endpoint":{"type":"string","enum":["\/v1\/chat\/completions","\/v1\/completions","\/v1\/embeddings"],"title":"Endpoint","description":"The endpoint to be used for all requests in the batch. Currently \/v1\/chat\/completions, \/v1\/completions, \/v1\/embeddings are supported."},"completion_window":{"type":"string","const":"24h","title":"Completion Window","description":"The time frame within which the batch should be processed. Currently only 24h is supported."},"metadata":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Metadata","description":"Optional metadata to be stored with the batch."},"output_expires_after":{"anyOf":[{"$ref":"#\/components\/schemas\/BatchOutputExpiresAfter"},{"type":"null"}],"description":"The expiration policy for the output and\/or error file generated for the batch."}},"type":"object","required":["input_file_id","endpoint","completion_window"],"title":"OpenAIBatchesIn"},"OpenAIBatchesOut":{"properties":{"id":{"type":"string","title":"Id","description":"The batch ID."},"object":{"type":"string","const":"batch","title":"Object","description":"The object type, which is always batch.","default":"batch"},"endpoint":{"type":"string","title":"Endpoint","description":"The API endpoint used for the batch."},"errors":{"anyOf":[{"$ref":"#\/components\/schemas\/BatchErrors"},{"type":"null"}],"description":"Errors that occurred during the batch."},"input_file_id":{"type":"string","title":"Input File Id","description":"The ID of the input file for the batch."},"completion_window":{"type":"string","title":"Completion Window","description":"The time frame within which the batch should be processed."},"status":{"type":"string","title":"Status","description":"The current status of the batch."},"output_file_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output File Id","description":"The ID of the output file."},"error_file_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error File Id","description":"The ID of the error file."},"created_at":{"type":"integer","title":"Created At","description":"The Unix timestamp of when the batch was created."},"in_progress_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"In Progress At","description":"The Unix timestamp of when the batch started processing."},"expires_at":{"type":"integer","title":"Expires At","description":"The Unix timestamp of when the batch will expire."},"finalizing_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Finalizing At","description":"The Unix timestamp of when the batch started finalizing."},"completed_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Completed At","description":"The Unix timestamp of when the batch completed."},"failed_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Failed At","description":"The Unix timestamp of when the batch failed."},"expired_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expired At","description":"The Unix timestamp of when the batch expired."},"cancelling_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cancelling At","description":"The Unix timestamp of when the batch started cancelling."},"cancelled_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cancelled At","description":"The Unix timestamp of when the batch was cancelled."},"request_counts":{"anyOf":[{"$ref":"#\/components\/schemas\/BatchRequestCounts"},{"type":"null"}],"description":"Request counts for the batch."},"metadata":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Metadata","description":"Metadata associated with the batch."},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"The model used for the batch."},"usage":{"anyOf":[{"$ref":"#\/components\/schemas\/BatchUsage"},{"type":"null"}],"description":"Token usage accumulated for the batch."}},"type":"object","required":["id","endpoint","input_file_id","completion_window","status","created_at","expires_at"],"title":"OpenAIBatchesOut"},"OpenAIChatCompletionsIn":{"properties":{"service_tier":{"anyOf":[{"$ref":"#\/components\/schemas\/ServiceTier"},{"type":"null"}],"description":"The service tier used for processing the request. 'priority' processes the request with higher priority (premium rate); 'flex' processes it at lower priority for a discount, served only when spare capacity exists and may be retried\/timed out under load. Both apply only to models that support the respective tier."},"model":{"type":"string","title":"Model","description":"model name","examples":["meta-llama\/Llama-2-70b-chat-hf"]},"messages":{"items":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatCompletionToolMessage"},{"$ref":"#\/components\/schemas\/ChatCompletionAssistantMessage"},{"$ref":"#\/components\/schemas\/ChatCompletionUserMessage"},{"$ref":"#\/components\/schemas\/ChatCompletionSystemMessage"}]},"type":"array","title":"Messages","description":"conversation messages: (user,assistant,tool)*,user including one system message anywhere"},"stream":{"type":"boolean","title":"Stream","description":"whether to stream the output via SSE or return the full response","default":false},"temperature":{"type":"number","maximum":2,"minimum":0,"title":"Temperature","description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic","default":1},"top_p":{"type":"number","maximum":1,"exclusiveMinimum":0,"title":"Top P","description":"An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.","default":1},"min_p":{"type":"number","maximum":1,"minimum":0,"title":"Min P","description":"Float that represents the minimum probability for a token to be considered, relative to the probability of the most likely token. Must be in [0, 1]. Set to 0 to disable this.","default":0},"top_k":{"type":"integer","exclusiveMaximum":1000,"minimum":0,"title":"Top K","description":"Sample from the best k (number of) tokens. 0 means off","default":0},"max_tokens":{"anyOf":[{"type":"integer","maximum":10000000,"exclusiveMinimum":0},{"type":"null"}],"title":"Max Tokens","description":"The maximum number of tokens to generate in the chat completion.\n\nThe total length of input tokens and generated tokens is limited by the model's context length. If explicitly set to None it will be the model's max context length minus input length or 65536, whichever is smaller."},"stop":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Stop","description":"up to 16 sequences where the API will stop generating further tokens"},"stop_token_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Stop Token Ids","description":"Up to 16 token IDs where the API will stop generating further tokens. Merged with the model's built-in stop tokens. Intended for private deployments."},"n":{"type":"integer","maximum":4,"minimum":1,"title":"N","description":"number of sequences to return","default":1},"presence_penalty":{"type":"number","maximum":2,"minimum":-2,"title":"Presence Penalty","description":"Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.","default":0},"frequency_penalty":{"type":"number","maximum":2,"minimum":-2,"title":"Frequency Penalty","description":"Positive values penalize new tokens based on how many times they appear in the text so far, increasing the model's likelihood to talk about new topics.","default":0},"tools":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/ChatTools"},"type":"array"},{"type":"null"}],"title":"Tools","description":"A list of tools the model may call. Currently, only functions are supported as a tool."},"tool_choice":{"anyOf":[{"type":"string"},{"$ref":"#\/components\/schemas\/ChatTools"},{"type":"null"}],"title":"Tool Choice","description":"Controls which (if any) function is called by the model. none means the model will not call a function and instead generates a message. auto means the model can pick between generating a message or calling a function. required means the model must call a function. defined tool means the model must call that specific tool. none is the default when no functions are present. auto is the default if functions are present."},"response_format":{"anyOf":[{"$ref":"#\/components\/schemas\/TextResponseFormat"},{"$ref":"#\/components\/schemas\/JsonObjectResponseFormat"},{"$ref":"#\/components\/schemas\/JsonSchemaResponseFormat"},{"$ref":"#\/components\/schemas\/RegexResponseFormat"},{"type":"null"}],"title":"Response Format","description":"The format of the response. Currently, only json is supported."},"repetition_penalty":{"type":"number","maximum":5,"minimum":0.01,"title":"Repetition Penalty","description":"Alternative penalty for repetition, but multiplicative instead of additive (> 1 penalize, < 1 encourage)","default":1},"user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User","description":"A unique identifier representing your end-user, which can help monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers."},"seed":{"anyOf":[{"type":"integer","exclusiveMaximum":1.8446744073709552e+19,"minimum":-9.223372036854776e+18},{"type":"null"}],"title":"Seed","description":"Seed for random number generator. If not provided, a random seed is used. Determinism is not guaranteed."},"logprobs":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Logprobs","description":"Whether to return log probabilities of the output tokens or not.If true, returns the log probabilities of each output token returned in the `content` of `message`."},"stream_options":{"anyOf":[{"$ref":"#\/components\/schemas\/StreamOptions"},{"type":"null"}],"description":"streaming options"},"reasoning_effort":{"anyOf":[{"type":"string","enum":["none","minimal","low","medium","high","xhigh","max"]},{"type":"null"}],"title":"Reasoning Effort","description":"Constrains effort on reasoning for reasoning models. Currently supported values are none, minimal, low, medium, high, xhigh, and max. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response. Setting to none disables reasoning entirely if the model supports."},"reasoning":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatReasoningSettings"},{"type":"null"}],"description":"Reasoning configuration."},"prompt_cache_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Cache Key","description":"A key to identify prompt cache for reuse across requests. If provided, the prompt will be cached and can be reused in subsequent requests with the same key."},"chat_template_kwargs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Chat Template Kwargs","description":"Chat template kwargs."},"continue_final_message":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Continue Final Message","description":"If set, the final assistant message is used as a prefix for the model to continue generating from, rather than starting a new turn. Only applicable when the last message in the conversation is an assistant message."}},"type":"object","required":["model","messages"],"title":"OpenAIChatCompletionsIn"},"OpenAICompletionsIn":{"properties":{"service_tier":{"anyOf":[{"$ref":"#\/components\/schemas\/ServiceTier"},{"type":"null"}],"description":"The service tier used for processing the request. 'priority' processes the request with higher priority (premium rate); 'flex' processes it at lower priority for a discount, served only when spare capacity exists and may be retried\/timed out under load. Both apply only to models that support the respective tier."},"model":{"type":"string","title":"Model","description":"model name","examples":["meta-llama\/Llama-2-70b-chat-hf"]},"prompt":{"anyOf":[{"type":"string"},{"items":{"type":"integer"},"type":"array"}],"title":"Prompt","description":"input prompt - a single string is currently supported"},"max_tokens":{"anyOf":[{"type":"integer","maximum":10000000,"exclusiveMinimum":0},{"type":"null"}],"title":"Max Tokens","description":"The maximum number of tokens to generate in the completion.\n\nThe total length of input tokens and generated tokens is limited by the model's context length.If explicitly set to None it will be the model's max context length minus input length or 65536, whichever is smaller."},"temperature":{"type":"number","maximum":2,"minimum":0,"title":"Temperature","description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic","default":1},"top_p":{"type":"number","maximum":1,"exclusiveMinimum":0,"title":"Top P","description":"An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.","default":1},"min_p":{"type":"number","maximum":1,"minimum":0,"title":"Min P","description":"Float that represents the minimum probability for a token to be considered, relative to the probability of the most likely token. Must be in [0, 1]. Set to 0 to disable this.","default":0},"top_k":{"type":"integer","exclusiveMaximum":1000,"minimum":0,"title":"Top K","description":"Sample from the best k (number of) tokens. 0 means off","default":0},"n":{"type":"integer","maximum":4,"minimum":1,"title":"N","description":"number of sequences to return","default":1},"stream":{"type":"boolean","title":"Stream","description":"whether to stream the output via SSE or return the full response","default":false},"logprobs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Logprobs","description":"return top tokens and their log-probabilities"},"echo":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Echo","description":"return prompt as part of the respons"},"stop":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Stop","description":"up to 16 sequences where the API will stop generating further tokens"},"presence_penalty":{"type":"number","maximum":2,"minimum":-2,"title":"Presence Penalty","description":"Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.","default":0},"frequency_penalty":{"type":"number","maximum":2,"minimum":-2,"title":"Frequency Penalty","description":"Positive values penalize new tokens based on how many times they appear in the text so far, increasing the model's likelihood to talk about new topics.","default":0},"response_format":{"anyOf":[{"$ref":"#\/components\/schemas\/TextResponseFormat"},{"$ref":"#\/components\/schemas\/JsonObjectResponseFormat"},{"$ref":"#\/components\/schemas\/JsonSchemaResponseFormat"},{"$ref":"#\/components\/schemas\/RegexResponseFormat"},{"type":"null"}],"title":"Response Format","description":"The format of the response. Currently, only json is supported."},"repetition_penalty":{"type":"number","maximum":5,"minimum":0.01,"title":"Repetition Penalty","description":"Alternative penalty for repetition, but multiplicative instead of additive (> 1 penalize, < 1 encourage)","default":1},"user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User","description":"A unique identifier representing your end-user, which can help  monitor and detect abuse. Avoid sending us any identifying information. We recommend hashing user identifiers."},"seed":{"anyOf":[{"type":"integer","exclusiveMaximum":1.8446744073709552e+19,"minimum":-9.223372036854776e+18},{"type":"null"}],"title":"Seed","description":"Seed for random number generator. If not provided, a random seed is used. Determinism is not guaranteed."},"stream_options":{"anyOf":[{"$ref":"#\/components\/schemas\/StreamOptions"},{"type":"null"}],"description":"streaming options"},"stop_token_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Stop Token Ids","description":"Up to 16 token IDs where the API will stop generating further tokens. Merged with the model's built-in stop tokens. Intended for private deployments."},"return_tokens_as_token_ids":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Return Tokens As Token Ids","description":"return tokens as token ids"},"prompt_cache_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Cache Key","description":"A key to identify prompt cache for reuse across requests. If provided, the prompt will be cached and can be reused in subsequent requests with the same key."},"data":{"anyOf":[{"$ref":"#\/components\/schemas\/CompletionMultiModalData"},{"type":"null"}],"description":"Optional multi-modal data to pass alongside the prompt. Only supported for a small number of non-chat-native vision models. Images must be base64 data URIs (e.g. 'data:image\/png;base64,...')."}},"type":"object","required":["model","prompt"],"title":"OpenAICompletionsIn"},"OpenAIEmbeddingsIn":{"properties":{"service_tier":{"anyOf":[{"$ref":"#\/components\/schemas\/ServiceTier"},{"type":"null"}],"description":"The service tier used for processing the request. 'priority' processes the request with higher priority (premium rate); 'flex' processes it at lower priority for a discount, served only when spare capacity exists and may be retried\/timed out under load. Both apply only to models that support the respective tier."},"model":{"type":"string","title":"Model","description":"model name","examples":["thenlper\/gte-large"]},"input":{"anyOf":[{"type":"string"},{"items":{"anyOf":[{"type":"string"},{"items":{"oneOf":[{"$ref":"#\/components\/schemas\/ChatCompletionContentPartText"},{"$ref":"#\/components\/schemas\/ChatCompletionContentPartImage"}],"discriminator":{"propertyName":"type","mapping":{"image_url":"#\/components\/schemas\/ChatCompletionContentPartImage","text":"#\/components\/schemas\/ChatCompletionContentPartText"}}},"type":"array"}]},"type":"array"}],"maxLength":1024,"title":"Input","description":"text or multimodal content to embed. Each item is either a string, or a list of content parts ({\"type\":\"text\"} \/ {\"type\":\"image_url\"}) for multimodal embedding models such as nvidia\/llama-nemotron-embed-vl-1b-v2.","examples":[["I like chocolate"]],"soft_required":true},"input_type":{"anyOf":[{"type":"string","enum":["query","passage","document"]},{"type":"null"}],"title":"Input Type","description":"Role hint for asymmetric retrieval models: 'query' embeds a search query, 'passage'\/'document' embeds a document. Controls the query:\/passage: prefix on VL embedding models; ignored by symmetric models."},"encoding_format":{"type":"string","enum":["float","base64"],"title":"Encoding Format","description":"format used when encoding","default":"float"},"dimensions":{"anyOf":[{"type":"integer","minimum":32},{"type":"null"}],"title":"Dimensions","description":"The number of dimensions in the embedding. If not provided, the model's default will be used.If provided bigger than model's default, the embedding will be padded with zeros.","examples":[1536,1024,768,512,256,128,64]}},"type":"object","required":["model","input"],"title":"OpenAIEmbeddingsIn"},"OpenAIFile":{"properties":{"id":{"type":"string","title":"Id"},"object":{"type":"string","const":"file","title":"Object"},"created_at":{"type":"integer","title":"Created At"},"filename":{"type":"string","title":"Filename"},"bytes":{"type":"integer","title":"Bytes"},"purpose":{"type":"string","enum":["batch","batch_output","fine-tune"],"title":"Purpose"}},"type":"object","required":["id","object","created_at","filename","bytes","purpose"],"title":"OpenAIFile"},"OpenAIImageData":{"properties":{"b64_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"B64 Json","description":"The base64-encoded image data"},"revised_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revised Prompt","description":"The prompt used to generate this image"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"The URL of the generated image"}},"type":"object","title":"OpenAIImageData"},"OpenAIImagesEditsIn":{"properties":{"model":{"type":"string","title":"Model","description":"The model to use."},"n":{"type":"integer","maximum":4,"minimum":1,"title":"N","description":"The number of images to generate.","default":1},"response_format":{"anyOf":[{"$ref":"#\/components\/schemas\/OpenAIImagesResponseFormat"},{"type":"null"}],"description":"The format in which the generated images are returned. Currently only b64_json is supported.","default":"b64_json"},"size":{"type":"string","title":"Size","description":"The size of the generated images. Available sizes depend on the model.","default":"1024x1024"},"user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User","description":"A unique identifier representing your end-user, which can help to monitor and detect abuse."},"image":{"type":"string","format":"binary","title":"Image","description":"Input image bytes for editing task","is_image":true},"prompt":{"type":"string","title":"Prompt","description":"A text description of the desired image edits.","examples":["Add a hat to the cat"]},"mask":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Mask","description":"An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where image should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as image.","is_image":true}},"type":"object","required":["model","image","prompt"],"title":"OpenAIImagesEditsIn"},"OpenAIImagesGenerationsIn":{"properties":{"model":{"type":"string","title":"Model","description":"The model to use for image generation.","examples":["black-forest-labs\/FLUX-1-schnell"]},"n":{"type":"integer","maximum":4,"minimum":1,"title":"N","description":"The number of images to generate.","default":1},"response_format":{"anyOf":[{"$ref":"#\/components\/schemas\/OpenAIImagesResponseFormat"},{"type":"null"}],"description":"The format in which the generated images are returned. Currently only b64_json is supported.","default":"b64_json"},"size":{"type":"string","title":"Size","description":"The size of the generated images. Available sizes depend on the model.","default":"1024x1024"},"user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User","description":"A unique identifier representing your end-user, which can help to monitor and detect abuse."},"prompt":{"type":"string","title":"Prompt","description":"A text description of desired image(s).","examples":["A photo of an astronaut riding a horse on Mars."]},"quality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quality","description":"The quality of the image that will be generated."},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Style","description":"The style of the generated images."}},"type":"object","required":["model","prompt"],"title":"OpenAIImagesGenerationsIn"},"OpenAIImagesOut":{"properties":{"created":{"type":"integer","title":"Created","description":"Unix timestamp of when the images were created"},"data":{"items":{"$ref":"#\/components\/schemas\/OpenAIImageData"},"type":"array","title":"Data","description":"List of generated images"}},"type":"object","required":["data"],"title":"OpenAIImagesOut"},"OpenAIImagesResponseFormat":{"type":"string","enum":["b64_json"],"title":"OpenAIImagesResponseFormat"},"OpenAIImagesVariationsIn":{"properties":{"model":{"type":"string","title":"Model","description":"The model to use."},"n":{"type":"integer","maximum":4,"minimum":1,"title":"N","description":"The number of images to generate.","default":1},"response_format":{"anyOf":[{"$ref":"#\/components\/schemas\/OpenAIImagesResponseFormat"},{"type":"null"}],"description":"The format in which the generated images are returned. Currently only b64_json is supported.","default":"b64_json"},"size":{"type":"string","title":"Size","description":"The size of the generated images. Available sizes depend on the model.","default":"1024x1024"},"user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User","description":"A unique identifier representing your end-user, which can help to monitor and detect abuse."},"image":{"type":"string","format":"binary","title":"Image","description":"Input image bytes for variation task","is_image":true}},"type":"object","required":["model","image"],"title":"OpenAIImagesVariationsIn"},"OpenAIModelOut":{"properties":{"id":{"type":"string","title":"Id"},"object":{"type":"string","title":"Object","default":"model"},"created":{"type":"integer","title":"Created"},"owned_by":{"type":"string","title":"Owned By"},"root":{"type":"string","title":"Root"},"parent":{"type":"null","title":"Parent"},"metadata":{"anyOf":[{"$ref":"#\/components\/schemas\/ModelMetadata"},{"type":"null"}]}},"type":"object","required":["id","created","owned_by","root"],"title":"OpenAIModelOut"},"OpenAIModelsOut":{"properties":{"object":{"type":"string","title":"Object","default":"list"},"data":{"items":{"$ref":"#\/components\/schemas\/OpenAIModelOut"},"type":"array","title":"Data"}},"type":"object","title":"OpenAIModelsOut"},"OpenAITextToSpeechIn":{"properties":{"service_tier":{"anyOf":[{"$ref":"#\/components\/schemas\/ServiceTier"},{"type":"null"}],"description":"The service tier used for processing the request. 'priority' processes the request with higher priority (premium rate); 'flex' processes it at lower priority for a discount, served only when spare capacity exists and may be retried\/timed out under load. Both apply only to models that support the respective tier."},"model":{"type":"string","title":"Model","description":"model name","examples":["deepinfra\/tts"]},"input":{"type":"string","title":"Input","description":"Text to convert to speech","examples":["I'm beginnin' to feel like a Rap God, Rap God\nAll my people from the front to the back nod, back nod\nNow, who thinks their arms are long enough to slap box, slap box?\nThey said I rap like a robot, so call me Rap-bot"]},"voice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice","description":"Preset voices to use for the speech."},"response_format":{"$ref":"#\/components\/schemas\/TtsResponseFormat","description":"response format for the speech"},"speed":{"type":"number","maximum":4,"minimum":0.25,"title":"Speed","description":"speed of the speech","default":1},"extra_body":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extra Body","description":"Extra body parameters for the model."}},"type":"object","required":["model","input"],"title":"OpenAITextToSpeechIn"},"OpenClawLaunchTokenOut":{"properties":{"dashboard_url":{"type":"string","title":"Dashboard Url","description":"Single-use URL that opens the dashboard. Short TTL; mint right before navigating."}},"type":"object","required":["dashboard_url"],"title":"OpenClawLaunchTokenOut"},"OpenRouterDatacenter":{"properties":{"country_code":{"type":"string","title":"Country Code","description":"ISO 3166 Alpha-2 country code"}},"type":"object","required":["country_code"],"title":"OpenRouterDatacenter"},"OpenRouterModelData":{"properties":{"id":{"type":"string","title":"Id","description":"Model identifier used when calling the provider API"},"hugging_face_id":{"type":"string","title":"Hugging Face Id","description":"HuggingFace model ID if available","default":""},"name":{"type":"string","title":"Name","description":"Human-readable model name"},"created":{"type":"integer","title":"Created","description":"Unix timestamp of model creation"},"input_modalities":{"items":{"type":"string"},"type":"array","title":"Input Modalities","description":"Supported input modalities"},"output_modalities":{"items":{"type":"string"},"type":"array","title":"Output Modalities","description":"Supported output modalities"},"quantization":{"type":"string","title":"Quantization","description":"Model quantization type"},"context_length":{"type":"integer","title":"Context Length","description":"Maximum context length"},"max_output_length":{"type":"integer","title":"Max Output Length","description":"Maximum output length"},"pricing":{"$ref":"#\/components\/schemas\/OpenRouterPricing","description":"Pricing information"},"supported_sampling_parameters":{"items":{"type":"string"},"type":"array","title":"Supported Sampling Parameters","description":"Supported sampling parameters"},"supported_features":{"items":{"type":"string"},"type":"array","title":"Supported Features","description":"Supported features"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Model description"},"deprecation_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deprecation Date","description":"ISO 8601 date YYYY-MM-DD for deprecation"},"openrouter":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Openrouter","description":"OpenRouter specific data"},"datacenters":{"items":{"$ref":"#\/components\/schemas\/OpenRouterDatacenter"},"type":"array","title":"Datacenters","description":"Available datacenters"}},"type":"object","required":["id","name","created","input_modalities","output_modalities","quantization","context_length","max_output_length","pricing","supported_sampling_parameters","supported_features","datacenters"],"title":"OpenRouterModelData"},"OpenRouterModelsOut":{"properties":{"data":{"items":{"$ref":"#\/components\/schemas\/OpenRouterModelData"},"type":"array","title":"Data","description":"List of available models"}},"type":"object","required":["data"],"title":"OpenRouterModelsOut"},"OpenRouterPricing":{"properties":{"prompt":{"type":"string","title":"Prompt","description":"Pricing per 1 token for input"},"completion":{"type":"string","title":"Completion","description":"Pricing per 1 token for output"},"input_cache_read":{"type":"string","title":"Input Cache Read","description":"Pricing per 1 token for cache reads","default":"0"}},"type":"object","required":["prompt","completion"],"title":"OpenRouterPricing"},"PresetConfigOut":{"properties":{"id":{"type":"string","title":"Id","description":"Preset id."},"source":{"type":"string","title":"Source","description":"Config source.","default":"deepinfra"},"engine":{"type":"string","title":"Engine","description":"Inference engine.","default":"vllm"},"gpu_configs":{"items":{"type":"string"},"type":"array","title":"Gpu Configs","description":"Allowed Nx<GPU> configs."},"standard_args":{"properties":{"max_context_size":{"anyOf":[{"type":"integer","maximum":10000000,"minimum":1},{"type":"null"}],"title":"Max Context Size","description":"Maximum total sequence length (prompt + generation)."},"max_concurrent_requests":{"anyOf":[{"type":"integer","maximum":1024,"minimum":1},{"type":"null"}],"title":"Max Concurrent Requests","description":"Max number of requests served concurrently."},"gpu_memory_fraction":{"anyOf":[{"type":"number","maximum":0.97,"minimum":0.5},{"type":"null"}],"title":"Gpu Memory Fraction","description":"Fraction of GPU memory the engine may use for weights + KV cache."},"max_prefill_tokens":{"anyOf":[{"type":"integer","maximum":131072,"minimum":512},{"type":"null"}],"title":"Max Prefill Tokens","description":"Max tokens processed per prefill\/engine step (chunked prefill size)."},"kv_cache_dtype":{"anyOf":[{"type":"string","enum":["auto","fp8"]},{"type":"null"}],"title":"Kv Cache Dtype","description":"KV cache precision. fp8 ~doubles KV capacity at <1% accuracy loss."},"enable_prefix_caching":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable Prefix Caching","description":"Reuse KV cache for shared prompt prefixes."},"quantization":{"anyOf":[{"type":"string","enum":["fp8","awq","gptq","awq_marlin","gptq_marlin","compressed-tensors","bitsandbytes"]},{"type":"null"}],"title":"Quantization","description":"On-the-fly weight quantization method."}},"additionalProperties":false,"type":"object","title":"StandardArgs","description":"Engine tuning knobs."},"extra_args":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Extra Args","description":"Raw engine flags; vLLM recipes only."},"label":{"type":"string","title":"Label","description":"Short display name (e.g. \"Throughput-optimized\").","default":""}},"type":"object","required":["id","gpu_configs"],"title":"PresetConfigOut","description":"One preset deploy config for an HF model on specific hardware."},"PricingPageEntryOut":{"properties":{"model_name":{"type":"string","title":"Model Name"},"short_name":{"type":"string","title":"Short Name"},"max_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Tokens","description":"The maximum context size of this model, if applicable"},"pricing":{"anyOf":[{"$ref":"#\/components\/schemas\/ModelPricingTime"},{"$ref":"#\/components\/schemas\/ModelPricingTokens"},{"$ref":"#\/components\/schemas\/ModelPricingInputLength"},{"$ref":"#\/components\/schemas\/ModelPricingInputTokens"},{"$ref":"#\/components\/schemas\/ModelPricingUptime"},{"$ref":"#\/components\/schemas\/ModelPricingInputCharacterLength"},{"$ref":"#\/components\/schemas\/ModelPricingImageUnits"},{"$ref":"#\/components\/schemas\/ModelPricingOutputLength"},{"$ref":"#\/components\/schemas\/ModelPricingFrameUnits"}],"title":"Pricing"}},"type":"object","required":["model_name","short_name","pricing"],"title":"PricingPageEntryOut"},"PricingPageSectionOut":{"properties":{"section_id":{"type":"string","title":"Section Id"},"ptype":{"$ref":"#\/components\/schemas\/PricingType"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"mf_description":{"type":"string","title":"Mf Description","description":"Model family description for this section, if applicable. Will use description from the section if not set","default":""},"entries":{"items":{"$ref":"#\/components\/schemas\/PricingPageEntryOut"},"type":"array","title":"Entries"}},"type":"object","required":["section_id","ptype","title","description","entries"],"title":"PricingPageSectionOut"},"PricingType":{"type":"string","enum":["tokens","time","uptime","input_length","input_tokens","input_character_length","image_units","output_length","frame_units"],"title":"PricingType"},"RateLimitOut":{"properties":{"rate_limit":{"type":"integer","title":"Rate Limit","description":"Per model outstanding request rate limit"},"tpm_rate_limit":{"type":"integer","title":"Tpm Rate Limit","description":"Per model token per minute rate limit"}},"type":"object","required":["rate_limit","tpm_rate_limit"],"title":"RateLimitOut"},"RateLimitRequestIn":{"properties":{"rate_limit":{"type":"integer","title":"Rate Limit"},"tpm_rate_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tpm Rate Limit"},"reason":{"type":"string","maxLength":2048,"title":"Reason"}},"type":"object","required":["rate_limit","reason"],"title":"RateLimitRequestIn"},"RegexResponseFormat":{"properties":{"type":{"type":"string","const":"regex","title":"Type","default":"regex"},"regex":{"type":"string","title":"Regex","description":"Regex pattern for structured output when type is 'regex'"}},"type":"object","required":["regex"],"title":"RegexResponseFormat"},"RequestCostItem":{"properties":{"requestId":{"type":"string","title":"Requestid"},"costNanoUsd":{"type":"integer","title":"Costnanousd"}},"type":"object","required":["requestId","costNanoUsd"],"title":"RequestCostItem"},"RequestCostQuery":{"properties":{"requestIds":{"items":{"type":"string"},"type":"array","title":"Requestids"}},"type":"object","required":["requestIds"],"title":"RequestCostQuery"},"RequestCostResponse":{"properties":{"requests":{"items":{"$ref":"#\/components\/schemas\/RequestCostItem"},"type":"array","title":"Requests"}},"type":"object","required":["requests"],"title":"RequestCostResponse"},"SandboxCreateIn":{"properties":{"plan":{"type":"string","title":"Plan","default":""},"image":{"type":"string","title":"Image","default":""},"tags":{"additionalProperties":{"type":"string"},"type":"object","title":"Tags"},"timeout_seconds":{"type":"integer","title":"Timeout Seconds","default":0}},"type":"object","title":"SandboxCreateIn"},"SandboxCreateOut":{"properties":{"sandbox_id":{"type":"string","title":"Sandbox Id"}},"type":"object","required":["sandbox_id"],"title":"SandboxCreateOut"},"SandboxExecIn":{"properties":{"command":{"items":{"type":"string"},"type":"array","title":"Command"},"timeout_seconds":{"type":"integer","title":"Timeout Seconds","default":0}},"type":"object","required":["command"],"title":"SandboxExecIn"},"SandboxOut":{"properties":{"sandbox_id":{"type":"string","title":"Sandbox Id"},"plan":{"type":"string","title":"Plan"},"image":{"type":"string","title":"Image"},"state":{"type":"string","title":"State"},"tags":{"additionalProperties":{"type":"string"},"type":"object","title":"Tags"},"created_at":{"type":"integer","title":"Created At"},"provider":{"type":"string","title":"Provider"}},"type":"object","required":["sandbox_id","plan","image","state","tags","created_at","provider"],"title":"SandboxOut"},"ScaleSettings":{"properties":{"min_instances":{"type":"integer","title":"Min Instances","description":"Minimum number of model instances to run","default":1},"max_instances":{"type":"integer","title":"Max Instances","description":"Maximum number of model instances to run","default":1}},"type":"object","title":"ScaleSettings"},"SchemaOut":{"properties":{"variant":{"$ref":"#\/components\/schemas\/SchemaVariant"},"schema_in":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Schema In"},"schema_out":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Schema Out"},"schema_stream":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Schema Stream"},"fields_in":{"items":{"$ref":"#\/components\/schemas\/ModelFieldInfo"},"type":"array","title":"Fields In"}},"type":"object","required":["variant","fields_in"],"title":"SchemaOut"},"SchemaVariant":{"properties":{"key":{"$ref":"#\/components\/schemas\/SchemaVariantKey"},"url":{"type":"string","title":"Url"}},"type":"object","required":["key","url"],"title":"SchemaVariant"},"SchemaVariantKey":{"type":"string","enum":["default","openai-completions","openai-chat-completions","openai-embeddings","openai-speech-to-text","openai-tts","openai-images","openai-images-variations","openai-images-edits","elevenlabs-tts","create-voice","read-voice","update-voice","delete-voice","list-voices","ai-sdk"],"title":"SchemaVariantKey"},"ScopedJWTIn":{"properties":{"api_key_name":{"type":"string","title":"Api Key Name"},"models":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Models","description":"allow inference only to the specified model names"},"expires_delta":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires Delta","description":"how many seconds in the future should the token be valid for"},"expires_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires At","description":"unix timestamp when the token should expire"},"spending_limit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spending Limit","description":"only allow spending that much USD until the token becomes invalid"}},"type":"object","required":["api_key_name"],"title":"ScopedJWTIn"},"ScopedJWTOut":{"properties":{"token":{"type":"string","title":"Token","description":"The newly minted scoped JWT ready for use"}},"type":"object","required":["token"],"title":"ScopedJWTOut"},"ServiceTier":{"type":"string","enum":["default","priority","flex"],"title":"ServiceTier"},"SourceModel":{"properties":{"type":{"$ref":"#\/components\/schemas\/SourceTypeEnum"},"civit_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Civit Url"}},"type":"object","required":["type"],"title":"SourceModel"},"SourceTypeEnum":{"type":"string","enum":["civitai"],"title":"SourceTypeEnum"},"SshKeyIn":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name","description":"SSH Key name"},"key":{"type":"string","maxLength":32000,"minLength":1,"title":"Key","description":"SSH Key content"}},"type":"object","required":["name","key"],"title":"SshKeyIn"},"SshKeyOut":{"properties":{"id":{"type":"string","title":"Id","description":"SSH Key ID"},"name":{"type":"string","minLength":1,"title":"Name","description":"SSH Key name"},"key":{"type":"string","minLength":1,"title":"Key","description":"SSH Key content"},"created_at":{"type":"integer","title":"Created At"}},"type":"object","required":["id","name","key"],"title":"SshKeyOut"},"StandardArgs":{"properties":{"max_context_size":{"anyOf":[{"type":"integer","maximum":10000000,"minimum":1},{"type":"null"}],"title":"Max Context Size","description":"Maximum total sequence length (prompt + generation)."},"max_concurrent_requests":{"anyOf":[{"type":"integer","maximum":1024,"minimum":1},{"type":"null"}],"title":"Max Concurrent Requests","description":"Max number of requests served concurrently."},"gpu_memory_fraction":{"anyOf":[{"type":"number","maximum":0.97,"minimum":0.5},{"type":"null"}],"title":"Gpu Memory Fraction","description":"Fraction of GPU memory the engine may use for weights + KV cache."},"max_prefill_tokens":{"anyOf":[{"type":"integer","maximum":131072,"minimum":512},{"type":"null"}],"title":"Max Prefill Tokens","description":"Max tokens processed per prefill\/engine step (chunked prefill size)."},"kv_cache_dtype":{"anyOf":[{"type":"string","enum":["auto","fp8"]},{"type":"null"}],"title":"Kv Cache Dtype","description":"KV cache precision. fp8 ~doubles KV capacity at <1% accuracy loss."},"enable_prefix_caching":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable Prefix Caching","description":"Reuse KV cache for shared prompt prefixes."},"quantization":{"anyOf":[{"type":"string","enum":["fp8","awq","gptq","awq_marlin","gptq_marlin","compressed-tensors","bitsandbytes"]},{"type":"null"}],"title":"Quantization","description":"On-the-fly weight quantization method."}},"additionalProperties":false,"type":"object","title":"StandardArgs","description":"The standard-argument allowlist. Construct from a raw ``dict[str, str]``\nvia :meth:`from_raw`; render to engine flags via :func:`standard_parts`."},"StreamOptions":{"properties":{"include_usage":{"type":"boolean","title":"Include Usage","description":"whether to include usage data","default":true},"continuous_usage_stats":{"type":"boolean","title":"Continuous Usage Stats","description":"whether to include usage stats continuously with each streaming event","default":false}},"type":"object","title":"StreamOptions"},"TextResponseFormat":{"properties":{"type":{"type":"string","const":"text","title":"Type","default":"text"}},"type":"object","title":"TextResponseFormat"},"TimeDeploymentStatsOut":{"properties":{"requests":{"type":"integer","title":"Requests","description":"number of inference requests in the provided interval"},"total_time_s":{"type":"integer","title":"Total Time S","description":"total number of seconds spend in inference"},"total_amount_cents":{"type":"integer","title":"Total Amount Cents","description":"total number of cents spent"},"avg_time_ms":{"type":"number","title":"Avg Time Ms","description":"average millisecond inference time"},"avg95_time_ms":{"type":"number","title":"Avg95 Time Ms","description":"95th percentile inference time (estimated)"},"errors":{"type":"integer","title":"Errors","description":"number of errors"}},"type":"object","required":["requests","total_time_s","total_amount_cents","avg_time_ms","avg95_time_ms","errors"],"title":"TimeDeploymentStatsOut"},"TokenizeIn":{"properties":{"model":{"type":"string","title":"Model","description":"model name","examples":["my-org\/my-dedicated-llm"]},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt","description":"text to tokenize (completion form)"},"messages":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Messages","description":"chat messages to tokenize (chat form)"},"return_token_strs":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Return Token Strs","description":"also return the per-token strings (vLLM)"}},"additionalProperties":true,"type":"object","required":["model"],"title":"TokenizeIn"},"TokenizeOut":{"properties":{"count":{"type":"integer","title":"Count","description":"number of tokens"},"max_model_len":{"type":"integer","title":"Max Model Len","description":"the model's maximum context length"},"tokens":{"items":{"type":"integer"},"type":"array","title":"Tokens","description":"token ids"},"token_strs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Token Strs","description":"per-token strings, if requested (vLLM)"}},"type":"object","required":["count","max_model_len","tokens"],"title":"TokenizeOut"},"TtsResponseFormat":{"type":"string","enum":["mp3","opus","flac","wav","pcm"],"title":"TtsResponseFormat","description":"Select the desired format for the speech output. Supported formats include mp3, opus, flac, wav, and pcm.","default":"wav","examples":["mp3","opus","flac","wav","pcm"]},"UpdateLoraApiRequest":{"properties":{"private":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Private"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"UpdateLoraApiRequest"},"VideoGenerationIn":{"properties":{"model":{"type":"string","title":"Model"},"prompt":{"type":"string","title":"Prompt"},"negative_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Negative Prompt"},"aspect_ratio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aspect Ratio"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size"},"seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seconds"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Style"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url","description":"First-frame image for image-to-video (i2v): an http(s) URL or a data: URI. Omit for text-to-video."}},"type":"object","required":["model","prompt"],"title":"VideoGenerationIn"},"VideoGenerationOut":{"properties":{"id":{"type":"string","title":"Id"},"object":{"type":"string","title":"Object","default":"video.generation.job"},"created_at":{"type":"integer","title":"Created At"},"status":{"type":"string","title":"Status"},"model":{"type":"string","title":"Model"},"data":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Data"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["id","created_at","status","model"],"title":"VideoGenerationOut"},"VideoURL":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"VideoURL"},"Voice":{"properties":{"user_id":{"type":"string","title":"User Id"},"voice_id":{"type":"string","title":"Voice Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description","default":""},"created_at":{"type":"integer","title":"Created At"},"updated_at":{"type":"integer","title":"Updated At"}},"type":"object","required":["user_id","voice_id","name"],"title":"Voice"},"WebLiveMetricsOut":{"properties":{"tokens_per_second":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tokens Per Second","description":"Tokens per second"},"time_to_first_token":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Time To First Token","description":"Time to first token in seconds"},"requests_per_second":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Requests Per Second","description":"Requests per second"},"total_tflops":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Tflops","description":"Total TFLOPS"}},"type":"object","required":["tokens_per_second","time_to_first_token","requests_per_second","total_tflops"],"title":"WebLiveMetricsOut"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}},"tags":[{"name":"Chat Completions","description":"OpenAI and Anthropic-compatible chat completion endpoints for LLMs."},{"name":"Text Completions","description":"OpenAI-compatible text completion endpoints."},{"name":"Embeddings","description":"Generate text embeddings for search and RAG."},{"name":"Image Generation","description":"Generate, edit, and create variations of images."},{"name":"Audio","description":"OpenAI-compatible speech synthesis, transcription, and translation."},{"name":"Text to Speech","description":"ElevenLabs-compatible TTS endpoints and voice management."},{"name":"Inference","description":"Native DeepInfra inference API for models and deployments."},{"name":"Dedicated Models","description":"Deploy and manage private model instances with autoscaling."},{"name":"GPU Rentals","description":"Rent dedicated GPU containers."},{"name":"Models","description":"Browse, search, and manage AI models."},{"name":"Files & Batches","description":"File uploads and batch processing."},{"name":"LoRA Adapters","description":"Create, manage, and query LoRA adapter models."},{"name":"Agents","description":"Manage agent-framework instances (OpenClaw and friends)."},{"name":"Sandboxes","description":"Create and manage isolated sandbox environments."},{"name":"Account","description":"User profile, team management, and rate limits."},{"name":"Authentication","description":"API tokens, SSH keys, scoped JWTs, and login flows."},{"name":"Billing","description":"Payment methods, usage tracking, and billing."},{"name":"Logs & Metrics","description":"Query inference logs, deployment logs, and usage metrics."},{"name":"Utilities","description":"Feedback submission and CLI version."}]}