Microsoft Azure Import Jobs API

The Import Jobs API from Microsoft Azure, for import jobs.

GitHub OpenAPI

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 /jobs/imports List Digital Twins import jobs · Microsoft Azure Get Jobs Imports #
Ask an LLM
“What bulk import jobs have been run on my Azure Digital Twins instance?”
“Can I page through import jobs a set number at a time?”
Tell an agent
List all import jobs on my Digital Twins instance using API version {api_version}.
Show import jobs, {max_items_per_page} per page.
PUT /jobs/imports/{id} Start a bulk import job into Digital Twins · Microsoft Azure Put Jobs Imports Id #
Ask an LLM
“How do I bulk import models, twins and relationships from a blob file?”
“Is there a limit on how many import jobs I can have?”
Tell an agent
Create import job {id} from {inputBlobUri} writing output to {outputBlobUri}.
Start Digital Twins import {id} using input blob {inputBlobUri} and log blob {outputBlobUri}.
GET /jobs/imports/{id} Get a Digital Twins import job · Microsoft Azure Get Jobs Imports Id #
Ask an LLM
“How do I check the status of one Digital Twins import job?”
“Has my bulk import job finished or failed?”
Tell an agent
Get import job {id}.
Show the status of Digital Twins import job {id}.
DELETE /jobs/imports/{id} Delete a Digital Twins import job · Microsoft Azure Delete Jobs Imports Id #
Ask an LLM
“How do I delete an old import job record from Digital Twins?”
“Can I remove an import job after it completes?”
Tell an agent destructive · confirm first
Delete import job {id}.
Remove Digital Twins import job {id}.
POST /jobs/imports/{id}/cancel Cancel a running Digital Twins import job · Microsoft Azure Post Jobs Imports Id Cancel #
Ask an LLM
“How do I stop an import job that is still running?”
“Can I cancel a bulk import partway through?”
Tell an agent destructive · confirm first
Cancel import job {id}.
Stop the running Digital Twins import {id}.

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/microsoft-azure:microsoft-azure-import-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

microsoft-azure-import-jobs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2023-02-27-preview
  title: Microsoft Azure Azure Digital Twins Import Jobs API
  description: A service for managing and querying digital twins and digital twin models.
servers:
- url: https://digitaltwins-hostname
security:
- oauth2: []
tags:
- name: Import Jobs
paths:
  /jobs/imports:
    parameters:
    - $ref: '#/components/parameters/traceparent'
    - $ref: '#/components/parameters/tracestate'
    get:
      tags:
      - Import Jobs
      operationId: microsoftAzureImportjobsList
      description: 'Retrieves all import jobs.

        Status codes:

        * 200 OK'
      x-ms-examples:
        Get all import jobs:
          $ref: ./examples/ImportJobList.json
      parameters:
      - $ref: '#/components/parameters/max-items-per-page'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportJobCollection'
        default:
          description: Default response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Jobs Imports
  /jobs/imports/{id}:
    parameters:
    - $ref: '#/components/parameters/traceparent'
    - $ref: '#/components/parameters/tracestate'
    put:
      tags:
      - Import Jobs
      operationId: microsoftAzureImportjobsAdd
      description: 'Creates an import job.

        Status codes:

        * 201 Created

        * 400 Bad Request

        * JobLimitReached - The maximum number of import jobs allowed has been reached.

        * ValidationFailed - The import job request is not valid.'
      x-ms-examples:
        Add a job:
          $ref: ./examples/ImportJobPut.json
      parameters:
      - $ref: '#/components/parameters/importJobId'
      - $ref: '#/components/parameters/api-version'
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportJob'
        default:
          description: Default response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Put Jobs Imports Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportJob'
        description: The import job being added.
        required: true
    get:
      tags:
      - Import Jobs
      operationId: microsoftAzureImportjobsGetbyid
      description: 'Retrieves an import job.

        Status codes:

        * 200 OK

        * 404 Not Found

        * ImportJobNotFound - The import job was not found.'
      x-ms-examples:
        Get an import job by id:
          $ref: ./examples/ImportJobGet.json
      parameters:
      - $ref: '#/components/parameters/importJobId'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportJob'
        default:
          description: Default response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Get Jobs Imports Id
    delete:
      tags:
      - Import Jobs
      operationId: microsoftAzureImportjobsDelete
      description: 'Deletes an import job.

        Status codes:

        * 204 No Content

        * 400 Bad Request

        * ValidationFailed - The import job request is not valid.'
      x-ms-examples:
        Delete an import job:
          $ref: ./examples/ImportJobDelete.json
      parameters:
      - $ref: '#/components/parameters/importJobId'
      - $ref: '#/components/parameters/api-version'
      responses:
        '204':
          description: Success
        default:
          description: Default response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Delete Jobs Imports Id
  /jobs/imports/{id}/cancel:
    parameters:
    - $ref: '#/components/parameters/traceparent'
    - $ref: '#/components/parameters/tracestate'
    post:
      tags:
      - Import Jobs
      operationId: microsoftAzureImportjobsCancel
      description: 'Cancels an import job.

        Status codes:

        * 200 Request Accepted

        * 400 Bad Request

        * ValidationFailed - The import job request is not valid.'
      x-ms-examples:
        Cancel a job:
          $ref: ./examples/ImportJobCancel.json
      parameters:
      - $ref: '#/components/parameters/importJobId'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportJob'
        default:
          description: Default response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Post Jobs Imports Id Cancel
