Bentley Systems iModels API

Create, query, clone, fork, and delete iModels.

Documentation

📖
Documentation
https://developer.bentley.com/apis/access-control-v2/
📖
APIReference
https://developer.bentley.com/apis/access-control-v2/operations/
📖
Documentation
https://developer.bentley.com/apis/itwins/
📖
APIReference
https://developer.bentley.com/apis/itwins/operations/
📖
Documentation
https://developer.bentley.com/apis/users/
📖
APIReference
https://developer.bentley.com/apis/users/operations/
📖
Documentation
https://developer.bentley.com/apis/imodels-v2/
📖
APIReference
https://developer.bentley.com/apis/imodels-v2/operations/
📖
Documentation
https://developer.bentley.com/apis/storage/
📖
APIReference
https://developer.bentley.com/apis/storage/operations/
📖
Documentation
https://developer.bentley.com/apis/webhooks-v2/
📖
APIReference
https://developer.bentley.com/apis/webhooks-v2/operations/
📖
Documentation
https://developer.bentley.com/apis/synchronization/
📖
APIReference
https://developer.bentley.com/apis/synchronization/operations/
📖
Documentation
https://developer.bentley.com/apis/reality-management/
📖
APIReference
https://developer.bentley.com/apis/reality-management/operations/
📖
Documentation
https://developer.bentley.com/apis/contextcapture/
📖
APIReference
https://developer.bentley.com/apis/contextcapture/operations/
📖
Documentation
https://developer.bentley.com/apis/reality-analysis/
📖
APIReference
https://developer.bentley.com/apis/reality-analysis/operations/
📖
Documentation
https://developer.bentley.com/apis/realityconversion/
📖
APIReference
https://developer.bentley.com/apis/realityconversion/operations/
📖
Documentation
https://developer.bentley.com/apis/schedules/
📖
APIReference
https://developer.bentley.com/apis/schedules/operations/
📖
Documentation
https://developer.bentley.com/apis/insights/
📖
APIReference
https://developer.bentley.com/apis/insights/operations/
📖
Documentation
https://developer.bentley.com/apis/carbon-calculation/
📖
APIReference
https://developer.bentley.com/apis/carbon-calculation/operations/
📖
Documentation
https://developer.bentley.com/apis/clash-detection-v2/
📖
APIReference
https://developer.bentley.com/apis/clash-detection-v2/operations/
📖
Documentation
https://developer.bentley.com/apis/changed-elements-v2/
📖
APIReference
https://developer.bentley.com/apis/changed-elements-v2/operations/
📖
Documentation
https://developer.bentley.com/apis/issues-v1/
📖
APIReference
https://developer.bentley.com/apis/issues-v1/operations/
📖
Documentation
https://developer.bentley.com/apis/forms-v2/
📖
APIReference
https://developer.bentley.com/apis/forms-v2/operations/
📖
Documentation
https://developer.bentley.com/apis/library/
📖
APIReference
https://developer.bentley.com/apis/library/operations/
📖
Documentation
https://developer.bentley.com/apis/savedviews/
📖
APIReference
https://developer.bentley.com/apis/savedviews/operations/
📖
Documentation
https://developer.bentley.com/apis/scenes/
📖
APIReference
https://developer.bentley.com/apis/scenes/operations/
📖
Documentation
https://developer.bentley.com/apis/named-groups/
📖
APIReference
https://developer.bentley.com/apis/named-groups/operations/
📖
Documentation
https://developer.bentley.com/apis/grouping-and-mapping/
📖
APIReference
https://developer.bentley.com/apis/grouping-and-mapping/operations/
📖
Documentation
https://developer.bentley.com/apis/transformations/
📖
APIReference
https://developer.bentley.com/apis/transformations/operations/
📖
Documentation
https://developer.bentley.com/apis/export/
📖
APIReference
https://developer.bentley.com/apis/export/operations/
📖
Documentation
https://developer.bentley.com/apis/mesh-export/
📖
APIReference
https://developer.bentley.com/apis/mesh-export/operations/
📖
Documentation
https://developer.bentley.com/apis/sensor-data/
📖
APIReference
https://developer.bentley.com/apis/sensor-data/operations/
📖
Documentation
https://developer.bentley.com/apis/cesium-curated-content/
📖
APIReference
https://developer.bentley.com/apis/cesium-curated-content/operations/
📖
Documentation
https://developer.bentley.com/apis/geospatial-features/
📖
APIReference
https://developer.bentley.com/apis/geospatial-features/operations/
📖
Documentation
https://developer.bentley.com/apis/edfs/
📖
APIReference
https://developer.bentley.com/apis/edfs/operations/
📖
Documentation
https://developer.bentley.com/apis/pnid-to-itwin-v2/
📖
APIReference
https://developer.bentley.com/apis/pnid-to-itwin-v2/operations/

