blob create makes a blob of the type you name and returns once it is ready, so the next command has something to
write to. It is the only command in the blob group that writes, and the one to run before workflow push, which
never creates a blob.
Synopsis
--org, --profile and --json are global, so they go before the
subcommand:
--dry-run, no description and no --public.
What it does
- Parses the reference. A bare name takes the org from
--orgorBLOBHUB_ORG. The name is checked before anything is sent: it must match^[a-z0-9_-]{6,42}$and must not be UUID-shaped. - Posts the create. It never reads first, so it never reuses a blob: a name the organization already holds is
BLOB_ALIAS_IN_USE, readable or not. The platform checks the key’s access, then the type, then the quota, and the name last, soORG_NOT_WRITABLE,BLOB_TYPE_UNAVAILABLEorLIMIT_EXCEEDEDcomes first when one applies. - Reads the blob back by id each second, for up to 120 s, until it is
ready. - Prints the result.
--type value goes to the platform verbatim. The platform decides which types exist and which an organization
may create.
Always private
A blob made here isprivate, and the command has no way to change that. Publishing is a person’s change on the
organization’s perimeter; see the access perimeter.
Output
--json the payload carries blob (the <org>/<name> label), blob_id, revision_id, record (the
blob record) and the envelope’s schema_version.
Errors
Like every write, the create is retried only when the failure proves it never ran: an HTTP 429, or a connection that was
never made.
blob create never reuses a blob it finds, so it is the one write command besides workflow execute that
does not converge when rerun: when its answer is lost after the platform created the blob, a rerun is refused
BLOB_ALIAS_IN_USE, and blobhub blob show <org>/<name> tells whether it was made.
See also
blobhub blob show— the record and default revision of a blob that exists.blobhub workflow push— writes a definition into a blob; it never creates one.- Create Blob — the route behind the command.
- Error codes — the full catalog behind the table above, remediation included.

