# Prediction API

> Prediction API - DataRobot's Prediction API provides a mechanism for using your model for real-time
> predictions via serverless prediction environments.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-05-06T18:17:09.619773+00:00` (UTC).

## Primary page

- [Prediction API](https://docs.datarobot.com/en/docs/api/reference/predapi/index.html): Full documentation for this topic (HTML).

## Related documentation

- [Developer documentation](https://docs.datarobot.com/en/docs/api/index.html): Linked from this page.
- [API reference](https://docs.datarobot.com/en/docs/api/reference/index.html): Linked from this page.
- [the guidelines](https://docs.datarobot.com/en/docs/api/reference/predapi/dr-predapi-serverless.html): Linked from this page.
- [Dedicated Prediction API page](https://docs.datarobot.com/en/docs/api/reference/predapi/legacy-predapi/index.html): Linked from this page.
- [Get a prediction server ID](https://docs.datarobot.com/en/docs/api/reference/predapi/pred-server-id.html): Linked from this page.
- [Serverless Prediction API reference](https://docs.datarobot.com/en/docs/api/reference/predapi/pred-ref-serverless/index.html): Linked from this page.
- [Deprecated API routes](https://docs.datarobot.com/en/docs/api/reference/predapi/legacy-predapi/deprecated-prediction-api.html): Linked from this page.

## Documentation content

DataRobot's Prediction API provides a mechanism for using your model for real-time predictions via serverless or dedicated prediction environments. Follow [the guidelines](https://docs.datarobot.com/en/docs/api/reference/predapi/dr-predapi-serverless.html) for making serverless predictions with the Prediction API. Serverless predictions use the REST API endpoint `/api/v2/deployments/:id/predictions` and do not require a `datarobot-key` header.

To access documentation for the dedicated server Prediction API, navigate to the [Dedicated Prediction API page](https://docs.datarobot.com/en/docs/api/reference/predapi/legacy-predapi/index.html).

| Topic | Description |
| --- | --- |
| Make predictions with the API (serverless) | Make predictions using serverless prediction environments. |
| Make predictions with the Python API client | Use the DataRobot Prediction Library, a Python library for making predictions with various prediction methods. |
| Get a prediction server ID | Retrieve a prediction server ID using cURL commands from the REST API or the DataRobot Python client. |
| Serverless Prediction API reference | Review Prediction API methods, input and output parameters, and errors for serverless predictions. |
| Make predictions with the API (dedicated server) | Legacy documentation for using the Prediction API with dedicated servers. |
| Deprecated API routes | Review deprecated Prediction API routes in a reference document listing the deprecated requests and their replacements. |
