GET
/
users
/
me
curl --request GET \
  --url https://restapi.gputrader.io/v1/users/me \
  --header 'X-API-Key: <api-key>'
{
  "orgId": "<string>",
  "userId": "<string>",
  "userRole": "HOST",
  "sshKeys": [
    {
      "name": "<string>",
      "publicKey": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ],
  "favoriteEnvIds": [
    "<string>"
  ],
  "stripeCheckoutSessionId": "<string>",
  "orgName": "<string>"
}

Authorizations

X-API-Key
string
header
required

Response

200
application/json

Successfully retrieved user profile

The response is of type object.