[PR PREVIEW - DO NOT MERGE] 🌿 Fern Regeneration -- November 10, 2025#848
[PR PREVIEW - DO NOT MERGE] 🌿 Fern Regeneration -- November 10, 2025#848fern-api[bot] wants to merge 2 commits intomainfrom
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| // Either the Vellum-generated ID or the originally specified name that uniquely identifies the Document Index to which you'd like to add the Document. | ||
| id string, | ||
| // Either the Vellum-generated ID or the originally supplied external_id that uniquely identifies the Document you'd like to add. | ||
| documentId string, |
There was a problem hiding this comment.
Avoid swapping parameter order in AddDocument API
The signature of AddDocument now accepts id before documentId, whereas the previous release accepted the document ID first. Existing callers compiled against v1.10.0 will still compile against v1.10.1 but will send arguments in the old order, causing the generated path to treat a document ID as the index ID (and vice versa), which will hit the wrong resource or return 404s. The same swap occurs in other endpoints (RemoveDocument, WorkflowDeploymentEventExecution, etc.), making this a breaking change in a patch release unless all consumers adjust their call sites.
Useful? React with 👍 / 👎.
This PR regenerates code to match the latest API Definition.