API keys and spend caps
API keys authenticate requests to https://api.splixir.com and https://mcp.splixir.com with Authorization: Bearer splx_live_.... Create, update, and revoke keys in Console keys. API keys can read key lists (GET /v1/keys) and per-key usage (GET /v1/keys/:id/usage), while key creation, updates, and revocation require a Console session.
Create live scoped keys
Section titled “Create live scoped keys”Open Console keys and select Create key. Give the key a descriptive name, choose only the scopes your workload needs, and copy the splx_live_... secret right away because Splixir displays it once.
Update a key’s name, description, scopes, monthly USD spend cap, default storage bucket, or default webhook endpoint in Console keys. API keys cannot create, modify, or revoke API keys (403 forbidden_auth_method).
Scope permissions with least privilege
Section titled “Scope permissions with least privilege”| Scope | Grants access to |
|---|---|
jobs:write |
Submit and cancel jobs, request upload URLs, and manage BYO buckets |
jobs:read |
List jobs, inspect job status, estimate costs, and read verification reports |
billing:read |
Read wallet balance, account entitlements, ledger history, and usage summaries |
webhooks:manage |
Create and update webhook endpoints, rotate secrets, test pings, and replay logs |
Requests using a key without the required scope fail with 403 insufficient_scope.
Key limits and spend caps by tier
Section titled “Key limits and spend caps by tier”| Tier | Maximum active keys | Per-key monthly spend caps |
|---|---|---|
| Free | 1 | Not available |
| PAYG | 10 | Available |
| Basic | Unlimited | Available |
| Pro | Unlimited | Available |
| Scale | Unlimited | Available |
| Studio | Unlimited | Available |
Creating more keys than your tier allows returns 403 api_key_limit_reached.
Set monthly USD spend caps and inspect per-key usage
Section titled “Set monthly USD spend caps and inspect per-key usage”On PAYG and all monthly plans, set a monthly USD spend cap on any API key in Console keys.
- Only delivered jobs count toward the monthly cap.
- Counters reset automatically on the first day of each UTC month.
- Query
GET /v1/keys/:id/usage?days=30for per-key USD spend, delivered and failed counts, and category breakdown for SaaS or agency attribution.
See Billing and wallet for wallet spend order and account tiers.