Skip to content

docs(api): reportAvailability on GET /v1/agent-runs/{id} - #1714

Closed
nc9 wants to merge 1 commit into
mainfrom
docs/openapi-report-availability-3879
Closed

nc9 wants to merge 1 commit into
mainfrom
docs/openapi-report-availability-3879

Conversation

@nc9

@nc9 nc9 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Public half of squirrelscan/repo#3879 (private PR repo#3890 follows it: gitlink bump plus make sync-openapi). This must merge first.

docs/openapi.json is the source. It adds an additive reportAvailability to the GET /v1/agent-runs/{id} response, applied from the patch the private lane produced (ops/scratch/priv-3742-public-docs/3879/openapi.patch, unchanged):

  • ready: a report is stored for the run. It is NOT verified readable. A failed run that wrote a failure notice has one.
  • pending: the run is still going, or it completed and its report is being finalized.
  • none: the run failed or was cancelled without writing a report, and none will come.

docs/api/index.mdx says the same next to the polling instructions, so a client stops guessing from a missing report.

No CHANGELOG bullet: an API field of the hosted service, not a CLI release note (the changelog guard only checks released sections). docs/openapi.json stays valid JSON and make validate passes. No em-dashes.

Agent skill: no change needed. The skill does not describe the run response; an agent that reads the field gets the same facts from the API reference.

@nc9

nc9 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

All commits of this draft are on main (landed in the v0.0.175 bundle). Closing the draft.

@nc9 nc9 closed this Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant