Request

Response

    POST

    timeseries/models/{modelID}/streams

    Retrieves the latest time series data for each provided element.

    Resource Information

    Method and URI
    POST
    https://developer.api.autodesk.com/tandem/v1/timeseries/models/{modelID}/streams
    Authentication Context
    user context optional
    Required OAuth Scopes
    data:read
    Data Format
    JSON

    Request

    Headers

    Authorization*
    string
    Must be Bearer <token>, where <token> is a two-legged access token obtained via a Client Credentials Grant flow, or a three-legged access token obtained via Authorization Code flow, Authorization Code flow with PKCE, or Secure Service Account flow (for headless scenarios).
    Region
    string
    Specifies the region where your request should be routed. Possible values: US, EMEA. For more details, see Regions.
    Content-Type*
    string
    Must be application/json
    * Required

    Request

    URI Parameters

    modelID
    string
    ID of the model owning the stream

    Request

    Body Structure

    List of IDs of the stream elements

    keys
    array: string

    Response

    HTTP Status Code Summary

    200
    OK
    OK
    400
    Bad Request
    The service was unable to process the request. The syntax of the request may be malformed or the request may be missing a required header. Do not resend the request without fixing the issue. The response body may indicate what is wrong with the request.
    403
    Forbidden
    The request was successfully validated but it did not have the required permissions.
    500
    Internal Server Error
    The service encountered an error that it was unable to handle. Wait for a few minutes and resend the request. If the error persists, contact us at aps.help@autodesk.com.

    Response

    Body Structure (200)

    Expand all
    key
    object
    Stream key.
    *
    object
    Stream parameter id.
    *
    object
    Timestamp (Unix EPOCH time).
    *
    number
    Stream value.