Skip to content

Fix the artifact archive method and document the quality route - #404

Merged
abhishekgahlot2 merged 1 commit into
useagenthq:mainfrom
coolestnick:fix/artifact-archive-docs
Nov 2, 2026
Merged

abhishekgahlot2 merged 1 commit into
useagenthq:mainfrom
coolestnick:fix/artifact-archive-docs

Conversation

@coolestnick

@coolestnick coolestnick commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Closes #225

What changed

  • The Artifacts product page said POST for the run archive. It now says GET, matching the route and the API page.
  • GET /api/artifacts/:id/quality now has a row in the Artifacts API table, with both responses and the 404.

Testing

Checked against a local backend:

Check Result
GET archive route 200, application/zip
POST archive route 404
Quality route, verified status and receipt, with the 11 fields the row lists
Quality route, unknown artifact 404 {"error":"not found"}
  • Quality route, no receipt: covered by backend/test/artifact-quality.test.ts (3 pass, 0 fail)
  • bun run doctor and bun run build in docs-site (Node 24): pass
  • bun run typecheck and bun test scripts/agent-docs.test.ts: pass

Screenshots

Product page: archive row

The row said POST. It now says GET.

Before After
before-product-archive-row after-product-archive-row

API page: quality route

The table had no quality row. It now has one.

Before: full table, no quality row After: new quality row
before-api-table after-api-quality-row

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

The Artifacts product page said POST for the run archive, but the route
is a GET and POST returns 404. GET /api/artifacts/:id/quality was not
documented anywhere, so add it to the Artifacts API table with both
responses and its 404.
@abhishekgahlot2
abhishekgahlot2 merged commit d4d1a71 into useagenthq:main Nov 2, 2026
2 checks passed
@abhishekgahlot2

Copy link
Copy Markdown
Contributor

Merged, thanks @coolestnick!

@github-actions github-actions Bot locked and limited conversation to collaborators Nov 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix the artifact archive method and document the quality route

2 participants