The audit log
Cluster admins only (`platform.admin`; `hart admin audit`). The audit log, newest first (by time, then id); the filters combine. A malformed `action`, a cursor this API did not return or an `actor` or `team` below 1 is `422`; a malformed time is `400`.
openapi/harthelm.yaml at v1.5.0__Host-harthelm_session<token>Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header
Harthelm-CSRF: 1 and a matching Origin.
limit?integerMaximum number of items per page.
1 <= value <= 20050cursor?stringOpaque cursor from next_cursor of the previous page.
length <= 1024action?stringAn action (workspace.create) or an area prefix ending in a dot (workspace.; it does not match the area
workspace_archive.). Lower case letters, digits, underscores and dots, at most 100 characters.
length <= 100actor?integerOnly rows of this user (not of a workspace or the system).
int641 <= valueteam?integerOnly rows of this team.
int641 <= valuesince?stringOnly rows at or after this time.
date-timeuntil?stringOnly rows before this time.
date-timeA page of audit rows.
application/json- response
next_cursor?stringAbsent on the last page.
items*array<>curl -X GET 'https://console.example.com/api/v1/admin/audit'{ "next_cursor": "string", "items": [ { "id": 1, "at": "2019-08-24T14:15:22Z", "actor_kind": "user", "actor_id": 0, "actor_label": "string", "action": "string", "target_kind": "string", "target_id": "string", "team_id": 1, "payload": {}, "remote_addr": "string" } ]}Every user of the installation
Cluster admins only (`platform.admin`; `hart admin users`). Every user of the installation, disabled ones included, ordered by email (ignoring case) and id. `q` is matched as plain text, not as a pattern.
Create an API key
Mints `hart_<id>_<secret>` for the caller. The response carries the key in `token` once; only the SHA-256 of the secret is stored. Use it as `Authorization: Bearer …` or `Harthelm-Authorization: Bearer …` on the API and as `Harthelm-Authorization: Bearer …` on private dev hosts and restricted custom domains. Browser sessions only (403 with an API key), so a leaked key cannot mint a successor that outlives its deletion.