---
title: "Optimize Decay"
method: POST
path: "/api/v1/ai/rankings/{ranking_id}/optimize-decay"
tags: ["AI & Transfer Learning"]
---

# Optimize Decay

`POST /api/v1/ai/rankings/{ranking_id}/optimize-decay`

## Request

- Base URL: `https://app.aimrank.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.aimrank.io/api/v1/ai/rankings/{ranking_id}/optimize-decay`
- Auth: none declared

Find optimal temporal decay settings via grid search (compute-heavy; Creator+).

Tests combinations of decay_rate x threshold_days and returns
the configuration that maximizes accuracy for this ranking.

## Path parameters

- `ranking_id` string, required

## Query parameters

- `algorithm` string: Algorithm to optimize for

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aimrank/apis/aimrank-api.md) · [All operations](https://skmtc.dev/aimrank/apis/aimrank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aimrank/apis/aimrank-api/revisions/3574d0aff459?raw)
