---
title: "v4 /surveyresources"
method: GET
path: "/surveyresources/{surveyResourceId}/rollups.csv"
tags: ["rollups"]
---

# v4 /surveyresources

`GET /surveyresources/{surveyResourceId}/rollups.csv`

## Request

- Base URL: `https://api.nearmap.com/ai/features/v4`
- URL: `https://api.nearmap.com/ai/features/v4/surveyresources/{surveyResourceId}/rollups.csv`
- Auth: one of:
  - API key in query parameter `apikey`
  - API key in header `Authorization`
  - API key in header `Authorization`

Returns aggregated (rolled up) values computed from all AI features within the given survey resource and polygon.

## Path parameters

- `surveyResourceId` string, required

## Query parameters

- `polygon` string
- `bulk` boolean
- `packs` string
- `classes` string
- `streetAddress` string
- `city` string
- `state` string
- `zip` string
- `country` 'US' | 'AU'
- `alpha` boolean
- `beta` boolean

## Headers

- `X-Nearmap-Ext-Reference` string

## Response `200`

OK response to the rollups.csv endpoint.

## Other responses

- `400`: Bad Request. There was a problem with the request parameters.
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found. No data is available matching the request criteria.

---

[API](https://skmtc.dev/nearmap/apis/ai-feature-api.md) - [All operations](https://skmtc.dev/nearmap/apis/ai-feature-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nearmap/apis/ai-feature-api/revisions/0522585e7ef3?raw)
