Amazon IoT SiteWise Time Series API

The Time Series API from Amazon IoT SiteWise — 5 operation(s) for time series.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Manufacturing Data Acquisition Management BC-1010.60

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /timeseries/associate Associate a time series with an asset property · Associate Time Series To Asset Property #
Ask an LLM
“How do I connect a data stream to an asset property?”
“Can I attach a time series to an asset property by its alias?”
Tell an agent
Associate time series {alias} with asset property {propertyId} on asset {assetId}.
Link data stream {alias} to property {propertyId} of asset {assetId}.
POST /timeseries/delete Delete a time series · Delete Time Series #
Ask an LLM
“How do I delete a data stream I no longer need?”
“Can I remove a time series without deleting its asset property?”
Tell an agent destructive · confirm first
Delete time series {alias}.
Remove the data stream {alias} from asset {assetId} property {propertyId}.
GET /timeseries/describe Describe a time series · Describe Time Series #
Ask an LLM
“What are the details of a time series?”
“Can I look up a data stream by its alias?”
Tell an agent
Describe time series {alias}.
Show the details of data stream {alias} on asset {assetId} property {propertyId}.
POST /timeseries/disassociate Remove a time series from an asset property · Disassociate Time Series From Asset Property #
Ask an LLM
“How do I detach a data stream from an asset property?”
“Can I disconnect a time series without deleting it?”
Tell an agent destructive · confirm first
Disassociate time series {alias} from property {propertyId} on asset {assetId}.
Detach data stream {alias} from asset {assetId} property {propertyId}.
GET /timeseries List time series in a workspace · List Time Series #
Ask an LLM
“Which data streams exist in my SiteWise workspace?”
“Can I list only the time series attached to a particular asset?”
Tell an agent
List time series in workspace {workspaceName}.
List time series on asset {assetId} with type {timeSeriesType}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-iot-sitewise:amazon-iot-sitewise-time-series-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-iot-sitewise-time-series-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT SiteWise Time Series API
  version: '2019-12-02'
  description: Generated from AWS's published Smithy model for AWS IoT SiteWise. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://iotsitewise.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /timeseries/associate:
    post:
      operationId: AssociateTimeSeriesToAssetProperty
      summary: Associate Time Series To Asset Property
      description: Associates a time series (data stream) with an asset property.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '409':
          description: ConflictingOperationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictingOperationException'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: alias
        in: query
        required: true
        schema:
          type: string
        description: The alias that identifies the time series.
      - name: assetId
        in: query
        required: true
        schema:
          type: string
        description: 'The ID of the asset in which the asset property was created. This can be either the actual ID in UUID
          format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects
          with external IDs in the IoT SiteWise User Guide.'
      - name: propertyId
        in: query
        required: true
        schema:
          type: string
        description: 'The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed
          by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise
          User Guide.'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                clientToken:
                  type: string
                  description: A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
                    Don't reuse this client token if a new idempotent request is required.
      tags:
      - Time Series
  /timeseries/delete:
    post:
      operationId: DeleteTimeSeries
      summary: Delete Time Series
      description: 'Deletes a time series (data stream). If you delete a time series that''s associated with an asset property,
        the asset property still exists, but the time series will no longer be associated with this asset property. You can''t
        delete a time series until all of its data segments have been deleted from session datasets. To identify a time series,
        do one of the following: If the time series isn''t associated with an asset property, specify the alias of the time
        series. If the time series is associated with an asset property, specify one of the following: The alias of the time
        series. The assetId and propertyId that identifies the asset property.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '409':
          description: ConflictingOperationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictingOperationException'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: alias
        in: query
        schema:
          type: string
        description: The alias that identifies the time series.
      - name: assetId
        in: query
        schema:
          type: string
        description: 'The ID of the asset in which the asset property was created. This can be either the actual ID in UUID
          format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects
          with external IDs in the IoT SiteWise User Guide.'
      - name: propertyId
        in: query
        schema:
          type: string
        description: 'The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed
          by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise
          User Guide.'
      - name: workspaceName
        in: query
        schema:
          type: string
        description: The name of the workspace.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                clientToken:
                  type: string
                  description: A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
                    Don't reuse this client token if a new idempotent request is required.
      tags:
      - Time Series
  /timeseries/describe:
    get:
      operationId: DescribeTimeSeries
      summary: Describe Time Series
      description: 'Retrieves information about a time series (data stream). To identify a time series, do one of the following:
        If the time series isn''t associated with an asset property, specify the alias of the time series. If the time series
        is associated with an asset property, specify one of the following: The alias of the time series. The assetId and
        propertyId that identifies the asset property.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeTimeSeriesResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: alias
        in: query
        schema:
          type: string
        description: The alias that identifies the time series.
      - name: assetId
        in: query
        schema:
          type: string
        description: 'The ID of the asset in which the asset property was created. This can be either the actual ID in UUID
          format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects
          with external IDs in the IoT SiteWise User Guide.'
      - name: propertyId
        in: query
        schema:
          type: string
        description: 'The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed
          by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise
          User Guide.'
      - name: workspaceName
        in: query
        schema:
          type: string
        description: The name of the workspace.
      tags:
      - Time Series
  /timeseries/disassociate:
    post:
      operationId: DisassociateTimeSeriesFromAssetProperty
      summary: Disassociate Time Series From Asset Property
      description: Disassociates a time series (data stream) from an asset property.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '409':
          description: ConflictingOperationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictingOperationException'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: alias
        in: query
        required: true
        schema:
          type: string
        description: The alias that identifies the time series.
      - name: assetId
        in: query
        required: true
        schema:
          type: string
        description: 'The ID of the asset in which the asset property was created. This can be either the actual ID in UUID
          format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects
          with external IDs in the IoT SiteWise User Guide.'
      - name: propertyId
        in: query
        required: true
        schema:
          type: string
        description: 'The ID of the asset property. This can be either the actual ID in UUID format, or else externalId: followed
          by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise
          User Guide.'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                clientToken:
                  type: string
                  description: A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
                    Don't reuse this client token if a new idempotent request is required.
      tags:
      - Time Series
  /timeseries:
    get:
      operationId: ListTimeSeries
      summary: List Time Series
      description: Retrieves a paginated list of time series (data streams).
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTimeSeriesResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token to be used for the next set of paginated results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return for each paginated request.
      - name: assetId
        in: query
        schema:
          type: string
        description: 'The ID of the asset in which the asset property was created. This can be either the actual ID in UUID
          format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects
          with external IDs in the IoT SiteWise User Guide.'
      - name: aliasPrefix
        in: query
        schema:
          type: string
        description: The alias prefix of the time series.
      - name: timeSeriesType
        in: query
        schema:
          type: string
          enum:
          - ASSOCIATED
          - DISASSOCIATED
        description: 'The type of the time series. The time series type can be one of the following values: ASSOCIATED – The
          time series is associated with an asset property. DISASSOCIATED – The time series isn''t associated with any asset
          property.'
      - name: workspaceName
        in: query
        schema:
          type: string
        description: The name of the workspace.
      tags:
      - Time Series
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: iotsitewise
  schemas:
    ConflictingOperationException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The ID of the resource that conflicts with this operation.
        resourceArn:
          type: string
          description: The ARN of the resource that conflicts with this operation.
      required:
      - message
      - resourceId
      - resourceArn
    DescribeTimeSeriesResponse:
      type: object
      properties:
        assetId:
          type: string
          description: The ID of the asset in which the asset property was created.
        propertyId:
          type: string
          description: The ID of the asset property, in UUID format.
        alias:
          type: string
          description: The alias that identifies the time series.
        timeSeriesId:
          type: string
          description: The ID of the time series.
        dataType:
          type: string
          enum:
          - STRING
          - INTEGER
          - DOUBLE
          - BOOLEAN
          - STRUCT
          - VIDEO
          - ANNOTATION
          - JSON
          description: The data type of the time series. If you specify STRUCT, you must also specify dataTypeSpec to identify
            the type of the structure for this time series.
        dataTypeSpec:
          type: string
          description: The data type of the structure for this time series. This parameter is required for time series that
            have the STRUCT data type. The options for this parameter depend on the type of the composite model in which you
            created the asset property that is associated with your time series. Use AWS/ALARM_STATE for alarm state in alarm
            composite models.
        timeSeriesCreationDate:
          type: string
          format: date-time
          description: The date that the time series was created, in Unix epoch time.
        timeSeriesLastUpdateDate:
          type: string
          format: date-time
          description: The date that the time series was last updated, in Unix epoch time.
        timeSeriesArn:
          type: string
          description: The ARN of the time series, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
        workspaceName:
          type: string
          description: The name of the workspace.
      required:
      - timeSeriesId
      - dataType
      - timeSeriesCreationDate
      - timeSeriesLastUpdateDate
      - timeSeriesArn
    InternalFailureException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    InvalidRequestException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ListTimeSeriesResponse:
      type: object
      properties:
        TimeSeriesSummaries:
          type: array
          items:
            $ref: '#/components/schemas/TimeSeriesSummary'
          description: One or more time series summaries to list.
        nextToken:
          type: string
          description: The token for the next set of results, or null if there are no additional results.
        workspaceName:
          type: string
          description: The name of the workspace.
      required:
      - TimeSeriesSummaries
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    TimeSeriesSummary:
      type: object
      properties:
        assetId:
          type: string
          description: The ID of the asset in which the asset property was created.
        propertyId:
          type: string
          description: The ID of the asset property, in UUID format.
        alias:
          type: string
          description: The alias that identifies the time series.
        timeSeriesId:
          type: string
          description: The ID of the time series.
        dataType:
          type: string
          enum:
          - STRING
          - INTEGER
          - DOUBLE
          - BOOLEAN
          - STRUCT
          - VIDEO
          - ANNOTATION
          - JSON
          description: The data type of the time series. If you specify STRUCT, you must also specify dataTypeSpec to identify
            the type of the structure for this time series.
        dataTypeSpec:
          type: string
          description: The data type of the structure for this time series. This parameter is required for time series that
            have the STRUCT data type. The options for this parameter depend on the type of the composite model in which you
            created the asset property that is associated with your time series. Use AWS/ALARM_STATE for alarm state in alarm
            composite models.
        timeSeriesCreationDate:
          type: string
          format: date-time
          description: The date that the time series was created, in Unix epoch time.
        timeSeriesLastUpdateDate:
          type: string
          format: date-time
          description: The date that the time series was last updated, in Unix epoch time.
        timeSeriesArn:
          type: string
          description: The ARN of the time series, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}
      required:
      - timeSeriesId
      - dataType
      - timeSeriesCreationDate
      - timeSeriesLastUpdateDate
      - timeSeriesArn
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/iotsitewise/service/2019-12-02/iotsitewise-2019-12-02.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)