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

# Overview

> REST API endpoints for managing Beam pipelines programmatically.

Use the **Allium Beam** API to create and operate filtered, realtime blockchain data pipelines. Choose a chain and entity from Allium Datastreams, apply filters and JavaScript transforms, and deliver the results to Kafka, SNS, NATS JetStream, a webhook, or your own Kafka cluster.

## Authentication

Base URL: `https://api.allium.so/api/v1/beam`

Authenticate every request with your API key in the `X-API-Key` header:

```bash theme={null}
curl -X GET https://api.allium.so/api/v1/beam \
  -H "X-API-Key: ${ALLIUM_API_KEY}"
```

Create an API key at [app.allium.so/settings/api-keys](https://app.allium.so/settings/api-keys).

## Run a pipeline

**1. Create a pipeline config**

Call [Create pipeline](https://docs.allium.so/beam/api-reference/configs/create-pipeline.md) with a source (chain and entity), transforms (set filter, JavaScript, or both), and sinks (delivery destinations). The response includes the pipeline `id` and each transform's `uid`.

**2. Deploy**

Call [Deploy](https://docs.allium.so/beam/api-reference/deployment/deploy.md) to start the pipeline. Deployment takes a few seconds.

**3. Monitor**

Use [Deployment stats](https://docs.allium.so/beam/api-reference/deployment/stats.md) for worker health and [Deployment metrics](https://docs.allium.so/beam/api-reference/deployment/metrics.md) for throughput, latency, and error rates.

**4. Iterate**

Update the config or transforms at any time and redeploy. Deploys are idempotent and zero-downtime. Filter value changes take effect immediately, with no redeploy.

## Pausing and data retention

[Pause](https://docs.allium.so/beam/api-reference/deployment/pause.md) stops processing but keeps the deployment in place. Call [Deploy](https://docs.allium.so/beam/api-reference/deployment/deploy.md) to resume.

While paused, Beam retains incoming data for up to **2 days**. Older data is dropped and not delivered on resume, so resume within 2 days to avoid data loss.

[Teardown](https://docs.allium.so/beam/api-reference/deployment/teardown.md) removes the deployment. Data that arrives between teardown and the next deploy is not delivered.

## Endpoint groups

> [card] [Configs](https://docs.allium.so/beam/api-reference/configs/list-pipelines.md)
>
> Create, read, update, and delete pipeline configurations.

> [card] [Deployment](https://docs.allium.so/beam/api-reference/deployment/deploy.md)
>
> Deploy, pause, tear down, and monitor pipelines.

> [card] [Filter values](https://docs.allium.so/beam/api-reference/filter-values/list-filter-values.md)
>
> Manage the values in set filters (deprecated; use datasets instead).

> [card] [Datasets](https://docs.allium.so/beam/api-reference/datasets/overview.md)
>
> Manage named value sets your JavaScript transforms query with `beam.contains()`.

> [card] [Backfills](https://docs.allium.so/beam/api-reference/backfills/create-backfill.md)
>
> Deliver historical data to a destination for a past time window.

See the [configuration reference](https://docs.allium.so/beam/api-reference/configuration.md) for the full `BeamConfig` schema.
