Managing files and attachments in Julep
Field | Type | Description | Default |
---|---|---|---|
name | string | Name of the file | Required |
project | string | The canonical name of the project this file belongs to | "default" |
content | string | Base64-encoded file content | Required |
description | string | Description of the file | "" |
mime_type | string | MIME type of the file | null |
size | number | Size of the file in bytes (read-only) | Auto-calculated |
hash | string | Hash of the file content (read-only) | Auto-calculated |
created_at | string | Creation timestamp (read-only) | Auto-generated |
project
parameter. If not specified, the file will be assigned to the “default” project.
Example: