## List assets

**get** `/assets`

Returns assets visible to the authenticated public API key. Filter by workspace, project canvas, search query, cursor, and limit without exposing raw file bytes or internal graph data.

### Query Parameters

- `cursor: optional string`

  Opaque cursor for fetching the next page

- `limit: optional number`

  Maximum number of results to return

- `project_id: optional string`

  Project identifier

- `query: optional string`

  Search query

- `workspace_id: optional string`

  Workspace identifier

### Returns

- `assets: array of object { asset_id, content_type, created_at, 12 more }`

  - `asset_id: string`

    Asset identifier

  - `content_type: string`

    Asset content type

  - `created_at: number`

  - `description: string`

    Asset description

  - `height: number`

  - `name: string`

    Asset name

  - `size_bytes: number`

  - `status: "pending_upload" or "ready" or "failed"`

    - `"pending_upload"`

    - `"ready"`

    - `"failed"`

  - `upload_content_type: string`

    Content type provided at upload time

  - `uploaded_via: string`

    Asset source

  - `url: string`

    Asset URL

  - `width: number`

  - `workspace_id: string`

    Workspace identifier

  - `node_id: optional string`

    Associated node identifier

  - `project_id: optional string`

    Project identifier

- `meta: object { next_cursor, total_estimate }`

  - `next_cursor: string`

    Opaque cursor for fetching the next page

  - `total_estimate: optional number`

    Estimated total matching items

### Example

```http
curl https://app.flora.ai/api/v1/assets \
    -H "Authorization: Bearer $FLORA_API_KEY"
```

#### Response

```json
{
  "assets": [
    {
      "asset_id": "asset_abc123",
      "content_type": "content_type",
      "created_at": 0,
      "description": "description",
      "height": 0,
      "name": "name",
      "size_bytes": 0,
      "status": "pending_upload",
      "upload_content_type": "upload_content_type",
      "uploaded_via": "uploaded_via",
      "url": "url",
      "width": 0,
      "workspace_id": "ws_abc123",
      "node_id": "node_abc123",
      "project_id": "prj_abc123"
    }
  ],
  "meta": {
    "next_cursor": "eyJvZmZzZXQiOjIwfQ",
    "total_estimate": 0
  }
}
```
