ListCommandsRequest

AutomationAmazon Web ServicesManagement

Properties

Name Type Description
CommandId string (Optional) If provided, lists only the specified command.
InstanceId string (Optional) Lists commands issued against this managed node ID. You can't specify a managed node ID in the same command that you specify Status = Pending. This is because the command hasn't reached the
MaxResults integer (Optional) 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.
NextToken string (Optional) The token for the next set of items to return. (You received this token from a previous call.)
Filters array (Optional) One or more filters. Use a filter to return a more specific list of results.
View JSON Schema on GitHub

JSON Schema

amazon-systems-manager-list-commands-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-list-commands-request-schema.json",
  "title": "ListCommandsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-run-command-api-openapi.yml#/components/schemas/ListCommandsRequest",
  "type": "object",
  "properties": {
    "CommandId": {
      "type": "string",
      "description": "(Optional) If provided, lists only the specified command."
    },
    "InstanceId": {
      "type": "string",
      "description": "(Optional) Lists commands issued against this managed node ID. You can't specify a managed node ID in the same command that you specify Status = Pending. This is because the command hasn't reached the managed node yet."
    },
    "MaxResults": {
      "type": "integer",
      "description": "(Optional) 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."
    },
    "NextToken": {
      "type": "string",
      "description": "(Optional) The token for the next set of items to return. (You received this token from a previous call.)"
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CommandFilter"
      },
      "description": "(Optional) One or more filters. Use a filter to return a more specific list of results."
    }
  },
  "$defs": {
    "CommandFilter": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "enum": [
            "InvokedAfter",
            "InvokedBefore",
            "Status",
            "ExecutionStage",
            "DocumentName"
          ],
          "description": "The name of the filter. The ExecutionStage filter can't be used with the ListCommandInvocations operation, only with ListCommands."
        },
        "value": {
          "type": "string",
          "description": "The filter value. Valid values for each filter key are as follows: InvokedAfter: Specify a timestamp to limit your results. For example, specify 2024-07-07T00:00:00Z to see a list of command executions occurring July 7, 2021, and later. InvokedBefore: Specify a timestamp to limit your results. For example, specify 2024-07-07T00:00:00Z to see a list of command executions from before July 7, 2021. Status: Specify a valid command status to see a list of all command executions with that status. The status choices depend on the API you call. The status values you can specify for ListCommands are: P"
        }
      },
      "required": [
        "key",
        "value"
      ]
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-systems-manager-list-commands-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.