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

ParameterDescriptionServices
limitThe maximum number of records per response.all data services
afterThe position after which the response continues.all data services
envelopeWraps the response in an envelope with after.latest, timeseries, batchrun
nextUrlAdds the URL of the next page to the envelope.all data services except archive
sortByThe sort order of the response.latest, timeseries
rankBySorts latest results and returns the top records.latest (v2 only)
descendingSorts in descending order.latest (with rankBy or sortBy), timeseries, batchrun (batch run list)
cursorRetrieves one stream message.stream
waitWaits for new messages at the end of the stream.stream

Selecting data

ParameterDescriptionServices
from, toThe bounds of a time range.timeseries, stream, batchrun (batch run list), archive (archive list), latest (with rangeField)
rangeFieldThe field a range applies to.latest
groupByOne record per value of a field.latest
groupByIdThe first or last record per id.timeseries
groupByIdAndTime, groupByToThe first or latest record per id and time, by key extension.timeseries
entitySelects entities on the stream of a namespace.stream
fieldsThe fields to return.latest, timeseries, batchrun, stream, archive

Shaping the response

ParameterDescriptionServices
formatThe data format of the response.all
dateFormatThe format of dates in the response.all data services
inlineExpands references to other entities.latest
inlineLatest, inlineTimeseriesExpands references to other entities.timeseries
showStreamCursorAdds the stream position of the data to the envelope.latest, timeseries, batchrun
includeMetaDataAdds the time range and size of each archive.archive list
aggregateIncrementFromCombines incremental batch runs.batchrun
returnPreSignedUrlReturns download URLs for attachments.attachments, stream
showMessageAdds the received sequence of each record.latest, timeseries, batchrun
pivotOrientation of the HTML table.HTML only
verifyLinksVerifies the links in the HTML view.HTML only

Stream

ParameterDescription
aggregateCombines several messages in one response.
modulus, partDivide a stream over parallel requests.

Request handling

ParameterDescription
requestTimeoutThe time after which the server stops a request.
traceAdds diagnostic information.
apiKeySending the API key as a parameter (disabled by default).