Giky API / Docs
DEVELOPER DOCUMENTATION

Errors, limits & safe retries

Separate HTTP rejection, uncertain submission and a completed task failure. They need different recovery actions.

On this pageHTTP errorsRate limitsAsynchronous failure

HTTP errors

Errors use an error object with code; origin responses also include request_id. Keep that ID, task ID and timestamp for support. Never send your API key with a support request.

HTTP/codeMeaningAction
400 invalid_idempotency_key / invalid_or_unpriced_model_configurationInput does not match a priced contractFix parameters using model docs
401 invalid_api_key / invalid_or_restricted_api_keyMissing, expired, disabled or restricted keyCheck key settings and limits
403 invalid_originCross-origin browser requestCall from your backend
404 task_not_foundNo task visible to this keyUse the submitting key and exact task ID
409 idempotency_conflictSame request key reused with different inputRecover the original request; use a new key only for intentionally new work
409 model_configuration_changed / price_configuration_changedSaved configuration changedRefresh catalog and review price
409 model_temporarily_unavailableNo eligible execution routeWait; do not assume another model is equivalent
413 body_too_largeJSON exceeds 64 KiBReduce request size
415 json_required / encoding_not_supportedInvalid body encodingSend uncompressed application/json
429 rate_limitedRequest limit exceededWait at least 60 seconds, then back off
502 / 503 service_unavailableTemporary or uncertain service resultGET: retry; POST: preserve key/body

Rate limits

The task service currently applies 60 requests per minute per API key across submit/query/list operations, and a shared platform limit. Polling consumes requests too. These limits are not a concurrency guarantee and may change. Use exponential backoff with jitter for transient reads.

Asynchronous failure

An accepted request may later fail because of funds, model restrictions or execution errors. Customer errors are intentionally sanitized; task_processing_error is not a reliable retry instruction. Check task and usage records. needs_review is never a signal to automatically duplicate the request.