API reference
Base URL: https://api.galliun.com.
Inference (/v1)
| Method | Path | Auth / payment |
|---|---|---|
POST |
/v1/chat/completions |
x402 exact |
POST |
/v1/embeddings |
x402 exact |
GET |
/v1/models |
Public |
GET |
/v1/pricing |
Public |
POST |
/v1/auth/challenge |
Public |
POST |
/v1/auth/verify |
Signature |
GET/POST/PATCH/DELETE |
/v1/conversations |
Bearer + x402 on chat |
Prefer client.inference.* instead of calling these manually.
Marketplace (/p)
| Method | Path | Payment |
|---|---|---|
* |
/p/:projectSlug/* |
x402 exact_split |
Prefer client.marketplace.call / callEndpoint.
Directory
| Method | Path |
|---|---|
GET |
/v1/directory/apis |
GET |
/v1/directory/apis/:slug |
GET |
/v1/directory/categories |
Prefer client.marketplace.directory.*.
Payment headers
| Header | Role |
|---|---|
X-PAYMENT |
Base64-encoded payment proof on retry |
402 responses include error: "payment_required", scheme, accepts[], and binding fields used by the SDK.