Cosmic User API Reference

listAsyncJobs

Lists all pending asynchronous jobs for the account.

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
domainidlist only resources belonging to the domain specifiedfalse
isrecursivedefaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.false
keywordList by keywordfalse
listallIf set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is falsefalse
pagefalse
pagesizefalse
startdatethe start date of the async jobfalse

Response Tags

Response NameDescription
accountidthe account that executed the async command
cmdthe async command executed
created the created date of the job
jobinstanceidthe unique ID of the instance/entity object related to the job
jobinstancetypethe instance/entity object related to the job
jobprocstatusthe progress information of the PENDING job
jobresultthe result reason
jobresultcodethe result code for the job
jobresulttypethe result type
jobstatusThe current status of the latest async job acting on this object, should be 0 for PENDING
useridthe user that executed the async command
jobidthe ID of the async job