Get clinical workflows

get/workflows

Returns clinical workflows defined at repository contexts to which the current user has read access.

Request Samples

Response Samples

1{
2 "value": {
3 "name": "clinicalWorkflows",
4 "accept": "application/vnd.sas.clinical.workflow+json",
5 "start": 0,
6 "count": 3,
7 "items": [
8 {
9 "version": 1,
10 "createdBy": "sastest1",
11 "creationTimeStamp": "2025-09-30T18:12:50.026Z",
12 "modifiedBy": "sastest1",
13 "modifiedTimeStamp": "2025-09-30T18:12:50.026Z",
14 "id": "4e91d7f7-b926-4c87-bd60-cf380a2e9d99",
15 "typeId": "clinicalWorkflow",
16 "createdByDisplayName": "SAS Test User 1 (sastest1)",
17 "modifiedByDisplayName": "SAS Test User 1 (sastest1)",
18 "name": "jobWorkflow",
19 "contextId": "9848b115-388f-43d7-a714-47771b401d10",
20 "contextType": "organization",
21 "contextPath": "/Org",
22 "definitionId": "WF9344F872-E3B7-4D7A-A7F1-9EF925A4DB76",
23 "definitionVersion": 1,
24 "definitionName": "Run Clinical Job and Wait for Completion",
25 "owner": "sastest1",
26 "ownerDisplayName": "SAS Test User 1 (sastest1)",
27 "status": "NOT_STARTED"
28 },
29 {
30 "version": 1,
31 "createdBy": "sastest1",
32 "creationTimeStamp": "2025-09-30T18:20:41.275Z",
33 "modifiedBy": "sastest1",
34 "modifiedTimeStamp": "2025-09-30T18:20:41.275Z",
35 "id": "d14d1f34-e086-40c4-9922-613c0a006ef1",
36 "typeId": "clinicalWorkflow",
37 "createdByDisplayName": "SAS Test User 1 (sastest1)",
38 "modifiedByDisplayName": "SAS Test User 1 (sastest1)",
39 "name": "simpleFlow1",
40 "contextId": "9848b115-388f-43d7-a714-47771b401d10",
41 "contextType": "organization",
42 "contextPath": "/Org",
43 "definitionId": "WF3E1BE1B1-3D96-4794-A9BE-C7F74B43F34E",
44 "definitionVersion": 1,
45 "definitionName": "SimpleUserFlow1",
46 "owner": "sastest1",
47 "ownerDisplayName": "SAS Test User 1 (sastest1)",
48 "status": "NOT_STARTED"
49 },
50 {
51 "version": 1,
52 "createdBy": "sastest1",
53 "creationTimeStamp": "2025-09-30T18:11:17.916Z",
54 "modifiedBy": "sastest1",
55 "modifiedTimeStamp": "2025-09-30T18:11:17.916Z",
56 "id": "dbd170c2-ab29-4977-aee8-ec892755b7f7",
57 "typeId": "clinicalWorkflow",
58 "createdByDisplayName": "SAS Test User 1 (sastest1)",
59 "modifiedByDisplayName": "SAS Test User 1 (sastest1)",
60 "name": "testAllWorkflow",
61 "contextId": "9848b115-388f-43d7-a714-47771b401d10",
62 "contextType": "project",
63 "contextPath": "/Org/project1",
64 "definitionId": "WFf90bb6f7-88a6-44b0-9214-8cccad30a51b",
65 "definitionVersion": 1,
66 "definitionName": "TestAllNodes",
67 "owner": "sastest1",
68 "ownerDisplayName": "SAS Test User 1 (sastest1)",
69 "status": "NOT_STARTED"
70 }
71 ],
72 "limit": 1000,
73 "version": 2
74 }
75}

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

Filter criteria for items. See Filtering in REST APIs.

sortBy
string<sort-criteria>
false

Sorts the returned items. See Sorting in REST APIs.

Responses

StatusMeaningDescription
200OK

OK

Schema