Repository navigation
[AGE-2886] Add list and get artifact APIs - #1441
Draft
rutvij-menavlikar wants to merge 2 commits into
Draft
rutvij-menavlikar wants to merge 2 commits into
rutvij-menavlikar wants to merge 2 commits into
Conversation
rutvij-menavlikar
requested review from
chiragjn,
debajyoti-truefoundry,
heerambavi1998 and
thesujai
as code owners
November 19, 2026 15:21
rutvij-menavlikar
force-pushed
the
rutvij/age-2886_2
branch
from
November 19, 2026 15:49
5d32878 to
fac3b71
Compare
rutvij-menavlikar
force-pushed
the
rutvij/age-2882_1
branch
from
November 19, 2026 15:56
9e9efaa to
b3e76a2
Compare
rutvij-menavlikar
force-pushed
the
rutvij/age-2886_2
branch
from
November 19, 2026 15:56
fac3b71 to
529437c
Compare
rutvij-menavlikar
changed the base branch from
rutvij/age-2882_1
to
rutvij/age-2882_2
November 19, 2026 15:57
rutvij-menavlikar
force-pushed
the
rutvij/age-2882_2
branch
from
November 19, 2026 16:36
fbfe74f to
c5a3c83
Compare
rutvij-menavlikar
force-pushed
the
rutvij/age-2886_2
branch
from
November 19, 2026 16:36
529437c to
632aa80
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
rutvij-menavlikar
force-pushed
the
rutvij/age-2886_2
branch
from
November 19, 2026 16:37
632aa80 to
8d04af4
Compare
rutvij-menavlikar
marked this pull request as draft
November 19, 2026 17:24
This branch has not been deployed
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
Stacked on #1442. Adds
GET /api/v1/artifacts(paginated, newest first) andGET /api/v1/artifacts/{slug}, authenticated and limited to artifacts the caller created, and wires the artifact store into the server.Linear: AGE-2886
Changes
src/schemas/artifact.ts:Artifact,ListArtifactsRequestQuery,ListArtifactsResponse,GetArtifactResponse.src/routes/artifactRoutes.ts: route definitions; Fern groupartifacts(list,get); newArtifactstag.src/apis/artifacts.ts: handlers; list filters by the caller; get returns 404 for another user's artifact (no slug leak);tenant_idis not exposed on the wire.app.ts/main.ts/scripts/write-openapi.ts:artifactStoredependency for SQLite and Postgres..changeset/artifact-apis.mdupdated.How was this tested?
tests/unit/apis/artifacts.test.ts(list, pagination, other user excluded, bad token, get, 404 for missing and not-mine).pnpm test(935 passed),pnpm typecheck, eslint, prettier.pnpm openapi:writebuilds both paths (generated files not committed).Checklist
pnpm test,pnpm typecheckpass locallyMade with Cursor
Note
Low Risk
Read-only, caller-scoped endpoints following existing list/get patterns; main consideration is correct subject filtering on get/list.
Reviewed by Cursor Bugbot for commit 8d04af4. Bugbot is set up for automated code reviews on this repo. Configure here.