Skip to content

Declarative API

Declarative API Diagram

The backbone of the App Framework is the Declarative API. Full applications require multiple DataRobot resources — use cases, deployed models, playgrounds, codespaces, and more. Rather than creating each manually, the App Framework manages them all as infrastructure-as-code.

Providers

The Declarative API is available via:

How the App Framework uses it

The App Framework uses the Python provider and reduces boilerplate via an installable utility module:

Each component adds its own infra/infra/COMPONENT.py file that declares the DataRobot resources it needs. The base Pulumi project (Pulumi.yaml from af-component-base) ties everything together. This means infrastructure is version-controlled, reproducible, and promotable across DataRobot environments with a simple dr auth set-url + dr task deploy.

Reference