Skip to navigation

Get ScratchFile by ID

Get a single ScratchFile by ID.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

scratch_file_idstringRequired
ID of the ScratchFile.

Query parameters

returninglist of stringsOptional

Comma-separated list of top-level fields to include in each returned item. Cannot overlap with omit.

omitlist of stringsOptional

Comma-separated list of top-level fields to omit from each returned item. Cannot overlap with returning.

Response

OK
__typenamestringOptional
createdAtstring or nullOptionalformat: "datetime"
creatorobjectOptional
downloadUrlstring or nullOptional
errorMessagestring or nullOptional
externalFileIdstring or nullOptional
fileobject or nullOptional
filenamestringOptional
idstringOptional
mimeTypestring or nullOptional
modifiedAtstring or nullOptionalformat: "datetime"
namestringOptional
originAutomationStepDataobject or nullOptional
The automation step data that produced this file.
sizeinteger or nullOptional
uploadStatusenumOptional
Allowed values:
uploadUrlstring or nullOptional
originPipelineStepDataobject or nullOptionalDeprecated
Use originAutomationStepData instead.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error