---
title: "show service_sizing_policy"
method: GET
path: "/service_sizing_policies/{id}"
tags: ["ServiceSizingPolicies"]
---

# show service_sizing_policy

`GET /service_sizing_policies/{id}`

## Request

- Base URL: `https://api.aptible.com`
- URL: `https://api.aptible.com/service_sizing_policies/{id}`
- Auth: API key in header `Authorization`

Returns the details of a specific service sizing policy by ID.

## Path parameters

- `id` integer, required

## Query parameters

- `no_embed` boolean

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Response `200`

successful

- ServiceSizingPolicy
  - `id` integer, required
  - `_type` string, required
  - `created_at` string, required
  - `updated_at` string, required
  - `scaling_enabled` boolean, required
  - `default_policy` boolean, required
  - `metric_lookback_seconds` integer, required
  - `percentile` number, required
  - `post_scale_up_cooldown_seconds` integer, required
  - `post_scale_down_cooldown_seconds` integer, required
  - `post_release_cooldown_seconds` integer, required
  - `mem_cpu_ratio_r_threshold` number, required
  - `mem_cpu_ratio_c_threshold` number, required
  - `mem_scale_up_threshold` number, required
  - `mem_scale_down_threshold` number, required
  - `minimum_memory` integer, required
  - `account_id` integer, required
  - `maximum_memory` integer, required
  - `autoscaling` string, required
  - `min_cpu_threshold` number, required
  - `max_cpu_threshold` number, required
  - `min_containers` integer, required
  - `max_containers` integer, required
  - `scale_up_step` integer, required
  - `scale_down_step` integer, required
  - `use_horizontal_scale` boolean, required
  - `service_id` integer
  - `_links` BackupRetentionPolicyLinks
    - `account` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `self` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri

## Other responses

- `default`: Error response. Often a 4xx or 5xx status code

## Changes

- **2026-10-23** `a21f6b1bc6fe`: 1 breaking
  - the response property `service_id` became optional for the status `200`
- **2026-10-20** `ba72edfe0324`: 1 info
  - added the required property `service_id` to the response with the `200` status
- **2026-07-24** `1dc1e5b8c6eb`: 7 breaking, 2 info
  - the `max_cpu_threshold` response's property type changed from `float` to `number` for status `200`
  - the `mem_cpu_ratio_c_threshold` response's property type changed from `float` to `number` for status `200`
  - the `mem_cpu_ratio_r_threshold` response's property type changed from `float` to `number` for status `200`
  - the `mem_scale_down_threshold` response's property type changed from `float` to `number` for status `200`
  - …5 more
- **2025-06-17** `27e35c041e47`: 1 info
  - added the required property `use_horizontal_scale` to the response with the `200` status
- **2024-11-14** `df7ad36b0b68`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aptible/apis/aptible-api-v1/changes/service_sizing_policies/:id/get.md)

---

[API](https://skmtc.dev/aptible/apis/aptible-api-v1.md) - [All operations](https://skmtc.dev/aptible/apis/aptible-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/aptible/apis/aptible-api-v1/revisions/a21f6b1bc6fe?raw)
