PhotoGPT Developers

Get all models for the authenticated user

GET
/models

Retrieves all models for the current user. Adds free and general models if missing.

Authorization

BearerAuth
AuthorizationBearer <token>

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

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/models"
{  "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"}