Deployments.ai Docs
Command reference

deployments message

Persisted thread messages

deployments message list

List messages for a thread.

deployments message list <thread>
  • Calls GET /v1/threads/{threadId}/messages (SDK listThreadMessages).
  • Needs an environment: --env 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
<thread>positionalyesThread ID

Also accepts the global flags.

On this page