GET
/v1/sessions/{session_id}/lsAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
session_id*string
Current session identifier.
Query Parameters
path?string
Directory path to list. Defaults to . when omitted.
Response Body
application/json
text/plain
text/plain
text/plain
text/plain
curl -X GET "/api/v1/sessions/string/ls"[
{
"name": "string",
"is_dir": true,
"size": 0
}
]"Session not found.""CLI returned an error from the remote read.""CLI not connected.""CLI did not respond."