---
title: V2
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/typescript)

[Images](https://developers.cloudflare.com/api/typescript/resources/images)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# V2

##### [List images V2](https://developers.cloudflare.com/api/typescript/resources/images/subresources/v2/methods/list)

client.images.v2.list(V2ListParams { account\_id, continuation\_token, creator, 3 more } params, RequestOptionsoptions?): [V2ListResponse](https://developers.cloudflare.com/api/typescript/resources/images#%28resource%29%20images.v2%20%3E%20%28model%29%20v2%5Flist%5Fresponse%20%3E%20%28schema%29) { continuation\_token, images } 

GET/accounts/{account\_id}/images/v2

##### ModelsExpand Collapse 

V2ListResponse { continuation\_token, images } 

continuation\_token?: string | null

Continuation token to fetch next page. Passed as a query param when requesting List V2 api endpoint.

maxLength32

images?: Array<[Image](https://developers.cloudflare.com/api/typescript/resources/images#%28resource%29%20images.v1%20%3E%20%28model%29%20image%20%3E%20%28schema%29) { id, creator, filename, 4 more } \>

id?: string

Image unique identifier.

maxLength32

creator?: string | null

Can set the creator field with an internal user ID.

maxLength1024

filename?: string

Image file name.

maxLength255

meta?: unknown

User modifiable key-value store. Can be used for keeping references to another system of record for managing images. Metadata must not exceed 1024 bytes.

requireSignedURLs?: boolean

Indicates whether the image can be a accessed only using it’s UID. If set to true, a signed token needs to be generated with a signing key to view the image.

uploaded?: string

When the media item was uploaded.

formatdate-time

variants?: Array<string\>

Object specifying available variants for an image.

#### V2Direct Uploads

##### [Create authenticated direct upload URL V2](https://developers.cloudflare.com/api/typescript/resources/images/subresources/v2/subresources/direct%5Fuploads/methods/create)

client.images.v2.directUploads.create(DirectUploadCreateParams { account\_id, id, creator, 3 more } params, RequestOptionsoptions?): [DirectUploadCreateResponse](https://developers.cloudflare.com/api/typescript/resources/images#%28resource%29%20images.v2.direct%5Fuploads%20%3E%20%28model%29%20direct%5Fupload%5Fcreate%5Fresponse%20%3E%20%28schema%29) { id, uploadURL } 

POST/accounts/{account\_id}/images/v2/direct\_upload

##### ModelsExpand Collapse 

DirectUploadCreateResponse { id, uploadURL } 

id?: string

Image unique identifier.

maxLength32

uploadURL?: string

The URL the unauthenticated upload can be performed to using a single HTTP POST (multipart/form-data) request.