DataRobot Oauth2 API

The Oauth2 API from DataRobot — 2 operation(s) for oauth2.

Operations 2

POST /oauth2/token Authenticate to the DataRobot API with an external IdP token #
POST /oauth2/token/{organizationid} POST /oauth2/token/{organizationId} #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/datarobot:datarobot-oauth2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

datarobot-oauth2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DataRobot Oauth2 API
  version: '2026-10-03'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-03: 18 operation(s) read from 15 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; DataRobot has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 16
    documentation: 2
    pages-with-code: 12
    pages-read: 15
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-03'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.datarobot.com/en/docs/api/dev-learning/api-quickstart.html
  - https://docs.datarobot.com/en/docs/agentic-ai/agentic-mcp/agentic-tools-mcp.html
  - https://docs.datarobot.com/en/docs/agentic-ai/agentic-develop/agentic-get-started.html
  - https://docs.datarobot.com/en/docs/agentic-ai/agentic-develop/agentic-memory-service.html
  - https://docs.datarobot.com/en/docs/agentic-ai/agentic-mcp/agentic-mcp-dynamic-tool-registration.html
  - https://docs.datarobot.com/en/docs/agentic-ai/agentic-mcp/agentic-mcp-clients.html
  - https://docs.datarobot.com/en/docs/agentic-ai/cli/overview.html
  - https://docs.datarobot.com/en/docs/agentic-ai/cli/getting-started.html
  - https://docs.datarobot.com/en/docs/agentic-ai/cli/quick-reference.html
  - https://docs.datarobot.com/en/docs/agentic-ai/cli/development/setup.html
  - https://docs.datarobot.com/en/docs/agentic-ai/cli/shell-completions.html
  - https://docs.datarobot.com/en/docs/agentic-ai/cli/local-experimentation/index.html
  - https://docs.datarobot.com/en/docs/api/dev-learning/inbound-oauth-tokens.html
  - https://docs.datarobot.com/en/docs/api/dev-learning/restapi/multi-rest.html
  - https://docs.datarobot.com/en/docs/api/dev-learning/restapi/rest-cluster.html
servers:
- url: https://cli.datarobot.com
security:
- bearer: []
tags:
- name: OAuth2
paths:
  /oauth2/token:
    post:
      operationId: post_oauth2_token
      tags:
      - OAuth2
      summary: Authenticate to the DataRobot API with an external IdP token
      description: Exchange an IdP access token for a short‑lived DataRobot access token using OAuth 2.0 token exchange.
      x-source: https://docs.datarobot.com/en/docs/api/dev-learning/inbound-oauth-tokens.html
      parameters:
      - name: grant_type
        in: query
        required: true
        schema:
          type: string
        description: urn:ietf:params:oauth:grant-type:token-exchange
      - name: subject_token
        in: query
        required: true
        schema:
          type: string
        description: Your IDP access token.
      - name: subject_token_type
        in: query
        required: true
        schema:
          type: string
        description: urn:ietf:params:oauth:token-type:access_token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostOauth2TokenRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOauth2TokenResponse'
      x-evidence:
        kind: documentation
  /oauth2/token/{organizationid}:
    post:
      operationId: post_oauth2_token_organizationid
      tags:
      - OAuth2
      summary: POST /oauth2/token/{organizationId}
      x-source: https://docs.datarobot.com/en/docs/api/dev-learning/inbound-oauth-tokens.html
      parameters:
      - name: organizationid
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOauth2TokenOrganizationidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl --location -X POST  "https://YOUR_DATAROBOT_HOST/oauth2/token/ORGANIZATION_ID"  --header "Accept: application/json"  --header "Content-Type: application/x-www-form-urlencoded"  --data-urlencode "grant_type=urn:ietf:params:oauth:grant-type:token-exchange"  --data-urlencode "subject_token= ${ IDP_ACCESS_TOKEN } "  --data-urlencode "subject_token_type=urn:ietf:params:oauth:token-type:access_toke'
components:
  schemas:
    PostOauth2TokenOrganizationidResponse:
      type: object
      properties:
        Accept:
          type: string
    PostOauth2TokenResponse:
      type: object
      properties:
        access_token:
          type: string
          description: The DataRobot access token to use on API requests.
        token_type:
          type: string
          description: Always Bearer.
        expires_in:
          type: integer
          description: Lifetime of the token, in seconds.
        scope:
          type: string
          description: The granted scope. Inbound OAuth tokens carry the dr.impersonation scope.
    PostOauth2TokenRequest:
      type: object
      properties:
        grant_type:
          type: string
          description: urn:ietf:params:oauth:grant-type:token-exchange
        subject_token:
          type: string
          description: Your IDP access token.
        subject_token_type:
          type: string
          description: urn:ietf:params:oauth:token-type:access_token
      required:
      - grant_type
      - subject_token
      - subject_token_type
  securitySchemes:
    bearer:
      type: http
      scheme: bearer