Return the profile of the signed-in user; GraphQL and MCP also return the profile of the user who owns an API key.
Responses
query CurrentUser { currentUser { id email name avatarSrc oAuth { github google linkedIn slack } approved subscription { id type cycle status currentPeriodStart currentPeriodEnd quantity expiresAt createdAt canceledAt projectId } projectRole { name permissions } }}{ "data": { "currentUser": { "id": "string", "email": "[email protected]", "name": "string", "avatarSrc": "string", "oAuth": { "github": "string", "google": "string", "linkedIn": "string", "slack": "string" }, "approved": false, "subscription": { "id": "string", "type": "free", "cycle": "monthly", "status": "string", "currentPeriodStart": "string", "currentPeriodEnd": "string", "quantity": 0, "expiresAt": "string", "createdAt": "string", "canceledAt": "string", "projectId": "string" }, "projectRole": { "name": "string", "permissions": [ "string" ] } } }}The User in data.currentUser.