openemail chats
इस नेमस्पेस की हर कमांड, उसके आर्ग्युमेंट, फ़्लैग और उदाहरणों के साथ।
कमांड
The conversations held with the assistant in the app: list and search them, read one, rename it and delete it. Only the workspace owner reaches them.
यहाँ हर कमांड ग्लोबल फ़्लैग भी लेता है, जैसे --json, --profile और --dry-run। ग्लोबल फ़्लैग देखें
openemail chats list
List the assistant chats
lsउपयोग
openemail chats list [flags]
Resolves one page of the conversations held with the assistant in the app, newest first, as its Chats page lists them, each with its title, how many messages it holds and when it last changed.
Only the workspace owner reaches the chats: an API key, or an access token the owner connected with every address. A token acting for a member is 403 owner_only, and a key or token limited to particular addresses or domains is 422 capability_unsupported.
Add --all to walk every page: a table on a terminal, one JSON object per line when piped or with --ndjson, and one { items, hasMore, nextCursor } document with --json. --max <n> stops after that many items.
फ़्लैग
--q <value>Searches the titles.
--sort <value>newest(the default) oroldestby the last change, ortitle. A cursor carries on in the order it was handed out in.डिफ़ॉल्ट"newest"--limit <n>Page size, from 1 to 100. The server defaults to 25.
डिफ़ॉल्ट25--cursor <value>The
nextCursorof the previous page. Leave it out for the first page.--allFetch every page and stream the items as they arrive.
--max <n>Stop after this many items. Implies
--all.--ndjsonPrint every item as one JSON object per line. Implies
--all
उदाहरण
openemail chats listopenemail chats list --q invoicesopenemail chats list --all --max 100openemail chats list --all > chats.ndjsonइनमें भी उपलब्ध
- API
GET /chats- SDK
chats.list()
openemail chats get
Retrieve a chat
showviewउपयोग
openemail chats get <id> [flags]
Resolves one chat with the assistant by its id: its title, how many messages it holds and when it last changed.
Only the workspace owner reaches the chats: an API key, or an access token the owner connected with every address. A token acting for a member is 403 owner_only, and a key or token limited to particular addresses or domains is 422 capability_unsupported.
आर्ग्युमेंट
<id>आवश्यकThe chat id from
list.
उदाहरण
openemail chats get 8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65openemail chats get 8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65 --jsonइनमें भी उपलब्ध
openemail chats rename
Rename a chat
उपयोग
openemail chats rename <id> <title> [flags]
Gives a chat with the assistant a new title, up to 120 characters, and resolves with the chat as it is now.
Only the workspace owner reaches the chats: an API key, or an access token the owner connected with every address. A token acting for a member is 403 owner_only, and a key or token limited to particular addresses or domains is 422 capability_unsupported.
आर्ग्युमेंट
<id>आवश्यकThe chat id from
list.<title>आवश्यकThe new title, from 1 to 120 characters.
उदाहरण
openemail chats rename 8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65 'Quarterly invoices'openemail chats rename 8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65 'Quarterly invoices' --jsonइनमें भी उपलब्ध
openemail chats delete
Delete a chat
rmdelremoveउपयोग
openemail chats delete <id> [flags]
Deletes a chat with the assistant and every message in it, for good. Nothing the assistant did in the mailbox is undone.
Only the workspace owner reaches the chats: an API key, or an access token the owner connected with every address. A token acting for a member is 403 owner_only, and a key or token limited to particular addresses or domains is 422 capability_unsupported.
आर्ग्युमेंट
<id>आवश्यकThe chat id from
list.
उदाहरण
openemail chats delete 8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65openemail chats delete 8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65 --yes