API reference
The ModelDesk API is a REST API for working with ModelDesk programmatically. It exposes the same operations the web application uses to manage models, metamodels, imports, exports, and organizations.
Before you call it
Section titled “Before you call it”- Audience: the API is for automating ModelDesk, for example from scripts or CI pipelines. Everything it offers can also be done in the web app, so you never need it for everyday work.
- Base URL:
https://api.modeldesk.io. - Authentication: every request carries an OAuth 2 Bearer access token tied to your ModelDesk account; requests
without a valid token receive 401 Unauthorized. The most practical way to authenticate is the
ModelDesk CLI:
modeldesk auth loginsigns in through your browser and keeps a refreshed credential for unattended use. For a pipeline that should not run as a person, an organization admin can create a service account instead, whose credentials mint the same kind of Bearer token.
Requests and responses use JSON. Errors follow the application/problem+json format.
Open the full API referenceBrowse every endpoint, its parameters, and its response schemas.