Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex AI Studio
  • About Yandex AI Studio
  • Getting started with Model Gallery
  • Yandex Workflows
  • Switching from the AI Assistant API to Responses API
  • Compatibility with OpenAI
    • Overview
    • API authentication
        • Overview
        • listFiles
        • createFile
        • deleteFile
        • retrieveFile
        • downloadFile
  • Quotas and limits
  • Pricing policy
  • Access management
  • Audit Trails events
  • Public materials
  • Release notes
  • Terms and definitions

In this article:

  • HTTP request
  • Query parameters
  • Response
  1. API references
  2. OpenAI-compatible APIs
  3. Files
  4. listFiles

REST: List files

Written by
Yandex Cloud
Updated at December 24, 2025
  • HTTP request
  • Query parameters
  • Response

Returns a list of files.

HTTP requestHTTP request

GET https://ai.api.cloud.yandex.net/v1/files

Query parametersQuery parameters

Field

Description

purpose

string

Only return files with the given purpose.

limit

integer

A limit on the number of objects to be returned. Limit can range between 1 and 10,000, and the default is 10,000.

order

enum

Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.

  • asc
  • desc

after

string

A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.

ResponseResponse

HTTP Code: 200

OK

Response schema: application/json

{
  "object": "string",
  "data": [
    {
      "id": "string",
      "bytes": "integer",
      "created_at": "integer",
      "expires_at": "integer",
      "filename": "string",
      "object": "string",
      "purpose": "string",
      "status": "string",
      "status_details": "string"
    }
  ],
  "first_id": "string",
  "last_id": "string",
  "has_more": "boolean"
}

Field

Description

object

string

Required field.

data[]

unknown

Required field. The File object represents a document that has been uploaded to Yandex Cloud AI Studio.

first_id

string

Required field.

last_id

string

Required field.

has_more

boolean

Required field.

Was the article helpful?

Previous
Overview
Next
createFile
© 2026 Direct Cursus Technology L.L.C.