---
title: "Get aggregated records."
method: GET
path: "/v2/search/jobs/{jobId}/records"
tags: ["searchJobManagement"]
---

# Get aggregated records.

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

## Request

- Base URL: `https://api.au.sumologic.com/api`
- URL: `https://api.au.sumologic.com/api/v2/search/jobs/{jobId}/records`
- Auth: HTTP basic

Use the search job identifier to obtain the aggregated records from an offset.

## Path parameters

- `jobId` string, required

## Query parameters

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

## Response `200`

A paginated list of records.

- SearchQueryPaginatedRecords
  - `warning` string: Detailed information about the warning while paging through the records found by a search job.
  - `fields` Field[], required: List of all the fields defined for each of the records 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.
  - `records` Record[], required: Map of the field names to the field values.
    - `map` object: Map Records values.

## Other responses

- `default`: Operation failed with an error.

## Changes

- **2026-08-19** `c9986f3d589b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sumologic/apis/sumo-logic-api/changes/v2/search/jobs/:jobId/records/get.md)

---

[API](https://skmtc.dev/sumologic/apis/sumo-logic-api.md) - [All operations](https://skmtc.dev/sumologic/apis/sumo-logic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sumologic/apis/sumo-logic-api/revisions/27753fc8096d?raw)
