Upload File
Upload a job artifact file.
Intended for use by jobs running in sandboxes. Accepts a multipart/form-data file upload, stores it in GCS, and returns the created file record. When a job_execution_id is provided, records provenance linking the file to that execution.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects a multipart form containing a file.
file
job_execution_id
Response
OK
file_id
The ID of the uploaded file.
file_name
The original file name.
size_kilobytes
File size in kilobytes.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error