> For the complete documentation index, see [llms.txt](https://docs.predicthq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.predicthq.com/getting-started/guides/features-api-guides.md).

# Features API guides

Guides for the Features API - model-ready demand signals engineered from real-world events. Always call it with a `beam.analysis_id`; run [Beam](/getting-started/guides/beam-guides.md) first if you haven't.

Recommended order:

1. [What is the Features API?](/getting-started/core-concepts/what-is-the-features-api.md) - why engineered features beat manual event aggregation
2. [Get features with the Features API](https://github.com/predicthq/phq-data-science-docs/blob/master/demand-forecasting-with-events/get-features-with-features-api.ipynb) - the retrieval notebook
3. [Improving demand forecasting models with event features](/getting-started/guides/features-api-guides/improving-demand-forecasting-models-with-event-features.md) - the worked walkthrough, from finding relevant events to a forecasting model with event features
4. [Demand forecasting with event features](https://github.com/predicthq/phq-data-science-docs/blob/master/demand-forecasting-with-events/demand-forecasting-with-event-features.ipynb) - the full modeling workflow notebook
5. [Forecasting demand in Power BI with event features](/getting-started/guides/features-api-guides/integrate-with-a-demand-forecast-in-powerbi.md) - the same workflow demonstrated end to end in Power BI AutoML
6. [Using event features with time series foundation models](/getting-started/guides/features-api-guides/using-event-features-with-time-series-foundation-models.md) - features as future covariates for pre-trained models

Remember the serving path: models trained on these features need future-dated features at every forecast run - see the [Features API reference](/api/features/get-features.md) for training and inference windows.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.predicthq.com/getting-started/guides/features-api-guides.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
