FS

Upload a binary task file attachment

Changed on

Accepts a raw binary request body. Pass the display/path name as the name query parameter. An audio/* file uploaded to a draft task gets a [File: …] line and its transcript (or why there is none) appended to the task text before the response; a failed transcription never fails the upload.

post/api/fs/tasks/{taskId}/files

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/fs/tasks/{taskId}/files
  • Auth
    HTTP bearer

Path parameters

taskIdstring uuid required

Query parameters

namestring required
intentstring
descriptionstring
isPrimary'true' | 'false'

Response

Uploaded task attachment

idstring uuid required
taskIdstring uuid required
agentIdstring nullable required
namestring required
kind'agent-fs' | 'url' | 'shared-fs' | 'page' required
urlstring
pathstring
pageIdstring
providerIdstring
providerKeystring
capabilitiesobject
orgIdstring
driveIdstring
mimeTypestring
sizeBytesinteger
sha256string
intentstring
descriptionstring
isPrimaryboolean
createdAtstring date-time required
createdBystring
updatedBystring

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      endpoint added