Azure Machine Learning Job Bases API

The JobBases API from Azure Machine Learning — 3 operation(s) for jobbases.

GitHub OpenAPI

Operations 5

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs Lists Jobs in the workspace #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id} Gets a Job by name/id #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id} Creates and executes a Job. #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id} Deletes a Job (asynchronous) #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}/cancel Cancels a Job (asynchronous) #

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-machine-learning:microsoft-azure-machine-learning-jobbases-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-machine-learning-jobbases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Machine Learning Services Job Bases API
  version: '2026-09-01'
  description: These APIs allow end users to operate on Azure Machine Learning Workspace resources.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: JobBases
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs
  : get:
      operationId: Jobs_List
      tags:
      - JobBases
      summary: Lists Jobs in the workspace
      description: Lists Jobs in the workspace.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: Azure Machine Learning Workspace Name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
      - name: $skip
        in: query
        description: Continuation token for pagination.
        required: false
        schema:
          type: string
      - name: jobType
        in: query
        description: Type of job to be returned.
        required: false
        schema:
          type: string
      - name: tag
        in: query
        description: Jobs returned will have this tag key.
        required: false
        schema:
          type: string
      - name: listViewType
        in: query
        description: View type for including/excluding (for example) archived entities.
        required: false
        x-ms-enum:
          name: ListViewType
          modelAsString: true
          values:
          - name: ActiveOnly
            value: ActiveOnly
          - name: ArchivedOnly
            value: ArchivedOnly
          - name: All
            value: All
        schema:
          type: string
          enum:
          - ActiveOnly
          - ArchivedOnly
          - All
          default: ActiveOnly
      - name: properties
        in: query
        description: 'Comma-separated list of user property names (and optionally values). Example: prop1,prop2=value2'
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobBaseResourceArmPaginatedResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}
  : get:
      operationId: Jobs_Get
      tags:
      - JobBases
      summary: Gets a Job by name/id
      description: Gets a Job by name/id.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: Azure Machine Learning Workspace Name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
      - name: id
        in: path
        description: The name and identifier for the Job. This is case-sensitive.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobBase'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      operationId: Jobs_CreateOrUpdate
      tags:
      - JobBases
      summary: Creates and executes a Job.
      description: 'Creates and executes a Job.

        For update case, the Tags in the definition passed in will replace Tags in the existing job.'
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: Azure Machine Learning Workspace Name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
      - name: id
        in: path
        description: The name and identifier for the Job. This is case-sensitive.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'JobBase' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobBase'
        '201':
          description: Resource 'JobBase' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobBase'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JobBase'
        description: Job definition object.
        required: true
    delete:
      operationId: Jobs_Delete
      tags:
      - JobBases
      summary: Deletes a Job (asynchronous)
      description: Deletes a Job (asynchronous).
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: Azure Machine Learning Workspace Name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
      - name: id
        in: path
        description: The name and identifier for the Job. This is case-sensitive.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: The request has been accepted for processing, but processing has not yet completed.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
            x-ms-async-operation-timeout:
              description: Timeout for the client to use when polling the asynchronous operation.
              schema:
                type: string
                format: duration
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}/cancel
  : post:
      operationId: Jobs_Cancel
      tags:
      - JobBases
      summary: Cancels a Job (asynchronous)
      description: Cancels a Job (asynchronous).
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: Azure Machine Learning Workspace Name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
      - name: id
        in: path
        description: The name and identifier for the Job. This is case-sensitive.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
        '202':
          description: Resource operation accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
