Skip to main content

ListOperations

Lists operations of asynchronous CK methods (e.g. dumps), newest first: the caller's own, or every caller's with --allOwners. Read only.

Examples​

List my operations:

octo-cli -c ListOperations

List my failed dumps:

octo-cli -c ListOperations -m "System.Bot/TenantRepository.Dump-1" -s "Failed"

List the operations of every caller (tenant administrators):

octo-cli -c ListOperations -a

Options​

ShortLongRequiredDescription
-m--methodIdnoOnly operations of this method, e.g. 'System.Bot/TenantRepository.Dump-1'
-s--statenoOnly operations in this state: Accepted, Running, Succeeded or Failed
-since--sincenoOnly operations accepted at or after this time (ISO 8601, UTC if no offset is given)
-a--allOwnersnoList the operations of every caller of the tenant (tenant administrators only)
-sk--skipnoNumber of operations to skip (default 0)
-t--takenoPage size, 1 to 200 (default 50)
-j--jsonnoOutput the page as JSON

Notes​

The tenant is the tenant of the context. Operations are kept for a retention period after they ended (7 days by default).

--allOwners without administrator rights is refused with OPERATION_QUERY_REFUSED.

Standard output carries only the answer (text or -j JSON); banner and log lines go to standard error, so the output can be piped (e.g. to jq).