Introduction
Changes and stability
The API only grows. A breaking change would come as a new versioned path.
Code you write against the Orion API today keeps working. After launch, the API and the MCP server change only by adding things.
What can be added
These changes can arrive at any time:
- New operations, at new paths.
- New optional fields in a request.
- New fields in a response.
Write your code so that additions do not break it:
- Ignore response fields you do not know. Every response may carry fields that the reference does not list.
- Do not rely on the order of fields in an object.
- Branch on
error.code, not onerror.message. Messages are for people and can be reworded. See Errors.
What counts as breaking
Orion will not make these changes to an existing /v1 path:
- Remove an operation or a field.
- Rename an operation or a field.
- Change a field's type or meaning.
- Make an optional request field required.
- Change an error code.
Versioned paths
Every path starts with /v1. If a breaking change is ever needed, it comes as a new path under /v2. On the MCP server it comes as a new tool name. The /v1 paths keep working, so you can move when you are ready.
New additions are listed in the changelog.