Skip to content

활성 세션 목록 Default

GET/auth/sessionsCopied!

활성 세션을 최신순으로 조회해요.

접근 가능한 사용자

사용자

Request

없음

Response

Returns 200 OK.

[]array
세션 목록
[].idstring
세션 ID

Example: bdbff5de-96d7-468f-9db0-85fe28bd6b62

[].ipstring
클라이언트 IP

Example: 203.0.113.42

[].userAgentstring?
User-Agent

Example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)

[].createdAtstring
생성 시각

Example: 2026-04-10 05:11:44.000000

[].expiredAtstring
만료 시각

Example: 2026-05-10 05:11:44.000000

[].currentboolean
현재 세션 여부

Example: true

Example

bash
curl 'https://api.youvico.com/auth/sessions' \
  -H 'Authorization: Bearer xoau.aB3xK9p2QwR7sT4uV1nM8oP5qL6rN0yZ7eF2gH4jK...'
json
[
  {
    "id": "bdbff5de-96d7-468f-9db0-85fe28bd6b62",
    "ip": "203.0.113.42",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)",
    "createdAt": "2026-04-10 05:11:44.000000",
    "expiredAt": "2026-05-10 05:11:44.000000",
    "current": true
  }
]