> ## Documentation Index
> Fetch the complete documentation index at: https://confidence.spotify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Confidence as a Platform (APIs)

> Use Confidence as a true platform and build what you need on top of it.

Confidence is a product platform built on a set of independent APIs for flags,
events, metrics, statistics, and experiment workflows. The APIs are modular, so
you can use the parts you need and build your own tooling on top of them.

<img src="https://mintcdn.com/confidence-7c0fec1b/11G4Ujrmtb-L2FaP/images/overview.png?fit=max&auto=format&n=11G4Ujrmtb-L2FaP&q=85&s=9a7737ba65f04de4566ef6ab3a048128" alt="Confidence platform APIs with warehouse-native or managed warehouse storage" width="1622" height="969" data-path="images/overview.png" />

The APIs write events, assignments, and metrics to a data warehouse. By default,
your account uses [Confidence Cloud](/docs/start/confidence-cloud): Confidence
creates and operates the warehouse, so you have no infrastructure to set up and
no credentials to create. Optionally, you can run
[Warehouse Native Confidence](/docs/start/warehouse-native) on your own
BigQuery, Snowflake, Redshift, or Databricks warehouse.

The main APIs are:

* **Flags**: Control experiences using feature flags.
* **Events**: Collect data from your users and store it in a data warehouse.
* **Metrics**: Define and compute metrics.
* **Stats**: Perform statistical testing and analysis.
* **Workflows**: Implement workflows to orchestrate experimentation designs.

## Highlights of the Confidence APIs

* **Extensible**: Confidence is by design extensible. You can build your
  own experimentation platform on top of Confidence by using the APIs. Leverage
  the parts of Confidence that makes sense for you, and build the rest yourself.

* **Warehouse-centric**: Use Confidence Cloud, the warehouse that Confidence
  operates for you, or connect your own warehouse. Warehouse Native keeps data in
  your infrastructure.

* **Usage-based pricing**: You only pay for what you use. The price you pay depends on what
  features you use and how much you consume. You can start small and scale up as
  your experimentation program grows, without having to worry about upfront
  costs.

* **Built for scale**: Confidence supports large-scale experimentation
  programs, helping you with coordination and planning of experiments across teams
  and products. Use it with hundreds of teams to run thousands of experiments.

## Learn More

Read more about the independent APIs that allow you to integrate Confidence with your existing tooling and infrastructure:

* [Flags API](/docs/reference/api/flags/concepts): feature flagging.
* [Stats API](/docs/reference/api/stats/concepts): Spotify's statistics engine.
* [Metrics API](/docs/reference/api/metrics/concepts): the metrics engine.
* [Experiments API](/docs/reference/api/experiments): experiment orchestration with A/B tests and rollouts.

You can follow the [API quickstart](/docs/reference/api/quickstart) tutorial to learn how to
make your first API call. Read more about how the APIs work in the [API basics](/docs/reference/api/api-basics)
section.
