API overview

Quick start

Implemented OneAster APIs and their authentication contracts.

Start calling

Create an API Key in the OneAster console with a budget and model permissions. Use your oak_ key, not a supplier key or account session.

Call GET /v1/models first and choose an allowed, available model.

curl https://api.oneaster.ai/v1/models --header 'Authorization: Bearer '"$ONEASTER_API_KEY"

Open the chat endpoint, replace the model placeholder, and keep one Idempotency-Key for the same intent. Explicitly sent generation requests can incur configured charges.