Skip to content

HubSpot: Account info schemas

3 HubSpot schemas with complete fields and constraints.

← Account info operations · All schemas

Retrieve API Usage — response body

FieldTypePresenceDescription and constraints
$objectRoot
resultsarrayRequired within parentAn array of API usage records, each detailing the usage metrics for a specific API. Each record includes information such as the name of the API, usage limits, current usage, and the status of the data fetch.
results[]ModelEach itemExpand Retrieve API Usage — response body — results item

Referenced models: Retrieve API Usage — response body — results item

Retrieve API Usage — response body — results item

FieldTypePresenceDescription and constraints
$objectRoot
collectedAtstringRequired within parentThe date and time when the usage data was collected, in ISO 8601 format.
Format: date-time
currentUsageJSONRequired within parent
currentUsage (anyOf 1)integerAlternativeAn integer indicating the current usage count of the API resource.
Format: int32
currentUsage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
fetchStatusstringRequired within parentThe status of the data fetch operation. Valid values include 'SUCCESS', 'TIMEOUT', 'FAILURE', 'CACHED', and 'NOTFOUND'.
Known values: CACHED, FAILURE, NOTFOUND, SUCCESS, TIMEOUT
namestringRequired within parentThe name of the API resource being tracked.
resetsAtstringOptionalThe date and time when the usage limit will reset, in ISO 8601 format.
Format: date-time
usageLimitJSONRequired within parent
usageLimit (anyOf 1)integerAlternativeAn integer representing the maximum allowable usage for the API resource.
Format: int32
usageLimit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Retrieve details — response body

FieldTypePresenceDescription and constraints
$objectRoot
accountTypestringRequired within parentThe type of account associated with the portal. Valid values include 'STANDARD', 'DEVELOPER_TEST', 'SANDBOX', and 'APP_DEVELOPER'.
Known values: APP_DEVELOPER, DEVELOPER_TEST, SANDBOX, STANDARD
additionalCurrenciesarrayRequired within parentAn array of additional currencies supported by the portal, each represented as a string.
additionalCurrencies[]stringEach item
companyCurrencystringRequired within parentThe primary currency used by the company, represented as a string.
createdAtJSONOptional
createdAt (anyOf 1)integerAlternativeThe timestamp when the portal was created, represented as a Unix timestamp in milliseconds.
Format: int64
createdAt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
dataHostingLocationstringRequired within parentThe location where the portal's data is hosted, represented as a string.
portalIdJSONRequired within parent
portalId (anyOf 1)integerAlternativeThe unique identifier for the HubSpot portal, represented as an integer.
Format: int32
portalId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
portalNamestringOptionalThe name of the portal, represented as a string.
timeZonestringRequired within parentThe time zone setting of the portal, represented as a string.
uiDomainstringRequired within parentThe domain used for the portal's user interface, represented as a string.
utcOffsetstringRequired within parentThe UTC offset of the portal's time zone, represented as a string.
utcOffsetMillisecondsJSONRequired within parent
utcOffsetMilliseconds (anyOf 1)integerAlternativeThe UTC offset of the portal's time zone in milliseconds, represented as an integer.
Format: int64
utcOffsetMilliseconds (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.