Sessions
Read a session by id or name
GET /v1/sessions/{id}: Read a session by id or name
GET /v1/sessions/{id}
| Operation id | getSession |
| Key scope | read: every key |
| Section | Sessions |
#Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | min length 1 |
#Example request
curl -X GET "https://api.kaab.ist/v1/sessions/{id}" \
-H "Authorization: Bearer $KAAB_API_KEY"
#Responses
#200
Session
{
"id": "ses_01j9zqk3q7m4n5p6r7s8t9v0wx",
"object": "session",
"name": "acme",
"origins": [
"https://portal.acme.test"
],
"status": "valid",
"concurrency": "exclusive",
"refresh": {
"program": "acme-login",
"has_inputs": true
},
"last_verified_at": "2026-09-18T10:00:00Z",
"last_used_at": "2026-09-18T10:00:00Z",
"locked_by": null,
"created_at": "2026-09-18T10:00:00Z",
"updated_at": "2026-09-18T10:00:00Z"
}
#Errors
Every error answers with the error envelope; its code is one of the error codes.
| Status | When |
|---|---|
| 400 | request_invalid: request validation failed |
| 401 | Missing or invalid API key |
| 403 | The key's scope does not cover this operation |
| 404 | Resource not found |
| 429 | Rate limited; see Retry-After |
| 500 | internal: unexpected server error |