Project

Get Projects

Beta
GET

This endpoint is in beta and is subject to change. It is provided for early access and testing purposes only.
Retrieve a list of projects including upload progress info.

Query parameters

nextstringOptional
The pagination token for the next page of projects.
prevstringOptional
The pagination token for the previous page of projects.
limitintegerOptional
Limit total values returned for projects. Defaults to 100. Max 100.
archivedbooleanOptional
Toggle between projects that have been archived (true) or not (false). Defaults to false.

Response

This endpoint returns an object
limit
integer
data
list of objects
next
stringOptional
prev
stringOptional
first
booleanOptional
last
booleanOptional
GET
1curl -G https://api.sayari.com/v1/projects \
2 -H "Authorization: Bearer <token>" \
3 -d archived=false \
4 -d limit=8
200
Retrieved
1{
2 "limit": 8,
3 "data": [
4 {
5 "archived": false,
6 "counts": {},
7 "created": "2023-10-25 14:44:06.322117+00",
8 "id": "V03MNY",
9 "label": "Project 1",
10 "members": [
11 {
12 "id": "auth0|7a8f3e2b91d476c5b2e04a87",
13 "type": "user",
14 "role": "admin",
15 "created": "2023-10-25T14:44:06.322117+00:00",
16 "updated": "2023-10-25T14:44:06.322117+00:00"
17 }
18 ],
19 "updated": "2023-10-25 14:44:06.322117+00"
20 },
21 {
22 "archived": false,
23 "counts": {
24 "entity": 2530,
25 "graph": 1
26 },
27 "created": "2023-10-24 20:41:21.235451+00",
28 "id": "eYDDmY",
29 "label": "Project 2",
30 "members": [
31 {
32 "id": "auth0|f0bc63a9e72d18ef4c5702d6",
33 "type": "user",
34 "role": "admin",
35 "created": "2023-10-24T20:41:21.235451+00:00",
36 "updated": "2023-10-24T20:41:21.235451+00:00"
37 },
38 {
39 "id": "org_VdFgkL2qNpweRZAs",
40 "type": "group",
41 "role": "viewer",
42 "created": "2023-11-04T18:40:30.942863+00:00",
43 "updated": "2023-11-04T18:40:30.942863+00:00"
44 }
45 ],
46 "updated": "2023-10-24 20:41:21.235451+00"
47 }
48 ],
49 "next": "MjAyMy0wOS0xNSAxODoyNDozOC45ODEwMjMrMDB8OFlWQjZZ",
50 "prev": "MjAyMy0xMC0yNSAxNDo0NDowNi4zMjIxMTcrMDB8VjAzTU5Z"
51}