{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-billingbudgets/billingbudgets-billing-accounts-budgets-list":{"get":{"operationId":"analytics_googleapis_billingbudgets_billingbudgets_billing_accounts_budgets_list","summary":"Returns a list of budgets for a billing account. WARNING: There are some fields exposed on the Google Cloud…","description":"GET /v1/{+parent}/budgets","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of budgets to return per page. The default and maximum value are 100.","schema":{"type":"integer","description":"Optional. The maximum number of budgets to return per page. The default and maximum value are 100."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The value returned by the last `ListBudgetsResponse` which indicates that this is a continuation of a prior `ListBudgets` call,…","schema":{"type":"string","description":"Optional. The value returned by the last `ListBudgetsResponse` which indicates that this is a continuation of a prior `ListBudgets` call,…"}},{"name":"parent","in":"query","required":true,"description":"Required. Name of billing account to list budgets under. Values are of the form `billingAccounts/{billingAccountId}`.","schema":{"type":"string","description":"Required. Name of billing account to list budgets under. Values are of the form `billingAccounts/{billingAccountId}`."}},{"name":"scope","in":"query","required":false,"description":"Optional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it…","schema":{"type":"string","description":"Optional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-billingbudgets/billingbudgets-billing-accounts-budgets-create":{"post":{"operationId":"analytics_googleapis_billingbudgets_billingbudgets_billing_accounts_budgets_create","summary":"Creates a new budget. See [Quotas and limits](https://cloud.google.com/billing/quotas) for more information…","description":"POST /v1/{+parent}/budgets","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The name of the billing account to create the budget in. Values are of the form `billingAccounts/{billingAccountId}`."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-billingbudgets/billingbudgets-billing-accounts-budgets-get":{"get":{"operationId":"analytics_googleapis_billingbudgets_billingbudgets_billing_accounts_budgets_get","summary":"Returns a budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available…","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. Name of budget to get. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`.","schema":{"type":"string","description":"Required. Name of budget to get. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-billingbudgets/billingbudgets-billing-accounts-budgets-patch":{"post":{"operationId":"analytics_googleapis_billingbudgets_billingbudgets_billing_accounts_budgets_patch","summary":"Updates a budget and returns the updated budget. WARNING: There are some fields exposed on the Google Cloud…","description":"PATCH /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Output only. Resource name of the budget. The resource name implies the scope of a budget. Values are of the form…"},"updateMask":{"type":"string","description":"Optional. Indicates which fields in the provided budget to update. Read-only fields (such as `name`) cannot be changed. If this is not…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-billingbudgets/billingbudgets-billing-accounts-budgets-delete":{"post":{"operationId":"analytics_googleapis_billingbudgets_billingbudgets_billing_accounts_budgets_delete","summary":"Deletes a budget. Returns successfully if already deleted.","description":"DELETE /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. Name of the budget to delete. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}