{"openapi":"3.1.0","info":{"title":"DeepApi","version":"0.1.0"},"paths":{"/v1/metrics/live":{"get":{"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":{"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"post":{"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"}}],"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"},"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":{"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,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,stopped,failed,deleted"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-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":{"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,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,stopped,failed,deleted"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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}/stop":{"post":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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":{"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":{"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":{"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"}}],"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":{"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":{"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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/completions":{"post":{"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"}}],"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/openai/completions":{"post":{"summary":"Openai Completions","operationId":"openai_completions_v1_openai_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"}}],"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/files":{"get":{"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":100,"title":"Limit"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"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"}}],"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/openai/files":{"get":{"summary":"List Files","operationId":"list_files_v1_openai_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":100,"title":"Limit"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Openai Files","operationId":"openai_files_v1_openai_files_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_openai_files_v1_openai_files_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/batches":{"get":{"summary":"Retrieve Openai Batches","operationId":"retrieve_openai_batches_v1_batches_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"after","in":"query","required":true,"schema":{"type":"string","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"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"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"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIBatchesIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAIBatch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/openai/batches":{"get":{"summary":"Retrieve Openai Batches","operationId":"retrieve_openai_batches_v1_openai_batches_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"after","in":"query","required":true,"schema":{"type":"string","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"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Openai Batch","operationId":"create_openai_batch_v1_openai_batches_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-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/OpenAIBatch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/batches/{batch_id}":{"get":{"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"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/openai/batches/{batch_id}":{"get":{"summary":"Retrieve Openai Batch","operationId":"retrieve_openai_batch_v1_openai_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"}}],"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":{"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"}}],"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/openai/chat/completions":{"post":{"summary":"Openai Chat Completions","operationId":"openai_chat_completions_v1_openai_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"}}],"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"}}}}}}},"/anthropic/v1/messages":{"post":{"summary":"Anthropic Messages","operationId":"anthropic_messages_anthropic_v1_messages_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"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"}}],"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":{"summary":"Anthropic Messages Count Tokens","operationId":"anthropic_messages_count_tokens_anthropic_v1_messages_count_tokens_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnthropicTokenCountRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/embeddings":{"post":{"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"}}],"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"}}}}}}},"/v1/openai/embeddings":{"post":{"summary":"Openai Embeddings","operationId":"openai_embeddings_v1_openai_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"}}],"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"}}}}}}},"/v1/models":{"get":{"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":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-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/openai/models":{"get":{"summary":"Openai Models","operationId":"openai_models_v1_openai_models_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-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":{"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"}}],"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/openai/images/generations":{"post":{"summary":"Openai Images Generations","description":"Generate image using OpenAI Images API","operationId":"openai_images_generations_v1_openai_images_generations_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-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":{"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"}}],"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/openai/images/variations":{"post":{"summary":"Openai Images Variations","description":"Generate a similar image using OpenAI Images Variations API","operationId":"openai_images_variations_v1_openai_images_variations_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_openai_images_variations_v1_openai_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":{"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"}}],"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/openai/images/edits":{"post":{"summary":"Openai Images Edits","description":"Edit image using OpenAI Images Edits API","operationId":"openai_images_edits_v1_openai_images_edits_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_openai_images_edits_v1_openai_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":{"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"}}],"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":{"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"}}],"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/openai/audio/speech":{"post":{"summary":"Openai Audio Speech","operationId":"openai_audio_speech_v1_openai_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"}}],"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":{"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"}}],"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/openai/audio/transcriptions":{"post":{"summary":"Openai Audio Transcriptions","operationId":"openai_audio_transcriptions_v1_openai_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"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_openai_audio_transcriptions_v1_openai_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":{"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"}}],"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/openai/audio/translations":{"post":{"summary":"Openai Audio Translations","operationId":"openai_audio_translations_v1_openai_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"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_openai_audio_translations_v1_openai_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/logs/query":{"get":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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"}}}}}}},"/github/login":{"get":{"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":{"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":{"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"}}}}}}},"/v1/api-tokens":{"get":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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":{"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"}}],"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/openclaw":{"post":{"summary":"Openclaw Create","operationId":"openclaw_create_v1_openclaw_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenClawCreateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenClawCreateOut"}}}},"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"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Openclaw List","operationId":"openclaw_list_v1_openclaw_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"state","in":"query","required":false,"schema":{"enum":["active","inactive"],"type":"string","description":"Whether to return active or inactive instances","default":"active","title":"State"},"description":"Whether to return active or inactive instances"},{"name":"xi-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Xi-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OpenClawInstanceOut"},"title":"Response Openclaw List V1 Openclaw 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/openclaw/{instance_id}":{"get":{"summary":"Openclaw Get","operationId":"openclaw_get_v1_openclaw__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"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenClawInstanceOut"}}}},"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":{"summary":"Openclaw Update","operationId":"openclaw_update_v1_openclaw__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"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenClawUpdateIn"}}}},"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":{"summary":"Openclaw Delete","operationId":"openclaw_delete_v1_openclaw__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"}}],"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/openclaw/{instance_id}/stop":{"post":{"summary":"Openclaw Stop","operationId":"openclaw_stop_v1_openclaw__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"}}],"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/openclaw/{instance_id}/start":{"post":{"summary":"Openclaw Start","operationId":"openclaw_start_v1_openclaw__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"}}],"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/openclaw/{instance_id}/expand_storage":{"post":{"summary":"Openclaw Expand Storage","operationId":"openclaw_expand_storage_v1_openclaw__instance_id__expand_storage_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"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenClawExpandStorageIn"}}}},"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"}}}}}}},"/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":[]}]}},"/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":[]}]},"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":[]}]}},"/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":[]}]}},"/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":[]}]}},"/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":[]}]}},"/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":[]}]}},"/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":[]}]}},"/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":[]}]}},"/payment/funds":{"post":{"summary":"Add Funds","operationId":"add_funds_payment_funds_post","parameters":[{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/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":[]}]}}},"components":{"schemas":{"AddFundsIn":{"properties":{"amount":{"type":"integer","title":"Amount","description":"Amount to add in cents"}},"type":"object","required":["amount"],"title":"AddFundsIn"},"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},"payment_method":{"type":"boolean","title":"Payment Method","default":false},"suspended":{"type":"boolean","title":"Suspended","default":false},"overdue_invoices":{"type":"number","title":"Overdue Invoices","default":0.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}},"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"},"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}},"type":"object","required":["provider","model_name","task"],"title":"ModelMeta"},"SuspendReason":{"type":"string","enum":["balance","payment-method","overdue-invoices","limit-reached","admin","bad-cc"],"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"},"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.0},"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"},"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"}},"type":"object","required":["file","model"],"title":"Body_openai_audio_transcriptions_v1_audio_transcriptions_post"},"Body_openai_audio_transcriptions_v1_openai_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"}},"type":"object","required":["file","model"],"title":"Body_openai_audio_transcriptions_v1_openai_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}},"type":"object","required":["file","model"],"title":"Body_openai_audio_translations_v1_audio_translations_post"},"Body_openai_audio_translations_v1_openai_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}},"type":"object","required":["file","model"],"title":"Body_openai_audio_translations_v1_openai_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_files_v1_openai_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_openai_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_edits_v1_openai_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_openai_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_openai_images_variations_v1_openai_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_openai_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"},"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"}]},"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":["low","medium","high"]},{"type":"null"}],"title":"Effort","description":"Constrains effort on reasoning for reasoning models."},"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."}},"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"},"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.0,"minimum":1.0,"title":"Num Gpus","description":"Number of GPUs used by one instance","default":1},"max_batch_size":{"type":"integer","maximum":256.0,"minimum":1.0,"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"}},"type":"object","required":["model_name","gpu"],"title":"DeployLLMIn"},"DeployLLMUpdateIn":{"properties":{"settings":{"$ref":"#/components/schemas/ScaleSettings"}},"type":"object","required":["settings"],"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"},"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"}},"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"},"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","rent-container","reranker"],"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"},"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"}]},"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"}},"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"},"mask_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mask Token"},"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"}],"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":{"type":"integer","title":"Context Length"},"max_tokens":{"type":"integer","title":"Max Tokens"},"pricing":{"additionalProperties":{"type":"number"},"type":"object","title":"Pricing"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["description","context_length","max_tokens","pricing","tags"],"title":"ModelMetadata"},"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"}],"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"},"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"},"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"}},"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"},"OpenAIBatch":{"properties":{"id":{"type":"string","title":"Id"},"object":{"type":"string","title":"Object"},"endpoint":{"type":"string","title":"Endpoint"},"errors":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Errors"},"input_file_id":{"type":"string","title":"Input File Id"},"completion_window":{"type":"string","title":"Completion Window"},"status":{"type":"string","title":"Status"},"output_file_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output File Id"},"error_file_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error File Id"},"created_at":{"type":"integer","title":"Created At"},"in_progress_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"In Progress At"},"completed_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Completed At"},"failed_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Failed At"},"finalizing_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Finalizing At"},"expires_at":{"type":"integer","title":"Expires At"},"expired_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expired At"},"cancelled_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cancelled At"},"cancelling_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cancelling At"},"request_counts":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Request Counts"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["id","object","endpoint","input_file_id","completion_window","status","created_at","expires_at"],"title":"OpenAIBatch"},"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"],"title":"Endpoint","description":"The endpoint to be used for all requests in the batch. Currently /v1/chat/completions, /v1/completions 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":true,"type":"object"},{"type":"null"}],"title":"Metadata","description":"Optional metadata to be stored with the batch."}},"type":"object","required":["input_file_id","endpoint","completion_window","metadata"],"title":"OpenAIBatchesIn"},"OpenAIChatCompletionsIn":{"properties":{"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.0,"minimum":0.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.0},"top_p":{"type":"number","maximum":1.0,"exclusiveMinimum":0.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.0},"min_p":{"type":"number","maximum":1.0,"minimum":0.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.0},"top_k":{"type":"integer","exclusiveMaximum":1000.0,"minimum":0.0,"title":"Top K","description":"Sample from the best k (number of) tokens. 0 means off","default":0},"max_tokens":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":0.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 16384, 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"},"n":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"N","description":"number of sequences to return","default":1},"presence_penalty":{"type":"number","maximum":2.0,"minimum":-2.0,"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.0,"minimum":-2.0,"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.0,"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":["low","medium","high","none"]},{"type":"null"}],"title":"Reasoning Effort","description":"Constrains effort on reasoning for reasoning models. Currently supported values are none, low, medium, and high. 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."}},"type":"object","required":["model","messages"],"title":"OpenAIChatCompletionsIn"},"OpenAICompletionsIn":{"properties":{"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":1000000.0,"exclusiveMinimum":0.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 16384, whichever is smaller."},"temperature":{"type":"number","maximum":2.0,"minimum":0.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.0},"top_p":{"type":"number","maximum":1.0,"exclusiveMinimum":0.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.0},"min_p":{"type":"number","maximum":1.0,"minimum":0.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.0},"top_k":{"type":"integer","exclusiveMaximum":1000.0,"minimum":0.0,"title":"Top K","description":"Sample from the best k (number of) tokens. 0 means off","default":0},"n":{"type":"integer","maximum":4.0,"minimum":1.0,"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.0,"minimum":-2.0,"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.0,"minimum":-2.0,"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.0,"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":"List of token IDs that will stop generation when encountered"},"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. When set to 'priority', the request will be processed with higher priority (only applies to models that support it)."},"model":{"type":"string","title":"Model","description":"model name","examples":["thenlper/gte-large"]},"input":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"string"}],"maxLength":1024,"title":"Input","description":"sequences to embed","examples":[["I like chocolate"]],"soft_required":true},"encoding_format":{"type":"string","enum":["float","base64"],"title":"Encoding Format","description":"format used when encoding","default":"float"},"dimensions":{"anyOf":[{"type":"integer","minimum":32.0},{"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"},"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.0,"minimum":1.0,"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.0,"minimum":1.0,"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.0,"minimum":1.0,"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. When set to 'priority', the request will be processed with higher priority (only applies to models that support it)."},"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.0,"minimum":0.25,"title":"Speed","description":"speed of the speech","default":1.0},"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"},"OpenClawCreateIn":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name","description":"Instance name"},"data_disk_size_gb":{"type":"integer","maximum":256.0,"minimum":20.0,"title":"Data Disk Size Gb","description":"Data disk size in GB. Can be expanded later.","default":20},"region":{"type":"string","title":"Region","description":"AWS region","default":"us-west-2"}},"type":"object","required":["name"],"title":"OpenClawCreateIn"},"OpenClawCreateOut":{"properties":{"instance_id":{"type":"string","title":"Instance Id","description":"Instance ID"}},"type":"object","required":["instance_id"],"title":"OpenClawCreateOut"},"OpenClawExpandStorageIn":{"properties":{"new_size_gb":{"type":"integer","maximum":512.0,"minimum":21.0,"title":"New Size Gb","description":"New disk size in GB (must be larger than current)"}},"type":"object","required":["new_size_gb"],"title":"OpenClawExpandStorageIn"},"OpenClawInstanceOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"state":{"$ref":"#/components/schemas/OpenClawInstanceState"},"start_ts":{"type":"integer","title":"Start Ts"},"state_ts":{"type":"integer","title":"State Ts"},"stop_ts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stop Ts"},"data_disk_size_gb":{"type":"integer","title":"Data Disk Size Gb"},"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"}},"type":"object","required":["id","name","state","start_ts","state_ts","stop_ts","data_disk_size_gb","price_per_hour","region","last_backup_ts","ssh_port","fail_reason","public_ip"],"title":"OpenClawInstanceOut"},"OpenClawInstanceState":{"type":"string","enum":["creating","starting","running","stopping","stopped","failed","deleted"],"title":"OpenClawInstanceState"},"OpenClawUpdateIn":{"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name","description":"Instance name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"OpenClawUpdateIn"},"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"},"name":{"type":"string","title":"Name","description":"Human-readable model name"},"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"},"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","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"}},"type":"object","required":["prompt","completion"],"title":"OpenRouterPricing"},"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"}],"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"],"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"},"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"],"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"},"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"},"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"},"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"}}}}