---
title: "Get paginated messages from an offset."
method: GET
path: "/v2/search/jobs/{jobId}/messages"
tags: ["searchJobManagement"]
---

# Get paginated messages from an offset.

`GET /v2/search/jobs/{jobId}/messages`

Use the search job identifier to obtain the paginated messages from an offset.

## Path parameters

- `jobId` string, required

## Query parameters

- `offset` integer, required
- `limit` integer, required

## Response `200`

A paginated list of messages.

- SearchQueryPaginatedMessages
  - `warning` string — Detailed information about the warning while paging through the messages found by a search job.
  - `fields` Field[], required — List of all the fields defined for each of the messages returned.
    - `name` string, required — Name of the field.
    - `fieldType` string, required — Type of the field.
    - `keyField` boolean, required — Flag if the field is a key field.
    - `userReferenced` boolean — Flag if the field is referenced by the user in the query.
    - `autoParseUnreferenced` boolean — Flag if the field was auto-parsed but not referenced in the query.
  - `messages` Message[], required — Map of the field names to the field values.
    - `map` object — Map message values.
  - `autoPauseLimitReached` boolean — Whether the auto-pause limit has been reached for this query.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/revisions/88a343690a6e/schema)
