Amazon IoT Core Thing Registration Tasks API

The Thing Registration Tasks API from Amazon IoT Core — 4 operation(s) for thing registration tasks.

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
Device Management & Provisioning AE-200.40

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

GET /thing-registration-tasks/{taskId} Get a bulk thing provisioning task · Describe Thing Registration Task #
Ask an LLM
“How do I check the status of a bulk thing provisioning task?”
“Has my device registration task finished?”
Tell an agent
Describe thing registration task {taskId}.
Show the status of bulk provisioning task {taskId}.
GET /thing-registration-tasks List bulk thing provisioning tasks · List Thing Registration Tasks #
Ask an LLM
“Which bulk device provisioning tasks have I started?”
“Can I filter my provisioning tasks by status?”
Tell an agent
List all thing registration tasks.
Show provisioning tasks with status {status}.
POST /thing-registration-tasks Start a bulk thing provisioning task · Start Thing Registration Task #
Ask an LLM
“How do I provision many devices at once from an input file?”
“What role and template does a bulk registration task need?”
Tell an agent
Start a thing registration task using template {templateBody} from {inputFileBucket}/{inputFileKey} with role {roleArn}.
Provision devices in bulk from {inputFileBucket}/{inputFileKey} with template {templateBody} and role {roleArn}.
PUT /thing-registration-tasks/{taskId}/cancel Cancel a bulk thing provisioning task · Stop Thing Registration Task #
Ask an LLM
“Can I stop a bulk device provisioning task that is still running?”
“How do I cancel a registration task I started by mistake?”
Tell an agent destructive · confirm first
Stop thing registration task {taskId}.
Cancel the running bulk provisioning task {taskId}.
GET /thing-registration-tasks/{taskId}/reports Get reports from a provisioning task · List Thing Registration Task Reports #
Ask an LLM
“Where can I see the success and failure reports for a bulk registration task?”
“Can I get a failed-device report for a provisioning task?”
Tell an agent
List {reportType} reports for thing registration task {taskId}.
Show the {reportType} report of provisioning task {taskId}.

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-core:amazon-iot-core-thing-registration-tasks-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-core-thing-registration-tasks-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT Thing Registration Tasks API
  version: '2015-05-28'
  description: Generated from AWS's published Smithy model for AWS IoT. 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://iot.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /thing-registration-tasks/{taskId}:
    get:
      operationId: DescribeThingRegistrationTask
      summary: Describe Thing Registration Task
      description: Describes a bulk thing provisioning task. Requires permission to access the DescribeThingRegistrationTask
        action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeThingRegistrationTaskResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      parameters:
      - name: taskId
        in: path
        required: true
        schema:
          type: string
        description: The task ID.
      tags:
      - Thing Registration Tasks
  /thing-registration-tasks:
    get:
      operationId: ListThingRegistrationTasks
      summary: List Thing Registration Tasks
      description: List bulk thing provisioning tasks. Requires permission to access the ListThingRegistrationTasks action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListThingRegistrationTasksResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: To retrieve the next set of results, the nextToken value from a previous response; otherwise null to
          receive the first set of results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return at one time.
      - name: status
        in: query
        schema:
          type: string
          enum:
          - InProgress
          - Completed
          - Failed
          - Cancelled
          - Cancelling
        description: The status of the bulk thing provisioning task.
      tags:
      - Thing Registration Tasks
    post:
      operationId: StartThingRegistrationTask
      summary: Start Thing Registration Task
      description: Creates a bulk thing provisioning task. Requires permission to access the StartThingRegistrationTask action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartThingRegistrationTaskResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                templateBody:
                  type: string
                  description: The provisioning template.
                inputFileBucket:
                  type: string
                  description: The S3 bucket that contains the input file.
                inputFileKey:
                  type: string
                  description: The name of input file within the S3 bucket. This file contains a newline delimited JSON file.
                    Each line contains the parameter values to provision one device (thing).
                roleArn:
                  type: string
                  description: The IAM role ARN that grants permission the input file.
              required:
              - templateBody
              - inputFileBucket
              - inputFileKey
              - roleArn
      tags:
      - Thing Registration Tasks
  /thing-registration-tasks/{taskId}/cancel:
    put:
      operationId: StopThingRegistrationTask
      summary: Stop Thing Registration Task
      description: Cancels a bulk thing provisioning task. Requires permission to access the StopThingRegistrationTask action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopThingRegistrationTaskResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      parameters:
      - name: taskId
        in: path
        required: true
        schema:
          type: string
        description: The bulk thing provisioning task ID.
      tags:
      - Thing Registration Tasks
  /thing-registration-tasks/{taskId}/reports:
    get:
      operationId: ListThingRegistrationTaskReports
      summary: List Thing Registration Task Reports
      description: Information about the thing registration tasks.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListThingRegistrationTaskReportsResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedException'
      parameters:
      - name: taskId
        in: path
        required: true
        schema:
          type: string
        description: The id of the task.
      - name: reportType
        in: query
        required: true
        schema:
          type: string
          enum:
          - ERRORS
          - RESULTS
        description: The type of task report.
      - name: nextToken
        in: query
        schema:
          type: string
        description: To retrieve the next set of results, the nextToken value from a previous response; otherwise null to
          receive the first set of results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return per request.
      tags:
      - Thing Registration Tasks
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: iot
  schemas:
    DescribeThingRegistrationTaskResponse:
      type: object
      properties:
        taskId:
          type: string
          description: The task ID.
        creationDate:
          type: string
          format: date-time
          description: The task creation date.
        lastModifiedDate:
          type: string
          format: date-time
          description: The date when the task was last modified.
        templateBody:
          type: string
          description: The task's template.
        inputFileBucket:
          type: string
          description: The S3 bucket that contains the input file.
        inputFileKey:
          type: string
          description: The input file key.
        roleArn:
          type: string
          description: The role ARN that grants access to the input file bucket.
        status:
          type: string
          enum:
          - InProgress
          - Completed
          - Failed
          - Cancelled
          - Cancelling
          description: The status of the bulk thing provisioning task.
        message:
          type: string
          description: The message.
        successCount:
          type: integer
          description: The number of things successfully provisioned.
        failureCount:
          type: integer
          description: The number of things that failed to be provisioned.
        percentageProgress:
          type: integer
          description: The progress of the bulk provisioning task expressed as a percentage.
    InternalFailureException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    InvalidRequestException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    ListThingRegistrationTaskReportsResponse:
      type: object
      properties:
        resourceLinks:
          type: array
          items:
            type: string
          description: Links to the task resources.
        reportType:
          type: string
          enum:
          - ERRORS
          - RESULTS
          description: The type of task report.
        nextToken:
          type: string
          description: The token to use to get the next set of results, or null if there are no additional results.
    ListThingRegistrationTasksResponse:
      type: object
      properties:
        taskIds:
          type: array
          items:
            type: string
          description: A list of bulk thing provisioning task IDs.
        nextToken:
          type: string
          description: The token to use to get the next set of results, or null if there are no additional results.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    StartThingRegistrationTaskResponse:
      type: object
      properties:
        taskId:
          type: string
          description: The bulk thing provisioning task ID.
    StopThingRegistrationTaskResponse:
      type: object
      properties: {}
    UnauthorizedException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/iot/service/2015-05-28/iot-2015-05-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)