List sessions
Changed onList the workspace's active sessions, most recently used first. A client resuming work can take the first row; one letting a person choose can page through the rest.
Request
- Base URL: https://api.app.layer.ai/api
- URL: https://api.app.layer.ai/api/v2/workspaces/{workspace_id}/sessions
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://auth.app.layer.ai/authorize, token URL https://auth.app.layer.ai/oauth/token)
- OAuth 2 (client credentials, token URL https://api.app.layer.ai/api/oauth/token, scopes: sessions:read)
Path parameters
Id of the workspace that owns the resource.
Query parameters
Maximum number of results to return.
Cursor from a previous response to fetch the next page.
Response
Successful Response
Changes
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- info
the endpoint scheme security
serviceAccountwas added to the API - info
the security scope
sessions:readwas removed from the endpoint's security schemeoauth2
- info