Files:

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

object'list' | 'fine_tuning.job' | 'file' | 'fine_tuning.job.event' | 'fine_tuning.job.checkpoint' | 'model' | 'upload' | 'upload.part' | 'batch' | 'wandb'

Defines the type of an object.

Changes

Changed in 3 of the 26 revisions of this API.243

  • 2022-03-01-previewb177dc430e392See the full diff
    • added the media type application/json for the response with the status 200

      response-media-type-added

    • added the media type application/json for the response with the status default

      response-media-type-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 2022-03-01-preview62a50a8e26791See the full diff
    • added the new optional query request parameter purpose

      new-optional-request-parameter

  • 2022-03-01-preview9d525b5caa3124See the full diff
    • removed the media type application/json for the response with the status 200

      response-media-type-removed

    • removed the media type application/json for the response with the status default

      response-media-type-removed

    • deleted the query request parameter after

      request-parameter-removed

    • deleted the query request parameter limit

      request-parameter-removed

    • deleted the query request parameter order

      request-parameter-removed

    • deleted the query request parameter purpose

      request-parameter-removed

    This revision also has 149 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog