curl --location --request GET 'https://api.synap.ac/v3/portal-usage/'
{
"data": {
"id": "FID001",
"type": "PAYGPortalUsage",
"attributes": {
"type": "payg",
"creditsAllocated": 0,
"creditsUsed": 0,
"creditsRemaining": 0,
"overage": 0,
"usageByBillingPeriod": [
{
"billingPeriodStart": "string",
"billingPeriodEnd": "string",
"creditsUsed": 0,
"examRosalynReview": {
"creditsPerItem": 0,
"instances": 0,
"creditsUsed": 0
},
"assignment": {
"creditsPerItem": 0,
"instances": 0,
"creditsUsed": 0
},
"examRosalynLockdown": {
"creditsPerItem": 0,
"instances": 0,
"creditsUsed": 0
},
"examSynopticLockdown": {
"creditsPerItem": 0,
"instances": 0,
"creditsUsed": 0
},
"examRosalynLive": {
"creditsPerItem": 0,
"instances": 0,
"creditsUsed": 0
},
"examSynopticRecorded": {
"creditsPerItem": 0,
"instances": 0,
"creditsUsed": 0
},
"study": {
"creditsPerItem": 0,
"instances": 0,
"creditsUsed": 0
},
"examUnproctored": {
"creditsPerItem": 0,
"instances": 0,
"creditsUsed": 0
}
}
]
},
"relationships": {
"portal": {
"data": {
"id": "FID001",
"type": "Portal"
}
}
}
},
"included": [
{
"id": "FID001",
"type": "_User",
"attributes": {},
"relationships": {
"property1": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
},
"property2": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
}
}
}
]
}