LogoLogo
SolutionsResourcesHelp Docs
  • Getting Started
    • Setup Guide
    • Authentication
    • Webhook
    • Oversight Mounting Buckets
    • Rate Limiting
    • Uploading Media Assets
  • CloudFactory Public API
    • API Reference
      • WorkStream Performance
        • Secure Upload
        • Throughput
        • Quality
      • Oversight
        • Upload Media
        • Submit Task
        • Task Status
    • Snowflake Secure Data Sharing
    • Fivetran and Amazon S3 Data Sharing
Powered by GitBook

Contact Us

  • Book a Meeting

Company

  • About Us
  • Partnerships
  • Compliance
  • Data Security
On this page

Was this helpful?

Export as PDF
  1. CloudFactory Public API
  2. API Reference
  3. WorkStream Performance

Secure Upload

API to be used by the clients to generate the presigned upload URL. Thus generated upload URL can then be used to send performance data to our platform.

PreviousWorkStream PerformanceNextThroughput

Last updated 12 months ago

Was this helpful?

Generate presigned upload URL for sending performance data

post

API to be used by the clients to generate the presigned upload URL. Thus generated upload URL can then be used to send performance data to our platform.

Path parameters
workstream_idstringRequired

CloudFactory platform WorkStream ID

Header parameters
x-api-keystringRequired

API key of the associated workstream, provided by CloudFactory

Example: loAwlMCCxv4TlpLWR8a2e6
Body
typestring ยท enumRequired

Type of the performance data that will be uploaded later

Example: throughputPossible values:
use_case_idstringOptional

ID of the use case with which the performance data is associated with. [Will be provided by CloudFactory]

Example: rr3d6802-0efa-46de-a73c-6c24f094dfcf
task_definition_idstringOptional

ID of the task definition with which the performance data is associated with. [Will be provided by CloudFactory]

Example: 032d6802-0efa-46de-a73c-6c24f094dfcf
Responses
200
Successful
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
422
Validation Error
application/json
500
Internal Server Error
application/json
post
POST /v1/workstreams/{workstream_id}/performance/generate-presigned-url HTTP/1.1
Host: api.cloudfactory.app
x-api-key: loAwlMCCxv4TlpLWR8a2e6
Content-Type: application/json
Accept: */*
Content-Length: 134

{
  "type": "throughput",
  "use_case_id": "rr3d6802-0efa-46de-a73c-6c24f094dfcf",
  "task_definition_id": "032d6802-0efa-46de-a73c-6c24f094dfcf"
}
{
  "expires_at": "2023-08-10T14:39:41Z",
  "file_name": "06b6780f-ab7a-40cd-9741-e2823c3e5d19-1691642381.csv",
  "url": "https://example.com"
}