Get Harbor Activity Session
Authentication
Basic organization-scoped API key
Basic organization-scoped API key
Returns one Harbor Activity session and its events.
You must be an active Organization administrator to use this endpoint. The session must belong to the Organization against which you authenticated.
Events are ordered from oldest to newest by default. Set order to desc to
retrieve the newest events first. A page contains at most 100 events. Pass
next_page_token from the response as page_token with the same order and
limit to retrieve the next page.
history_truncated is true when Activity retention removed events from the
beginning of the session. The lifecycle summary remains available while the
session itself is retained.
The response uses the same event allowlist as the Activity list and detail endpoints. It does not include session tokens, submitted SQL, raw field names, detailed provider errors, result rows, or raw pagination tokens.
ℹ️ Activity retention
Polytomic retains Activity events for at least 90 days. Pagination tokens expire 24 hours after the first page.