# List artifact metadata

GET

/v1/artifacts

```sh
curl --request GET \
  --url 'https://example.com/v1/artifacts?limit=25' \
  --header 'Authorization: Bearer <token>'
```

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.

## Authorizations

- **[bearerAuth](https://docs.kindgi.com/v0.1.8/reference/api.md#bearerauth)**

## Parameters

### Query Parameters

**limit**

integer

default: 25 >= 1 <= 100

1..100. Default 25.

**cursor**

string

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.

**ownerRunId**

string format: uuid

Filter to blobs produced by this RunId.

**contentType**

string

Filter by exact content-type match.

**projectId**

string

Filter to the artifacts of one project.

## Responses

### 200

Page of blob metadata.

application/json

object

**data**

required

Array\<object>

object

**blobId**

required

ArtifactId — opaque branded string (a UUID).

string

**tenantId**

required

string format: uuid

**name**

required

Caller-supplied filename or logical name.

string

**contentType**

required

MIME type as declared by the uploader. Framework does NOT sniff content-type server-side.

string

**size**

required

Byte length of the persisted body.

integer

**hash**

required

Sha256 of the body, hex-encoded, lowercase (64 chars).

string

/^\[0-9a-f]{64}$/

**tags**

required

Free-form caller-supplied labels. Filterable on list via `?tag.<key>=<value>`.

object

**_key_**

additional properties

string

**ownerRunId**

Optional back-ref to the RunId that produced this blob.

string format: uuid

**projectId**

The project the artifact belongs to: its owner run’s, else the upload’s `projectId`, else the tenant’s default project. Reading it needs `read` there; deleting it, `write`. Absent on blobs stored before projects were recorded.

string

**createdBy**

Who uploaded it: `user:<id>` or `service_account:<id>`.

string

**createdAt**

required

string format: date-time

**nextCursor**

string

**hasMore**

required

boolean

##### Examplegenerated

```json
{
  "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"
    }
  ],
  "nextCursor": "example",
  "hasMore": true
}
```

### 400

Malformed query parameter (e.g. empty `tag.` key).

application/json

object

**error**

required

object

**code**

required

Stable machine-readable discriminant. Values match domain error codes (see `docs/API-ROUTE-CONVENTIONS.md` §4.3).

string

**message**

required

string

**details**

Optional, kind-specific.

object

**_key_**

additional properties

any

**requestId**

required

Server-assigned request id; also echoed via `X-Request-Id` header.

string

##### Examplegenerated

```json
{
  "error": {
    "code": "example",
    "message": "example",
    "details": {},
    "requestId": "example"
  }
}
```

### 401

Missing / malformed / expired / revoked bearer token.

application/json

object

**error**

required

object

**code**

required

Stable machine-readable discriminant. Values match domain error codes (see `docs/API-ROUTE-CONVENTIONS.md` §4.3).

string

**message**

required

string

**details**

Optional, kind-specific.

object

**_key_**

additional properties

any

**requestId**

required

Server-assigned request id; also echoed via `X-Request-Id` header.

string

##### Examplegenerated

```json
{
  "error": {
    "code": "example",
    "message": "example",
    "details": {},
    "requestId": "example"
  }
}
```

## See also

- [`POST /v1/artifacts`: Upload an artifact](https://docs.kindgi.com/v0.1.8/reference/api/operations/artifactsupload.md)
- [Every error code](https://docs.kindgi.com/v0.1.8/reference/errors.md)
