For the complete documentation index, see llms.txt. This page is also available as Markdown.

iai files upload

Upload a document into a project

Synopsis

Upload a local file into a project as a new document.

The stored name defaults to the local file's base name; use --name to store it under a different name.

iai files upload <local-file> [flags]

Examples

  iai files upload ./report.pdf
  iai files upload ./report.pdf --name "Q3 Report.pdf"
  iai files upload ./big.bin --timeout 30m

Options

  -h, --help                  help for upload
      --name string           Name to store the file under (default: the local file's name)
  -o, --organization string   Organization name that owns the project
  -p, --project string        Project name
      --timeout duration      HTTP timeout for the upload (default 15m0s)

Options inherited from parent commands

SEE ALSO

  • iai files - Manage documents stored in a project

Last updated

Was this helpful?