Olympus Docs
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

NameTypeRequiredDescription
idstringyesID is the session's ID.

Query parameters

NameTypeRequiredDescription
expandarray of enum: identity, devicesnoExpandOptions 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

StatusDescriptionBody
200sessionapplication/json, object
400errorGenericapplication/json, object
defaulterrorGenericapplication/json, object

Security

  • oryAccessToken

Generated from /tmp/kratos-api.json at build time.

On this page