Skip to Content

ListSignIns

GET
/auth/v1/sign-ins

Lists the caller's sign-ins, most recently used first.

Authorization

headerX-API-Key<token>

API key for protected endpoints, supplied in the X-API-Key header.

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/auth.v1.ListSignInsResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "sign_ins": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/auth.v1.SignIn",
          "$ref-value": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "title": "id"
              },
              "created_at": {
                "title": "created_at",
                "$ref": "#/components/schemas/google.protobuf.Timestamp",
                "$ref-value": {
                  "type": "string",
                  "examples": [
                    "2023-01-15T01:30:15.01Z",
                    "2024-12-25T12:00:00Z"
                  ],
                  "format": "date-time",
                  "description": "A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC."
                }
              },
              "last_used_at": {
                "title": "last_used_at",
                "$ref": "#/components/schemas/google.protobuf.Timestamp",
                "$ref-value": {
                  "type": "string",
                  "examples": [
                    "2023-01-15T01:30:15.01Z",
                    "2024-12-25T12:00:00Z"
                  ],
                  "format": "date-time",
                  "description": "A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC."
                }
              },
              "expires_at": {
                "title": "expires_at",
                "$ref": "#/components/schemas/google.protobuf.Timestamp",
                "$ref-value": {
                  "type": "string",
                  "examples": [
                    "2023-01-15T01:30:15.01Z",
                    "2024-12-25T12:00:00Z"
                  ],
                  "format": "date-time",
                  "description": "A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC."
                }
              },
              "auth_method": {
                "type": "string",
                "title": "auth_method",
                "description": "auth_method is how the sign-in was started: \"password\", \"passkey\",\n \"passkey_2fa\", \"totp\", or \"provider:<name>\"."
              },
              "user_agent": {
                "type": "string",
                "title": "user_agent"
              },
              "ip": {
                "type": "string",
                "title": "ip"
              },
              "country": {
                "type": "string",
                "title": "country"
              },
              "current": {
                "type": "boolean",
                "title": "current",
                "description": "current marks the sign-in of the access token making the request."
              }
            },
            "title": "SignIn",
            "additionalProperties": false
          }
        },
        "title": "sign_ins"
      }
    },
    "title": "ListSignInsResponse",
    "additionalProperties": false
  }
}
default
curl -X GET 'https://api.rixl.com/auth/v1/sign-ins'

Success

application/json

{
  "$ref": "#/components/schemas/auth.v1.ListSignInsResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "sign_ins": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/auth.v1.SignIn",
          "$ref-value": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "title": "id"
              },
              "created_at": {
                "title": "created_at",
                "$ref": "#/components/schemas/google.protobuf.Timestamp",
                "$ref-value": {
                  "type": "string",
                  "examples": [
                    "2023-01-15T01:30:15.01Z",
                    "2024-12-25T12:00:00Z"
                  ],
                  "format": "date-time",
                  "description": "A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC."
                }
              },
              "last_used_at": {
                "title": "last_used_at",
                "$ref": "#/components/schemas/google.protobuf.Timestamp",
                "$ref-value": {
                  "type": "string",
                  "examples": [
                    "2023-01-15T01:30:15.01Z",
                    "2024-12-25T12:00:00Z"
                  ],
                  "format": "date-time",
                  "description": "A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC."
                }
              },
              "expires_at": {
                "title": "expires_at",
                "$ref": "#/components/schemas/google.protobuf.Timestamp",
                "$ref-value": {
                  "type": "string",
                  "examples": [
                    "2023-01-15T01:30:15.01Z",
                    "2024-12-25T12:00:00Z"
                  ],
                  "format": "date-time",
                  "description": "A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC."
                }
              },
              "auth_method": {
                "type": "string",
                "title": "auth_method",
                "description": "auth_method is how the sign-in was started: \"password\", \"passkey\",\n \"passkey_2fa\", \"totp\", or \"provider:<name>\"."
              },
              "user_agent": {
                "type": "string",
                "title": "user_agent"
              },
              "ip": {
                "type": "string",
                "title": "ip"
              },
              "country": {
                "type": "string",
                "title": "country"
              },
              "current": {
                "type": "boolean",
                "title": "current",
                "description": "current marks the sign-in of the access token making the request."
              }
            },
            "title": "SignIn",
            "additionalProperties": false
          }
        },
        "title": "sign_ins"
      }
    },
    "title": "ListSignInsResponse",
    "additionalProperties": false
  }
}