Get Agent Preview results

get/bots/{agentId}/preview/{previewId}
Internal-Use Only

Preview the results of an agent preview job.

Request Samples

1

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

NameTypeRequiredDescription
agentId
string
true

The ID of the Agent

previewId
string
true

The ID of the Agent Preview

Header Parameters

NameTypeRequiredDescription
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
200OKOK.HeadersSchema
400Bad RequestBad request (the request is not well-formed).Schema
401UnauthorizedNot authenticated.Schema
403ForbiddenThe user does not have permission to complete this request.Schema
404Not FoundThe specified resource was not found.Schema
406Not AcceptableNot Acceptable. Include an Accept header with a supported value on the request.Schema