---
title: "List assets"
method: GET
path: "/v1/assets"
tags: ["Assets and Media Delivery"]
---

# List assets

`GET /v1/assets`

## Request

- Base URL: `https://getsocialclaw.com`
- URL: `https://getsocialclaw.com/v1/assets`
- Auth: HTTP bearer

Lists uploaded media in the workspace, newest first. Each asset includes a publicUrl reusable as media_link.

## Query parameters

- `query` string
- `kind` string
- `mime` string
- `from` string, date-time
- `to` string, date-time
- `sort` string
- `limit` integer

## Response `200`

Successful response.

- AssetsResponse: Asset list response.
  - `ok` unknown, required
  - `total` integer: Total matching assets.
  - `limit` integer: Page limit.
  - `offset` integer: Page offset.
  - `assets` Asset[], required: Assets.
    - `id` string, required: Asset id.
    - `tenantId` string, nullable: Workspace id.
    - `storage` string, nullable: Storage driver.
    - `objectKey` string, nullable: Internal object key.
    - `originalFilename` string, nullable: Original file name.
    - `mime` string, required: MIME type.
    - `kind` 'image' | 'video' | 'audio' | 'other', required
    - `size` integer: Size in bytes.
    - `status` string, nullable: ready, uploading, draft, pending_delete, or provider-specific state.
    - `publicUrl` string, uri, nullable: Public delivery URL.
    - `preview` object, nullable: Thumbnail, poster, or preview URLs.
    - `createdAt` string, date-time, nullable: Creation time.

## Other responses

- `400`: Invalid request.
- `401`: Missing, invalid, or unauthorized credentials.
- `404`: Requested resource was not found.
- `422`: Request body or semantic validation failed.

---

[API](https://skmtc.dev/getsocialclaw/apis/socialclaw-api.md) · [All operations](https://skmtc.dev/getsocialclaw/apis/socialclaw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getsocialclaw/apis/socialclaw-api/revisions/a11a6a5b9bc6?raw)
