This is now possible to upload a reference audio file via this new endpoint : https://docs.reprtoir.com/reference/post_api-reference-audios
In your Reprtoir Settings, under Integrations > Webhooks, you can register a webhook URL to be called when an upload is ready to be used in a search.
Then in the tracks search endpoint, when using search_mode=similarity
and search_by_similarity[source]=audio
, the UUID of the reference audio can be passed to search_by_similarity[reference_uuid]
to search for tracks similar to the uploaded audio file.