RemoteFileService
CreateRemoteFile
Create a remote file.
POST
CreateRemoteFile
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The request for a call to RemoteFileService_CreateRemoteFile to create a remote file.
The request for a call to RemoteFileService_CreateRemoteFile to create a remote file.
- ENTITY_TYPE_CANVAS_CELL_EXECUTION_ATTACHMENT: UI evidence files attached to a cell execution on a canvas report.
- ENTITY_TYPE_CANVAS_CELL_EXECUTION_OUTPUT: Reserved for a future cell-output upload path (not used by the report attachment UI).
- ENTITY_TYPE_ARTIFACT_VERSION: Bytes of one artifact version (sift.artifacts.v1.ArtifactService); entity_id is the artifact_version_id.
- ENTITY_TYPE_CHAT_CONVERSATION: A file the user attached to an agent conversation (sift_internal.chat.v1.ChatService); entity_id is the conversation_id.
Available options:
ENTITY_TYPE_UNSPECIFIED, ENTITY_TYPE_RUN, ENTITY_TYPE_ANNOTATION, ENTITY_TYPE_ASSET, ENTITY_TYPE_ANNOTATION_LOG, ENTITY_TYPE_TEST_REPORT, ENTITY_TYPE_TEST_STEP, ENTITY_TYPE_CANVAS_VERSION, ENTITY_TYPE_CANVAS_CELL_EXECUTION_ATTACHMENT, ENTITY_TYPE_CANVAS_CELL_EXECUTION_OUTPUT, ENTITY_TYPE_ARTIFACT_VERSION, ENTITY_TYPE_CHAT_CONVERSATION This field is only required if your user belongs to multiple organizations.
A custom UUID used to generate the object key. Recommended to be left unset.
The metadata values associated with this remote file.
Response
A successful response.
The response for a call to RemoteFileService_CreateRemoteFile.