Activity
Overviews' status and activity feeds, and the audit log.
Every path is under /api/v1; see the API for authenticating, errors and rate
limits, and the schemas for the bodies.
The organization's audit log, newest first (audit:read)
GET /api/v1/orgs/{org}/audit
| Parameter | In | Description |
|---|---|---|
org |
path | ID |
cursor |
query | string: next_cursor of the previous page. |
limit |
query | integer |
Answers:
200: OK, object with the fields below
| Field | Type | Description |
|---|---|---|
entries |
array of AuditEntry, required | |
next_cursor |
string | Absent on the last page. |
Errors: 400, 401, 403, 404 (how errors look).
The organization's feed, newest first (org:read)
GET /api/v1/orgs/{org}/activity
Its own changes and runners, and the activity of the projects the caller may read. Kept as long as the organization keeps its runs' data.
| Parameter | In | Description |
|---|---|---|
org |
path | ID |
kind |
query | string: Comma-separated kinds to show (ActivityKind); all when absent. |
cursor |
query | string: next_cursor of the previous page. |
limit |
query | integer |
Answers:
200: OK, ActivityPage
Errors: 400, 401, 404 (how errors look).
Follow the organization's feed live (org:read)
GET /api/v1/orgs/{org}/activity/stream
Server-sent events. An activity event, its data an ActivityEntry, follows each new
entry the caller may see; id is the entry's id. Reconnecting with Last-Event-ID goes
on from there; without it the stream starts with the last few seconds. An entry may come
again: keep one per id. An error event means reading failed; reconnect. Streams close
after 30 minutes and are authorized again on reconnect. Comments (: ping) keep idle
streams open.
| Parameter | In | Description |
|---|---|---|
org |
path | ID |
kind |
query | string: Comma-separated kinds to show (ActivityKind); all when absent. |
Last-Event-ID |
header | string |
Answers:
200: An event stream, string
Errors: 400, 404 (how errors look).
The organization Overview's status row (org:read)
GET /api/v1/orgs/{org}/status
| Parameter | In | Description |
|---|---|---|
org |
path | ID |
Answers:
200: OK, OverviewStatus
Errors: 401, 404 (how errors look).
The project's feed, newest first (project:read)
GET /api/v1/projects/{project}/activity
What happened in the project: runs and flow runs (with run:read), fires and deliveries that started nothing, changes, and its own runners.
| Parameter | In | Description |
|---|---|---|
project |
path | ID |
kind |
query | string: Comma-separated kinds to show (ActivityKind); all when absent. |
cursor |
query | string: next_cursor of the previous page. |
limit |
query | integer |
Answers:
200: OK, ActivityPage
Errors: 400, 401, 404 (how errors look).
Follow the project's feed live (project:read)
GET /api/v1/projects/{project}/activity/stream
As the organization's feed stream, for one project.
| Parameter | In | Description |
|---|---|---|
project |
path | ID |
kind |
query | string: Comma-separated kinds to show (ActivityKind); all when absent. |
Last-Event-ID |
header | string |
Answers:
200: An event stream, string
Errors: 400, 404 (how errors look).
The project Overview's status row (project:read)
GET /api/v1/projects/{project}/status
| Parameter | In | Description |
|---|---|---|
project |
path | ID |
Answers:
200: OK, OverviewStatus
Errors: 401, 404 (how errors look).