Skip to main content

myTrustedDevices

Requires an authenticated session.

Lists the devices the signed-in user has trusted for sign-in, and marks the current one.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query MyTrustedDevices {
myTrustedDevices {
id
deviceName
browser
deviceType
isCurrent
lastUsedAt
}
}

Response:

{
"data": {
"myTrustedDevices": [
{
"id": "id",
"deviceName": "string",
"browser": "string",
"deviceType": "string",
"isCurrent": true,
"lastUsedAt": "2025-01-15T00:00:00Z"
}
]
}
}
myTrustedDevices: [DeviceInfo!]!

Type​

DeviceInfo object​

A device the user has signed in from.