Amazon IoT SiteWise Jobs API

The Jobs API from Amazon IoT SiteWise — 2 operation(s) for jobs.

GitHub OpenAPI

Operations 3

POST /jobs Create Bulk Import Job #
GET /jobs List Bulk Import Jobs #
GET /jobs/{jobId} Describe Bulk Import Job #

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-jobs-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-jobs-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT SiteWise Jobs API
  version: '2019-12-02'
  description: Generated from AWS's published Smithy model for AWS IoT SiteWise. 3 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:
  /jobs:
    post:
      operationId: CreateBulkImportJob
      summary: Create Bulk Import Job
      description: Defines a job to ingest data to IoT SiteWise from Amazon S3. For more information, see Create a bulk import
        job (CLI) in the Amazon Simple Storage Service User Guide. Before you create a bulk import job that ingests data into
        time series outside of a workspace, you must enable IoT SiteWise warm tier or IoT SiteWise cold tier. For more information
        about how to configure storage settings, see PutStorageConfiguration. This requirement doesn't apply to bulk import
        jobs that ingest data into a session dataset in a workspace (jobs that specify a workspaceName and datasetId). Those
        jobs don't use IoT SiteWise warm or cold tier storage. Bulk import is designed to store historical data to IoT SiteWise.
        Newly ingested data in the hot tier triggers notifications and computations. After data moves from the hot tier to
        the warm or cold tier based on retention settings, it does not trigger computations or notifications. Data older than
        7 days does not trigger computations or notifications.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateBulkImportJobResponse'
        '409':
          description: ConflictingOperationException; ResourceAlreadyExistsException
          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'
        '410':
          description: LimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                jobName:
                  type: string
                  description: The unique name that helps identify the job request.
                jobRoleArn:
                  type: string
                  description: The ARN of the IAM role that allows IoT SiteWise to read Amazon S3 data.
                files:
                  type: array
                  items:
                    $ref: '#/components/schemas/File'
                  description: 'The files in the specified Amazon S3 bucket that contain your data. You can specify up to
                    100 files for each bulk import job. Each file supports the following size limits: Parquet files – Up to
                    256 MiB. Other file formats – Up to 5 GiB.'
                errorReportLocation:
                  $ref: '#/components/schemas/ErrorReportLocation'
                jobConfiguration:
                  $ref: '#/components/schemas/JobConfiguration'
                adaptiveIngestion:
                  type: boolean
                  description: If set to true, ingest new data into IoT SiteWise storage. Measurements with notifications,
                    metrics and transforms are computed. If set to false, historical data is ingested into IoT SiteWise as
                    is.
                deleteFilesAfterImport:
                  type: boolean
                  description: If set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.
                datasetId:
                  type: string
                  description: The ID of the session dataset to ingest data into. Specify this field, together with workspaceName,
                    to ingest data into a session dataset in a workspace.
                workspaceName:
                  type: string
                  description: The name of the workspace that contains the session dataset. Specify this field together with
                    datasetId.
              required:
              - jobName
              - jobRoleArn
              - files
              - errorReportLocation
      tags:
      - Jobs
    get:
      operationId: ListBulkImportJobs
      summary: List Bulk Import Jobs
      description: Retrieves a paginated list of bulk import job requests. For more information, see List bulk import jobs
        (CLI) in the IoT SiteWise User Guide.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListBulkImportJobsResponse'
        '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: filter
        in: query
        schema:
          type: string
          enum:
          - ALL
          - PENDING
          - RUNNING
          - CANCELLED
          - FAILED
          - COMPLETED_WITH_FAILURES
          - COMPLETED
        description: You can use a filter to select the bulk import jobs that you want to retrieve.
      - name: workspaceName
        in: query
        schema:
          type: string
        description: The name of the workspace.
      tags:
      - Jobs
  /jobs/{jobId}:
    get:
      operationId: DescribeBulkImportJob
      summary: Describe Bulk Import Job
      description: Retrieves information about a bulk import job request. For more information, see Describe a bulk import
        job (CLI) in the Amazon Simple Storage Service User Guide.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeBulkImportJobResponse'
        '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: jobId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the job.
      - name: workspaceName
        in: query
        schema:
          type: string
        description: The name of the workspace.
      tags:
      - Jobs
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:
    Annotation:
      type: object
      properties: {}
    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
    CreateBulkImportJobResponse:
      type: object
      properties:
        jobId:
          type: string
          description: The ID of the job.
        jobName:
          type: string
          description: The unique name that helps identify the job request.
        jobStatus:
          type: string
          enum:
          - PENDING
          - CANCELLED
          - RUNNING
          - COMPLETED
          - FAILED
          - COMPLETED_WITH_FAILURES
          description: 'The status of the bulk import job can be one of following values: PENDING – IoT SiteWise is waiting
            for the current bulk import job to finish. CANCELLED – The bulk import job has been canceled. RUNNING – IoT SiteWise
            is processing your request to import your data from Amazon S3. COMPLETED – IoT SiteWise successfully completed
            your request to import data from Amazon S3. FAILED – IoT SiteWise couldn''t process your request to import data
            from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
            COMPLETED_WITH_FAILURES – IoT SiteWise complet'
      required:
      - jobId
      - jobName
      - jobStatus
    Csv:
      type: object
      properties:
        columnNames:
          type: array
          items:
            type: string
            enum:
            - ALIAS
            - ASSET_ID
            - PROPERTY_ID
            - DATA_TYPE
            - TIMESTAMP_SECONDS
            - TIMESTAMP_NANO_OFFSET
            - QUALITY
            - VALUE
          description: The column names specified in the .csv file.
      required:
      - columnNames
    DescribeBulkImportJobResponse:
      type: object
      properties:
        jobId:
          type: string
          description: The ID of the job.
        jobName:
          type: string
          description: The unique name that helps identify the job request.
        jobStatus:
          type: string
          enum:
          - PENDING
          - CANCELLED
          - RUNNING
          - COMPLETED
          - FAILED
          - COMPLETED_WITH_FAILURES
          description: 'The status of the bulk import job can be one of following values: PENDING – IoT SiteWise is waiting
            for the current bulk import job to finish. CANCELLED – The bulk import job has been canceled. RUNNING – IoT SiteWise
            is processing your request to import your data from Amazon S3. COMPLETED – IoT SiteWise successfully completed
            your request to import data from Amazon S3. FAILED – IoT SiteWise couldn''t process your request to import data
            from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
            COMPLETED_WITH_FAILURES – IoT SiteWise complet'
        jobRoleArn:
          type: string
          description: The ARN of the IAM role that allows IoT SiteWise to read Amazon S3 data.
        files:
          type: array
          items:
            $ref: '#/components/schemas/File'
          description: 'The files in the specified Amazon S3 bucket that contain your data. You can specify up to 100 files
            for each bulk import job. Each file supports the following size limits: Parquet files – Up to 256 MiB. Other file
            formats – Up to 5 GiB.'
        errorReportLocation:
          $ref: '#/components/schemas/ErrorReportLocation'
        jobConfiguration:
          $ref: '#/components/schemas/JobConfiguration'
        jobCreationDate:
          type: string
          format: date-time
          description: The date the job was created, in Unix epoch TIME.
        jobLastUpdateDate:
          type: string
          format: date-time
          description: The date the job was last updated, in Unix epoch time.
        adaptiveIngestion:
          type: boolean
          description: If set to true, ingest new data into IoT SiteWise storage. Measurements with notifications, metrics
            and transforms are computed. If set to false, historical data is ingested into IoT SiteWise as is.
        deleteFilesAfterImport:
          type: boolean
          description: If set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.
        datasetId:
          type: string
          description: The ID of the dataset.
        workspaceName:
          type: string
          description: The name of the workspace.
      required:
      - jobId
      - jobName
      - jobStatus
      - jobRoleArn
      - files
      - errorReportLocation
      - jobCreationDate
      - jobLastUpdateDate
    ErrorReportLocation:
      type: object
      properties:
        bucket:
          type: string
          description: The name of the Amazon S3 bucket to which errors associated with the bulk import job are sent.
        prefix:
          type: string
          description: Amazon S3 uses the prefix as a folder name to organize data in the bucket. Each Amazon S3 object has
            a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must
            end with a forward slash (/). For more information, see Organizing objects using prefixes in the Amazon Simple
            Storage Service User Guide.
      required:
      - bucket
      - prefix
    File:
      type: object
      properties:
        bucket:
          type: string
          description: The name of the Amazon S3 bucket from which data is imported.
        key:
          type: string
          description: The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier.
            Each object has exactly one key.
        versionId:
          type: string
          description: The version ID to identify a specific version of the Amazon S3 object that contains your data.
        alias:
          type: string
          description: The alias associated with the file's time series.
        startTime:
          $ref: '#/components/schemas/TimeInNanos'
        fileFormat:
          $ref: '#/components/schemas/FileFormat'
      required:
      - bucket
      - key
    FileFormat:
      type: object
      properties:
        csv:
          $ref: '#/components/schemas/Csv'
        parquet:
          $ref: '#/components/schemas/Parquet'
        mp4:
          $ref: '#/components/schemas/Mp4'
        annotation:
          $ref: '#/components/schemas/Annotation'
    InternalFailureException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    InvalidRequestException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    JobConfiguration:
      type: object
      properties:
        fileFormat:
          $ref: '#/components/schemas/FileFormat'
    JobSummary:
      type: object
      properties:
        id:
          type: string
          description: The ID of the job.
        name:
          type: string
          description: The unique name that helps identify the job request.
        status:
          type: string
          enum:
          - PENDING
          - CANCELLED
          - RUNNING
          - COMPLETED
          - FAILED
          - COMPLETED_WITH_FAILURES
          description: 'The status of the bulk import job can be one of following values: PENDING – IoT SiteWise is waiting
            for the current bulk import job to finish. CANCELLED – The bulk import job has been canceled. RUNNING – IoT SiteWise
            is processing your request to import your data from Amazon S3. COMPLETED – IoT SiteWise successfully completed
            your request to import data from Amazon S3. FAILED – IoT SiteWise couldn''t process your request to import data
            from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.
            COMPLETED_WITH_FAILURES – IoT SiteWise complet'
      required:
      - id
      - name
      - status
    LimitExceededException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ListBulkImportJobsResponse:
      type: object
      properties:
        jobSummaries:
          type: array
          items:
            $ref: '#/components/schemas/JobSummary'
          description: One or more job summaries to list.
        nextToken:
          type: string
          description: The token for the next set of results, or null if there are no additional results.
      required:
      - jobSummaries
    Mp4:
      type: object
      properties: {}
    Parquet:
      type: object
      properties: {}
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    TimeInNanos:
      type: object
      properties:
        timeInSeconds:
          type: integer
          description: The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by
            offsetInNanos.
        offsetInNanos:
          type: integer
          description: The nanosecond offset from timeInSeconds.
      required:
      - timeInSeconds
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)