Documents
Getting started
From sign-up to your first request
- Sign up and sign in to your Astra-api account.
- Check your balance on the Console dashboard. Usage is charged from it, and every request is itemised in Usage Logs.
- Create a token under API Tokens. You can limit its quota, expiry, models and IPs.
- Pick a model on the Models page, copy its name, and set the base URL to https://17astra.com/v1.
curl https://17astra.com/v1/chat/completions \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-5-mini", "messages": [{"role": "user", "content": "Hello"}]}'If your balance runs low, contact the site administrator to top up.