Follow an agent session
GET
/api/v1/sessions/{id}/eventsServer-Sent Events: session, event, message and, once it ends, end. Every frame's id is a cursor; reconnect with Last-Event-ID and nothing is sent twice.
En esta página
Parámetros
| Campo | En | Tipo | Descripción |
|---|---|---|---|
idobligatorio | ruta | string | A session id
|
after | consulta | string |
|
Petición de ejemplo
curl -X GET "https://polaris.example.com/api/v1/sessions/{id}/events" \
-H "Authorization: Bearer $POLARIS_API_KEY"Respuestas
| Estado | Qué es |
|---|---|
200 | OK |
También puede dar los errores comunes 400, 401, 403, 404, 429. Ver errores comunes