Uh oh!
There was an error while loading. Please reload this page.
Exa: point preset at live OpenAPI spec instead of stale GitHub master - #1721
Closed
kjhq wants to merge 1 commit into
Closed
Exa: point preset at live OpenAPI spec instead of stale GitHub master#1721kjhq wants to merge 1 commit into
kjhq wants to merge 1 commit into
Conversation
kjhq
commented
Aug 23, 2026
Author
Closing — testing locally before resubmitting. |
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 freeto 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.
Problem
Adding an Exa connection shows
Degradedon the connection health check:Root cause: the
exapreset inpackages/plugins/openapi/src/sdk/presets.tsfetches its spec from:
That repo was last synced 2026-04-03. Exa retired its
/researchendpoint inApril 2026 (see https://exa.ai/docs/changelog). The stale spec still declares
POST /research/v0/tasks,GET /research/v0/tasks, andGET /research/v0/tasks/{id}.research-tasks-listis the only cheapnon-mutating GET in that spec, so the health-check candidate ranking picks it
automatically → the probe hits the retired endpoint → connection reports
Degraded. The API key is valid;/searchworks fine.The staleness also exposes dead tools (
research-tasks-create,research-tasks-list) and misses newer API surface (Monitors, Agent,publicationcategory,deep-reasoning/deep-litesearch types).Fix
Exa hosts canonical, always-current spec files on their docs site:
("These links always point at the specs served by this docs deployment." —
https://exa.ai/docs/reference/openapi-spec)
Point the
exapreset at the live YAML:No other code references the exa spec URLs; no test fixtures snapshot them.
Why the live spec
/research/v0/tasks*(retired Apr 2026)research papercategorypublicationpdf,githubcategories (deprecated)deep-lite/agent/runs)GET /v0/teams/meSide benefit: with the live spec, health-check ranking can pick the cheap
GET /v0/teams/meinstead of a POST that would bill per probe.Notes:
livecrawl,numSentences,startCrawlDate,highlightScores,resolvedSearchType) still appear inthe live spec — Exa keeps them for compatibility and documents them as
ignored. A follow-up cleanup in
exa-labs/openapi-specwould be a separatePR.
exa-websetspreset keeps its GitHub URL: Exa's docs site only hosts thepublic + team-management specs, and the websets spec has no deprecated paths.
exa-labs/openapi-spechasn't been synced sinceApril (several sync PRs sit unmerged). We'd happily point at a maintained
GitHub source if Exa resumes syncing it.
Verification
bun install.bun run formatthenbun run format:check.bun run lintandbun run typecheck.bun run test(turbo, e2e excluded).curl -sI https://exa.ai/docs/exa-spec.yaml→ 200.healthy, no Degraded.research-*tools.All gates pass locally: format/lint/typecheck clean,
@executor-js/plugin-openapi283/283 tests pass. Unrelated failures observed locally were flaky
(
@executor-js/sdkoauth/platform-view pass on rerun;@executor-js/clisuites failing to load is a local
Cannot find package 'bun'resolutionquirk — the tests themselves pass).
Changeset
.changeset/exa-live-spec.md—@executor-js/plugin-openapipatch.