Deployments.ai Docs
Command reference

deployments brain-upload

Controlled Brain content uploads

CommandSummary
deployments brain-upload createIssue a Brain upload ticket
deployments brain-upload showShow a Brain upload ticket
deployments brain-upload contentUpload exact Brain ticket content
deployments brain-upload completeComplete a ticket whose content was stored through its direct upload

deployments brain-upload create

Issue a Brain upload ticket.

deployments brain-upload create <brain> <source> --expected-byte-size <number> --expected-content-hash <expected-content-hash> --media-type <media-type>
FlagTypeRequiredDefaultDescription
<brain>positionalyesBrain ID
<source>positionalyesBrain source ID
--expected-byte-sizestring (number)yesExact upload byte size
--expected-content-hashstringyessha256: content hash
--media-typestringyesContent media type

Also accepts the global flags.

deployments brain-upload show

Show a Brain upload ticket.

deployments brain-upload show <brain> <source> <ticket>
FlagTypeRequiredDefaultDescription
<brain>positionalyesBrain ID
<source>positionalyesBrain source ID
<ticket>positionalyesBrain upload ticket ID

Also accepts the global flags.

deployments brain-upload content

Upload exact Brain ticket content.

deployments brain-upload content <brain> <source> <ticket> --file <file> --content-type <content-type>
FlagTypeRequiredDefaultDescription
<brain>positionalyesBrain ID
<source>positionalyesBrain source ID
<ticket>positionalyesBrain upload ticket ID
--filestringyesUpload file
--content-typestringyesExact content media type

Also accepts the global flags.

deployments brain-upload complete

Complete a ticket whose content was stored through its direct upload.

deployments brain-upload complete <brain> <source> <ticket>
FlagTypeRequiredDefaultDescription
<brain>positionalyesBrain ID
<source>positionalyesBrain source ID
<ticket>positionalyesBrain upload ticket ID

Also accepts the global flags.

On this page