Get Agent Preview results

get/bots/{agentId}/preview/{previewId}

Preview the results of an agent preview job.

Request Samples

Response Samples

1{
2 "version": 1,
3 "id": "af349db0-0691-4510-bd01-122417810f7b",
4 "status": "completed",
5 "creationTimeStamp": "2021-09-28T17:28:27.585Z",
6 "nEnumerated": 281,
7 "nExcluded": 2,
8 "links": [
9 {
10 "method": "GET",
11 "rel": "self",
12 "href": "/catalog/bots/af349db0-0691-4510-bd01-122417810f7b/preview/40d9150d-9fb4-4cc5-be1c-7e5aae74b06f",
13 "uri": "/catalog/bots/af349db0-0691-4510-bd01-122417810f7b/preview/40d9150d-9fb4-4cc5-be1c-7e5aae74b06f",
14 "type": "application/vnd.sas.metadata.bot.preview"
15 },
16 {
17 "method": "GET",
18 "rel": "up",
19 "href": "/catalog/bots/af349db0-0691-4510-bd01-122417810f7b",
20 "uri": "/catalog/bots/af349db0-0691-4510-bd01-122417810f7b",
21 "type": "application/vnd.sas.metadata.bot.summary"
22 }
23 ]
24}

Path Parameters

agentId
string
true

The ID of the Agent.

previewId
string
true

The ID of the Agent Preview.

Header Parameters

Accept
string
false

The desired item representation.

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

Responses

StatusMeaningDescription
200OK

OK.

HeadersSchema
400Bad Request
401Unauthorized

Not authenticated.

Schema
403Forbidden
404Not Found
406Not Acceptable

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

Schema