Pistis
API referenceFollowing

Read what a session is doing

GET
/sessions/{id}/status

Authorization

bearer
headerAuthorizationBearer <token>

An API token

Path Parameters

id*string

A session id

Response Body

Its status

application/json
  1. response
state*unknown
Example Request
curl -X GET 'http://127.0.0.1:7777/sessions/ses_6c1f2a0b9d3e4f5a6b7c/status'
Example Response
{  "state": "idle"}