> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polysimulator.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API stability

> What the /v1 API keeps stable, what may change without notice, and how breaking changes are announced.

# API stability

> [!NOTE]
>
> **Notice periods.** A breaking change to the stable surface is announced in
> the [API changelog](https://docs.polysimulator.com/changelog.md) at least **14 days** before it ships. The old
> behaviour stays available for at least **30 days** after its replacement
> ships.

This page covers the hosted API under `/v1` and the `polysimulator` Python SDK.

## What is stable

* Every documented `/v1/*` endpoint: its path, method and authentication.
* Every documented request field and response field: its name, type and meaning.
* Every documented error `code` (the JSON `error` field and the identical
  `X-Polysim-Code` header) and the HTTP status it comes with.

"Documented" means described in these docs or in the published
[OpenAPI spec](https://docs.polysimulator.com/api-reference/overview.md).

## What may change without notice

* Undocumented endpoints, fields, headers and error codes.
* Endpoints or fields behind a feature flag or marked **preview**.
* The order of fields in a JSON response.
* New response fields. Clients must ignore fields they do not know.
* New endpoints, new optional request fields and new error codes.
* Rate-limit and plan-limit numbers, per plan. Read the current values from
  `GET /v1/keys/tiers`.

## Breaking changes

A breaking change removes or renames something on the stable surface, changes
its type or meaning, or makes an optional request field required.

It is announced in the [API changelog](https://docs.polysimulator.com/changelog.md) before it ships, and the
old behaviour is kept after the replacement ships, for the periods stated at the
top of this page.

## Not a breaking change

These may improve at any time without notice. Expect changes here after
launch:

* **Simulation fidelity.** Fill prices, the matching and queue model, latency
  and taker-delay modelling, and fees, which follow Polymarket's published fee
  schedule. See [Execution contract](https://docs.polysimulator.com/concepts/execution-contract.md) and
  [Honest limits](https://docs.polysimulator.com/concepts/honest-limits.md) for the current model.
* **Market availability and lifecycle.** Markets are added, closed and
  resolved as they are on Polymarket, including market ids and slugs under
  Polymarket Protocol V2.
* **Rate-limit and plan-limit numbers.**
* Anything marked **preview**.
* **Bug fixes.** A fix that makes the API behave as these docs describe is not
  a breaking change, even if a client relied on the old, wrong behaviour.

## Versioning

A future incompatible API would ship under `/v2`. `/v1` stays served alongside
it for at least the notice period at the top of this page.

## Python SDK

The `polysimulator` package follows [semantic versioning](https://semver.org)
from 0.7.0. A minor version bump may change behaviour, as described in the
SDK's CHANGELOG.


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