fireblocks Policy Editor V2 (Beta) API
The Policy Editor V2 (Beta) API from fireblocks — 2 operation(s) for policy editor v2 (beta).
The Policy Editor V2 (Beta) API from fireblocks — 2 operation(s) for policy editor v2 (beta).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/fireblocks:fireblocks-policy-editor-v2-beta-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
openapi: 3.2.0
info:
title: Fireblocks Policy Editor V2 (Beta) API
description: 'Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain.
- Visit our website for more information: Fireblocks Website
- Visit our developer docs: Fireblocks DevPortal'
version: 1.6.2
contact:
email: developers@fireblocks.com
servers:
- url: https://api.fireblocks.io/v1
description: Fireblocks Production Environment Base URL
- url: https://sandbox-api.fireblocks.io/v1
description: Fireblocks Sandbox Environment Base URL
tags:
- name: Policy Editor V2 (Beta)
paths:
/policy/rules/quota:
post:
parameters:
- $ref: '#/components/parameters/X-Idempotency-Key'
operationId: getPolicyRuleQuota
summary: Calculate the AOT quota for a policy rule
description: 'Returns the Amount Over Time (AOT) quota calculated for a specific policy rule.
Endpoint Permissions: Owner, Admin, Non-Signing Admin.'
tags:
- Policy Editor V2 (Beta)
x-rate-limit-category: query
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PolicyRuleQuotaRequest'
responses:
'200':
description: The calculated AOT quota for the rule
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
content:
application/json:
schema:
$ref: '#/components/schemas/PolicyRuleQuotaResponse'
'400':
description: Invalid request parameters or rule configuration prevents AOT calculation.
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
'403':
description: Caller lacks permission to access the requested rule.
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
'404':
description: The requested policy rule was not found.
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
'429':
description: 'Rate limit exceeded: slow down and retry later.'
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
'500':
description: Internal server error while calculating AOT quota.
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
default:
$ref: '#/components/responses/Error'
x-readme:
code-samples:
- language: typescript
code: 'const response: Promise<FireblocksResponse<PolicyRuleQuotaResponse>> = fireblocks.policyEditorV2Beta.getPolicyRuleQuota(policyEditorV2BetaApiGetPolicyRuleQuotaRequest);'
name: Fireblocks SDK TypeScript example
- language: java
code: CompletableFuture<ApiResponse<PolicyRuleQuotaResponse>> response = fireblocks.policyEditorV2Beta().getPolicyRuleQuota(policyRuleQuotaRequest, idempotencyKey);
name: Fireblocks SDK Java example
- language: python
code: response = fireblocks.policy_editor_v2_beta.get_policy_rule_quota(policy_rule_quota_request, idempotency_key);
name: Fireblocks SDK Python example
x-codeSamples:
- lang: TypeScript
source: 'const response: Promise<FireblocksResponse<PolicyRuleQuotaResponse>> = fireblocks.policyEditorV2Beta.getPolicyRuleQuota(policyEditorV2BetaApiGetPolicyRuleQuotaRequest);'
- lang: Java
source: CompletableFuture<ApiResponse<PolicyRuleQuotaResponse>> response = fireblocks.policyEditorV2Beta().getPolicyRuleQuota(policyRuleQuotaRequest, idempotencyKey);
- lang: Python
source: response = fireblocks.policy_editor_v2_beta.get_policy_rule_quota(policy_rule_quota_request, idempotency_key);
components:
schemas:
PolicyCurrency:
type: string
enum:
- NATIVE
- USD
- EUR
description: Currency for the amount
example: USD
AmountOverTimeConfig:
type: object
description: Amount over time configuration
properties:
range:
$ref: '#/components/schemas/AmountRangeMinMax-2'
currency:
$ref: '#/components/schemas/PolicyCurrency'
timePeriod:
$ref: '#/components/schemas/TimePeriodConfig'
required:
- range
- currency
- timePeriod
TimePeriodMatchType:
type: string
enum:
- PER_SINGLE_MATCH
- ACROSS_ALL_MATCHES
description: Type of match for time period application
example: PER_SINGLE_MATCH
TimePeriodConfig:
type: object
description: Time period configuration
properties:
seconds:
type: string
description: Time period in seconds
example: '86400'
initiator:
$ref: '#/components/schemas/TimePeriodMatchType'
source:
$ref: '#/components/schemas/TimePeriodMatchType'
destination:
$ref: '#/components/schemas/TimePeriodMatchType'
required:
- seconds
- initiator
- source
- destination
AmountRangeMinMax-2:
type: object
description: Amount range with minimum and maximum values
properties:
min:
type: string
description: Minimum amount
example: '100'
max:
type: string
description: Maximum amount
example: '10000'
required:
- min
example:
min: '100'
max: '10000'
ErrorSchema:
type: object
properties:
message:
type: string
code:
type: number
PolicyRuleQuotaRequest:
type: object
required:
- ruleId
properties:
ruleId:
type: string
description: The ID of the policy rule to calculate AOT quota for
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
initiator:
type: string
description: Optional initiator identifier for the AOT calculation
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
source:
$ref: '#/components/schemas/PolicyRuleQuotaParticipant'
destination:
$ref: '#/components/schemas/PolicyRuleQuotaParticipant'
PolicyRuleQuotaParticipant:
type: object
description: Participant identifier for AOT quota calculation
required:
- id
- type
properties:
id:
type: string
description: Participant identifier (integer for VAULT accounts, UUID for others)
example: '123'
type:
type: string
description: Participant type
example: VAULT
example:
id: '123'
type: VAULT
PolicyRuleQuotaResponse:
type: object
properties:
amount:
type: string
description: The calculated Amount Over Time (AOT) quota for the rule
example: '10000'
quotaConfig:
$ref: '#/components/schemas/AmountOverTimeConfig'
currency:
type: string
description: The currency of the AOT amount
example: USD
windowStart:
type: number
description: Unix timestamp (seconds) of the start of the current AOT time window
example: 1699913600
windowEnd:
type: number
description: Unix timestamp (seconds) of the end of the current AOT time window (when the AOT was calculated)
example: 1700000000
transactionCount:
type: number
description: Number of transactions in the current AOT time window
example: 5
responses:
Error:
description: Error Response
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
parameters:
X-Idempotency-Key:
name: Idempotency-Key
in: header
description: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
required: false
schema:
type: string
headers:
X-Request-ID:
schema:
type: string
description: Unique ID correlated to the API request. Please provide it in any support ticket you create or on Github issues related to Fireblocks SDKs
securitySchemes:
bearerTokenAuth:
type: http
scheme: bearer
bearerFormat: JWT
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
x-readme:
explorer-enabled: false
samples-languages:
- curl
- javascript
- python
x-provenance:
method: harvested
publisher: Fireblocks
source: https://swagger.fireblocks.com/openapi.yaml
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)