Version 4.0.24.14
Get API Session
Returns information about the current API session, such as which workspace is selected for the session.
Request
GET
/session
Datatype
Description
Request
Response
200: Auth
Datatype
Description
(object)
can
lock
Operations the current user is able to perform on this object
workspace_id
The id of active workspace for this session
sudo_user_id
lock
The id of the actual user in the case when this session represents one user sudo'ing as another
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Examples
TypeScript
https://github.com/looker-open-source/sdk-codegen/blob/main/examples/typescript/validateBranch.ts |
Python