List artifact metadata
const url = 'https://example.com/v1/artifacts?limit=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/v1/artifacts?limit=25' \ --header 'Authorization: Bearer <token>'Use files.list. Removed in 0.9.0.
Cursor-paginated. Metadata rows only (no bytes). Filters: ?ownerRunId=, ?projectId=, ?contentType=, ?tag.<key>=<value> (repeatable — every provided tag must match as AND). Sort order is binding-defined (typically createdAt desc, blobId desc). With authorization on, only artifacts in projects the caller can read are listed; with ?ownerRunId= of a run of the caller’s own (one that acts for them), run on the project is enough too.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”1..100. Default 25.
Where the previous page ended: its nextCursor, as it came. A runtime that seals cursors takes one only for the same list, filters and caller, within a day; otherwise 400 bad-input, and the list starts again without it. Absent → first page.
Filter to blobs produced by this RunId.
Filter by exact content-type match.
Filter to the artifacts of one project.
Responses
Section titled “Responses”Page of blob metadata.
object
object
ArtifactId — opaque branded string (a UUID).
Caller-supplied filename or logical name.
MIME type as declared by the uploader. Framework does NOT sniff content-type server-side.
Byte length of the persisted body.
Sha256 of the body, hex-encoded, lowercase (64 chars).
Free-form caller-supplied labels. Filterable on list via ?tag.<key>=<value>.
object
Optional back-ref to the RunId that produced this blob.
The project the artifact belongs to: its owner run’s, else the upload’s projectId, else the workspace’s default project. Reading it needs read there; deleting it, write. Absent on blobs stored before projects were recorded.
Who uploaded it: user:<id> or service_account:<id>.
When this upload for a run is deleted if no run that names it in its input has started by then. Present only on a forRun upload whose run hasn’t started; once one starts, it’s gone, and the file stays until it’s deleted.
The bucket of the blob’s S3-compatible address (/s3/{bucket}/{key}). Present, with key, when the server’s storage gives the blob one: an object put through /s3 has the bucket and key it was put under, and an upload through POST /v1/artifacts conventionally has bucket artifacts and its blobId as the key.
The key of the blob’s S3-compatible address (/s3/{bucket}/{key}). Present, with bucket, when the server’s storage gives the blob one.
The file these bytes are a version of, on a runtime that keeps file versions (/v1/files). A blob stored before it kept them is version 1 of a file with its own id.
Which version of fileId these bytes are. Set with fileId. Bytes two versions share name the lowest: the one that stored them.
Examplegenerated
{ "data": [ { "blobId": "example", "tenantId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "contentType": "example", "size": 1, "hash": "example", "tags": { "additionalProperty": "example" }, "ownerRunId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "projectId": "example", "createdBy": "example", "createdAt": "2026-04-15T12:00:00Z", "expiresAt": "2026-04-15T12:00:00Z", "bucket": "example", "key": "example", "fileId": "example", "version": 1 } ], "nextCursor": "example", "hasMore": true}Malformed query parameter (e.g. empty tag. key).
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Missing / malformed / expired / revoked bearer token.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}rate-limit-exceeded with details.limit: "api-requests", on a runtime that sets workspace limits (Kindgi Cloud): this workspace’s limit on API requests a minute is reached, so the request wasn’t run; Retry-After says when to send it again.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Headers
Section titled “Headers”Whole seconds to wait before sending the request again, at least 1. Sent with the codes the answer names as sending it, so it may be absent.
The database was too busy to answer in time (database-busy), or the authorization store couldn’t be reached (authz-backend-unavailable); Retry-After (whole seconds) says when to try again.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Headers
Section titled “Headers”Whole seconds to wait before sending the request again, at least 1. Sent with the codes the answer names as sending it, so it may be absent.