Gatana Documentation
RoutesProfilesProfileid

/profiles/{profileId}

GET
/profiles/{profileId}
AuthorizationBearer <token>

In: header

Path Parameters

profileId*string

Response Body

application/json

curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/profiles/string"
{
  "profile": {
    "tenantId": "string",
    "id": "string",
    "createdBy": 0,
    "name": "string",
    "description": "string",
    "isOpenToAllUsers": true,
    "isRestrictive": true,
    "createdAt": "string",
    "updatedAt": "string",
    "servers": [
      {
        "name": "string",
        "slug": "string",
        "authorization": {
          "method": "none",
          "credentialsScope": "server",
          "apikeys": [
            "string"
          ]
        },
        "credentialsNumKeys": 0,
        "credentialScope": "server",
        "credentials": {
          "id": "string",
          "tenantId": "string",
          "scope": "server",
          "userId": 0,
          "profileId": "string",
          "lastUsedAt": "string",
          "authorizedAt": "string",
          "type": "oauth",
          "createdAt": "string",
          "updatedAt": "string",
          "apikeysPresent": [
            "string"
          ],
          "hasAccessToken": true,
          "accessTokenExpiry": "string",
          "hasRefreshToken": true,
          "subject": "string",
          "email": "string"
        }
      }
    ]
  }
}