Docs/Guides/cURL examples
cURL examples
No SDK required. Every endpoint is a single command — handy for scripts, debugging, and copy-paste into a teammate's terminal.
Identity
Smoke-test a key — returns the user, the key prefix and the credit balance.
cURL
curl https://api.varmir.com/api/v1/me \
-H "Authorization: Bearer mstk_your_key"Transcribe a file
One -F flag per multipart field. Drop translate_to if you only want the transcript.
cURL
curl https://api.varmir.com/api/v1/transcribe \
-H "Authorization: Bearer mstk_your_key" \
-F "[email protected]" \
-F "translate_to=en"Inspect usage
Read aggregates programmatically — perfect for a status-page widget or a Slack daily-summary bot.
cURL
curl "https://api.varmir.com/api/v1/usage?days=7" \
-H "Authorization: Bearer mstk_your_key"