Censys · Schema
CreditUsageReport
CreditUsageReport schema from Censys Platform API
SecurityInternet IntelligenceAttack Surface ManagementThreat Huntingcyber-threat-intelligenceOSINTInternet ScanningCertificatesAsset Discovery
Properties
| Name | Type | Description |
|---|---|---|
| credits_consumed_by_consumer | string | The breakdown of credits consumed by consumer. This may not be present if the report is generated for a specific user. |
| credits_consumed_by_source | object | The breakdown of credits consumed by source. |
| end_time | string | The end time of the window for this report. |
| granularity | string | The granularity of the report. |
| periods | arraynull | The periods of the report (i.e. time buckets). |
| start_time | string | The start time of the window for this report. |
| total_added | integer | The total amount of credits added during the report period. |
| total_consumed | integer | The total amount of credits consumed during the report period. |
| total_expired | integer | The total amount of credits expired during the report period. |
| transaction_count | integer | The total number of transactions during the report period. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-schema/platform-creditusagereport-schema.json",
"title": "CreditUsageReport",
"description": "CreditUsageReport schema from Censys Platform API",
"type": "object",
"properties": {
"credits_consumed_by_consumer": {
"description": "The breakdown of credits consumed by consumer. This may not be present if the report is generated for a specific user.",
"type": "string"
},
"credits_consumed_by_source": {
"$ref": "#/components/schemas/SourceUsageBreakdown",
"description": "The breakdown of credits consumed by source."
},
"end_time": {
"description": "The end time of the window for this report.",
"format": "date-time",
"type": "string"
},
"granularity": {
"default": "daily",
"description": "The granularity of the report.",
"enum": [
"daily",
"monthly"
],
"examples": [
"daily"
],
"type": "string"
},
"periods": {
"description": "The periods of the report (i.e. time buckets).",
"items": {
"$ref": "#/components/schemas/CreditUsageReportPeriod"
},
"type": [
"array",
"null"
]
},
"start_time": {
"description": "The start time of the window for this report.",
"format": "date-time",
"type": "string"
},
"total_added": {
"description": "The total amount of credits added during the report period.",
"format": "int64",
"type": "integer"
},
"total_consumed": {
"description": "The total amount of credits consumed during the report period.",
"format": "int64",
"type": "integer"
},
"total_expired": {
"description": "The total amount of credits expired during the report period.",
"format": "int64",
"type": "integer"
},
"transaction_count": {
"description": "The total number of transactions during the report period.",
"format": "int64",
"type": "integer"
}
},
"required": [
"start_time",
"end_time",
"granularity",
"total_consumed",
"total_added",
"total_expired",
"transaction_count",
"periods",
"credits_consumed_by_source"
],
"additionalProperties": false
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/platform-creditusagereport"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.