v1

latestOpenAPI 3.0.0Superhuman Developer Terms2026-08-06124404444.0 KB
Packs

Retrieve the grouped logs of a Pack for a specific ingestionExecutionId.

Retrieve the grouped logs of a Pack for debugging purpose.

get/packs/{packId}/tenantId/{tenantId}/rootIngestionId/{rootIngestionId}/groupedLogs

Path parameters

packIdinteger required

ID of a Pack

tenantIdstring required

ID of the tenant.

rootIngestionIdstring uuid required

ID of the root ingestion.

Query parameters

limitinteger

Maximum number of results to return in this query.

pageTokenstring

An opaque token used to fetch the next page of results.

ingestionExecutionIdstring uuid

ID of the ingestion execution.

beforeTimestampstring date-time

Only return logs before the given time (non-inclusive).

afterTimestampstring date-time

Only return logs after the given time (non-inclusive).

order'asc' | 'desc'

Specifies if the logs will be returned in time desc or asc. Default is desc.

qstring

A search query that follows Lucene syntax.

Response

Grouped Pack logs.

nextPageTokenstring

If specified, an opaque token used to fetch the next page of results.

nextPageLinkstring url

If specified, a link that can be used to fetch the next page of results.

incompleteRelatedLogsboolean required

This flag will be set to true if the result doens't include all the related logs.

Example response

{
  "items": [
    {
      "invocationLog": {
        "context": {
          "createdAt": "2018-04-11T00:18:57.946Z"
        }
      },
      "relatedLogs": [
        {
          "context": {
            "createdAt": "2018-04-11T00:18:57.946Z"
          },
          "message": "The formula is called!"
        }
      ]
    }
  ],
  "nextPageToken": "eyJsaW1pd",
  "nextPageLink": "https://docs.superhuman.com/apis/v1/packs/1/groupedLogs?pageToken=xyz"
}