PhotoGPT Developers

Get a model by ID

GET
/models/{modelID}

Retrieves a single model belonging to the authenticated user.

Authorization

BearerAuth
AuthorizationBearer <token>

Developer API key. Send as Authorization: Bearer <api_key>.

In: header

Path Parameters

modelID*string

Model ID

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/models/string"
{  "result": {    "createdAt": "string",    "id": "string",    "modelType": "string",    "status": "new",    "updatedAt": "string"  },  "status": "OK"}
{  "err": "string",  "message": "string",  "result": null,  "status": "NOK"}
{  "err": "string",  "message": "string",  "result": null,  "status": "NOK"}
{  "err": "string",  "message": "string",  "result": null,  "status": "NOK"}
{  "err": "string",  "message": "string",  "result": null,  "status": "NOK"}