Account
Get profile and balance
Resolves the caller from either credential - session cookie or bearer key - through the same identity path, and returns the same account either way.
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"}