Get Cabinet
Get one cabinet information
cURL
curl --location --request POST 'https://datasaur.ai/graphql' \
--header 'Authorization: Bearer <access token>' \
--header 'Content-Type: application/json' \
--data-raw '
{
"query":"query GetCabinet($projectId: ID!, $role: Role!) {\n result: getCabinet(projectId: $projectId, role: $role) {\n id\n documents {\n id\n }\n role\n status\n lastOpenedDocumentId\n statistic {\n id\n numberOfTokens\n numberOfLines\n }\n }\n}\n",
"variables":{"projectId":"GCJUPUhoUTY","role":"REVIEWER"}
}
'
Response
Last updated