me

Fetch the authenticated public API user and account context.

Arguments

ArgumentTypeRequiredDefaultDescription
analyzeBooleanNo

If true, the query will only be analyzed (cost estimated) without executing it.

Return Type

CurrentUserQueryResult

Query

query me(
  $analyze: Boolean
) {
  me(
    analyze: $analyze
  ) {
    request_id
    complexity
    data {
      ...AuthenticatedUserFragment
    }
  }
}

Variables

{
  "analyze": true
}

Response

{
  "data": {
    "me": {
      "request_id": "UmVjb3JkOjEyMzQ=",
      "complexity": 100,
      "data": {id: "QXV0aGVudGljYXRlZFVzZXI6MTIzNA=="}
    }
  }
}