Skip to content

Media

List, get, upload, and delete media items in your workspace.

List media

GET /api/v1/media

Returns a paginated list of all media in your workspace.

Query parameters

ParamTypeDefaultDescription
pageint1Page number
per_pageint20Items per page (max 100)
creator_idstringFilter by creator ID
category_idstringFilter by category ID
statusstringFilter: pending, indexing, complete, error
typestringFilter: video, image

Example

bash
curl -H "Authorization: Bearer findclix_..." \
  "https://findclix.com/api/v1/media?page=1&per_page=5"

Response

json
{
  "success": true,
  "data": [
    {
      "id": "53aebcdc-...",
      "filename": "simple walk.MP4",
      "url": "https://assets.findclix.com/...",
      "thumbnail": "https://assets.findclix.com/thumb__....jpg",
      "type": "video",
      "status": "complete",
      "size": 2734894,
      "duration": 7,
      "width": 480,
      "height": 854,
      "category_ids": [],
      "creators": [],
      "notes": "Indexing complete",
      "created_at": "2026-07-07T15:09:50.978Z"
    }
  ],
  "meta": {
    "total": 9,
    "page": 1,
    "per_page": 5,
    "total_pages": 2,
    "has_more": true
  }
}

Interactive reference

List media items

GET
/media

Playground

Authorization
Variables
Key
Value

Samples


Get media

GET /api/v1/media/:id

Returns a single media item by ID.

Example

bash
curl -H "Authorization: Bearer findclix_..." \
  "https://findclix.com/api/v1/media/53aebcdc-beb1-4968-bd84-9c7d4a80334f"

Response

json
{
  "success": true,
  "data": {
    "id": "53aebcdc-...",
    "filename": "simple walk.MP4",
    "url": "https://assets.findclix.com/...",
    "type": "video",
    "status": "complete",
    "size": 2734894,
    "duration": 7,
    "created_at": "2026-07-07T15:09:50.978Z"
  }
}

Interactive reference

Get media item

GET
/media/{id}

Playground

Authorization
Variables
Key
Value

Samples


Upload media

POST /api/v1/media/upload
Content-Type: multipart/form-data

Upload a video or image file. The file is stored in R2 and automatically indexed for search.

Form fields

FieldTypeRequiredDescription
fileFileYesVideo or image file
creator_idsstringNoComma-separated creator IDs to associate
category_idsstringNoComma-separated category IDs to associate

Example

bash
curl -X POST -H "Authorization: Bearer findclix_..." \
  -F "file=@video.mp4" \
  -F "creator_ids=abc-123,def-456" \
  "https://findclix.com/api/v1/media/upload"

Response

json
{
  "success": true,
  "data": {
    "id": "987a0257-...",
    "url": "https://assets.findclix.com/..."
  }
}

INFO

After upload, the file is indexed asynchronously. The status field will transition from pendingindexingcomplete. Poll the media item or use the search API to check readiness.

Interactive reference

Upload and index media

POST
/media/upload

Playground

Authorization
Body

Samples


Delete media

DELETE /api/v1/media/:id

Permanently deletes a media item and its associated chunks from the database and R2 storage.

Example

bash
curl -X DELETE -H "Authorization: Bearer findclix_..." \
  "https://findclix.com/api/v1/media/53aebcdc-..."

Response

json
{
  "success": true,
  "data": {
    "id": "53aebcdc-...",
    "deleted": true
  }
}

WARNING

This action is irreversible. The media file, its thumbnails, and all vector embeddings are permanently removed.

Interactive reference

Delete media item

DELETE
/media/{id}

Playground

Authorization
Variables
Key
Value

Samples