Get an Agent's run execution history

get/bots/history/{runId}

Get an Agent's execution history by ID. This endpoint provides a history record.

Request Samples

1

Response Samples

1{
2 "version": 1,
3 "id": "ba14bc66-8aaf-4a57-bff1-87a39774ac1a",
4 "status": "completed",
5 "createdBy": "sasuser",
6 "creationTimeStamp": "2021-09-17T18:51:02.78Z",
7 "endTimeStamp": "2021-09-17T19:16:53.213Z",
8 "nEnumerated": 290,
9 "nExcluded": 49,
10 "nAdded": 239,
11 "nUpdated": 0,
12 "nRemoved": 0,
13 "averageRunTime": 1550,
14 "parameters": {
15 "datasourceURI": "/dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP"
16 },
17 "jobParameters": {
18 "samplePercent": "20"
19 }
20}

Path Parameters

NameTypeRequiredDescription
runId
string
true

The ID of the Agent run.

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The desired representation, the default is application/vnd.sas.metadata.bot.history+json.

Allowed values:
application/vnd.sas.metadata.bot.history+jsonapplication/json
Default:
application/vnd.sas.metadata.bot.history+json

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
400Bad Request

Bad request (the request is not well-formed).

Schema
401Unauthorized

Not authenticated.

Schema
403Forbidden

The user does not have permission to complete this request.

Schema
404Not Found

The specified resource was not found.

Schema
406Not Acceptable

Not Acceptable. Include an Accept header with a supported value on the request.

Schema