createUploadUrl
An address to upload one file to, and the key to name it by afterwards. Send the bytes to uploadUrl with an HTTP PUT and the same content type, then pass key to the mutation the file is for. Every key is made under the caller's own workspace (a prospect's video under a platform prefix instead), whatever is sent. Nothing is stored until the file is sent: a repeat makes another key, and an address never used leaves nothing behind. NOT_CONFIGURED when file storage is not set up, FORBIDDEN for a staff purpose asked by anyone else, and INVALID_INPUT for a file type the purpose does not take.
createUploadUrl(
input: CreateUploadUrlInput!
): CreateUploadUrlPayload!Arguments
createUploadUrl.input · CreateUploadUrlInput! non-null input
The file's name, type and purpose.
Type
CreateUploadUrlPayload object
Where to send the file, and what to call it afterwards.
createRecruitingTask
Assign a new task on a job. Each call creates a separate open task, even with the same title. A deadline records when the work is due.
deleteAgent
Delete an agent for good, with every run it made and every charge recorded for it. Workspace admins only. A hired agent must be terminated first (`AGENT_STILL_HIRED`). This cannot be undone. Deleting it a second time answers `NOT_FOUND`.