Back to Collection Items
func chilkatTest() {
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
let http = CkoHttp()!
var success: Bool
// Adds the "Authorization: Bearer <access_token>" header.
http.authToken = "<access_token>"
let sbResponseBody = CkoStringBuilder()!
success = http.quickGetSb("https://domain.com/services/data/v{{version}}/limits", sbContent: sbResponseBody)
if success == false {
print("\(http.lastErrorText!)")
return
}
let jResp = CkoJsonObject()!
jResp.loadSb(sbResponseBody)
jResp.emitCompact = false
print("Response Body:")
print("\(jResp.emit()!)")
var respStatusCode: Int = http.lastStatus.intValue
print("Response Status Code = \(respStatusCode)")
if respStatusCode >= 400 {
print("Response Header:")
print("\(http.lastHeader!)")
print("Failed.")
return
}
// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)
// {
// "ActiveScratchOrgs": {
// "Max": 3,
// "Remaining": 3
// },
// "AnalyticsExternalDataSizeMB": {
// "Max": 40960,
// "Remaining": 40960
// },
// "ConcurrentAsyncGetReportInstances": {
// "Max": 200,
// "Remaining": 200
// },
// "ConcurrentEinsteinDataInsightsStoryCreation": {
// "Max": 5,
// "Remaining": 5
// },
// "ConcurrentEinsteinDiscoveryStoryCreation": {
// "Max": 2,
// "Remaining": 2
// },
// "ConcurrentSyncReportRuns": {
// "Max": 20,
// "Remaining": 20
// },
// "DailyAnalyticsDataflowJobExecutions": {
// "Max": 60,
// "Remaining": 60
// },
// "DailyAnalyticsUploadedFilesSizeMB": {
// "Max": 51200,
// "Remaining": 51200
// },
// "DailyApiRequests": {
// "Max": 15000,
// "Remaining": 14999
// },
// "DailyAsyncApexExecutions": {
// "Max": 250000,
// "Remaining": 250000
// },
// "DailyAsyncApexTests": {
// "Max": 540,
// "Remaining": 540
// },
// "DailyBulkApiBatches": {
// "Max": 15000,
// "Remaining": 15000
// },
// "DailyBulkV2QueryFileStorageMB": {
// "Max": 976562,
// "Remaining": 976562
// },
// "DailyBulkV2QueryJobs": {
// "Max": 10000,
// "Remaining": 10000
// },
// "DailyDeliveredPlatformEvents": {
// "Max": 10000,
// "Remaining": 10000
// },
// "DailyDurableGenericStreamingApiEvents": {
// "Max": 10000,
// "Remaining": 10000
// },
// "DailyDurableStreamingApiEvents": {
// "Max": 10000,
// "Remaining": 10000
// },
// "DailyEinsteinDataInsightsStoryCreation": {
// "Max": 1000,
// "Remaining": 1000
// },
// "DailyEinsteinDiscoveryOptimizationJobRuns": {
// "Max": 25,
// "Remaining": 25
// },
// "DailyEinsteinDiscoveryPredictAPICalls": {
// "Max": 50000,
// "Remaining": 50000
// },
// "DailyEinsteinDiscoveryPredictionsByCDC": {
// "Max": 500000,
// "Remaining": 500000
// },
// "DailyEinsteinDiscoveryStoryCreation": {
// "Max": 100,
// "Remaining": 100
// },
// "DailyFunctionsApiCallLimit": {
// "Max": 50000,
// "Remaining": 50000
// },
// "DailyGenericStreamingApiEvents": {
// "Max": 10000,
// "Remaining": 10000
// },
// "DailyScratchOrgs": {
// "Max": 6,
// "Remaining": 6
// },
// "DailyStandardVolumePlatformEvents": {
// "Max": 10000,
// "Remaining": 10000
// },
// "DailyStreamingApiEvents": {
// "Max": 10000,
// "Remaining": 10000
// },
// "DailyWorkflowEmails": {
// "Max": 405,
// "Remaining": 405
// },
// "DataStorageMB": {
// "Max": 5,
// "Remaining": 5
// },
// "DurableStreamingApiConcurrentClients": {
// "Max": 20,
// "Remaining": 20
// },
// "FileStorageMB": {
// "Max": 20,
// "Remaining": 20
// },
// "HourlyAsyncReportRuns": {
// "Max": 1200,
// "Remaining": 1200
// },
// "HourlyDashboardRefreshes": {
// "Max": 200,
// "Remaining": 200
// },
// "HourlyDashboardResults": {
// "Max": 5000,
// "Remaining": 5000
// },
// "HourlyDashboardStatuses": {
// "Max": 999999999,
// "Remaining": 999999999
// },
// "HourlyLongTermIdMapping": {
// "Max": 100000,
// "Remaining": 100000
// },
// "HourlyManagedContentPublicRequests": {
// "Max": 50000,
// "Remaining": 50000
// },
// "HourlyODataCallout": {
// "Max": 1000,
// "Remaining": 1000
// },
// "HourlyPublishedPlatformEvents": {
// "Max": 50000,
// "Remaining": 50000
// },
// "HourlyPublishedStandardVolumePlatformEvents": {
// "Max": 1000,
// "Remaining": 1000
// },
// "HourlyShortTermIdMapping": {
// "Max": 100000,
// "Remaining": 100000
// },
// "HourlySyncReportRuns": {
// "Max": 500,
// "Remaining": 500
// },
// "HourlyTimeBasedWorkflow": {
// "Max": 50,
// "Remaining": 50
// },
// "MassEmail": {
// "Max": 10,
// "Remaining": 10
// },
// "MonthlyEinsteinDiscoveryStoryCreation": {
// "Max": 500,
// "Remaining": 500
// },
// "Package2VersionCreates": {
// "Max": 6,
// "Remaining": 6
// },
// "Package2VersionCreatesWithoutValidation": {
// "Max": 500,
// "Remaining": 500
// },
// "PermissionSets": {
// "Max": 1500,
// "Remaining": 1498,
// "CreateCustom": {
// "Max": 1000,
// "Remaining": 998
// }
// },
// "PrivateConnectOutboundCalloutHourlyLimitMB": {
// "Max": 0,
// "Remaining": 0
// },
// "PublishCallbackUsageInApex": {
// "Max": 5242880,
// "Remaining": 5242880
// },
// "SingleEmail": {
// "Max": 15,
// "Remaining": 15
// },
// "StreamingApiConcurrentClients": {
// "Max": 20,
// "Remaining": 20
// }
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
var Max: Int = jResp.int(of: "ActiveScratchOrgs.Max").intValue
var Remaining: Int = jResp.int(of: "ActiveScratchOrgs.Remaining").intValue
var AnalyticsExternalDataSizeMBMax: Int = jResp.int(of: "AnalyticsExternalDataSizeMB.Max").intValue
var AnalyticsExternalDataSizeMBRemaining: Int = jResp.int(of: "AnalyticsExternalDataSizeMB.Remaining").intValue
var ConcurrentAsyncGetReportInstancesMax: Int = jResp.int(of: "ConcurrentAsyncGetReportInstances.Max").intValue
var ConcurrentAsyncGetReportInstancesRemaining: Int = jResp.int(of: "ConcurrentAsyncGetReportInstances.Remaining").intValue
var ConcurrentEinsteinDataInsightsStoryCreationMax: Int = jResp.int(of: "ConcurrentEinsteinDataInsightsStoryCreation.Max").intValue
var ConcurrentEinsteinDataInsightsStoryCreationRemaining: Int = jResp.int(of: "ConcurrentEinsteinDataInsightsStoryCreation.Remaining").intValue
var ConcurrentEinsteinDiscoveryStoryCreationMax: Int = jResp.int(of: "ConcurrentEinsteinDiscoveryStoryCreation.Max").intValue
var ConcurrentEinsteinDiscoveryStoryCreationRemaining: Int = jResp.int(of: "ConcurrentEinsteinDiscoveryStoryCreation.Remaining").intValue
var ConcurrentSyncReportRunsMax: Int = jResp.int(of: "ConcurrentSyncReportRuns.Max").intValue
var ConcurrentSyncReportRunsRemaining: Int = jResp.int(of: "ConcurrentSyncReportRuns.Remaining").intValue
var DailyAnalyticsDataflowJobExecutionsMax: Int = jResp.int(of: "DailyAnalyticsDataflowJobExecutions.Max").intValue
var DailyAnalyticsDataflowJobExecutionsRemaining: Int = jResp.int(of: "DailyAnalyticsDataflowJobExecutions.Remaining").intValue
var DailyAnalyticsUploadedFilesSizeMBMax: Int = jResp.int(of: "DailyAnalyticsUploadedFilesSizeMB.Max").intValue
var DailyAnalyticsUploadedFilesSizeMBRemaining: Int = jResp.int(of: "DailyAnalyticsUploadedFilesSizeMB.Remaining").intValue
var DailyApiRequestsMax: Int = jResp.int(of: "DailyApiRequests.Max").intValue
var DailyApiRequestsRemaining: Int = jResp.int(of: "DailyApiRequests.Remaining").intValue
var DailyAsyncApexExecutionsMax: Int = jResp.int(of: "DailyAsyncApexExecutions.Max").intValue
var DailyAsyncApexExecutionsRemaining: Int = jResp.int(of: "DailyAsyncApexExecutions.Remaining").intValue
var DailyAsyncApexTestsMax: Int = jResp.int(of: "DailyAsyncApexTests.Max").intValue
var DailyAsyncApexTestsRemaining: Int = jResp.int(of: "DailyAsyncApexTests.Remaining").intValue
var DailyBulkApiBatchesMax: Int = jResp.int(of: "DailyBulkApiBatches.Max").intValue
var DailyBulkApiBatchesRemaining: Int = jResp.int(of: "DailyBulkApiBatches.Remaining").intValue
var DailyBulkV2QueryFileStorageMBMax: Int = jResp.int(of: "DailyBulkV2QueryFileStorageMB.Max").intValue
var DailyBulkV2QueryFileStorageMBRemaining: Int = jResp.int(of: "DailyBulkV2QueryFileStorageMB.Remaining").intValue
var DailyBulkV2QueryJobsMax: Int = jResp.int(of: "DailyBulkV2QueryJobs.Max").intValue
var DailyBulkV2QueryJobsRemaining: Int = jResp.int(of: "DailyBulkV2QueryJobs.Remaining").intValue
var DailyDeliveredPlatformEventsMax: Int = jResp.int(of: "DailyDeliveredPlatformEvents.Max").intValue
var DailyDeliveredPlatformEventsRemaining: Int = jResp.int(of: "DailyDeliveredPlatformEvents.Remaining").intValue
var DailyDurableGenericStreamingApiEventsMax: Int = jResp.int(of: "DailyDurableGenericStreamingApiEvents.Max").intValue
var DailyDurableGenericStreamingApiEventsRemaining: Int = jResp.int(of: "DailyDurableGenericStreamingApiEvents.Remaining").intValue
var DailyDurableStreamingApiEventsMax: Int = jResp.int(of: "DailyDurableStreamingApiEvents.Max").intValue
var DailyDurableStreamingApiEventsRemaining: Int = jResp.int(of: "DailyDurableStreamingApiEvents.Remaining").intValue
var DailyEinsteinDataInsightsStoryCreationMax: Int = jResp.int(of: "DailyEinsteinDataInsightsStoryCreation.Max").intValue
var DailyEinsteinDataInsightsStoryCreationRemaining: Int = jResp.int(of: "DailyEinsteinDataInsightsStoryCreation.Remaining").intValue
var DailyEinsteinDiscoveryOptimizationJobRunsMax: Int = jResp.int(of: "DailyEinsteinDiscoveryOptimizationJobRuns.Max").intValue
var DailyEinsteinDiscoveryOptimizationJobRunsRemaining: Int = jResp.int(of: "DailyEinsteinDiscoveryOptimizationJobRuns.Remaining").intValue
var DailyEinsteinDiscoveryPredictAPICallsMax: Int = jResp.int(of: "DailyEinsteinDiscoveryPredictAPICalls.Max").intValue
var DailyEinsteinDiscoveryPredictAPICallsRemaining: Int = jResp.int(of: "DailyEinsteinDiscoveryPredictAPICalls.Remaining").intValue
var DailyEinsteinDiscoveryPredictionsByCDCMax: Int = jResp.int(of: "DailyEinsteinDiscoveryPredictionsByCDC.Max").intValue
var DailyEinsteinDiscoveryPredictionsByCDCRemaining: Int = jResp.int(of: "DailyEinsteinDiscoveryPredictionsByCDC.Remaining").intValue
var DailyEinsteinDiscoveryStoryCreationMax: Int = jResp.int(of: "DailyEinsteinDiscoveryStoryCreation.Max").intValue
var DailyEinsteinDiscoveryStoryCreationRemaining: Int = jResp.int(of: "DailyEinsteinDiscoveryStoryCreation.Remaining").intValue
var DailyFunctionsApiCallLimitMax: Int = jResp.int(of: "DailyFunctionsApiCallLimit.Max").intValue
var DailyFunctionsApiCallLimitRemaining: Int = jResp.int(of: "DailyFunctionsApiCallLimit.Remaining").intValue
var DailyGenericStreamingApiEventsMax: Int = jResp.int(of: "DailyGenericStreamingApiEvents.Max").intValue
var DailyGenericStreamingApiEventsRemaining: Int = jResp.int(of: "DailyGenericStreamingApiEvents.Remaining").intValue
var DailyScratchOrgsMax: Int = jResp.int(of: "DailyScratchOrgs.Max").intValue
var DailyScratchOrgsRemaining: Int = jResp.int(of: "DailyScratchOrgs.Remaining").intValue
var DailyStandardVolumePlatformEventsMax: Int = jResp.int(of: "DailyStandardVolumePlatformEvents.Max").intValue
var DailyStandardVolumePlatformEventsRemaining: Int = jResp.int(of: "DailyStandardVolumePlatformEvents.Remaining").intValue
var DailyStreamingApiEventsMax: Int = jResp.int(of: "DailyStreamingApiEvents.Max").intValue
var DailyStreamingApiEventsRemaining: Int = jResp.int(of: "DailyStreamingApiEvents.Remaining").intValue
var DailyWorkflowEmailsMax: Int = jResp.int(of: "DailyWorkflowEmails.Max").intValue
var DailyWorkflowEmailsRemaining: Int = jResp.int(of: "DailyWorkflowEmails.Remaining").intValue
var DataStorageMBMax: Int = jResp.int(of: "DataStorageMB.Max").intValue
var DataStorageMBRemaining: Int = jResp.int(of: "DataStorageMB.Remaining").intValue
var DurableStreamingApiConcurrentClientsMax: Int = jResp.int(of: "DurableStreamingApiConcurrentClients.Max").intValue
var DurableStreamingApiConcurrentClientsRemaining: Int = jResp.int(of: "DurableStreamingApiConcurrentClients.Remaining").intValue
var FileStorageMBMax: Int = jResp.int(of: "FileStorageMB.Max").intValue
var FileStorageMBRemaining: Int = jResp.int(of: "FileStorageMB.Remaining").intValue
var HourlyAsyncReportRunsMax: Int = jResp.int(of: "HourlyAsyncReportRuns.Max").intValue
var HourlyAsyncReportRunsRemaining: Int = jResp.int(of: "HourlyAsyncReportRuns.Remaining").intValue
var HourlyDashboardRefreshesMax: Int = jResp.int(of: "HourlyDashboardRefreshes.Max").intValue
var HourlyDashboardRefreshesRemaining: Int = jResp.int(of: "HourlyDashboardRefreshes.Remaining").intValue
var HourlyDashboardResultsMax: Int = jResp.int(of: "HourlyDashboardResults.Max").intValue
var HourlyDashboardResultsRemaining: Int = jResp.int(of: "HourlyDashboardResults.Remaining").intValue
var HourlyDashboardStatusesMax: Int = jResp.int(of: "HourlyDashboardStatuses.Max").intValue
var HourlyDashboardStatusesRemaining: Int = jResp.int(of: "HourlyDashboardStatuses.Remaining").intValue
var HourlyLongTermIdMappingMax: Int = jResp.int(of: "HourlyLongTermIdMapping.Max").intValue
var HourlyLongTermIdMappingRemaining: Int = jResp.int(of: "HourlyLongTermIdMapping.Remaining").intValue
var HourlyManagedContentPublicRequestsMax: Int = jResp.int(of: "HourlyManagedContentPublicRequests.Max").intValue
var HourlyManagedContentPublicRequestsRemaining: Int = jResp.int(of: "HourlyManagedContentPublicRequests.Remaining").intValue
var HourlyODataCalloutMax: Int = jResp.int(of: "HourlyODataCallout.Max").intValue
var HourlyODataCalloutRemaining: Int = jResp.int(of: "HourlyODataCallout.Remaining").intValue
var HourlyPublishedPlatformEventsMax: Int = jResp.int(of: "HourlyPublishedPlatformEvents.Max").intValue
var HourlyPublishedPlatformEventsRemaining: Int = jResp.int(of: "HourlyPublishedPlatformEvents.Remaining").intValue
var HourlyPublishedStandardVolumePlatformEventsMax: Int = jResp.int(of: "HourlyPublishedStandardVolumePlatformEvents.Max").intValue
var HourlyPublishedStandardVolumePlatformEventsRemaining: Int = jResp.int(of: "HourlyPublishedStandardVolumePlatformEvents.Remaining").intValue
var HourlyShortTermIdMappingMax: Int = jResp.int(of: "HourlyShortTermIdMapping.Max").intValue
var HourlyShortTermIdMappingRemaining: Int = jResp.int(of: "HourlyShortTermIdMapping.Remaining").intValue
var HourlySyncReportRunsMax: Int = jResp.int(of: "HourlySyncReportRuns.Max").intValue
var HourlySyncReportRunsRemaining: Int = jResp.int(of: "HourlySyncReportRuns.Remaining").intValue
var HourlyTimeBasedWorkflowMax: Int = jResp.int(of: "HourlyTimeBasedWorkflow.Max").intValue
var HourlyTimeBasedWorkflowRemaining: Int = jResp.int(of: "HourlyTimeBasedWorkflow.Remaining").intValue
var MassEmailMax: Int = jResp.int(of: "MassEmail.Max").intValue
var MassEmailRemaining: Int = jResp.int(of: "MassEmail.Remaining").intValue
var MonthlyEinsteinDiscoveryStoryCreationMax: Int = jResp.int(of: "MonthlyEinsteinDiscoveryStoryCreation.Max").intValue
var MonthlyEinsteinDiscoveryStoryCreationRemaining: Int = jResp.int(of: "MonthlyEinsteinDiscoveryStoryCreation.Remaining").intValue
var Package2VersionCreatesMax: Int = jResp.int(of: "Package2VersionCreates.Max").intValue
var Package2VersionCreatesRemaining: Int = jResp.int(of: "Package2VersionCreates.Remaining").intValue
var Package2VersionCreatesWithoutValidationMax: Int = jResp.int(of: "Package2VersionCreatesWithoutValidation.Max").intValue
var Package2VersionCreatesWithoutValidationRemaining: Int = jResp.int(of: "Package2VersionCreatesWithoutValidation.Remaining").intValue
var PermissionSetsMax: Int = jResp.int(of: "PermissionSets.Max").intValue
var PermissionSetsRemaining: Int = jResp.int(of: "PermissionSets.Remaining").intValue
var CreateCustomMax: Int = jResp.int(of: "PermissionSets.CreateCustom.Max").intValue
var CreateCustomRemaining: Int = jResp.int(of: "PermissionSets.CreateCustom.Remaining").intValue
var PrivateConnectOutboundCalloutHourlyLimitMBMax: Int = jResp.int(of: "PrivateConnectOutboundCalloutHourlyLimitMB.Max").intValue
var PrivateConnectOutboundCalloutHourlyLimitMBRemaining: Int = jResp.int(of: "PrivateConnectOutboundCalloutHourlyLimitMB.Remaining").intValue
var PublishCallbackUsageInApexMax: Int = jResp.int(of: "PublishCallbackUsageInApex.Max").intValue
var PublishCallbackUsageInApexRemaining: Int = jResp.int(of: "PublishCallbackUsageInApex.Remaining").intValue
var SingleEmailMax: Int = jResp.int(of: "SingleEmail.Max").intValue
var SingleEmailRemaining: Int = jResp.int(of: "SingleEmail.Remaining").intValue
var StreamingApiConcurrentClientsMax: Int = jResp.int(of: "StreamingApiConcurrentClients.Max").intValue
var StreamingApiConcurrentClientsRemaining: Int = jResp.int(of: "StreamingApiConcurrentClients.Remaining").intValue
}
Curl Command
curl -X GET
-H "Authorization: Bearer <access_token>"
https://domain.com/services/data/v{{version}}/limits
Postman Collection Item JSON
{
"name": "Limits",
"event": [
{
"listen": "test",
"script": {
"exec": [
"// Visualizer that renders a Chart.js graph with the Salesforce API limits consumption",
"const template = `<script src=\"https://cdn.jsdelivr.net/npm/chart.js@3.5.1/dist/chart.min.js\"></script>",
"<canvas id=\"myChart\" width=\"400\" height=\"800\"></canvas>",
"<script>",
"pm.getData((err, chartData) => {",
" const getTooltipFooter = (tooltipItems) => {",
" const index = tooltipItems[0].dataIndex;",
" return 'Consumed '+ chartData.consumed[index] +' out of '+ chartData.max[index];",
" };",
"",
" const ctx = document.getElementById('myChart').getContext('2d');",
" const myChart = new Chart(ctx, {",
" type: 'bar',",
" data: {",
" labels: chartData.labels,",
" datasets: [",
" {",
" label: '% Consumed',",
" data: chartData.consumedPercent,",
" backgroundColor: 'rgba(255, 99, 132, 1)',",
" borderColor: 'rgba(255, 99, 132, 1)',",
" borderWidth: 1",
" }",
" ]",
" },",
" options: {",
" indexAxis: 'y',",
" responsive: true,",
" scales: {",
" x: {",
" beginAtZero: true,",
" ticks: {",
" callback: (value, index, values) => value + '%'",
" },",
" max: 100",
" }",
" },",
" interaction: {",
" intersect: false,",
" mode: 'y'",
" },",
" plugins: {",
" tooltip: {",
" callbacks: {",
" footer: getTooltipFooter,",
" label: (tooltipItems) => tooltipItems.raw + '%'",
" }",
" },",
" title: {",
" display: true,",
" text: 'API Limits Consumption'",
" },",
" legend: {",
" display: false",
" }",
" }",
" }",
" });",
"});",
"</script>`;",
"",
"// Format API response into chart data",
"const responseJson = pm.response.json();",
"const chartData = {",
" labels: [],",
" consumed: [],",
" consumedPercent: [],",
" max: []",
"};",
"Object.keys(responseJson).forEach((limitName) => {",
" const { Max, Remaining } = responseJson[limitName];",
" const consumed = Max - Remaining;",
" let percent = 0;",
" if (Max !== 0) {",
" percent = (consumed / Max) * 100;",
" percent = percent",
" .toString()",
" .match(/^-?\\d+(?:\\.\\d{0,2})?/)[0];",
" }",
" chartData.labels.push(limitName);",
" chartData.consumed.push(consumed);",
" chartData.consumedPercent.push(percent);",
" chartData.max.push(Max);",
"});",
"// Render vizualizer",
"pm.visualizer.set(template, chartData);"
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{_endpoint}}/services/data/v{{version}}/limits",
"host": [
"{{_endpoint}}"
],
"path": [
"services",
"data",
"v{{version}}",
"limits"
]
},
"description": "Lists information about limits in your org. For each limit, this resource returns the maximum allocation and the remaining allocation based on usage. This resource is available in REST API version 29.0 and later for API users with the View Setup and Configuration permission"
},
"response": [
{
"name": "Limits",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{_endpoint}}/services/data/v{{version}}/limits",
"host": [
"{{_endpoint}}"
],
"path": [
"services",
"data",
"v{{version}}",
"limits"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Date",
"value": "Tue, 26 Sep 2023 13:19:11 GMT"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Cache-Control",
"value": "no-cache,must-revalidate,max-age=0,no-store,private"
},
{
"key": "Sforce-Limit-Info",
"value": "api-usage=1/15000"
},
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8"
},
{
"key": "Vary",
"value": "Accept-Encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
}
],
"cookie": [
],
"body": "{\n \"ActiveScratchOrgs\": {\n \"Max\": 3,\n \"Remaining\": 3\n },\n \"AnalyticsExternalDataSizeMB\": {\n \"Max\": 40960,\n \"Remaining\": 40960\n },\n \"ConcurrentAsyncGetReportInstances\": {\n \"Max\": 200,\n \"Remaining\": 200\n },\n \"ConcurrentEinsteinDataInsightsStoryCreation\": {\n \"Max\": 5,\n \"Remaining\": 5\n },\n \"ConcurrentEinsteinDiscoveryStoryCreation\": {\n \"Max\": 2,\n \"Remaining\": 2\n },\n \"ConcurrentSyncReportRuns\": {\n \"Max\": 20,\n \"Remaining\": 20\n },\n \"DailyAnalyticsDataflowJobExecutions\": {\n \"Max\": 60,\n \"Remaining\": 60\n },\n \"DailyAnalyticsUploadedFilesSizeMB\": {\n \"Max\": 51200,\n \"Remaining\": 51200\n },\n \"DailyApiRequests\": {\n \"Max\": 15000,\n \"Remaining\": 14999\n },\n \"DailyAsyncApexExecutions\": {\n \"Max\": 250000,\n \"Remaining\": 250000\n },\n \"DailyAsyncApexTests\": {\n \"Max\": 540,\n \"Remaining\": 540\n },\n \"DailyBulkApiBatches\": {\n \"Max\": 15000,\n \"Remaining\": 15000\n },\n \"DailyBulkV2QueryFileStorageMB\": {\n \"Max\": 976562,\n \"Remaining\": 976562\n },\n \"DailyBulkV2QueryJobs\": {\n \"Max\": 10000,\n \"Remaining\": 10000\n },\n \"DailyDeliveredPlatformEvents\": {\n \"Max\": 10000,\n \"Remaining\": 10000\n },\n \"DailyDurableGenericStreamingApiEvents\": {\n \"Max\": 10000,\n \"Remaining\": 10000\n },\n \"DailyDurableStreamingApiEvents\": {\n \"Max\": 10000,\n \"Remaining\": 10000\n },\n \"DailyEinsteinDataInsightsStoryCreation\": {\n \"Max\": 1000,\n \"Remaining\": 1000\n },\n \"DailyEinsteinDiscoveryOptimizationJobRuns\": {\n \"Max\": 25,\n \"Remaining\": 25\n },\n \"DailyEinsteinDiscoveryPredictAPICalls\": {\n \"Max\": 50000,\n \"Remaining\": 50000\n },\n \"DailyEinsteinDiscoveryPredictionsByCDC\": {\n \"Max\": 500000,\n \"Remaining\": 500000\n },\n \"DailyEinsteinDiscoveryStoryCreation\": {\n \"Max\": 100,\n \"Remaining\": 100\n },\n \"DailyFunctionsApiCallLimit\": {\n \"Max\": 50000,\n \"Remaining\": 50000\n },\n \"DailyGenericStreamingApiEvents\": {\n \"Max\": 10000,\n \"Remaining\": 10000\n },\n \"DailyScratchOrgs\": {\n \"Max\": 6,\n \"Remaining\": 6\n },\n \"DailyStandardVolumePlatformEvents\": {\n \"Max\": 10000,\n \"Remaining\": 10000\n },\n \"DailyStreamingApiEvents\": {\n \"Max\": 10000,\n \"Remaining\": 10000\n },\n \"DailyWorkflowEmails\": {\n \"Max\": 405,\n \"Remaining\": 405\n },\n \"DataStorageMB\": {\n \"Max\": 5,\n \"Remaining\": 5\n },\n \"DurableStreamingApiConcurrentClients\": {\n \"Max\": 20,\n \"Remaining\": 20\n },\n \"FileStorageMB\": {\n \"Max\": 20,\n \"Remaining\": 20\n },\n \"HourlyAsyncReportRuns\": {\n \"Max\": 1200,\n \"Remaining\": 1200\n },\n \"HourlyDashboardRefreshes\": {\n \"Max\": 200,\n \"Remaining\": 200\n },\n \"HourlyDashboardResults\": {\n \"Max\": 5000,\n \"Remaining\": 5000\n },\n \"HourlyDashboardStatuses\": {\n \"Max\": 999999999,\n \"Remaining\": 999999999\n },\n \"HourlyLongTermIdMapping\": {\n \"Max\": 100000,\n \"Remaining\": 100000\n },\n \"HourlyManagedContentPublicRequests\": {\n \"Max\": 50000,\n \"Remaining\": 50000\n },\n \"HourlyODataCallout\": {\n \"Max\": 1000,\n \"Remaining\": 1000\n },\n \"HourlyPublishedPlatformEvents\": {\n \"Max\": 50000,\n \"Remaining\": 50000\n },\n \"HourlyPublishedStandardVolumePlatformEvents\": {\n \"Max\": 1000,\n \"Remaining\": 1000\n },\n \"HourlyShortTermIdMapping\": {\n \"Max\": 100000,\n \"Remaining\": 100000\n },\n \"HourlySyncReportRuns\": {\n \"Max\": 500,\n \"Remaining\": 500\n },\n \"HourlyTimeBasedWorkflow\": {\n \"Max\": 50,\n \"Remaining\": 50\n },\n \"MassEmail\": {\n \"Max\": 10,\n \"Remaining\": 10\n },\n \"MonthlyEinsteinDiscoveryStoryCreation\": {\n \"Max\": 500,\n \"Remaining\": 500\n },\n \"Package2VersionCreates\": {\n \"Max\": 6,\n \"Remaining\": 6\n },\n \"Package2VersionCreatesWithoutValidation\": {\n \"Max\": 500,\n \"Remaining\": 500\n },\n \"PermissionSets\": {\n \"Max\": 1500,\n \"Remaining\": 1498,\n \"CreateCustom\": {\n \"Max\": 1000,\n \"Remaining\": 998\n }\n },\n \"PrivateConnectOutboundCalloutHourlyLimitMB\": {\n \"Max\": 0,\n \"Remaining\": 0\n },\n \"PublishCallbackUsageInApex\": {\n \"Max\": 5242880,\n \"Remaining\": 5242880\n },\n \"SingleEmail\": {\n \"Max\": 15,\n \"Remaining\": 15\n },\n \"StreamingApiConcurrentClients\": {\n \"Max\": 20,\n \"Remaining\": 20\n }\n}"
}
]
}