components:
  parameters:
    traceparent:
      name: traceparent
      in: header
      description: Identifies the request in a distributed tracing system.
      required: false
      x-ms-parameter-location: method
      x-ms-parameter-grouping:
        postfix: Options
      schema:
        type: string
    api-version:
      name: api-version
      in: query
      description: The requested API version.
      required: true
      schema:
        type: string
        minLength: 1
    max-items-per-page:
      name: max-items-per-page
      in: header
      description: The maximum number of items to retrieve per request. The server may choose to return less than the requested number.
      required: false
      x-ms-client-name: MaxItemsPerPage
      x-ms-parameter-location: method
      x-ms-parameter-grouping:
        postfix: Options
      schema:
        type: integer
    tracestate:
      name: tracestate
      in: header
      description: Provides vendor-specific trace identification information and is a companion to traceparent.
      required: false
      x-ms-parameter-location: method
      x-ms-parameter-grouping:
        postfix: Options
      schema:
        type: string
    importJobId:
      name: id
      in: path
      description: The id for the import job. The id is unique within the service and case sensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
  schemas:
    InnerError:
      description: A more specific error description than was provided by the containing error.
      properties:
        code:
          description: A more specific error code than was provided by the containing error.
          type: string
        innererror:
          description: An object containing more specific information than the current object about the error.
          $ref: '#/components/schemas/InnerError'
    ErrorResponse:
      description: Error response.
      required:
      - error
      properties:
        error:
          $ref: '#/components/schemas/Error'
          description: The error details.
    ImportJob:
      description: A job which contains a reference to the operations to perform, results, and execution metadata.
      type: object
      required:
      - inputBlobUri
      - outputBlobUri
      properties:
        id:
          description: The identifier of the import job.
          type: string
          readOnly: true
        inputBlobUri:
          description: The path to the input Azure storage blob that contains file(s) describing the operations to perform in the job.
          type: string
        outputBlobUri:
          description: The path to the output Azure storage blob that will contain the errors and progress logs of import job.
          type: string
        status:
          description: Status of the job.
          enum:
          - notstarted
          - running
          - failed
          - succeeded
          - cancelling
          - cancelled
          type: string
          readOnly: true
          x-ms-enum:
            name: status
            modelAsExtensible: true
            modelAsString: false
        createdDateTime:
          description: 'Start time of the job. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
          type: string
          format: date-time
          readOnly: true
        lastActionDateTime:
          description: 'Last time service performed any action from the job. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
          type: string
          format: date-time
          readOnly: true
        finishedDateTime:
          description: 'End time of the job. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
          type: string
          format: date-time
          readOnly: true
        purgeDateTime:
          description: 'Time at which job will be purged by the service from the system. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.'
          type: string
          format: date-time
          readOnly: true
        error:
          $ref: '#/components/schemas/Error'
          description: Details of the error(s) that occurred executing the import job.
    Error:
      description: Error definition.
      properties:
        code:
          description: Service specific error code which serves as the substatus for the HTTP error code.
          type: string
          readOnly: true
        message:
          description: A human-readable representation of the error.
          type: string
          readOnly: true
        details:
          description: Internal error details.
          type: array
          items:
            $ref: '#/components/schemas/Error'
          readOnly: true
        innererror:
          description: An object containing more specific information than the current object about the error.
          $ref: '#/components/schemas/InnerError'
    ImportJobCollection:
      description: A collection of import job objects.
      type: object
      required:
      - value
      properties:
        value:
          description: The list of import job objects.
          type: array
          items:
            $ref: '#/components/schemas/ImportJob'
        nextLink:
          description: A URI to retrieve the next page of results.
          type: string
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          scopes: {}
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize?resource=0b07f429-9f4b-4714-9392-cc5e8e80c8b0