Amazon ECS · Schema

ListTasksRequest

AmazonAmazon Web ServicesContainersDockerECSContainer Orchestration

Properties

Name Type Description
cluster string The short name or full Amazon Resource Name (ARN) of the cluster to use when filtering the ListTasks results. If you do not specify a cluster, the default cluster is assumed.
containerInstance string The container instance ID or full ARN of the container instance to use when filtering the ListTasks results. Specifying a containerInstance limits the results to tasks that belong to that container in
family string The name of the task definition family to use when filtering the ListTasks results. Specifying a family limits the results to tasks that belong to that family.
nextToken string The nextToken value returned from a ListTasks request indicating that more results are available to fulfill the request and further calls will be needed. If maxResults was provided, it's possible the
maxResults integer The maximum number of task results that ListTasks returned in paginated output. When this parameter is used, ListTasks only returns maxResults results in a single page along with a nextToken response
startedBy string The startedBy value to filter the task results with. Specifying a startedBy value limits the results to tasks that were started with that value. When you specify startedBy as the filter, it must be th
serviceName string The name of the service to use when filtering the ListTasks results. Specifying a serviceName limits the results to tasks that belong to that service.
desiredStatus string The task desired status to use when filtering the ListTasks results. Specifying a desiredStatus of STOPPED limits the results to tasks that Amazon ECS has set the desired status to STOPPED. This can b
launchType string The launch type to use when filtering the ListTasks results.
daemonName string The name of the daemon to use when filtering the ListTasks results. Specifying a daemonName limits the results to tasks that belong to that daemon.
View JSON Schema on GitHub

JSON Schema

amazon-ecs-list-tasks-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecs/json-schema/amazon-ecs-list-tasks-request-schema.json",
  "title": "ListTasksRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ecs-tasks-api-openapi.yml#/components/schemas/ListTasksRequest",
  "type": "object",
  "properties": {
    "cluster": {
      "type": "string",
      "description": "The short name or full Amazon Resource Name (ARN) of the cluster to use when filtering the ListTasks results. If you do not specify a cluster, the default cluster is assumed."
    },
    "containerInstance": {
      "type": "string",
      "description": "The container instance ID or full ARN of the container instance to use when filtering the ListTasks results. Specifying a containerInstance limits the results to tasks that belong to that container instance."
    },
    "family": {
      "type": "string",
      "description": "The name of the task definition family to use when filtering the ListTasks results. Specifying a family limits the results to tasks that belong to that family."
    },
    "nextToken": {
      "type": "string",
      "description": "The nextToken value returned from a ListTasks request indicating that more results are available to fulfill the request and further calls will be needed. If maxResults was provided, it's possible the number of results to be fewer than maxResults. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of task results that ListTasks returned in paginated output. When this parameter is used, ListTasks only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListTasks request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then ListTasks returns up to 100 results and a nextToken value if applicable."
    },
    "startedBy": {
      "type": "string",
      "description": "The startedBy value to filter the task results with. Specifying a startedBy value limits the results to tasks that were started with that value. When you specify startedBy as the filter, it must be the only filter that you use."
    },
    "serviceName": {
      "type": "string",
      "description": "The name of the service to use when filtering the ListTasks results. Specifying a serviceName limits the results to tasks that belong to that service."
    },
    "desiredStatus": {
      "type": "string",
      "enum": [
        "RUNNING",
        "PENDING",
        "STOPPED"
      ],
      "description": "The task desired status to use when filtering the ListTasks results. Specifying a desiredStatus of STOPPED limits the results to tasks that Amazon ECS has set the desired status to STOPPED. This can be useful for debugging tasks that aren't starting properly or have died or finished. The default status filter is RUNNING, which shows tasks that Amazon ECS has set the desired status to RUNNING. Although you can filter results based on a desired status of PENDING, this doesn't return any results. Amazon ECS never sets the desired status of a task to that value (only a task's lastStatus may have a"
    },
    "launchType": {
      "type": "string",
      "enum": [
        "EC2",
        "FARGATE",
        "EXTERNAL",
        "MANAGED_INSTANCES"
      ],
      "description": "The launch type to use when filtering the ListTasks results."
    },
    "daemonName": {
      "type": "string",
      "description": "The name of the daemon to use when filtering the ListTasks results. Specifying a daemonName limits the results to tasks that belong to that daemon."
    }
  }
}

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-ecs-list-tasks-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.