# Speech Result

## POST /async/speech/result

> Retrieve an asynchronous speech task status or final result.

```json
{"openapi":"3.0.3","info":{"title":"Distribute.AI API","version":"1.0.0"},"tags":[{"name":"async.speech","description":"Asynchronous task queuing operations."}],"servers":[{"url":"https://api.distribute.ai"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"authorization"}}},"paths":{"/async/speech/result":{"post":{"operationId":"asyncSpeechResult","tags":["async.speech"],"description":"Retrieve an asynchronous speech task status or final result.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$"}},"required":["id"],"additionalProperties":false,"description":"Standard OpenAI speech generation response containing the generated speech and metadata."}}},"required":true,"description":"Standard OpenAI speech generation response containing the generated speech and metadata."},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["CREATED","QUEUED","POSTPONED","ASSIGNED_CONNECTIONS","PROCESSING","COMPLETED","ERROR"]},"created":{"type":"number"},"finished":{"type":"number"},"model":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"}},"additionalProperties":false}}},"required":["id","status","created","model","results"],"additionalProperties":false}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.distribute.ai/distribute-for-enterprise/enterprise-inference-api/async-api/speech/speech-result.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
