Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Foundation Models
    • Overview
    • API authentication
        • Overview
          • Overview
          • Describe
          • Validate
          • Create
          • Update
          • Delete
          • List
          • ListUploadFormats
          • ListUploadSchemas
          • GetUploadDraftUrl
          • GetDownloadUrls
          • StartMultipartUploadDraft
          • FinishMultipartUploadDraft
          • ListTypes
          • GetPreview
          • ListOperationsIds
  • Yandex Cloud ML SDK
  • Compatibility with OpenAI
  • Access management
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • gRPC request
  • GetUploadDraftUrlRequest
  • GetUploadDraftUrlResponse
  1. API references
  2. Dataset API
  3. gRPC
  4. Dataset
  5. GetUploadDraftUrl

Foundation Models Dataset Service API, gRPC: DatasetService.GetUploadDraftUrl

Written by
Yandex Cloud
Updated at December 9, 2024
  • gRPC request
  • GetUploadDraftUrlRequest
  • GetUploadDraftUrlResponse

Returns an S3 presigned URL for dataset upload.
This method only applicable if the dataset size does not exceed 5GB.

gRPC requestgRPC request

rpc GetUploadDraftUrl (GetUploadDraftUrlRequest) returns (GetUploadDraftUrlResponse)

GetUploadDraftUrlRequestGetUploadDraftUrlRequest

{
  "dataset_id": "string",
  "size_bytes": "int64"
}

Field

Description

dataset_id

string

Required field. ID of the dataset to upload.

size_bytes

int64

Size in bytes of the dataset to upload.

GetUploadDraftUrlResponseGetUploadDraftUrlResponse

{
  "dataset_id": "string",
  "upload_url": "string"
}

Field

Description

dataset_id

string

ID of the dataset.

upload_url

string

S3 presigned URL for upload.

Was the article helpful?

Previous
ListUploadSchemas
Next
GetDownloadUrls
Yandex project
© 2025 Yandex.Cloud LLC