Skip to main content

List the durable signal-request history for one job

GET 

/session/jobs/:jobId/signals

Lists every request to stop or kill one job, oldest first, together with the job's own record. Peen records a request whether or not it reached a running process, so the history shows requests that arrived after the job had already ended. The history stays readable after the job ends and after Peen restarts.

Requests come from POST /session/jobs/{jobId}/signal, from the agent's own job tools, and from Peen itself when it stops a foreground command whose turn was cancelled.

  • Ordering: by requestedAt ascending, then id ascending.
  • Paging: limit (1 to 200, default 50) and offset (default 0). hasMore is true when at least one more request exists after this page.
  • Errors: 400 VALIDATION_FAILED for a limit or offset outside the allowed values. 404 SESSION_NOT_FOUND when the session does not exist, and 404 NOT_FOUND (job not found) when it has no job with this ID.

Request​

Responses​

The job and one page of its signal requests, oldest first.

Response Headers
    X-Session-ID

    The session this response belongs to. For session-scoped requests it echoes the X-Session-ID request header; for POST /sessions/open and POST /sessions/system it is the session that was opened or created.

    X-Request-ID

    The request's correlation ID. When the request carried an X-Request-ID header holding a UUID, Peen echoes it; otherwise Peen generates a new UUID. The controller log records the same value for this request.