sttp.openai.requests.upload
Members list
Type members
Classlikes
Value parameters
- md5
-
The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect.
- partIds
-
The ordered list of Part IDs.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FileMetadata.type
Represents the response for an upload part.
Represents the response for an upload part.
Value parameters
- `object`
-
The object type, which is always upload.part.
- createdAt
-
The Unix timestamp (in seconds) for when the Part was created.
- id
-
The upload Part unique identifier, which can be referenced in API endpoints.
- uploadId
-
The ID of the Upload object that this Part was added to.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
UploadPartResponse.type
Represents the request body for uploading a file.
Represents the request body for uploading a file.
Value parameters
- bytes
-
The number of bytes in the file you are uploading.
- filename
-
The name of the file to upload.
- mimeType
-
The MIME type of the file. This must fall within the supported MIME types for your file purpose. See the supported MIME types for assistants and vision.
- purpose
-
The intended purpose of the uploaded file.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
UploadRequestBody.type
Represents the response for an upload request.
Represents the response for an upload request.
Value parameters
- `object`
-
The object type, which is always "upload".
- bytes
-
The intended number of bytes to be uploaded.
- createdAt
-
The Unix timestamp (in seconds) for when the Upload was created.
- expiresAt
-
The Unix timestamp (in seconds) for when the Upload will expire.
- file
-
The File object represents a document that has been uploaded to OpenAI.
- filename
-
The name of the file to be uploaded.
- id
-
The Upload unique identifier, which can be referenced in API endpoints.
- purpose
-
The intended purpose of the file. Please refer here for acceptable values.
- status
-
The status of the Upload.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
UploadResponse.type