Get Workflow Yaml Presigned Url

Get a presigned URL to upload workflow YAML directly to S3 from the browser. This avoids sending the YAML content through the backend, reducing latency and avoiding KMS permission issues in local development.

Authentication

X-Browser-Use-API-Keystring
API Key authentication via header

Path Parameters

workflow_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
sizeBytesintegerRequired1-5242880
Size of the YAML file in bytes
fileNamestringOptionalDefaults to workflow.yaml
The name of the YAML file to upload

Response

Successful Response
urlstring
The URL to upload the YAML file to
method"POST"
The HTTP method to use for the upload
fieldsmap from strings to strings
The form fields to include in the upload request
s3Keystring
The S3 key where the file will be stored
expiresIninteger
Number of seconds until the presigned URL expires

Errors