Nirmos
Image History

Get Image Generation

Get Image Generation — Nirmos Control Plane REST API.

GET
/v1/images/generations/{id}

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Path Parameters

id*string
Length1 <= length <= 128

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/images/generations/string"
{  "data": {    "id": "string",    "requestedModel": "string",    "provider": "string",    "model": "string",    "prompt": "string",    "status": "RUNNING",    "outputCount": 0,    "requestedOutputCount": 0,    "requestId": "string",    "traceId": "string",    "startedAt": "string",    "completedAt": "string",    "latencyMs": 0,    "estimatedCost": 0,    "errorCode": "string",    "errorMessage": "string",    "metadata": "string",    "outputs": [      {}    ]  },  "requestId": "string"}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}