For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
This page is for version 2025-09-18 (default).
For other versions, use one of these documentation indexes:
- 2025-09-18 (default): https://apidocs.polytomic.com/2025-09-18/llms.txt
- 2024-02-08: https://apidocs.polytomic.com/2024-02-08/llms.txt
- 2023-04-25: https://apidocs.polytomic.com/2023-04-25/llms.txt
- 2022-12-12: https://apidocs.polytomic.com/2022-12-12/llms.txt
- 2021-05-23: https://apidocs.polytomic.com/2021-05-23/llms.txt
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.
Authentication
AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic
Basic organization-scoped API key
Path parameters
session_idstringRequiredformat: "uuid"
Harbor Activity session ID
Headers
X-Polytomic-VersionstringOptional
Query parameters
limitintegerOptional1-100Defaults to 50
Maximum number of events to return. Defaults to 50 and cannot exceed 100.
page_tokenstringOptional
Opaque pagination cursor returned by the previous request. It expires 24 hours after the first page.
orderenumOptionalDefaults to asc
Order in which events were recorded. Defaults to asc.