Returns a paginated list of assets from your library. Includes user-uploaded assets and system assets (e.g. music library).

get/assets

Request

  • Base URL
    https://api.argil.ai/v1
  • Auth
    API key in header x-api-key

Query parameters

typestring[]

Filter by asset type. Can be specified multiple times (e.g. ?type=VIDEO&type=IMAGE). Omit to return all types.

status'PROCESSING' | 'READY' | 'FAILED'

Filter by processing status. Default: READY.

pageinteger

Page number

pageSizeinteger

Number of items per page

Response

An array of assets. Pagination metadata is in response headers.

idstring uuid
namestring nullable
type'AUDIO' | 'IMAGE' | 'VIDEO'
status'PROCESSING' | 'READY' | 'FAILED'

Processing status. Poll until READY before using as B-roll.

fileUrlstring nullable

URL to access the asset. Null while processing.

thumbnailUrlstring nullable

URL to a thumbnail image. Null while processing.

createdAtstring date-time

Changes

    • breaking

      the response's body type changed from object to array for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • breaking

      the response's body type changed from array to object for status

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter pageSize

    • info

      added the new optional query request parameter status

    • info

      added the new optional query request parameter type

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status