{"openapi":"3.1.0","info":{"title":"ModelUse Core","version":"1.0.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/session":{"get":{"summary":"Session Read","operationId":"session_read_v1_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/google":{"get":{"summary":"Google Start","operationId":"google_start_auth_google_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/google/callback":{"get":{"summary":"Google Callback","operationId":"google_callback_auth_google_callback_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/logout":{"post":{"summary":"Logout","operationId":"logout_v1_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/models":{"get":{"summary":"Models","operationId":"models_v1_models_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/models/{model_id}":{"get":{"summary":"Model Read","operationId":"model_read_v1_models__model_id__get","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/inputs":{"post":{"summary":"Input Upload","operationId":"input_upload_v1_inputs_post","requestBody":{"content":{"audio/wav":{"schema":{"type":"string","format":"binary"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/inputs/{input_id}":{"get":{"summary":"Input Read","operationId":"input_read_v1_inputs__input_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"input_id","in":"path","required":true,"schema":{"type":"string","title":"Input Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/inputs/{input_id}/quote":{"get":{"summary":"Input Quote","operationId":"input_quote_v1_inputs__input_id__quote_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"input_id","in":"path","required":true,"schema":{"type":"string","title":"Input Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/credits":{"get":{"summary":"Credits","operationId":"credits_v1_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/jobs":{"get":{"summary":"Jobs","operationId":"jobs_v1_jobs_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Submit","operationId":"submit_v1_jobs_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/jobs/{job_id}":{"get":{"summary":"Job Read","operationId":"job_read_v1_jobs__job_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/jobs/{job_id}/classification":{"post":{"summary":"Classify Review","operationId":"classify_review_v1_jobs__job_id__classification_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/jobs/{job_id}/cancel":{"post":{"summary":"Job Cancel","operationId":"job_cancel_v1_jobs__job_id__cancel_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/artifacts/{artifact_id}":{"get":{"summary":"Artifact Read","operationId":"artifact_read_v1_artifacts__artifact_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/api-keys":{"get":{"summary":"Key List","operationId":"key_list_v1_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]},"post":{"summary":"Key Create","operationId":"key_create_v1_api_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/api-keys/{key_id}":{"delete":{"summary":"Key Revoke","operationId":"key_revoke_v1_api_keys__key_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/testnet/discovery":{"get":{"summary":"Discovery","operationId":"discovery_v1_testnet_discovery_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/testnet/inputs":{"post":{"summary":"Upload","operationId":"upload_v1_testnet_inputs_post","requestBody":{"content":{"audio/wav":{"schema":{"type":"string","format":"binary"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/testnet/quotes":{"post":{"summary":"Quote","operationId":"quote_v1_testnet_quotes_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["recipe_id","input_id"],"properties":{"recipe_id":{"type":"string","const":"whisper-tiny-cpu-v1:openai--whisper-tiny:169d4a4341b33bc18d8881c4b69c2e104e1cc0af"},"input_id":{"type":"string"},"caller_reference":{"type":"string"},"service":{"enum":["interactive","background"]}}}}}}}},"/v1/testnet/quotes/{quote_id}/pay":{"post":{"summary":"Pay","operationId":"pay_v1_testnet_quotes__quote_id__pay_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","title":"Quote Id"}},{"in":"header","name":"PAYMENT-SIGNATURE","required":true,"schema":{"type":"string","maxLength":8192},"description":"Base64 x402 v2 proof. Keep private keys in the wallet; exact original quote request bytes required."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/testnet/quotes/{quote_id}/receipt":{"get":{"summary":"Receipt","operationId":"receipt_v1_testnet_quotes__quote_id__receipt_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","title":"Quote Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/testnet/quotes/{quote_id}/jobs":{"post":{"summary":"Admit","operationId":"admit_v1_testnet_quotes__quote_id__jobs_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","title":"Quote Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/testnet/jobs/{job_id}":{"get":{"summary":"Status","operationId":"status_v1_testnet_jobs__job_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/testnet/jobs/{job_id}/cancel":{"post":{"summary":"Cancel","operationId":"cancel_v1_testnet_jobs__job_id__cancel_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/testnet/jobs/{job_id}/artifact":{"get":{"summary":"Artifact","operationId":"artifact_v1_testnet_jobs__job_id__artifact_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"KeyRequest":{"properties":{"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"}},"additionalProperties":false,"type":"object","required":["label"],"title":"KeyRequest"},"ReviewRequest":{"properties":{"label":{"type":"string","enum":["speaking","singing","mixed","instrumental","unknown"],"title":"Label"},"confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Confidence"},"notes":{"type":"string","maxLength":500,"title":"Notes","default":""}},"additionalProperties":false,"type":"object","required":["label"],"title":"ReviewRequest"},"Submission":{"properties":{"recipe_id":{"type":"string","maxLength":220,"minLength":1,"title":"Recipe Id"},"caller_reference":{"type":"string","maxLength":160,"title":"Caller Reference","default":""},"service":{"type":"string","enum":["interactive","background"],"title":"Service","default":"interactive"},"input_id":{"anyOf":[{"type":"string","maxLength":36},{"type":"null"}],"title":"Input Id"}},"additionalProperties":false,"type":"object","required":["recipe_id"],"title":"Submission"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"},"APIKeyCookie":{"type":"apiKey","in":"cookie","name":"__Host-modeluse_session"}}}}