Read an agent session
GET
/api/v1/sessions/{id}cursor is where its event stream is now: pass it as after to follow only what comes next.
On this page
Parameters
| Field | In | Type | Description |
|---|---|---|---|
idrequired | path | string | A session id
|
Example request
curl -X GET "https://polaris.example.com/api/v1/sessions/{id}" \
-H "Authorization: Bearer $POLARIS_API_KEY"Responses
| Status | Meaning |
|---|---|
200 | OK |
Can also answer the common errors 400, 401, 403, 404, 429. See common errors