Request parameters
Request parameters are added to the query string of a request: ?name=value&name2=value2. Parameter names are not case sensitive, and a parameter can be given only once. A parameter that the service does not support is refused with the error INVALID_PARAMETER. Lists are comma separated. Boolean parameters are true or false; any other value is treated as false.
Each parameter is described on its own page. Filters on the value of a field, such as id=ID1,ID2, are written as query parameters too, but they depend on the fields of the entity; they are described in Filters. How your entitlements restrict the data is described separately as well.
Paging
| Parameter | Description | Services |
|---|
| limit | The maximum number of records per response. | all data services |
| after | The position after which the response continues. | all data services |
| envelope | Wraps the response in an envelope with after. | latest, timeseries, batchrun |
| nextUrl | Adds the URL of the next page to the envelope. | all data services except archive |
| sortBy | The sort order of the response. | latest, timeseries |
| rankBy | Sorts latest results and returns the top records. | latest (v2 only) |
| descending | Sorts in descending order. | latest (with rankBy or sortBy), timeseries, batchrun (batch run list) |
| cursor | Retrieves one stream message. | stream |
| wait | Waits for new messages at the end of the stream. | stream |
Selecting data
| Parameter | Description | Services |
|---|
| from, to | The bounds of a time range. | timeseries, stream, batchrun (batch run list), archive (archive list), latest (with rangeField) |
| rangeField | The field a range applies to. | latest |
| groupBy | One record per value of a field. | latest |
| groupById | The first or last record per id. | timeseries |
| groupByIdAndTime, groupByTo | The first or latest record per id and time, by key extension. | timeseries |
| entity | Selects entities on the stream of a namespace. | stream |
| fields | The fields to return. | latest, timeseries, batchrun, stream, archive |
Shaping the response
| Parameter | Description | Services |
|---|
| format | The data format of the response. | all |
| dateFormat | The format of dates in the response. | all data services |
| inline | Expands references to other entities. | latest |
| inlineLatest, inlineTimeseries | Expands references to other entities. | timeseries |
| showStreamCursor | Adds the stream position of the data to the envelope. | latest, timeseries, batchrun |
| includeMetaData | Adds the time range and size of each archive. | archive list |
| aggregateIncrementFrom | Combines incremental batch runs. | batchrun |
| returnPreSignedUrl | Returns download URLs for attachments. | attachments, stream |
| showMessage | Adds the received sequence of each record. | latest, timeseries, batchrun |
| pivot | Orientation of the HTML table. | HTML only |
| verifyLinks | Verifies the links in the HTML view. | HTML only |
Stream
| Parameter | Description |
|---|
| aggregate | Combines several messages in one response. |
| modulus, part | Divide a stream over parallel requests. |
Request handling
| Parameter | Description |
|---|
| requestTimeout | The time after which the server stops a request. |
| trace | Adds diagnostic information. |
| apiKey | Sending the API key as a parameter (disabled by default). |