add proper response to upload files endpoint (#4317)

This commit is contained in:
Marc Kelechava
2025-12-17 13:27:04 -08:00
committed by GitHub
parent 5d2bb07371
commit ed0b0e4d17
2 changed files with 9 additions and 6 deletions

View File

@@ -542,6 +542,11 @@ class ScriptRunResponse(BaseModel):
ai_fallback_triggered: bool = False
class UploadFileResponse(BaseModel):
s3_uri: str = Field(description="S3 URI where the file was uploaded")
presigned_url: str = Field(description="Presigned URL to access the uploaded file")
class BaseRunResponse(BaseModel):
run_id: str = Field(
description="Unique identifier for this run. Run ID starts with `tsk_` for task runs and `wr_` for workflow runs.",