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.
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"
}