Get Adhoc Analysis Jobs

get/bots/adhocAnalysisJobs
Internal-Use Only

Get a list of Adhoc Analysis Jobs as a summary representation. The full job representation is maintained by a provider, and enumerating them may be prohibitively expensive. The summary representation provides a link to an individual job that enables consumers to retrieve other representations. The properties that can be used as filter and sort criteria are:

  • id,
  • name,
  • description,
  • createdBy,
  • creationTimeStamp,
  • modifiedBy,
  • modifiedTimeStamp,
  • resources.uri, and
  • runId.

Request Samples

1

Response Samples

1{
2 "version": 2,
3 "accept": "application/vnd.sas.metadata.bot.adhoc.summary",
4 "count": 1,
5 "start": 0,
6 "limit": 10,
7 "name": "adhocAnalysisJobs",
8 "items": [
9 {
10 "creationTimeStamp": "2021-11-16T15:58:44.325Z",
11 "createdBy": "sasuser",
12 "modifiedTimeStamp": "2021-11-16T15:58:44.873Z",
13 "modifiedBy": "sasuser",
14 "version": 1,
15 "id": "cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
16 "provider": "TABLE-BOT",
17 "name": "Adhoc analysis Samples (CAS)",
18 "description": "Analyze COSTCHANGE and RAND_RETAILDEMO",
19 "status": "completed",
20 "endTimeStamp": "2021-11-16T15:58:57.975Z",
21 "links": [
22 {
23 "method": "GET",
24 "rel": "self",
25 "href": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
26 "uri": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
27 "type": "application/vnd.sas.metadata.bot.adhoc"
28 },
29 {
30 "method": "GET",
31 "rel": "alternate",
32 "href": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
33 "uri": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
34 "type": "application/vnd.sas.metadata.bot.adhoc.summary"
35 },
36 {
37 "method": "DELETE",
38 "rel": "delete",
39 "href": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c",
40 "uri": "/catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c"
41 },
42 {
43 "method": "GET",
44 "rel": "up",
45 "href": "/catalog/bots/adhocAnalysisJobs",
46 "uri": "/catalog/bots/adhocAnalysisJobs",
47 "type": "application/vnd.sas.collection",
48 "itemType": "application/vnd.sas.metadata.bot.adhoc.summary"
49 }
50 ]
51 }
52 ],
53 "links": [
54 {
55 "method": "POST",
56 "rel": "create",
57 "href": "/catalog/bots/adhocAnalysisJobs",
58 "uri": "/catalog/bots/adhocAnalysisJobs",
59 "type": "application/vnd.sas.metadata.bot.adhoc.summary",
60 "responseType": "application/vnd.sas.metadata.bot.adhoc.summary"
61 },
62 {
63 "method": "GET",
64 "rel": "self",
65 "href": "/catalog/bots/adhocAnalysisJobs?start=0&limit=10&sortBy=name:ascending",
66 "uri": "/catalog/bots/adhocAnalysisJobs?start=0&limit=10&sortBy=name:ascending",
67 "type": "application/vnd.sas.collection",
68 "itemType": "application/vnd.sas.metadata.bot.adhoc.summary"
69 },
70 {
71 "method": "GET",
72 "rel": "collection",
73 "href": "/catalog/bots/adhocAnalysisJobs",
74 "uri": "/catalog/bots/adhocAnalysisJobs",
75 "type": "application/vnd.sas.collection",
76 "itemType": "application/vnd.sas.metadata.bot.adhoc.summary"
77 },
78 {
79 "method": "GET",
80 "rel": "up",
81 "href": "/catalog/bots",
82 "uri": "/catalog/bots",
83 "responseType": "application/vnd.sas.collection",
84 "responseItemType": "application/vnd.sas.metadata.bot.summary"
85 }
86 ]
87}

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

Filter criteria for returned objects. See Filtering in REST APIs.

limit
integer
false

Maximum number of objects to return. Defaults to 10.

sortBy
string<sort-criteria>
false

Sort returned objects. See Sorting in REST APIs.

start
integer
false

0-based Offset of first object to return. Defaults to 0.

Header Parameters

NameTypeRequiredDescription
Accept-Item
string
false

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

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

Responses

StatusMeaningDescription
200OKOK.HeadersSchema
401UnauthorizedNot authenticated.Schema
403ForbiddenThe user does not have permission to complete this request.Schema
404Not FoundThe Catalog service is not available.Schema
406Not AcceptableNot Acceptable. Include an Accept header with a supported value on the request.Schema