Skip to main content
Question

Using DeploymentId and Viewing Activity via AA360 API

  • October 14, 2024
  • 2 replies
  • 116 views

Forum|alt.badge.img+3

Hi everyone,

I recently deployed a bot using the AA360 API with the following payload:

{  "fileId": //BotId,   "runAsUserIds": [    //UserID  ],  "poolIds": [],  "overrideDefaultDevice": false,  "callbackInfo": {    "url": "https://callbackserver.com/storeBotExecutionStatus",     "headers": {      "X-Authorization": "//token"    }  }}

Everything works fine, and in the response I receive both a deploymentId and an automationName.
However, I'm struggling to understand how I can actually use the deploymentId. What is its specific purpose within the API?

Additionally, I'm wondering if there is an API that allows me to view in-progress activities or access a historical table of executions, similar to what can be viewed in Control Room. So far, I’ve only found the API for the AUDIT log, but nothing akin to an Activity table or In-progress executions.
Has anyone dealt with this issue or have any suggestions on how to proceed?

Thanks in advance!

2 replies

Forum|alt.badge.img+17
  • Flight Specialist | Tier 4
  • 87 replies
  • October 15, 2024

As far as the API, the Bot Execution Orchestration API looks to be about it. You can pass it an Execution ID and then review its execution history. It does not look like Execution ID and Deployment ID are synonymous, so you’d have to use the activity/list first to get the Execution ID, then pass that to activity/execution/{id} to get more info about the run.

If you use either Bot Insight or CoE Manager, it is obviously able to pull much more data on the executions, but I think very little is exposed to end users through the API.

https://<yourcontrolroom>/swagger/ui/?url=/swagger/api/v3/bot-execution-orchestrator-api-supported.yaml


Forum|alt.badge.img+3
  • Author
  • Cadet | Tier 2
  • 5 replies
  • October 17, 2024
JLogan3o13 wrote:

As far as the API, the Bot Execution Orchestration API looks to be about it. You can pass it an Execution ID and then review its execution history. It does not look like Execution ID and Deployment ID are synonymous, so you’d have to use the activity/list first to get the Execution ID, then pass that to activity/execution/{id} to get more info about the run.

If you use either Bot Insight or CoE Manager, it is obviously able to pull much more data on the executions, but I think very little is exposed to end users through the API.

https://<yourcontrolroom>/swagger/ui/?url=/swagger/api/v3/bot-execution-orchestrator-api-supported.yaml

Sorry @JLogan3o13 

I did not understand


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings