Deployments.ai Docs
Command reference

deployments brain-source

Brain knowledge sources

CommandSummary
deployments brain-source listList Brain sources
deployments brain-source createCreate a Brain source

deployments brain-source list

List Brain sources.

deployments brain-source list <brain>
  • Calls GET /v1/brains/{brainId}/sources (SDK listBrainSources).
  • Needs an organization: --org or the saved context.
  • Paginated. --page-size sets the page size; pass the returned cursor as --cursor for the next page.
FlagTypeRequiredDefaultDescription
--cursorstring (cursor)Pagination cursor
--page-sizestring (number)Page size
<brain>positionalyesBrain ID

Also accepts the global flags.

deployments brain-source create

Create a Brain source.

deployments brain-source create <brain> --kind <kind> --name <name>
  • Calls POST /v1/brains/{brainId}/sources (SDK createBrainSource).
  • Needs an organization: --org or the saved context.
  • Sends an idempotency key. The CLI generates one per run; pass --idempotency-key to retry safely.
FlagTypeRequiredDefaultDescription
<brain>positionalyesBrain ID
--connection-idstringProvider connection ID
--kindstringyesSource kind
--namestringyesSource name

Also accepts the global flags.

On this page