Skip to main content
POST
/
profile
/
usage
cURL
curl --request POST \
  --url https://api.pubrio.com/profile/usage \
  --header 'Content-Type: application/json' \
  --header 'pubrio-api-key: <api-key>' \
  --data '{
  "profile_id": 123
}'
{
  "data": {
    "api_monthly_usage": 0,
    "api_daily_usage": 0,
    "api_hourly_usage": 0,
    "api_last_refreshed": "2024-11-13T10:01:13.051Z",
    "portal_monthly_usage": 848,
    "portal_daily_usage": 163,
    "portal_hourly_usage": 4,
    "portal_last_refreshed": "2024-11-13T10:01:13.051Z",
    "max_api_monthly_query": 0,
    "max_api_daily_query": 0,
    "max_api_hourly_query": 0,
    "max_portal_monthly_query": 60000,
    "max_portal_daily_query": 2000,
    "max_portal_hourly_query": 1000,
    "total_max_api_monthly_query": 0,
    "total_max_api_daily_query": 0,
    "total_max_api_hourly_query": 0,
    "total_max_portal_monthly_query": 2040000,
    "total_max_portal_daily_query": 68000,
    "total_max_portal_hourly_query": 34000,
    "is_api_access_available": false,
    "is_quota_sharing_enabled": true,
    "is_quota_sharing_available": true
  }
}

Authorizations

pubrio-api-key
string
header
required

A unique API token that represents the actions you perform through the API and the corresponding permissions and operations. You can create it through the Settings section.

Body

application/json
profile_id
integer
required

An identifier for the user profile (workspace) making the request. This ID helps in associating the lookup with a specific user, allowing for data retrieval and credit tracking.

Check out user details endpoints under the Profile tab for more information.

Response

Successful response containing profile usage details.

data
object | null

Response info depends on specific endpoint.