Specifications

Other Resources

OpenAPI Specification

bentley-systems-imodels-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: iTwin Control Access iModels API
  description: Role-based access control for iTwins — permissions, roles, group membership, owner members, invitations, shares, and job-based access.
  version: '1.0'
  contact:
    name: Bentley Developer Relations
    url: https://developer.bentley.com/apis/access-control/
  license:
    name: Bentley Developer Portal Terms
    url: https://developer.bentley.com/legal/
servers:
- url: https://api.bentley.com/accesscontrol
  description: iTwin Platform Production
security:
- OAuth2: []
tags:
- name: iModels
  description: Create, query, clone, fork, and delete iModels.
paths:
  /:
    get:
      tags:
      - iModels
      summary: Get iModels
      operationId: GetIModels
      parameters:
      - name: iTwinId
        in: query
        required: true
        schema:
          type: string
          format: uuid
      - name: $top
        in: query
        schema:
          type: integer
      - name: $skip
        in: query
        schema:
          type: integer
      responses:
        '200':
          description: List of iModels
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IModelList'
    post:
      tags:
      - iModels
      summary: Create iModel
      operationId: CreateIModel
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateIModel'
      responses:
        '201':
          description: iModel created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IModel'
  /{iModelId}:
    parameters:
    - name: iModelId
      in: path
      required: true
      schema:
        type: string
        format: uuid
    get:
      tags:
      - iModels
      summary: Get iModel
      operationId: GetIModel
      responses:
        '200':
          description: iModel details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IModel'
    patch:
      tags:
      - iModels
      summary: Update iModel
      operationId: UpdateIModel
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateIModel'
      responses:
        '200':
          description: iModel updated
    delete:
      tags:
      - iModels
      summary: Delete iModel
      operationId: DeleteIModel
      responses:
        '204':
          description: iModel deleted
  /{iModelId}/clone:
    parameters:
    - name: iModelId
      in: path
      required: true
      schema:
        type: string
        format: uuid
    post:
      tags:
      - iModels
      summary: Clone iModel
      operationId: CloneIModel
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CloneIModel'
      responses:
        '202':
          description: Clone job accepted
  /{iModelId}/fork:
    parameters:
    - name: iModelId
      in: path
      required: true
      schema:
        type: string
        format: uuid
    post:
      tags:
      - iModels
      summary: Fork iModel
      operationId: ForkIModel
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ForkIModel'
      responses:
        '202':
          description: Fork job accepted
components:
  schemas:
    IModelList:
      type: object
      properties:
        iModels:
          type: array
          items:
            $ref: '#/components/schemas/IModel'
    CreateIModel:
      type: object
      required:
      - iTwinId
      - name
      properties:
        iTwinId:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
        extent:
          type: object
          properties:
            southWest:
              type: object
              properties:
                latitude:
                  type: number
                longitude:
                  type: number
            northEast:
              type: object
              properties:
                latitude:
                  type: number
                longitude:
                  type: number
    IModel:
      type: object
      properties:
        id:
          type: string
          format: uuid
        displayName:
          type: string
        name:
          type: string
        description:
          type: string
        state:
          type: string
          enum:
          - initialized
          - notInitialized
        iTwinId:
          type: string
          format: uuid
        createdDateTime:
          type: string
          format: date-time
        creatorId:
          type: string
          format: uuid
        dataCenterLocation:
          type: string
    CloneIModel:
      type: object
      required:
      - iTwinId
      - name
      properties:
        iTwinId:
          type: string
          format: uuid
        name:
          type: string
        changesetId:
          type: string
    ForkIModel:
      type: object
      required:
      - iTwinId
      - name
      properties:
        iTwinId:
          type: string
          format: uuid
        name:
          type: string
        changesetId:
          type: string
    UpdateIModel:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
  securitySchemes:
    OAuth2:
      type: oauth2
      description: iTwin Platform OAuth2 — Bentley IMS
      flows:
        authorizationCode:
          authorizationUrl: https://ims.bentley.com/connect/authorize
          tokenUrl: https://ims.bentley.com/connect/token
          scopes:
            itwin-platform: Full access to iTwin Platform APIs
externalDocs:
  description: iTwin Access Control API Documentation
  url: https://developer.bentley.com/apis/access-control/