getStream

HTTP Request

GET /readStreams/:streamId

Path parameters

Parameter

streamId

The id of the stream to consume, as returned in the ReadSession.post response.

Query parameters

Parameter

offset

Optional. Used for resuming interrupted streams.

If specified, will start reading the stream at the provided numeric offset. Note that you cannot provide an offset beyond what has already been read from the stream.

This endpoint extends the general API structure.

Authorization

By default, only the user who created the stream's read session can consume its streams. If the data in the stream is not public, your access token must have one of the following scopes:

  • data.data

  • data.edit

However, if the stream's readSession was created with the allowAnonymousAccess option, no authorization is required.

Learn more about authorization.

Request body

The request body must be empty.

Response body

The response body contains the streams data, in the format specified by the ReadSession.post request:

Arrow data is returned in the binary Arrow IPC Stream format

Last updated