Amazon Systems Manager Managed Instances API

Operations for managing instance information.

GitHub OpenAPI

Operations 2

POST /#DeregisterManagedInstance Deregister Managed Instance #
POST /#DescribeInstanceInformation Describe Instance Information #

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-systems-manager:amazon-systems-manager-managed-instances-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-systems-manager-managed-instances-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Systems Manager (SSM) Managed Instances API
  version: '2014-11-06'
  description: Generated from AWS's published Smithy model for Amazon Simple Systems Manager (SSM). 2 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://ssm.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#DeregisterManagedInstance:
    post:
      operationId: DeregisterManagedInstance
      summary: Deregister Managed Instance
      description: Removes the server or virtual machine from the list of registered servers. If you want to reregister an
        on-premises server, edge device, or VM, you must use a different Activation Code and Activation ID than used to register
        the machine previously. The Activation Code and Activation ID must not have already been used on the maximum number
        of activations specified when they were created. For more information, see Deregistering managed nodes in a hybrid
        and multicloud environment in the Amazon Web Services Systems Manager User Guide.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeregisterManagedInstanceResult'
        '500':
          description: InternalServerError
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerError'
        '400':
          description: InvalidInstanceId
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidInstanceId'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonSSM.DeregisterManagedInstance
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeregisterManagedInstanceRequest'
      tags:
      - Managed Instances
  /#DescribeInstanceInformation:
    post:
      operationId: DescribeInstanceInformation
      summary: Describe Instance Information
      description: Provides information about one or more of your managed nodes, including the operating system platform,
        SSM Agent version, association status, and IP address. This operation does not return information for nodes that are
        either Stopped or Terminated. If you specify one or more node IDs, the operation returns information for those managed
        nodes. If you don't specify node IDs, it returns information for all your managed nodes. If you specify a node ID
        that isn't valid or a node that you don't own, you receive an error. The IamRole field returned for this API operation
        is the role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration
        or the role assigned to an on-premises managed node.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeInstanceInformationResult'
        '500':
          description: InternalServerError
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerError'
        '400':
          description: InvalidFilterKey; InvalidInstanceId; InvalidInstanceInformationFilterValue; InvalidNextToken
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidFilterKey'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonSSM.DescribeInstanceInformation
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeInstanceInformationRequest'
      tags:
      - Managed Instances
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: ssm
  schemas:
    DeregisterManagedInstanceRequest:
      type: object
      properties:
        InstanceId:
          type: string
          description: The ID assigned to the managed node when you registered it using the activation process.
      required:
      - InstanceId
    DeregisterManagedInstanceResult:
      type: object
      properties: {}
    DescribeInstanceInformationRequest:
      type: object
      properties:
        InstanceInformationFilterList:
          type: array
          items:
            $ref: '#/components/schemas/InstanceInformationFilter'
          description: This is a legacy method. We recommend that you don't use this method. Instead, use the Filters data
            type. Filters enables you to return node information by filtering based on tags applied to managed nodes. Attempting
            to use InstanceInformationFilterList and Filters leads to an exception error.
        Filters:
          type: array
          items:
            $ref: '#/components/schemas/InstanceInformationStringFilter'
          description: One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based
            on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters
            data type instead of InstanceInformationFilterList, which is deprecated.
        MaxResults:
          type: integer
          description: The maximum number of items to return for this call. The call also returns a token that you can specify
            in a subsequent call to get the next set of results. The default value is 10 items.
        NextToken:
          type: string
          description: The token for the next set of items to return. (You received this token from a previous call.)
    DescribeInstanceInformationResult:
      type: object
      properties:
        InstanceInformationList:
          type: array
          items:
            $ref: '#/components/schemas/InstanceInformation'
          description: The managed node information list.
        NextToken:
          type: string
          description: The token to use when requesting the next set of items. If there are no additional items to return,
            the string is empty.
    InstanceAggregatedAssociationOverview:
      type: object
      properties:
        DetailedStatus:
          type: string
          description: Detailed status information about the aggregated associations.
        InstanceAssociationStatusAggregatedCount:
          type: object
          additionalProperties:
            type: integer
          description: The number of associations for the managed nodes.
    InstanceInformation:
      type: object
      properties:
        InstanceId:
          type: string
          description: The managed node ID.
        PingStatus:
          type: string
          enum:
          - Online
          - ConnectionLost
          - Inactive
          description: Connection status of SSM Agent. The status Inactive has been deprecated and is no longer in use.
        LastPingDateTime:
          type: string
          format: date-time
          description: The date and time when the agent last pinged the Systems Manager service.
        AgentVersion:
          type: string
          description: The version of SSM Agent running on your Linux managed node.
        IsLatestVersion:
          type: boolean
          description: Indicates whether the latest version of SSM Agent is running on your Linux managed node. This field
            doesn't indicate whether or not the latest version is installed on Windows managed nodes, because some older versions
            of Windows Server use the EC2Config service to process Systems Manager requests.
        PlatformType:
          type: string
          enum:
          - Windows
          - Linux
          - MacOS
          description: The operating system platform type.
        PlatformName:
          type: string
          description: The name of the operating system platform running on your managed node.
        PlatformVersion:
          type: string
          description: The version of the OS platform running on your managed node.
        ActivationId:
          type: string
          description: The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine
            (VM) was registered.
        IamRole:
          type: string
          description: The role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management
            configuration or the role assigned to an on-premises managed node. This call doesn't return the IAM role for unmanaged
            Amazon EC2 instances (instances not configured for Systems Manager). To retrieve the role for an unmanaged instance,
            use the Amazon EC2 DescribeInstances operation. For information, see DescribeInstances in the Amazon EC2 API Reference
            or describe-instances in the Amazon Web Services CLI Command Reference.
        RegistrationDate:
          type: string
          format: date-time
          description: The date the server or VM was registered with Amazon Web Services as a managed node.
        ResourceType:
          type: string
          enum:
          - ManagedInstance
          - EC2Instance
          description: The type of instance. Instances are either EC2 instances or managed instances.
        Name:
          type: string
          description: The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated
            as a Systems Manager managed node. The name is specified as the DefaultInstanceName property using the CreateActivation
            command. It is applied to the managed node by specifying the Activation Code and Activation ID when you install
            SSM Agent on the node, as explained in How to install SSM Agent on hybrid Linux nodes and How to install SSM Agent
            on hybrid Windows Server nodes. To retrieve the Name tag of an EC2 instance, use the Amazon EC2 DescribeInstances
            operation. For information, see Descr
        IPAddress:
          type: string
          description: The IP address of the managed node.
        ComputerName:
          type: string
          description: The fully qualified host name of the managed node.
        AssociationStatus:
          type: string
          description: The status of the association.
        LastAssociationExecutionDate:
          type: string
          format: date-time
          description: The date the association was last run.
        LastSuccessfulAssociationExecutionDate:
          type: string
          format: date-time
          description: The last date the association was successfully run.
        AssociationOverview:
          $ref: '#/components/schemas/InstanceAggregatedAssociationOverview'
        SourceId:
          type: string
          description: The ID of the source resource. For IoT Greengrass devices, SourceId is the Thing name.
        SourceType:
          type: string
          enum:
          - AWS::EC2::Instance
          - AWS::IoT::Thing
          - AWS::SSM::ManagedInstance
          - Microsoft.Compute/virtualMachines
          description: The type of the source resource. For IoT Greengrass devices, SourceType is AWS::IoT::Thing. For Azure
            Virtual Machines, SourceType is Microsoft.Compute/virtualMachines.
        SourceLocation:
          type: string
          description: The location of the source resource in the third-party cloud environment.
    InstanceInformationFilter:
      type: object
      properties:
        key:
          type: string
          enum:
          - InstanceIds
          - AgentVersion
          - PingStatus
          - PlatformTypes
          - ActivationIds
          - IamRole
          - ResourceType
          - AssociationStatus
          description: The name of the filter.
        valueSet:
          type: array
          items:
            type: string
          description: The filter values.
      required:
      - key
      - valueSet
    InstanceInformationStringFilter:
      type: object
      properties:
        Key:
          type: string
          description: 'The filter key name to describe your managed nodes. Valid filter key values: ActivationIds | AgentVersion
            | AssociationStatus | IamRole | InstanceIds | PingStatus | PlatformTypes | ResourceType | SourceIds | SourceTypes
            | "tag-key" | "tag:{keyname} Valid values for the AssociationStatus filter key: Success | Pending | Failed Valid
            values for the PingStatus filter key: Online | ConnectionLost | Inactive (deprecated) Valid values for the PlatformTypes
            filter key: Windows | Linux | MacOS Valid values for the ResourceType filter key: EC2Instance | ManagedInstance
            Valid values for the SourceType fi'
        Values:
          type: array
          items:
            type: string
          description: The filter values.
      required:
      - Key
      - Values
    InternalServerError:
      type: object
      properties:
        Message:
          type: string
    InvalidFilterKey:
      type: object
      properties: {}
    InvalidInstanceId:
      type: object
      properties:
        Message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/ssm/service/2014-11-06/ssm-2014-11-06.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)