v27
latestOpenAPI 3.0.02026-07-1347144237.4 KBFiles:
Gets a list of all files owned by the Azure OpenAI resource. These include user uploaded content like files with purpose "fine-tune" for training or validation of fine-tunes models as well as files that are generated by the service such as "fine-tune-results" which contains various metrics for the corresponding fine-tune job.
get/files
Query parameters
purpose'fine-tune' | 'fine-tune-results' | 'assistants' | 'assistants_output' | 'batch' | 'batch_output' | 'evals' | 'evals_output'
Only return files with the given purpose.
limitinteger
A limit on the number of objects to be returned. Limit can range between 1 and 10,000, and the default is 10,000.
afterstring
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.
orderstring
Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.
api-versionstring required
The requested API version.
Response
Success