Skip to content
orukDocs Guide

Operations

Production integration

The API v1 contract is synchronous and file-based. Production clients should bound retries, preserve request IDs, monitor their own latency and error rates, and protect the available balance.

Limits and latency

File size
30 MB
Audio duration
60 minutes
Billing minimum
1 second
Suggested short-file timeout
120 seconds

End-to-end latency depends on audio duration, selected task, model, and current capacity. PAYG does not include a contractual p95 latency or concurrency allocation. Measure representative files and contact oruk before a high-concurrency launch.

Retry policy

HTTP statusActionNotes
400, 401, 402, 404, 413, 422Do not retry automaticallyFix the request, credential, balance, or file.
409Do not create a new chargeable request blindlyThe request ID has already been used. Reconcile against usage history.
429RetryExponential backoff with jitter. Reduce concurrency if it persists.
500, 502, 503, 504RetryUse the same logical request ID and a bounded retry budget.

Observability

  • Log your X-Request-ID and returned result ID.
  • Track status code, duration, model, task, and client-perceived latency.
  • Alert on sustained 429 or 5xx rates, not isolated retries.
  • Compare application records with the request-level usage ledger.
  • Monitor balance and enable threshold email alerts or auto-recharge.
  • Never log bearer keys, audio content, or complete API responses by default.

Launch checklist

  1. 01Keep keys in a server-side secret manager.
  2. 02Use one key per environment and rotate it on exposure.
  3. 03Validate representative audio, microphones, accents, and edge cases.
  4. 04Set timeout and retry budgets explicitly.
  5. 05Load test below an agreed production concurrency envelope.
  6. 06Add balance alerts and a payment method before launch.
  7. 07Review the security, privacy, and responsible-use commitments.
  8. 08Define a human escalation path for consequential emotion use.