Upload File To Source

POST
/v1/sources/:source_id/upload

Upload a file to a data source.

Path parameters

source_idstringRequired

Request

This endpoint expects a multipart form containing a file.
filefileRequired

Response

Successful Response

created_by_idstringOptional

The id of the user that made this object.

last_updated_by_idstringOptional

The id of the user that made this object.

created_atdatetimeOptional

The timestamp when the object was created.

updated_atdatetimeOptional

The timestamp when the object was last updated.

statusenumOptional
Allowed values: createdrunningcompletedfailedpending

The status of the job.

completed_atdatetimeOptional

The unix timestamp of when the job was completed.

metadatamap from strings to anyOptional

The metadata of the job.

job_typeenumOptional
Allowed values: jobrun

The type of the job.

idstringOptionalformat: "^(job|run)-[a-fA-F0-9]{8}"

The human-friendly ID of the Job

Errors

Built with