Keys
Create key
Create an inference key with a management key. The secret is returned once.
https://api.numes.ai/api/v1/keysbilling_currency is required, must be enabled for the account, and can never change. limit_reset requires a limit; expires_at must be a future UTC timestamp. Store the returned key immediately — it is never shown again. Guide: Management keys.
Authorization
AuthorizationheaderRequired
Bearer management key. Management keys manage inference keys and cannot run inference. Authorization: Bearer $NUMES_MANAGEMENT_KEY
Headers
X-Request-IdstringCorrelation ID, not an idempotency key. Inference request IDs recorded with a generation are unique per account. A traffic-admitted request reusing a recorded ID returns 400 invalid_request. Traffic admission rejection takes precedence over this conflict, including for reused IDs; it performs no generation lookup and writes no generation, result or attempt. Rate-limit rejection returns 429 rate_limited with Retry-After; an inference limiter outage retains 500 server.
Length1–128
Request body
application/jsonThe contract declares a 32 KiB body limit. The size the service enforces is listed in Limits.
Responses
201Created API key; the secret is returned only here.application/json
BodyCreateKeyResponseapplication/json
ErrorCompatible error envelopeapplication/json
Headers