Home
Learn
Certify
Standards
Community
Summit
Research
Platforms
Enterprise
← All Features

Enterprise API

REST and GraphQL APIs with dedicated endpoints, webhook event streaming, batch processing, and enterprise-grade rate limits.

Quick Start

Get started in minutes

Our RESTful API follows OpenAPI 3.0 specification with comprehensive documentation, SDKs for major languages, and interactive API explorer.

OpenAPI 3.0 specification
SDKs for Python, Node.js, Go, Java
Interactive API explorer
Postman collection available
Rate limit headers on every response
// IFO4 Enterprise API - Cost Summary
const response = await fetch('https://api.ifo4.org/v2/costs/summary', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <api_key>',
    'X-Org-Id': '<org_id>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    startDate: '2026-01-01',
    endDate: '2026-03-31',
    groupBy: ['service', 'account'],
    filters: {
      providers: ['aws', 'azure'],
      tags: { environment: 'production' },
    },
  }),
});

const data = await response.json();
// { total: 1284572.34, currency: 'USD', groups: [...] }
API Reference

Key API endpoints

MethodEndpointDescription
GET/v2/costs/summaryRetrieve cost summary by account, service, region, or custom tag
GET/v2/costs/timeseriesHistorical cost data with configurable granularity (hourly, daily, monthly)
POST/v2/costs/forecastGenerate cost forecast based on historical patterns and growth models
GET/v2/recommendationsList optimization recommendations with estimated savings
POST/v2/recommendations/:id/applyApply an optimization recommendation (rightsizing, reservation, etc.)
GET/v2/budgetsList all budgets with current spend and forecast
POST/v2/budgetsCreate a new budget with threshold alerts
GET/v2/anomaliesList detected cost anomalies with root cause analysis
GET/v2/governance/policiesList cost governance policies and compliance status
POST/v2/reports/generateGenerate custom report with specified dimensions and filters
GET/v2/webhooksList configured webhook endpoints and event subscriptions
POST/v2/batch/costsBatch cost query for multiple accounts/services in single request
Rate Limits

API rate limits by plan

Team
Requests / min1,000 / min
Burst / sec100 / sec
Concurrent10
Data Retention90 days
Business
Requests / min10,000 / min
Burst / sec500 / sec
Concurrent50
Data Retention12 months
Enterprise
Requests / min100,000 / min
Burst / sec5,000 / sec
Concurrent500
Data Retention36 months
Webhook Events

Real-time event streaming

cost.anomaly.detected
Triggered when a spending anomaly is detected above threshold
budget.threshold.reached
Fired when budget reaches configured percentage thresholds
recommendation.new
New optimization recommendation generated by the analysis engine
recommendation.applied
An optimization recommendation has been successfully applied
policy.violation
A governance policy violation has been detected
report.ready
A scheduled or on-demand report has completed generation
user.provisioned
A new user has been provisioned via SCIM or manual invite
integration.sync.complete
A data source integration has completed its sync cycle

Ready to integrate?

Get API access and start building with our enterprise API today.

Get API Access