API reference

API reference · Account

The account's signed in devices

GET/api/account/sessionsSigned in session

Each live session as a browser and a system family, when it began and was last seen, the one asking marked current. No address or agent string is kept.

Answer 200

The devices.

Fields of the 200 answer
FieldTypeWhat it is
sessionsarray of object
sessions[].idstring
sessions[].deviceobject or nullA browser and a system family, or null when unread.
sessions[].device.browserstring
sessions[].device.systemstring
sessions[].createdAtinteger
sessions[].lastSeenAtinteger or null
sessions[].currentboolean

Errors

  • 401OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter