Get the current caller's information

Retrieves the information of the principal issuing the request.

This endpoint is useful for clients to verify their own identity. All authenticated principals can call this endpoint.

Securityorg-oidc-token
Responses
200

The principal that issued the request

get/api/v1/principals/me
Request samples
Response samples
application/json
{
  • "id": "5yAFQRAATb7vtWGp4gvbJD3wE7VS81CGuQ7EZT",
  • "type": "SERVICE_ACCOUNT",
  • "externalId": "my.known.id",
  • "name": "My service account",
  • "description": "This is a service account used by data pipeline A-xxx",
  • "createdBy": {
    • "orgId": "my-org",
    • "userId": "-user-string-id-aBc123"
    },
  • "createdTime": 1730204346000,
  • "lastUpdatedTime": 1730204346000,
  • "pictureUrl": "string"
}