---
title: "Get available task sizes."
method: GET
path: "/tasks/sizes"
tags: ["Tasks Operations"]
---

# Get available task sizes.

`GET /tasks/sizes`

## Request

- Base URL: `https://replace-with-account.api.decodable.co/v1alpha2`
- URL: `https://replace-with-account.api.decodable.co/v1alpha2/tasks/sizes`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/decodable/apis/decodable-control-plane/docs/tasks/sizes/get.ts> (a function with typed inputs; its response is checked against the schema)

Any authenticated user has permission to perform this operation.

## Response `200`

A description of available task sizes.

- object
  - `sizes` object[]: A list of task sizes.
    - `id` string: An identifier for this task size.
    - `name` string: An user-readable name for this task size.
    - `description` string: An description of this task size.
    - `resource_spec` object: Specific resource allocations for this task size.
      - `cpu` string: The number of CPUs for this task size.
      - `memory` string: The amount of memory for this task size.
    - `supported_plans` string[]: The available plan types for this task size.

## Other responses

- `default`: An error has occurred.

---

[API](https://skmtc.dev/decodable/apis/decodable-control-plane.md) - [All operations](https://skmtc.dev/decodable/apis/decodable-control-plane/llms.txt) - [OpenAPI document](https://skmtc.dev/decodable/apis/decodable-control-plane/revisions/9718a3019da8?raw)
