Files

Create a file node (before uploading)

post/client/files/nodes

Request

  • Base URL: https://api.atako.ai
  • URL: https://api.atako.ai/client/files/nodes
  • Auth: HTTP bearer

Request body

namestring required
parentIdstring uuid
agentTagstring uuid
fileSizeinteger

Size of the file about to be uploaded, in bytes. When sent, a file above the drive limit (50 MiB) is refused with 413 before any node is created.

Response

idstring uuid required
clientIdstring uuid required
parentIdstring uuid nullable
type'folder' | 'file' required
namestring required
storagePathstring nullable
mimeTypestring nullable
fileSizeinteger nullable
agentTagstring uuid nullable
uploadSource'client' | 'agent' nullable
createdAtstring date-time required
updatedAtstring date-time

Changes

No recorded changes to this operation across all 2 revisions of this API.