Keys
Update key
Rename, disable, re-enable or re-budget an inference key with a management key.
https://api.numes.ai/api/v1/keys/{hash}Send at least one of name, disabled, limit and limit_reset. The billing currency and expiry cannot change; sending billing_currency is an unknown field and returns 400. Set limit to null to remove the spending limit.
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
Path parameters
Request body
application/jsonThe contract declares a 32 KiB body limit. The size the service enforces is listed in Limits.
Responses
200Updated API keyapplication/json
BodyKeyResponseapplication/json
ErrorCompatible error envelopeapplication/json
Headers