Skip to main content
POST

Authorizations

Authorization
string
header
required

Supabase user JWT (or an internal service token). Send as Authorization: Bearer <token>.

Body

application/json
generation_log_id
integer
required

The log to finalize. Must belong to the caller.

Example:

12345

status
enum<string>
required
Available options:
completed,
failed
output_urls
string<uri>[]

Required when status is completed; must be non-empty.

error
string

Failure reason, used when status is failed.

webhook_url
string<uri>

HTTPS URL to deliver the result to. Overrides the log's stored webhook.

Response

Result recorded successfully.

status
integer
Example:

200

data
object