Amazon SageMaker Sagemaker Cluster Extension API

The Sagemaker Cluster Extension API from Amazon SageMaker — 5 operation(s) for sagemaker cluster extension.

GitHub OpenAPI

Operations 5

POST /#CreateClusterExtension Create Cluster Extension #
POST /#DeleteClusterExtension Delete Cluster Extension #
POST /#DescribeClusterExtension Describe Cluster Extension #
POST /#ListClusterExtensions List Cluster Extensions #
POST /#UpdateClusterExtension Update Cluster Extension #

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-sagemaker:amazon-sagemaker-cluster-extension-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-sagemaker-cluster-extension-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon SageMaker Service Cluster Extension API
  version: '2017-07-24'
  description: Generated from AWS's published Smithy model for Amazon SageMaker Service. 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://api.sagemaker.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateClusterExtension:
    post:
      operationId: CreateClusterExtension
      summary: Create Cluster Extension
      description: Installs an extension, such as sagemaker-observability, on a SageMaker HyperPod cluster orchestrated by
        Slurm. The cluster must have NodeProvisioningMode set to Continuous and can have only one extension with a given name.
        To track the installation, call DescribeClusterExtension.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateClusterExtensionResponse'
        '400':
          description: ConflictException; ResourceInUse; ResourceNotFound
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConflictException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - SageMaker.CreateClusterExtension
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateClusterExtensionRequest'
      tags:
      - Cluster Extension
  /#DeleteClusterExtension:
    post:
      operationId: DeleteClusterExtension
      summary: Delete Cluster Extension
      description: Deletes an extension from a SageMaker HyperPod cluster. SageMaker HyperPod removes the extension's software
        from every node in the cluster. While SageMaker HyperPod removes the extension, its status is Deleting. After SageMaker
        HyperPod removes the extension from all nodes, it no longer appears in ListClusterExtensions, and DescribeClusterExtension
        returns a ResourceNotFound error. Deleting an extension doesn't delete data that the extension sent to other Amazon
        Web Services services, such as metrics in Amazon CloudWatch or Amazon Managed Service for Prometheus.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteClusterExtensionResponse'
        '400':
          description: ConflictException; ResourceInUse; ResourceNotFound
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConflictException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - SageMaker.DeleteClusterExtension
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteClusterExtensionRequest'
      tags:
      - Cluster Extension
  /#DescribeClusterExtension:
    post:
      operationId: DescribeClusterExtension
      summary: Describe Cluster Extension
      description: Retrieves information about an extension installed on a SageMaker HyperPod cluster. The information includes
        the extension's version, configuration, and status, and a summary of how many cluster nodes are running the current
        version and configuration of the extension.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeClusterExtensionResponse'
        '400':
          description: ResourceNotFound
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceNotFound'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - SageMaker.DescribeClusterExtension
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeClusterExtensionRequest'
      tags:
      - Cluster Extension
  /#ListClusterExtensions:
    post:
      operationId: ListClusterExtensions
      summary: List Cluster Extensions
      description: Lists the extensions installed on a SageMaker HyperPod cluster.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListClusterExtensionsResponse'
        '400':
          description: ResourceNotFound
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceNotFound'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - SageMaker.ListClusterExtensions
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListClusterExtensionsRequest'
      tags:
      - Cluster Extension
  /#UpdateClusterExtension:
    post:
      operationId: UpdateClusterExtension
      summary: Update Cluster Extension
      description: 'Updates the configuration or the version of an extension installed on a SageMaker HyperPod cluster. SageMaker
        HyperPod applies the change to every node in the cluster. You can change the configuration, the version, or both in
        one request. Configuration: You can change settings by sending ConfigurationValues. Settings that you include are
        changed. Settings that you omit keep their current values. A setting with the value null is removed and returns to
        its default value. Version: You can update to a later version. You can''t update to an earlier version. To use an
        earlier version, delete the extension and create it again with that version. You can''t update an extension while
        it is being deleted.'
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/UpdateClusterExtensionResponse'
        '400':
          description: ConflictException; ResourceNotFound
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConflictException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - SageMaker.UpdateClusterExtension
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/UpdateClusterExtensionRequest'
      tags:
      - Cluster Extension
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: sagemaker
  schemas:
    ConflictException:
      type: object
      properties:
        Message:
          type: string
    CreateClusterExtensionRequest:
      type: object
      properties:
        ClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which to install the extension.
            The cluster must use Slurm as the orchestrator and have NodeProvisioningMode set to Continuous.
        ExtensionName:
          type: string
          description: The name of the extension to install, for example sagemaker-observability.
        ExtensionVersion:
          type: string
          description: The version of the extension to install, in MAJOR.MINOR.PATCH format, for example 1.0.0. If you don't
            specify a version, SageMaker HyperPod installs the latest available version of the extension.
        ConfigurationValues:
          type: string
          description: The configuration settings for the extension, as a JSON object serialized as a string, for example
            {"metricsProvider":{"nodeMetrics":{"level":"ADVANCED"}}}. Each extension version defines which settings it accepts.
            SageMaker HyperPod validates the settings against that definition, and rejects the request if a setting is unknown
            or has an invalid value. Settings that you omit use the extension's default values. If you omit ConfigurationValues,
            all settings use their default values.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: Custom tags for managing the extension as an Amazon Web Services resource. You can add tags to your
            extension in the same way you add them in other Amazon Web Services services that support tagging. To learn more
            about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide.
            To use this operation to add tags when you create an extension, you must have the sagemaker:AddTags permission.
        ClientToken:
          type: string
          description: A unique, case-sensitive identifier that you provide so that the operation completes no more than one
            time. This token is valid for 8 hours. If you retry the request with the same client token and the same parameters
            within this time, the API returns the Amazon Resource Name (ARN) of the extension that the original request created,
            without creating a duplicate. If you use the same client token with different parameters, the request fails.
      required:
      - ClusterArn
      - ExtensionName
    CreateClusterExtensionResponse:
      type: object
      properties:
        ExtensionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extension that you created. Use this ARN to describe, update,
            or delete the extension.
      required:
      - ExtensionArn
    DeleteClusterExtensionRequest:
      type: object
      properties:
        ClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which the extension is installed.
        ExtensionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extension to delete.
      required:
      - ClusterArn
      - ExtensionArn
    DeleteClusterExtensionResponse:
      type: object
      properties:
        ExtensionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extension that is being deleted.
      required:
      - ExtensionArn
    DescribeClusterExtensionRequest:
      type: object
      properties:
        ClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which the extension is installed.
        ExtensionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extension to describe. CreateClusterExtension returns this ARN,
            and ListClusterExtensions lists it. If you delete an extension and create it again, the new extension has a new
            ARN.
      required:
      - ClusterArn
      - ExtensionArn
    DescribeClusterExtensionResponse:
      type: object
      properties:
        ExtensionDetails:
          $ref: '#/components/schemas/ExtensionDetails'
        NodeSummary:
          $ref: '#/components/schemas/ExtensionNodeSummary'
      required:
      - ExtensionDetails
    ExtensionDetails:
      type: object
      properties:
        ClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which the extension is installed.
        ExtensionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extension.
        ExtensionName:
          type: string
          description: The name of the extension.
        ExtensionVersion:
          type: string
          description: The version of the extension. While SageMaker HyperPod creates or updates the extension, some nodes
            might still run a different version. To see how many nodes run this version, see NodeSummary.
        Status:
          type: string
          enum:
          - Creating
          - Active
          - CreateFailed
          - Updating
          - Deleting
          - DeleteFailed
          - Degraded
          - UpdateFailed
          description: 'The status of the extension can be one of the following values: Creating SageMaker HyperPod is installing
            the extension on the cluster''s nodes. Active The extension runs its current version and configuration on all
            of the cluster''s nodes. Updating SageMaker HyperPod is applying a configuration change or version update to the
            cluster''s nodes. Degraded The extension runs its current version and configuration on some of the cluster''s
            nodes but not all of them. Or, at least one node recently reported that the extension is unhealthy. CreateFailed
            SageMaker HyperPod couldn''t install the extension on'
        ConfigurationValues:
          type: string
          description: The configuration of the extension, as a JSON object serialized as a string. The configuration includes
            the default value of every setting that you didn't specify.
        CreationTime:
          type: string
          format: date-time
          description: The time when the extension was created.
        LastModifiedTime:
          type: string
          format: date-time
          description: The time when the extension was last updated.
      required:
      - ClusterArn
      - ExtensionArn
      - ExtensionName
      - ExtensionVersion
      - Status
    ExtensionNodeSummary:
      type: object
      properties:
        TotalCount:
          type: integer
          description: The number of nodes in your cluster that the extension targets. SageMaker HyperPod targets every running
            node in your cluster, including nodes that you add after you create the extension.
        ActiveCount:
          type: integer
          description: The number of nodes that are running the extension's current version and configuration. While SageMaker
            HyperPod creates or updates the extension, ActiveCount is lower than TotalCount.
      required:
      - TotalCount
      - ActiveCount
    ExtensionSummary:
      type: object
      properties:
        ExtensionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extension.
        ExtensionName:
          type: string
          description: The name of the extension.
        ExtensionVersion:
          type: string
          description: The version of the extension.
        Status:
          type: string
          enum:
          - Creating
          - Active
          - CreateFailed
          - Updating
          - Deleting
          - DeleteFailed
          - Degraded
          - UpdateFailed
          description: The status of the extension. For the meaning of each status, see ExtensionDetails.
        CreationTime:
          type: string
          format: date-time
          description: The time when the extension was created.
      required:
      - ExtensionArn
      - ExtensionName
      - ExtensionVersion
      - Status
    ListClusterExtensionsRequest:
      type: object
      properties:
        ClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster whose extensions you want to list.
        MaxResults:
          type: integer
          description: The maximum number of extensions to return in the response. If you don't specify a value, SageMaker
            HyperPod returns up to 100 extensions.
        NextToken:
          type: string
          description: If the result of the previous ListClusterExtensions request was truncated, the response includes a
            NextToken. To retrieve the next set of extensions, use the token in the next request. When you use the CreationTimeAfter
            or CreationTimeBefore filters, a response can contain fewer extensions than MaxResults, or none, and still include
            a NextToken. Continue until the response doesn't include a NextToken.
        CreationTimeAfter:
          type: string
          format: date-time
          description: A filter that returns extensions created at or after the specified time. Timestamps are formatted according
            to the ISO 8601 standard.
        CreationTimeBefore:
          type: string
          format: date-time
          description: A filter that returns extensions created at or before the specified time. The acceptable formats are
            the same as the timestamp formats for CreationTimeAfter.
      required:
      - ClusterArn
    ListClusterExtensionsResponse:
      type: object
      properties:
        Extensions:
          type: array
          items:
            $ref: '#/components/schemas/ExtensionSummary'
          description: The list of extensions installed on the cluster.
        NextToken:
          type: string
          description: The next token specified for listing extensions on a SageMaker HyperPod cluster.
      required:
      - Extensions
    ResourceNotFound:
      type: object
      properties:
        Message:
          type: string
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The tag key. Tag keys must be unique per resource.
        Value:
          type: string
          description: The tag value.
      required:
      - Key
      - Value
    UpdateClusterExtensionRequest:
      type: object
      properties:
        ClusterArn:
          type: string
          description: The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which the extension is installed.
        ExtensionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extension to update.
        ExtensionVersion:
          type: string
          description: The version to update the extension to, in MAJOR.MINOR.PATCH format. The version must be later than
            the extension's current version. If you omit this parameter, the extension keeps its current version.
        ConfigurationValues:
          type: string
          description: The configuration changes to apply, as a JSON object serialized as a string. Settings that you include
            are changed, settings that you omit are unchanged, and a setting with the value null returns to its default value.
            The resulting configuration must be valid for the target extension version. If you omit ConfigurationValues, the
            configuration is unchanged.
        ClientToken:
          type: string
          description: A unique, case-sensitive identifier that you provide so that the request is idempotent. If you send
            the same update more than once, SageMaker HyperPod applies it once and doesn't return an error.
      required:
      - ClusterArn
      - ExtensionArn
    UpdateClusterExtensionResponse:
      type: object
      properties:
        ExtensionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extension that is being updated. To track the update, call DescribeClusterExtension.
      required:
      - ExtensionArn
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/sagemaker/service/2017-07-24/sagemaker-2017-07-24.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)