Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 4.35 KB

retrievefileout.md

File metadata and controls

34 lines (29 loc) · 4.35 KB

RetrieveFileOut

Example Usage

import { RetrieveFileOut } from "@mistralai/mistralai/models/components";

let value: RetrieveFileOut = {
  id: "497f6eca-6276-4993-bfeb-53cbbbba6f09",
  object: "file",
  bytes: 13000,
  createdAt: 1716963433,
  filename: "files_upload.jsonl",
  purpose: "fine-tune",
  sampleType: "pretrain",
  source: "repository",
  deleted: false,
};

Fields

Field Type Required Description Example
id string ✔️ The unique identifier of the file. 497f6eca-6276-4993-bfeb-53cbbbba6f09
object string ✔️ The object type, which is always "file". file
bytes number ✔️ The size of the file, in bytes. 13000
createdAt number ✔️ The UNIX timestamp (in seconds) of the event. 1716963433
filename string ✔️ The name of the uploaded file. files_upload.jsonl
purpose components.FilePurpose ✔️ N/A
sampleType components.SampleType ✔️ N/A
numLines number N/A
source components.Source ✔️ N/A
deleted boolean ✔️ N/A