Repository navigation
[AGE-2886] Add list artifacts API - #1441
Open
rutvij-menavlikar wants to merge 12 commits into
Open
rutvij-menavlikar wants to merge 12 commits into
rutvij-menavlikar wants to merge 12 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
2 times, most recently
from
November 19, 2026 16:37
632aa80 to
8d04af4
Compare
rutvij-menavlikar
marked this pull request as draft
November 19, 2026 17:24
rutvij-menavlikar
marked this pull request as ready for review
November 20, 2026 07:20
heerambavi1998
approved these changes
Nov 20, 2026
| export const ArtifactSchema = z | ||
| .object({ | ||
| id: z.string(), | ||
| slug: z.string(), |
Contributor
There was a problem hiding this comment.
should we call this name since its unique in tenant, and that's the case for agent name, schedule name
Contributor
Author
There was a problem hiding this comment.
we can rename slug to key and we can either keep title or call it dispay_name
rutvij-menavlikar
force-pushed
the
rutvij/age-2882_2
branch
3 times, most recently
from
November 20, 2026 11:14
033d1b0 to
6186486
Compare
rutvij-menavlikar
force-pushed
the
rutvij/age-2882_2
branch
2 times, most recently
from
November 20, 2026 12:09
8de239e to
89f34d6
Compare
rutvij-menavlikar
force-pushed
the
rutvij/age-2886_2
branch
from
November 20, 2026 12:49
d769a13 to
f94f7be
Compare
rutvij-menavlikar
force-pushed
the
rutvij/age-2886_2
branch
3 times, most recently
from
November 20, 2026 14:55
184968f to
0db81f3
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0db81f3. Configure here.
rutvij-menavlikar
force-pushed
the
rutvij/age-2886_2
branch
from
November 20, 2026 15:02
0db81f3 to
fe35ebb
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
… created ranges Co-authored-by: Cursor <cursoragent@cursor.com>
… description Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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 21, 2026 08:48
ce344c4 to
414c33d
Compare
PR overviewNo security issues were found in this pull request. Reviews
|
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, most recently updated first), 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.src/routes/artifactRoutes.ts: route definition; Fern groupartifacts(list); newArtifactstag.src/apis/artifacts.ts: handler; filters by the caller;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).pnpm test(932 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 list endpoint following existing auth and pagination patterns; no changes to artifact write paths.
Reviewed by Cursor Bugbot for commit 414c33d. Bugbot is set up for automated code reviews on this repo. Configure here.