Getting started
Concepts
- Model concepts
- API concepts
- API versions
- Entitlements
- Filters
- Request parameters
- Usage quota
- Error codes
Services
Parameters
- after
- aggregate
- aggregateIncrementFrom
- cursor
- dateFormat
- descending
- entity
- envelope
- fields
- format
- from
- groupBy
- groupById
- groupByIdAndTime
- groupByTo
- includeMetaData
- inline
- inlineLatest
- inlineTimeseries
- limit
- modulus
- nextUrl
- part
- pivot
- rankBy
- requestTimeout
- returnPreSignedUrl
- showMessage
- showStreamCursor
- to
- trace
- verifyLinks
- wait
Deprecated parameters
Datasets
- ECR: timeseries and observations
- ECR: usage patterns
- fiindices: retrieving index data
- Parsing: asset classes
- Parsing: best practices
Samples
archive
The archive service provides stream messages that are no longer available on the stream service.
Finding archives
https://consumer.qa.data.spglobal.com/namespace/archives?from=DATE_TIME_START&to=DATE_TIME_END
returns the archives in the time range, in an envelope with an archives array. Each archive has an id and a size. With includeMetaData=true each archive also has a from and to time and an eventsCount. The default limit is 1000.
Only archives older than the retention period of the stream are listed. The service is available for datasets that are archived.
Reading an archive
https://consumer.qa.data.spglobal.com/namespace/ARCHIVE_ID/archive?limit=LIMIT
The response is an envelope with an archive array of stream messages, requestId, timeToFirstWrite and an after value. The messages have the structure described for the stream service, with the underlying event names as message types. CSV is not available for this service.
Use after to request the next page:
https://consumer.qa.data.spglobal.com/namespace/ARCHIVE_ID/archive?limit=LIMIT&after=AFTER_VALUE
An archive identifier can contain slashes. Use it exactly as returned by the archives request.