Run a failed generation again
Ask a failed generation to run again. Only some failures are worth retrying, such as a temporary outage, and retryable on the generation says which; anything else is 409 generation_not_retryable. Words the AI already wrote for this generation are reused, not written again, so a retry after the words were written resumes where it stopped. Answers 202 with a Location; poll marketing.generations.get until state is terminal.
Request
- Base URL: https://api.gogoscreen.com/api/v1
- URL: https://api.gogoscreen.com/api/v1/marketing/generations/{id}/retry
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
The resource id, from a create answer or the matching list.
Headers
1–128 characters, unique to this request. A retry with the same key and the same body returns the STORED response with Idempotent-Replayed: true; the same key with a different body is 409 idempotency_conflict; a duplicate still in flight is 409 idempotency_in_progress. Claims expire after 24 hours.
Response
The work was already known — the service recognised this key on its own record and queued nothing new. Answered when the 24-hour idempotency claim has expired but the work has not.
Changes
No recorded changes to this operation across all 1 revision of this API.