Organizations
List organizations the user has access to
Get organization
Create organization
Modify organization.
Delete organization.
ModelsExpand Collapse
class Organization: …References an Organization in the Cloudflare data model.
References an Organization in the Cloudflare data model.
meta: Meta
Ordered chain of organization tags from the root organization down to
(and including) this organization itself. Root organizations return a
single-element array containing their own tag; sub-organizations return
[rootTag, ...intermediateTags, parentTag, selfTag]. Useful for
constructing authorization scopes that need to cover every ancestor
in the hierarchy.
OrganizationsOrganization Accounts
OrganizationsOrganization Profile
Get organization profile
Modify organization profile.
OrganizationsMembers
OrganizationsLogs
OrganizationsLogsAudit
Get organization audit logs (Version 2)
Get resource change history from an organization audit log entry (Version 2)
ModelsExpand Collapse
class AuditListResponse: …
actor: Optional[Actor]Provides details about the actor who performed the action.
Provides details about the actor who performed the action.
The ID of the actor who performed the action. If a user performed the action, this will be their User ID.
context: Optional[Literal["api", "api_key", "api_token", 3 more]]The context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.
api_key: The action was authenticated with a Cloudflare Global API Key.
api_token: The action was authenticated with an API token.
dash: The action was performed through the Cloudflare dashboard.
oauth: The action was authenticated with an OAuth token.
origin_ca_key: The action was authenticated with an Origin CA key.
The context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.api_key: The action was authenticated with a Cloudflare Global API Key.api_token: The action was authenticated with an API token.dash: The action was performed through the Cloudflare dashboard.oauth: The action was authenticated with an OAuth token.origin_ca_key: The action was authenticated with an Origin CA key.
List[AuditHistoryResponseItem]
actor: Optional[AuditHistoryResponseItemActor]Provides details about the actor who performed the action.
Provides details about the actor who performed the action.
The ID of the actor who performed the action. If a user performed the action, this will be their User ID.
context: Optional[Literal["api", "api_key", "api_token", 3 more]]The context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.
api_key: The action was authenticated with a Cloudflare Global API Key.
api_token: The action was authenticated with an API token.
dash: The action was performed through the Cloudflare dashboard.
oauth: The action was authenticated with an OAuth token.
origin_ca_key: The action was authenticated with an Origin CA key.
The context in which the action was initiated.
api: The action was performed through the API. The specific credential type was not recorded.api_key: The action was authenticated with a Cloudflare Global API Key.api_token: The action was authenticated with an API token.dash: The action was performed through the Cloudflare dashboard.oauth: The action was authenticated with an OAuth token.origin_ca_key: The action was authenticated with an Origin CA key.
organization: Optional[AuditHistoryResponseItemOrganization]Contains organization related information.
Contains organization related information.
OrganizationsBilling
OrganizationsBillingUsage
Get Organization Usage (Version 2, Alpha, Restricted)
ModelsExpand Collapse
List[UsageGetResponseItem]Contains the array of cost and usage records.
Contains the array of cost and usage records.
Highest-level classification of a charge based on the nature of how it gets billed. Currently only “Usage” is supported.
Indicates how often a charge occurs. Currently only “Usage-Based” is supported.
Exclusive end of the time interval during which the usage was consumed.
Inclusive start of the time interval during which the usage was consumed.
Measured usage amount within the charge period. Reflects raw metered consumption before pricing transformations.
The unique identifier for the billable metric in the Cloudflare catalog. Cloudflare extension; replaces FOCUS SkuId.
The display name of the billable metric. Cloudflare extension; replaces FOCUS SkuMeter.
A charge serving as the basis for invoicing, inclusive of all reduced rates and discounts while excluding the amortization of upfront charges (one-time or recurring).
Exclusive end of the billing cycle that contains this usage record.
Inclusive start of the billing cycle that contains this usage record.
Indicates whether the row represents a correction to one or more charges invoiced in a previous billing period.
Cost calculated by multiplying ContractedUnitPrice and the corresponding PricingQuantity.
The agreed-upon unit price for a single PricingUnit of the associated billable metric, inclusive of negotiated discounts, if present, while excluding any other discounts.
The amortized cost of the charge after applying all reduced rates, discounts, and the applicable portion of relevant, prepaid purchases (one-time or recurring) that covered the charge.
Cost calculated by multiplying ListUnitPrice and the corresponding PricingQuantity.
Suggested provider-published unit price for a single PricingUnit of the associated billable metric, exclusive of any discounts.
Volume of a given service used or purchased, based on the PricingUnit.
Provider-specified measurement unit for determining unit prices, indicating how the provider rates measured usage after applying pricing rules like block pricing.
Provider-assigned identifier for an isolated geographic area where a service is provided.
Unique identifier assigned to a grouping of services. For Cloudflare, this is the subscription or contract ID.
Name assigned to a grouping of services. For Cloudflare, this is the subscription or contract display name.
tags: Optional[Dict[str, Union[str, Literal[true]]]]Tag values for the requested GroupBy keys. Omitted when GroupBy is not provided. Missing keys are omitted, and key-only tags are returned as boolean true. All other tag values are strings.
Tag values for the requested GroupBy keys. Omitted when GroupBy is not provided. Missing keys are omitted, and key-only tags are returned as boolean true. All other tag values are strings.
The product category the charge belongs to (e.g., “Developer”, “Cloudflare One”). Cloudflare extension; replaces FOCUS ServiceCategory.
The unique identifier for the product family in the Cloudflare catalog. Cloudflare extension; replaces FOCUS ServiceId.