{"openapi":"3.1.0","info":{"title":"Sandchest API","version":"1","description":"The open-source speech-to-text API. The /v2 endpoints are AssemblyAI-compatible; /api/v1 is the native surface used by @sandchest/sdk. Word timings are milliseconds; audio_duration is seconds. Errors are { \"error\": \"...\" }.","license":{"name":"MIT","identifier":"MIT"}},"paths":{"/v2/upload":{"post":{"tags":["assemblyai"],"operationId":"assemblyai.upload","parameters":[],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["upload_url"],"properties":{"upload_url":{"type":"string"}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}},"required":true}}},"/v2/transcript":{"post":{"tags":["assemblyai"],"operationId":"assemblyai.createTranscript","parameters":[],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["id","status","audio_url","text","words","utterances","confidence","audio_duration","language_code","language_confidence","speech_model_used","speech_models","punctuate","format_text","disfluencies","custom_spelling","language_detection","speaker_labels","webhook_url","webhook_status_code","webhook_auth","webhook_auth_header_name","error","created"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["queued","processing","completed","error"]},"audio_url":{"type":"string"},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"words":{"anyOf":[{"type":"array","items":{"type":"object","required":["text","start","end","confidence","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},{"type":"null"}]},"utterances":{"anyOf":[{"type":"array","items":{"type":"object","required":["text","start","end","confidence","words","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"words":{"type":"array","items":{"type":"object","required":["text","start","end","confidence","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"speaker":{"type":"string"},"channel":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"multichannel":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"audio_channels":{"anyOf":[{"type":"number"},{"type":"null"}]},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_duration":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_start_from":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_end_at":{"anyOf":[{"type":"number"},{"type":"null"}]},"language_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"language_confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"speech_model_used":{"anyOf":[{"type":"string"},{"type":"null"}]},"speech_models":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"punctuate":{"type":"boolean"},"format_text":{"type":"boolean"},"disfluencies":{"type":"boolean"},"custom_spelling":{"anyOf":[{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"array","items":{"type":"string"}},"to":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"language_detection":{"type":"boolean"},"speaker_labels":{"type":"boolean"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"webhook_status_code":{"anyOf":[{"type":"number"},{"type":"null"}]},"webhook_auth":{"type":"boolean"},"webhook_auth_header_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"created":{"type":"string"}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["audio_url"],"properties":{"audio_url":{"type":"string"},"speech_models":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"speech_model":{"anyOf":[{"type":"string"},{"type":"null"}]},"language_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"language_detection":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"language_confidence_threshold":{"anyOf":[{"type":"number","description":"a number between 0 and 1","title":"between(0, 1)","minimum":0,"maximum":1},{"type":"null"}],"title":"between(0, 1)","description":"a number between 0 and 1"},"language_detection_options":{"anyOf":[{"type":"object","required":[],"properties":{"expected_languages":{"anyOf":[{"anyOf":[{"type":"array","minItems":1,"prefixItems":[{"type":"string","enum":["all"]}],"items":false},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"fallback_language":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string","enum":["auto"]}]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"punctuate":{"type":"boolean"},"format_text":{"type":"boolean"},"disfluencies":{"type":"boolean"},"speaker_labels":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"speakers_expected":{"anyOf":[{"type":"number"},{"type":"null"}]},"multichannel":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"webhook_auth_header_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"webhook_auth_header_value":{"anyOf":[{"type":"string"},{"type":"null"}]},"word_boost":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"boost_param":{"anyOf":[{"type":"string"},{"type":"null"}]},"audio_start_from":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_end_at":{"anyOf":[{"type":"number"},{"type":"null"}]},"custom_spelling":{"anyOf":[{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"to":{"type":"string"}},"additionalProperties":false}},{"type":"object","required":[],"properties":{},"additionalProperties":false},{"anyOf":[{"type":"boolean","enum":[false]},{"type":"number","enum":[0]},{"type":"string","enum":[""]}]},{"type":"null"}]}},"additionalProperties":false}}},"required":true}},"get":{"tags":["assemblyai"],"operationId":"assemblyai.listTranscripts","parameters":[{"name":"limit","in":"query","schema":{"type":"string"},"required":false},{"name":"status","in":"query","schema":{"type":"string"},"required":false},{"name":"created_on","in":"query","schema":{"type":"string"},"required":false},{"name":"before_id","in":"query","schema":{"type":"string"},"required":false},{"name":"after_id","in":"query","schema":{"type":"string"},"required":false},{"name":"throttled_only","in":"query","schema":{"type":"string"},"required":false}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["page_details","transcripts"],"properties":{"page_details":{"type":"object","required":["limit","result_count","current_url","prev_url","next_url"],"properties":{"limit":{"type":"number"},"result_count":{"type":"number"},"current_url":{"type":"string"},"prev_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"next_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"transcripts":{"type":"array","items":{"type":"object","required":["id","resource_url","status","created","completed","audio_url","error"],"properties":{"id":{"type":"string"},"resource_url":{"type":"string"},"status":{"type":"string","enum":["queued","processing","completed","error"]},"created":{"type":"string"},"completed":{"anyOf":[{"type":"string"},{"type":"null"}]},"audio_url":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}},"/v2/transcript/{id}":{"delete":{"tags":["assemblyai"],"operationId":"assemblyai.deleteTranscript","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["id","status","audio_url","text","words","utterances","confidence","audio_duration","language_code","language_confidence","speech_model_used","speech_models","punctuate","format_text","disfluencies","custom_spelling","language_detection","speaker_labels","webhook_url","webhook_status_code","webhook_auth","webhook_auth_header_name","error","created"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["queued","processing","completed","error"]},"audio_url":{"type":"string"},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"words":{"anyOf":[{"type":"array","items":{"type":"object","required":["text","start","end","confidence","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},{"type":"null"}]},"utterances":{"anyOf":[{"type":"array","items":{"type":"object","required":["text","start","end","confidence","words","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"words":{"type":"array","items":{"type":"object","required":["text","start","end","confidence","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"speaker":{"type":"string"},"channel":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"multichannel":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"audio_channels":{"anyOf":[{"type":"number"},{"type":"null"}]},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_duration":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_start_from":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_end_at":{"anyOf":[{"type":"number"},{"type":"null"}]},"language_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"language_confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"speech_model_used":{"anyOf":[{"type":"string"},{"type":"null"}]},"speech_models":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"punctuate":{"type":"boolean"},"format_text":{"type":"boolean"},"disfluencies":{"type":"boolean"},"custom_spelling":{"anyOf":[{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"array","items":{"type":"string"}},"to":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"language_detection":{"type":"boolean"},"speaker_labels":{"type":"boolean"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"webhook_status_code":{"anyOf":[{"type":"number"},{"type":"null"}]},"webhook_auth":{"type":"boolean"},"webhook_auth_header_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"created":{"type":"string"}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}},"get":{"tags":["assemblyai"],"operationId":"assemblyai.getTranscript","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["id","status","audio_url","text","words","utterances","confidence","audio_duration","language_code","language_confidence","speech_model_used","speech_models","punctuate","format_text","disfluencies","custom_spelling","language_detection","speaker_labels","webhook_url","webhook_status_code","webhook_auth","webhook_auth_header_name","error","created"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["queued","processing","completed","error"]},"audio_url":{"type":"string"},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"words":{"anyOf":[{"type":"array","items":{"type":"object","required":["text","start","end","confidence","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},{"type":"null"}]},"utterances":{"anyOf":[{"type":"array","items":{"type":"object","required":["text","start","end","confidence","words","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"words":{"type":"array","items":{"type":"object","required":["text","start","end","confidence","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"speaker":{"type":"string"},"channel":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"multichannel":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"audio_channels":{"anyOf":[{"type":"number"},{"type":"null"}]},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_duration":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_start_from":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_end_at":{"anyOf":[{"type":"number"},{"type":"null"}]},"language_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"language_confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"speech_model_used":{"anyOf":[{"type":"string"},{"type":"null"}]},"speech_models":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"punctuate":{"type":"boolean"},"format_text":{"type":"boolean"},"disfluencies":{"type":"boolean"},"custom_spelling":{"anyOf":[{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"array","items":{"type":"string"}},"to":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"language_detection":{"type":"boolean"},"speaker_labels":{"type":"boolean"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"webhook_status_code":{"anyOf":[{"type":"number"},{"type":"null"}]},"webhook_auth":{"type":"boolean"},"webhook_auth_header_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"created":{"type":"string"}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}},"/v2/transcript/{id}/sentences":{"get":{"tags":["assemblyai"],"operationId":"assemblyai.getSentences","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["id","confidence","audio_duration","speech_model_used","sentences"],"properties":{"id":{"type":"string"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_duration":{"anyOf":[{"type":"number"},{"type":"null"}]},"speech_model_used":{"anyOf":[{"type":"string"},{"type":"null"}]},"sentences":{"type":"array","items":{"type":"object","required":["text","start","end","confidence","words"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"words":{"type":"array","items":{"type":"object","required":["text","start","end","confidence"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}},"/v2/transcript/{id}/paragraphs":{"get":{"tags":["assemblyai"],"operationId":"assemblyai.getParagraphs","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["id","confidence","audio_duration","speech_model_used","paragraphs"],"properties":{"id":{"type":"string"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_duration":{"anyOf":[{"type":"number"},{"type":"null"}]},"speech_model_used":{"anyOf":[{"type":"string"},{"type":"null"}]},"paragraphs":{"type":"array","items":{"type":"object","required":["text","start","end","confidence","words"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"words":{"type":"array","items":{"type":"object","required":["text","start","end","confidence"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}},"/v2/transcript/{id}/word-search":{"get":{"tags":["assemblyai"],"operationId":"assemblyai.wordSearch","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"words","in":"query","schema":{"type":"string"},"required":false}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["id","total_count","matches"],"properties":{"id":{"type":"string"},"total_count":{"type":"number"},"matches":{"type":"array","items":{"type":"object","required":["text","count","timestamps","indexes"],"properties":{"text":{"type":"string"},"count":{"type":"number"},"timestamps":{"type":"array","items":{"type":"array","minItems":2,"prefixItems":[{"type":"number"},{"type":"number"}],"items":false}},"indexes":{"type":"array","items":{"type":"number"}}},"additionalProperties":false}}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}},"/v2/transcript/{id}/srt":{"get":{"tags":["assemblyai"],"operationId":"assemblyai.getSrt","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"chars_per_caption","in":"query","schema":{"type":"string"},"required":false}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"a string","content":{"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}},"/v2/transcript/{id}/vtt":{"get":{"tags":["assemblyai"],"operationId":"assemblyai.getVtt","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"chars_per_caption","in":"query","schema":{"type":"string"},"required":false}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"a string","content":{"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}},"/api/v1/transcripts":{"post":{"tags":["native"],"operationId":"native.createTranscript","parameters":[],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["id","status","audio_url","text","words","utterances","confidence","audio_duration","language_code","language_confidence","speech_model_used","speech_models","punctuate","format_text","disfluencies","custom_spelling","language_detection","speaker_labels","webhook_url","webhook_status_code","webhook_auth","webhook_auth_header_name","error","created"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["queued","processing","completed","error"]},"audio_url":{"type":"string"},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"words":{"anyOf":[{"type":"array","items":{"type":"object","required":["text","start","end","confidence","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},{"type":"null"}]},"utterances":{"anyOf":[{"type":"array","items":{"type":"object","required":["text","start","end","confidence","words","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"words":{"type":"array","items":{"type":"object","required":["text","start","end","confidence","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"speaker":{"type":"string"},"channel":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"multichannel":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"audio_channels":{"anyOf":[{"type":"number"},{"type":"null"}]},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_duration":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_start_from":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_end_at":{"anyOf":[{"type":"number"},{"type":"null"}]},"language_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"language_confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"speech_model_used":{"anyOf":[{"type":"string"},{"type":"null"}]},"speech_models":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"punctuate":{"type":"boolean"},"format_text":{"type":"boolean"},"disfluencies":{"type":"boolean"},"custom_spelling":{"anyOf":[{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"array","items":{"type":"string"}},"to":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"language_detection":{"type":"boolean"},"speaker_labels":{"type":"boolean"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"webhook_status_code":{"anyOf":[{"type":"number"},{"type":"null"}]},"webhook_auth":{"type":"boolean"},"webhook_auth_header_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"created":{"type":"string"}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["audio_url"],"properties":{"audio_url":{"type":"string"},"speech_models":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"speech_model":{"anyOf":[{"type":"string"},{"type":"null"}]},"language_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"language_detection":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"language_confidence_threshold":{"anyOf":[{"type":"number","description":"a number between 0 and 1","title":"between(0, 1)","minimum":0,"maximum":1},{"type":"null"}],"title":"between(0, 1)","description":"a number between 0 and 1"},"language_detection_options":{"anyOf":[{"type":"object","required":[],"properties":{"expected_languages":{"anyOf":[{"anyOf":[{"type":"array","minItems":1,"prefixItems":[{"type":"string","enum":["all"]}],"items":false},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"fallback_language":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"string","enum":["auto"]}]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"punctuate":{"type":"boolean"},"format_text":{"type":"boolean"},"disfluencies":{"type":"boolean"},"speaker_labels":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"speakers_expected":{"anyOf":[{"type":"number"},{"type":"null"}]},"multichannel":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"webhook_auth_header_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"webhook_auth_header_value":{"anyOf":[{"type":"string"},{"type":"null"}]},"word_boost":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"boost_param":{"anyOf":[{"type":"string"},{"type":"null"}]},"audio_start_from":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_end_at":{"anyOf":[{"type":"number"},{"type":"null"}]},"custom_spelling":{"anyOf":[{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"to":{"type":"string"}},"additionalProperties":false}},{"type":"object","required":[],"properties":{},"additionalProperties":false},{"anyOf":[{"type":"boolean","enum":[false]},{"type":"number","enum":[0]},{"type":"string","enum":[""]}]},{"type":"null"}]}},"additionalProperties":false}}},"required":true}}},"/api/v1/transcripts/{id}":{"get":{"tags":["native"],"operationId":"native.getTranscript","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true}],"security":[{"apiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["id","status","audio_url","text","words","utterances","confidence","audio_duration","language_code","language_confidence","speech_model_used","speech_models","punctuate","format_text","disfluencies","custom_spelling","language_detection","speaker_labels","webhook_url","webhook_status_code","webhook_auth","webhook_auth_header_name","error","created"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["queued","processing","completed","error"]},"audio_url":{"type":"string"},"text":{"anyOf":[{"type":"string"},{"type":"null"}]},"words":{"anyOf":[{"type":"array","items":{"type":"object","required":["text","start","end","confidence","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},{"type":"null"}]},"utterances":{"anyOf":[{"type":"array","items":{"type":"object","required":["text","start","end","confidence","words","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"words":{"type":"array","items":{"type":"object","required":["text","start","end","confidence","speaker","channel"],"properties":{"text":{"type":"string"},"start":{"type":"number"},"end":{"type":"number"},"confidence":{"type":"number"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"speaker":{"type":"string"},"channel":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"multichannel":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"audio_channels":{"anyOf":[{"type":"number"},{"type":"null"}]},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_duration":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_start_from":{"anyOf":[{"type":"number"},{"type":"null"}]},"audio_end_at":{"anyOf":[{"type":"number"},{"type":"null"}]},"language_code":{"anyOf":[{"type":"string"},{"type":"null"}]},"language_confidence":{"anyOf":[{"type":"number"},{"type":"null"}]},"speech_model_used":{"anyOf":[{"type":"string"},{"type":"null"}]},"speech_models":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"punctuate":{"type":"boolean"},"format_text":{"type":"boolean"},"disfluencies":{"type":"boolean"},"custom_spelling":{"anyOf":[{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"array","items":{"type":"string"}},"to":{"type":"string"}},"additionalProperties":false}},{"type":"null"}]},"language_detection":{"type":"boolean"},"speaker_labels":{"type":"boolean"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"webhook_status_code":{"anyOf":[{"type":"number"},{"type":"null"}]},"webhook_auth":{"type":"boolean"},"webhook_auth_header_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"created":{"type":"string"}},"additionalProperties":false}}}},"400":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/HttpApiDecodeError"},{"$ref":"#/components/schemas/InvalidRequest"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Unauthorized"}}}},"402":{"description":"PaymentRequired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequired"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forbidden"}}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFound"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conflict"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"429":{"description":"RateLimited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}},"components":{"schemas":{"HttpApiDecodeError":{"type":"object","required":["issues","message","_tag"],"properties":{"issues":{"type":"array","items":{"$ref":"#/components/schemas/Issue"}},"message":{"type":"string"},"_tag":{"type":"string","enum":["HttpApiDecodeError"]}},"additionalProperties":false,"description":"The request did not match the expected schema"},"Issue":{"type":"object","required":["_tag","path","message"],"properties":{"_tag":{"type":"string","enum":["Pointer","Unexpected","Missing","Composite","Refinement","Transformation","Type","Forbidden"],"description":"The tag identifying the type of parse issue"},"path":{"type":"array","items":{"$ref":"#/components/schemas/PropertyKey"},"description":"The path to the property where the issue occurred"},"message":{"type":"string","description":"A descriptive message explaining the issue"}},"additionalProperties":false,"description":"Represents an error encountered while parsing a value to match the schema"},"PropertyKey":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"object","required":["_tag","key"],"properties":{"_tag":{"type":"string","enum":["symbol"]},"key":{"type":"string"}},"additionalProperties":false,"description":"an object to be decoded into a globally shared symbol"}]},"InvalidRequest":{"type":"object","required":["error","_tag"],"properties":{"error":{"type":"string"},"_tag":{"type":"string","enum":["InvalidRequest"]}},"additionalProperties":false},"Unauthorized":{"type":"object","required":["error","_tag"],"properties":{"error":{"type":"string"},"_tag":{"type":"string","enum":["Unauthorized"]}},"additionalProperties":false},"Forbidden":{"type":"object","required":["error","_tag"],"properties":{"error":{"type":"string"},"_tag":{"type":"string","enum":["Forbidden"]}},"additionalProperties":false},"PaymentRequired":{"type":"object","required":["error","_tag"],"properties":{"error":{"type":"string"},"_tag":{"type":"string","enum":["PaymentRequired"]}},"additionalProperties":false},"Conflict":{"type":"object","required":["error","_tag"],"properties":{"error":{"type":"string"},"_tag":{"type":"string","enum":["Conflict"]}},"additionalProperties":false},"NotFound":{"type":"object","required":["error","_tag"],"properties":{"error":{"type":"string"},"_tag":{"type":"string","enum":["NotFound"]}},"additionalProperties":false},"PayloadTooLarge":{"type":"object","required":["error","_tag"],"properties":{"error":{"type":"string"},"_tag":{"type":"string","enum":["PayloadTooLarge"]}},"additionalProperties":false},"RateLimited":{"type":"object","required":["error","_tag"],"properties":{"error":{"type":"string"},"_tag":{"type":"string","enum":["RateLimited"]}},"additionalProperties":false},"ServiceUnavailable":{"type":"object","required":["error","_tag"],"properties":{"error":{"type":"string"},"_tag":{"type":"string","enum":["ServiceUnavailable"]}},"additionalProperties":false}},"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"Authorization","description":"A Sandchest API key, sent raw (`sc_live_...`) or with a `Bearer ` prefix. Create one at https://sandchest.com/dashboard/api-keys."}}},"security":[{"apiKey":[]}],"tags":[{"name":"assemblyai"},{"name":"native"}],"servers":[{"url":"https://stt-api.sandchest.com","description":"Hosted Sandchest API"}]}