components:
  schemas:
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          description: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          type: object
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    JobService:
      type: object
      description: Job endpoint definition
      properties:
        endpoint:
          type:
          - string
          - 'null'
          description: Url for endpoint.
          x-ms-mutability:
          - read
          - create
        errorMessage:
          type:
          - string
          - 'null'
          description: Any error in the service.
          readOnly: true
        jobServiceType:
          type:
          - string
          - 'null'
          description: Endpoint type.
          x-ms-mutability:
          - read
          - create
        nodes:
          $ref: '#/components/schemas/Nodes'
          description: 'Nodes that user would like to start the service on.

            If Nodes is not set or set to null, the service will only be started on leader node.'
        port:
          type:
          - integer
          - 'null'
          format: int32
          description: Port for endpoint.
          x-ms-mutability:
          - read
          - create
        properties:
          type:
          - object
          - 'null'
          description: Additional properties to set on the endpoint.
          additionalProperties:
            type:
            - string
            - 'null'
        status:
          type:
          - string
          - 'null'
          description: Status of endpoint.
          readOnly: true
    Nodes:
      type: object
      description: Abstract Nodes definition
      properties:
        nodesValueType:
          $ref: '#/components/schemas/NodesValueType'
          description: '[Required] Type of the Nodes value'
          x-ms-mutability:
          - read
          - create
      discriminator:
        propertyName: nodesValueType
      required:
      - nodesValueType
    ResourceBase:
      type: object
      properties:
        description:
          type:
          - string
          - 'null'
          description: The asset description text.
        properties:
          type:
          - object
          - 'null'
          description: The asset property dictionary.
          additionalProperties:
            type:
            - string
            - 'null'
        tags:
          type:
          - object
          - 'null'
          description: Tag dictionary. Tags can be added, removed, and updated.
          additionalProperties:
            type:
            - string
            - 'null'
    JobBase:
      type: object
      description: Azure Resource Manager resource envelope.
      properties:
        properties:
          $ref: '#/components/schemas/JobBaseProperties'
          description: '[Required] Additional attributes of the entity.'
      required:
      - properties
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    WebhookType:
      type: string
      description: Enum to determine the webhook callback service type.
      enum:
      - AzureDevOps
      x-ms-enum:
        name: WebhookType
        modelAsString: true
        values:
        - name: AzureDevOps
          value: AzureDevOps
    JobBaseResourceArmPaginatedResult:
      type: object
      description: A paginated list of JobBase entities.
      properties:
        value:
          type: array
          description: The JobBase items on this page
          items:
            $ref: '#/components/schemas/JobBase'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    EmailNotificationEnableType:
      type: string
      description: Enum to determine the email notification type.
      enum:
      - JobCompleted
      - JobFailed
      - JobCancelled
      x-ms-enum:
        name: EmailNotificationEnableType
        modelAsString: true
        values:
        - name: JobCompleted
          value: JobCompleted
        - name: JobFailed
          value: JobFailed
        - name: JobCancelled
          value: JobCancelled
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    IdentityConfigurationType:
      type: string
      description: Enum to determine identity framework.
      enum:
      - Managed
      - AMLToken
      - UserIdentity
      x-ms-enum:
        name: IdentityConfigurationType
        modelAsString: true
        values:
        - name: Managed
          value: Managed
        - name: AMLToken
          value: AMLToken
        - name: UserIdentity
          value: UserIdentity
    IdentityConfiguration:
      type: object
      description: Base definition for identity configuration.
      properties:
        identityType:
          $ref: '#/components/schemas/IdentityConfigurationType'
          description: '[Required] Specifies the type of identity framework.'
          x-ms-mutability:
          - read
          - create
      discriminator:
        propertyName: identityType
      required:
      - identityType
    NotificationSetting:
      type: object
      description: Configuration for notification.
      properties:
        emailOn:
          type:
          - array
          - 'null'
          description: Send email notification to user on specified notification type
          items:
            $ref: '#/components/schemas/EmailNotificationEnableType'
          x-ms-mutability:
          - read
          - create
        emails:
          type:
          - array
          - 'null'
          description: This is the email recipient list which has a limitation of 499 characters in total concat with comma separator
          items:
            type: string
          x-ms-mutability:
          - read
          - create
        webhooks:
          type:
          - object
          - 'null'
          description: Send webhook callback to a service. Key is a user-provided name for the webhook.
          additionalProperties:
            $ref: '#/components/schemas/Webhook'
          x-ms-mutability:
          - read
          - update
          - create
    JobType:
      type: string
      description: Enum to determine the type of job.
      enum:
      - AutoML
      - Command
      - Sweep
      - Pipeline
      - Spark
      x-ms-enum:
        name: JobType
        modelAsString: true
        values:
        - name: AutoML
          value: AutoML
        - name: Command
          value: Command
        - name: Sweep
          value: Sweep
        - name: Pipeline
          value: Pipeline
        - name: Spark
          value: Spark
    JobStatus:
      type: string
      description: The status of a job.
      enum:
      - NotStarted
      - Starting
      - Provisioning
      - Preparing
      - Queued
      - Running
      - Finalizing
      - CancelRequested
      - Completed
      - Failed
      - Canceled
      - NotResponding
      - Paused
      - Unknown
      x-ms-enum:
        name: JobStatus
        modelAsString: true
        values:
        - name: NotStarted
          value: NotStarted
          description: Run hasn't started yet.
        - name: Starting
          value: Starting
          description: Run has started. The user has a run ID.
        - name: Provisioning
          value: Provisioning
          description: (Not used currently) It will be used if ES is creating the compute target.
        - name: Preparing
          value: Preparing
          description: The run environment is being prepared.
        - name: Queued
          value: Queued
          description: The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready.
        - name: Running
          value: Running
          description: The job started to run in the compute target.
        - name: Finalizing
          value: Finalizing
          description: Job is completed in the target. It is in output collection state now.
        - name: CancelRequested
          value: CancelRequested
          description: Cancellation has been requested for the job.
        - name: Completed
          value: Completed
          description: Job completed successfully. This reflects that both the job itself and output collection states completed successfully
        - name: Failed
          value: Failed
          description: Job failed.
        - name: Canceled
          value: Canceled
          description: Following cancellation request, the job is now successfully canceled.
        - name: NotResponding
          value: NotResponding
          description: 'When heartbeat is enabled, if the run isn''t updating any information to RunHistory then the run goes to NotResponding state.

            NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states.'
        - name: Paused
          value: Paused
          description: The job is paused by users. Some adjustment to labeling jobs can be made only in paused state.
        - name: Unknown
          value: Unknown
          description: Default job status if not mapped to all other statuses
    NodesValueType:
      type: string
      description: The enumerated types for the nodes value
      enum:
      - All
      x-ms-enum:
        name: NodesValueType
        modelAsString: true
        values:
        - name: All
          value: All
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    Webhook:
      type: object
      description: Webhook base
      properties:
        eventType:
          type:
          - string
          - 'null'
          description: Send callback on a specified notification event
          x-ms-mutability:
          - read
          - create
        webhookType:
          $ref: '#/components/schemas/WebhookType'
          description: '[Required] Specifies the type of service to send a callback'
          x-ms-mutability:
          - read
          - create
      discriminator:
        propertyName: webhookType
      required:
      - webhookType
    JobBaseProperties:
      type: object
      description: Base definition for a job.
      properties:
        componentId:
          type:
          - string
          - 'null'
          description: ARM resource ID of the component resource.
          x-ms-mutability:
          - read
          - create
        computeId:
          type:
          - string
          - 'null'
          description: ARM resource ID of the compute resource.
          x-ms-mutability:
          - read
          - create
        displayName:
          type:
          - string
          - 'null'
          description: Display name of job.
          x-ms-mutability:
          - read
          - create
        experimentName:
          type: string
          description: The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
          default: Default
          x-ms-mutability:
          - read
          - create
        identity:
          $ref: '#/components/schemas/IdentityConfiguration'
          description: 'Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null.

            Defaults to AmlToken if null.'
          x-ms-mutability:
          - read
          - create
        isArchived:
          type: boolean
          description: Is the asset archived?
          default: false
          x-ms-mutability:
          - read
          - update
          - create
        jobType:
          $ref: '#/components/schemas/JobType'
          description: '[Required] Specifies the type of job.'
          x-ms-mutability:
          - read
          - create
        notificationSetting:
          $ref: '#/components/schemas/NotificationSetting'
          description: Notification setting for the job
          x-ms-mutability:
          - read
          - update
          - create
        services:
          type:
          - object
          - 'null'
          description: 'List of JobEndpoints.

            For local jobs, a job endpoint will have an endpoint value of FileStreamObject.'
          additionalProperties:
            $ref: '#/components/schemas/JobService'
        status:
          $ref: '#/components/schemas/JobStatus'
          description: Status of the job.
          readOnly: true
      discriminator:
        propertyName: jobType
      required:
      - jobType
      allOf:
      - $ref: '#/components/schemas/ResourceBase'
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription.
      required: true
      schema:
        type: string
        minLength: 1
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.