Skip to main content
GET
/
v1
/
sessions
/
attempts
/
attempts
List verification attempts
curl --request GET \
  --url http://127.0.0.1:8787/v1/sessions/attempts/attempts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "session_id": "<string>",
      "status": "in_progress",
      "failure_code": "session_expired",
      "risk_score": 0.5,
      "completed_at": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "error": {},
  "pagination": {
    "limit": 10,
    "has_more": false,
    "next_cursor": null
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.kayle.id/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

session_id
string

Filter attempts by verification session ID (e.g. vs_...).

status
enum<string>

Filter attempts by status.

Available options:
in_progress,
succeeded,
failed,
cancelled
limit
integer

Maximum number of attempts to return. Defaults to 10 if not specified.

Required range: 1 <= x <= 100
starting_after
string

Cursor of the last item from the previous page. When provided, the next page of results will be returned.

Response

Successful operation.

data
object[]
required
error
object
required
pagination
object
required