# audioFromHash

## Get audio from hash

> Retrieves audio file using a previously generated hash

```json
{"openapi":"3.0.0","info":{"title":"Muzaic Core API","version":"1.0.0"},"tags":[{"name":"Audio","description":"Audio file generation and retrieval"}],"servers":[{"url":"https://m10.muzaic.ai","description":"Core API server"}],"security":[{"apiKeyAuth":[]}],"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"MuzaicAPI-Secret-Key"}}},"paths":{"/audioFromHash":{"post":{"summary":"Get audio from hash","description":"Retrieves audio file using a previously generated hash","tags":["Audio"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sourceHash"],"properties":{"sourceHash":{"type":"string","description":"Hash of previously generated audio"}}}}}},"responses":{"200":{"description":"Audio retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"apiVersion":{"type":"string"},"mp3":{"type":"string","description":"Base64 encoded MP3 audio data"},"tokensUsed":{"type":"integer","description":"Number of tokens consumed"},"executionTime":{"type":"number","format":"float","description":"Execution time in seconds"}}}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Hash not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}}}}
```


---

# 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.muzaic.ai/muzaic-api-docs/reference/api-reference/audiofromhash.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.
