Retrieves the current status of an asynchronous request.
Behavior
- Under normal operation, this endpoint returns
200 OK, regardless of whether the request is in progress, completed, or has failed at the job level. - The
statusfield in the response (IN_PROGRESS,COMPLETED,ERROR,UNKNOWN) indicates the state of the job. - When the job fails (status=
ERROR), details of the failure are provided in theerrorobject, but the HTTP status remains200. - When
status=COMPLETED,resultincludesimage_urlfor images orvideo_urlfor videos, or structured_prompt based on the original endpoint.
Other Possible Responses
404 NOT_FOUND– Returned when the specifiedrequest_iddoes not exist or has expired.5XX– Returned when the Status Service itself experiences an internal error. For real-time updates, check Bria's Status Page. You can also contact our Support.When
status=COMPLETED,resultmay also include:seed– Deterministic seed used for generation (if supported by the endpoint).prompt– Original prompt provided by the user (if applicable).refined_prompt– System-enhanced version of the input prompt (if applicable).structured_prompt– The detailed JSON structured prompt used for V2 generation.
GET
curl -i -X GET \
'https://engine.prod.bria-api.com/v2/status/{request_id}' \
-H 'api_token: string'Response
- StatusSuccessResponse
- StatusErrorResponse
- Completed Image Generation Request
- Completed Request (image editing)
- Completed Request (video)
- Completed Structured Prompt Request
- Completed Request (image edit, with seed)
- Completed Request (image edit, with prompt)
- Completed Request (image edit, with refined prompt)
- Error Response
{ "status": "COMPLETED", "result": { "image_url": "https://bria-datasets.s3.us-east-1.amazonaws.com/api_doc/fibo/new_year_2026.png", "seed": "123456", "structured_prompt": "{\"short_description\": \"A photorealistic, high-resolution rendering of balloon lettering spelling out \\\"HAPPY NEW YEAR 2026\\\" against a pristine white backdrop. The balloons are meticulously crafted with a metallic, reflective surface, showcasing a vibrant color palette of Pantone Bran, Crocus, and Deja vu blue. The composition is perfectly aligned and balanced, emphasizing the celebratory message with natural, soft lighting that creates subtle, elegant reflections and shadows.\",\"objects\": [{\"description\": \"A cluster of individual balloon letters forming the word \\\"HAPPY\\\". Each letter is inflated and has a smooth, highly reflective metallic surface, catching and distorting the ambient light. The letters are arranged horizontally, slightly overlapping to create a cohesive word.\",\"location\": \"top-left to center\",\"relationship\": \"Part of the main textual display, positioned above 'NEW YEAR'.\",\"relative_size\": \"large within frame\",\"shape_and_color\": \"Irregular letter shapes, primarily Pant…" }, "request_id": "123456" }