Gensprite
Account

Get profile and balance

GET
/v1/me

Resolves the caller from either credential - session cookie or bearer key - through the same identity path, and returns the same account either way.

Authorization

AuthorizationBearer <token>

API key: Authorization: Bearer gsk_.... Used by the Godot plugin, the MCP server and the engine.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/me"
{  "id": "string",  "email": "user@example.com",  "created_at": "2019-08-24T14:15:22Z",  "credits": {    "tokens": 0,    "expiring_soon": {      "tokens": 0,      "at": "2019-08-24T14:15:22Z"    }  },  "files_expire_at": "2019-08-24T14:15:22Z"}