Skip to main content
GET
Query cached media for a connection

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

Headers

x-connection-id
string
required

Connection ID whose Vault+ cache should be read or modified.

Minimum string length: 1
Example:

"conn_v5bsqkzsjfk8cgr7hqbbw09t"

Query Parameters

status
enum<string>

Filter by variant cache status.

Available options:
edge_only,
pending,
storing,
stored,
removed
type
enum<string>

Filter by media type.

Available options:
image,
video,
audio
contentType
string

Filter by exact cached variant MIME type.

Example:

"image/jpeg"

durationMin
number | null

Minimum media duration in seconds.

Example:

10

durationMax
number | null

Maximum media duration in seconds.

Example:

120

createdAtFrom
string

Include media first observed at or after this ISO 8601 date/time.

Example:

"2026-06-01T00:00:00.000Z"

createdAtTo
string

Include media first observed at or before this ISO 8601 date/time.

Example:

"2026-06-07T23:59:59.999Z"

cachedAtFrom
string

Include media stored at or after this ISO 8601 date/time.

Example:

"2026-06-01T00:00:00.000Z"

cachedAtTo
string

Include media stored at or before this ISO 8601 date/time.

Example:

"2026-06-07T23:59:59.999Z"

limit
number

Maximum number of items to return. Defaults to 100.

Required range: 1 <= x <= 100
Example:

25

cursor
string

Pagination cursor from the previous response.

Example:

"100"

sort
enum<string>

Sort order for scanned media queries. Direct cursor pagination is used when sort and date/duration filters are omitted.

Available options:
createdAt_desc,
createdAt_asc,
cachedAt_desc,
cachedAt_asc,
duration_desc,
duration_asc

Response

Matching cached media items with variants grouped by raw OnlyFans media ID.

Paginated Vault+ media query response.

items
object[]
required

Matching cached media items.

nextCursor
string

Cursor for the next page. Omitted when there are no more results.

Example:

"100"