> ## Documentation Index
> Fetch the complete documentation index at: https://direct-api.reap.global/llms.txt
> Use this file to discover all available pages before exploring further.

# Versioning

> The API version is a date in the URL path; breaking changes ship under a new dated version.

The API version is a date in the path:

```text theme={"system"}
https://api.global.direct.reap.global/2026-07-13/cards
```

The version selector at the top of the docs lists every supported version;
the newest is the default.

* **Breaking changes** (removed fields, changed types, changed error codes)
  ship under a new dated version. Your existing version keeps working.
* **Backwards-compatible changes** (new endpoints, new optional fields, new
  enum values) land on the current version and appear in the
  [Changelog](https://direct-api.reap.global/changelog.md). Parse responses leniently: ignore fields and enum
  values you don't know.

## Migrating to 2026-11-05

Activities and Treasury transaction queries use field-qualified date ranges:

```text theme={"system"}
createdAt[gte]=2026-10-01&createdAt[lt]=2026-11-01
```

The lower bound includes its instant; the upper bound excludes it. This example
includes the whole of October in UTC and replaces
`from=2026-10-01&to=2026-10-31`. Calendar dates mean midnight UTC. Timestamps
must include `Z` or a timezone offset. Supply either bound alone, or supply a
lower bound strictly before the upper bound.

The new version rejects `from`, `to`, unknown query parameters, unsupported
operators, empty CSV entries and repeated status or sort parameters. Status
values and their casing remain specific to each resource.

Use `sort=createdAt:desc` to request newest first. Omitted direction means
`asc`; omitting `sort` preserves each endpoint's default order. Cards support
`id`, `createdAt` and `updatedAt`; activities support `id` and `createdAt`.
Both add an ID tie-breaker to timestamp sorts in the same direction.
Treasury supports `createdAt`, `updatedAt` and `finalizedAt`, with no guaranteed
ID tie-breaker. Treasury supports date filtering on `createdAt` only.

The `2026-07-13` release retains its original query behavior and remains supported.

## Version lifecycle

When a new version ships, the previous one moves through two stages:

* **Deprecated**: still routable and fully supported for at least 12 months
  after its successor ships. Responses carry deprecation and sunset date
  headers so you can plan the move.
* **Retired**: the version returns `410 Gone`.

An unknown version returns `404` listing the supported versions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.