c65a8418f3c8

latestOpenAPI 3.0.0Superhuman Developer Terms2026-08-06124404444.0 KB
Packs

Retrieve the logs of a Pack.

Retrieve the logs of a Pack for debugging purpose.

get/packs/{packId}/docs/{docId}/logs

Path parameters

packIdinteger required

ID of a Pack

docIdstring required

ID of the doc.

Query parameters

limitinteger

Maximum number of results to return in this query.

pageTokenstring

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

logTypesPackLogType[]

Only return logs of the given types.

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.

requestIdsstring[]

Only return logs matching provided request IDs.

Response

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.

Example response

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