Repository navigation
feat(search): add typed sync and async resource search - #31
Merged
Merged
Conversation
This was referenced Oct 27, 2026
Merged
14 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add typed resource Search APIs for Forward Environments, Skills, Vaults and Files, plus Managed Agents, Sessions, Deployments, Environments, Skills, Vaults, Files and Memory Stores. Search adds the required beta header, sends filters and opaque pagination cursors in the POST JSON body, and keeps Forward
identity_idexclusively in the query.Include public parameter types, manual/automatic pagination, contract and opt-in live tests, generated API documentation, README examples and Unreleased notes.
Why
The current SDK exposes List APIs but cannot express the official Search contract through typed resource methods. Existing GET/query pagination cannot safely replay Search body cursors. The new path preserves filters and request options across pages without changing List pagination.
Contracts checked on 2026-10-27: Forward Search, Managed Session Search.
Verification
uv run make lintuv run make typecheckuv run make testuv run make docs-check--helpsmoke checksCommands and results:
Impact
CHANGELOG.mdunderUnreleased, or not applicable (explain below).env.live, logs, or generated test output committedAdditional context:
Live validation used existing PAT test accounts and only read-only Search requests. Ten resource types in each region returned non-empty pages and exercised the next-page request. Forward Files and Managed Deployments returned empty pages; their item decoding is covered by offline contracts. Explicit Identity scope and other documented filters are covered by offline wire tests; SAT scope was not exercised live. No resources were created or model requests executed.
Go, Python and TypeScript implement the same 12 endpoints; Python covers both sync and async clients. Internal integration and QA-package verification will follow after the source is merged into GitHub main. This PR does not change the package version or publish a release.
Companion PRs: go #30, ts #33.