# ascending on GET /v1/runs is deprecated

Letta API deprecated GET /v1/runs, query parameter ascending without giving a shutdown date yet.

The query parameter ascending on GET /v1/runs has been deprecated without a shutdown date. Requests that continue using this parameter will eventually fail once it is removed. The provider marked it as deprecated in favor of the order field.

## What to use instead

Sort runs using the order query parameter set to asc or desc instead.

- API: Letta API (api.letta.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v1/runs`, `query parameter ascending`
- Source: [Announcement](https://docs.letta.com/api/resources/runs/index.md)
- Verified: October 26, 2026, against Letta API's own pages
- Page: https://www.okapi.bot/providers/letta-api/breaking-changes/ascending-on-get-v1-runs-is-deprecated/

## Letta API's words

> Whether to sort agents oldest to newest (True) or newest to oldest (False, default). Deprecated in favor of order field.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
