Files
Upload, manage, and organize workspace files.
Upload, manage, and organize workspace files.
elnora files archive
Archive (delete) a file
Destructive
elnora files archive [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID to archive |
elnora files commit
Commit a file's working copy
elnora files commit [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID to commit |
elnora files confirmUpload
Confirm a file upload
elnora files confirmUpload [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID to confirm upload |
elnora files content
Get the raw content of a file
Read-only
elnora files content [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID |
elnora files create
Create a new file
elnora files create [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
folder | uuid | no | Folder ID |
name | string | yes | File name |
project | uuid | no | Project ID (optional; defaults to your workspace) |
type | string | yes | File type |
elnora files createVersion
Create a new version of a file
elnora files createVersion [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
content | string | no | Version content |
fileId | uuid | yes | File ID |
elnora files download
Download a file
Read-only
elnora files download [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID to download |
elnora files fork
Fork a file to another project
elnora files fork [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID to fork |
targetProject | uuid | no | Target project ID (optional; defaults to your workspace) |
elnora files get
Get details of a specific file
Read-only
elnora files get [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID |
elnora files list
List files in a project
Read-only
elnora files list [options]| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | no | Page number Default: 1. |
pageSize | integer | no | Results per page Default: 25. |
project | uuid | no | Project ID (optional; defaults to your workspace) |
elnora files move
Move a file to a different Knowledge Base folder
Idempotent
elnora files move [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID to move |
parentFolderId | uuid | yes | Destination Knowledge Base folder ID |
elnora files promote
Promote a file to a new visibility level
elnora files promote [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID |
visibility | string | yes | Visibility level |
elnora files restore
Restore a file to a specific version
elnora files restore [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID |
versionId | uuid | yes | Version ID to restore |
elnora files searchContent
Search file content across projects
Read-only
elnora files searchContent [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | no | Page number Default: 1. |
pageSize | integer | no | Results per page Default: 25. |
project | uuid | no | Project ID to scope search |
query | string | yes | Search query |
elnora files share
Share a file with a user or the whole organization (default role: editor)
elnora files share [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID to share |
orgWide | boolean | no | Share with everyone in the organization Default: false. |
role | enum | no | Access role to grant One of: viewer, editor, admin. Default: editor. |
userId | integer | no | User ID to share with (omit when using --org-wide) |
elnora files shares
List the current shares on a file
Read-only
elnora files shares [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID |
elnora files unshare
Revoke a file share by its ACE id
Destructive · Idempotent
elnora files unshare [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
aceId | uuid | yes | Share (ACE) ID to revoke |
fileId | uuid | yes | File ID |
elnora files update
Update a file's metadata
Idempotent
elnora files update [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID |
folder | uuid | no | New folder ID |
name | string | no | New file name |
elnora files upload
Upload a file to a project (three-stage: presign, PUT, confirm)
elnora files upload [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
contentType | string | no | MIME content type |
fileName | string | no | Override file name |
filePath | string | yes | Local file path to upload |
project | uuid | no | Project ID (optional; defaults to your workspace) |
elnora files uploadBatch
Upload multiple files to a project (max 50)
elnora files uploadBatch [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
filePaths | string | yes | Comma-separated local file paths to upload |
folder | uuid | no | Folder ID |
project | uuid | no | Project ID (optional; defaults to your workspace) |
elnora files versionContent
Get the raw content of a specific file version
Read-only
elnora files versionContent [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID |
versionId | uuid | yes | Version ID |
elnora files versions
List versions of a file
Read-only
elnora files versions [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID |
page | integer | no | Page number Default: 1. |
pageSize | integer | no | Results per page Default: 25. |
elnora files workingCopy
Create a working copy of a file
elnora files workingCopy [required options] [options]| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | uuid | yes | File ID |
task | uuid | no | Task ID |