ReferenceAPIsOry Identities APIidentity
Get Session
This endpoint is useful for:
GET /admin/sessions/{id}
This endpoint is useful for:
Getting a session object with all specified expandables that exist in an administrative context.
Operation ID: getSession Tag: identity
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | ID is the session's ID. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
expand | array of enum: identity, devices | no | ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | session | application/json, object |
| 400 | errorGeneric | application/json, object |
| default | errorGeneric | application/json, object |
Security
oryAccessToken
Generated from /tmp/kratos-api.json at build time.