Skip to content

What does an unknown generation status mean, and should I retry?

Unknown means the service cannot currently confirm the provider outcome. It is neither a completed result nor proof that generation never happened. Preserve the job ID and original idempotency record. Do not automatically create a new paid task or promise credits were returned; inspect the existing task and seek reconciliation if uncertainty persists.

RECOVER AND DELIVER API JOBSAISwapLab team · Editorial methodUpdated 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Retain the durable record; Check the existing job cautiously; Reconcile before new spending.
Workflow diagram: Retain the durable record → Check the existing job cautiously → Reconcile before new spending. Read the article for evidence and limits.

There may be no confirmed provider task to poll

A connection can fail after an upstream request was sent but before a task identifier or complete response arrives. When a provider task was obtained, status retrieval can follow that existing work. Without such evidence, repeatedly issuing a fresh creation risks duplicates rather than recovering the answer. Your local incident age can trigger a support review, but it must not silently convert unknown into failed or free another paid attempt.

What to do next

  1. 01

    Retain the durable record

    Keep the model, job ID, request identifier and safe error text. Mark the user-facing task as outcome uncertain so it does not disappear from the active work list.

  2. 02

    Check the existing job cautiously

    Use its poll route within a bounded schedule. Inspect whether the service provides a changed state instead of assuming that elapsed time establishes success or failure.

  3. 03

    Reconcile before new spending

    Review usage and confirmed credit entries. If support is needed, provide the existing job ID and UTC timeline without exposing credentials or private provider responses.

A concrete example

Illustrative incident: a text call times out upstream after the request was transmitted. The customer API returns a durable unknown job. The application saves that job instead of firing a second chat completion under a new identifier.

Unknown-outcome incident record

Fact to preserveWhat it establishesWhat it cannot establish
Original task/key and send timeWhich intended request became uncertainThat no provider work happened
Existing job status/error timelineObserved reconciliation eventsA refund or completed artifact without confirmation
Usage and actual adjustment entriesRecorded account eventsAn assumed return based solely on elapsed time

Before you call it ready

  • Unknown is distinct from failed.
  • The original request identity is retained.
  • No refund or output is claimed without confirmation.

When to stop or choose another method

If your product cannot represent an uncertain outcome, add that state before enabling generation. Mapping uncertainty to a convenient Retry button can hide additional spending.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation