MCP Gateway
ApiAuthentication

Get current user

Return the profile of the currently authenticated user, including role, email, and provider information.

GET
/api/v1/auth/me
access_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/auth/me"
{
  "id": "string",
  "email": "string",
  "name": "string",
  "avatar_url": "string",
  "provider": "string",
  "role": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "last_login_at": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}