Open Concept Lab (OCL) Importers API

The importers API from Open Concept Lab (OCL) — 9 operation(s) for importers.

GitHub OpenAPI

Operations 13

POST /importers/bulk-import-inline/ Importers bulk import inline create #
POST /importers/bulk-import-parallel-inline/ Importers bulk import parallel inline create #
POST /importers/bulk-import-parallel-inline/{import_queue}/ Importers bulk import parallel inline create #
GET /importers/bulk-import/ Importers bulk import list #
POST /importers/bulk-import/ Importers bulk import create #
DELETE /importers/bulk-import/ Importers bulk import delete #
POST /importers/bulk-import/file-url/ Importers bulk import file url create #
POST /importers/bulk-import/upload/ Importers bulk import upload create #
GET /importers/bulk-import/{import_queue}/ Importers bulk import read #
POST /importers/bulk-import/{import_queue}/ Importers bulk import create #
DELETE /importers/bulk-import/{import_queue}/ Importers bulk import delete #
POST /importers/bulk-import/{import_queue}/file-url/ Importers bulk import file url create #
POST /importers/bulk-import/{import_queue}/upload/ Importers bulk import upload create #

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/openconceptlab:openconceptlab-importers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

openconceptlab-importers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OCL Importers API
  description: 'OCL API (2.3.250-d17a48ac)


    FHIR terminology Swagger.'
  version: 2.3.250-d17a48ac
servers:
- url: https://api.openconceptlab.org/
security:
- Basic: []
- Token: []
tags:
- name: importers
paths:
  /importers/bulk-import-inline/:
    parameters: []
    post:
      operationId: importers_bulk-import-inline_create
      description: ''
      parameters:
      - name: update_if_exists
        in: query
        description: true | false (mandatory)
        schema:
          type: string
          default: 'true'
      responses:
        '201':
          description: ''
      tags:
      - importers
      deprecated: true
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
      summary: Importers bulk import inline create
      x-summary-source: derived
  /importers/bulk-import-parallel-inline/:
    parameters: []
    post:
      operationId: importers_bulk-import-parallel-inline_create
      description: ''
      parameters:
      - name: update_if_exists
        in: query
        description: true | false (mandatory)
        schema:
          type: string
          default: 'true'
      - name: index
        in: query
        description: 'Index the imported concepts and mappings for search as the import finishes: true | false. When omitted, imports of up to 5,000 lines are indexed and larger ones aren''t'
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - importers
      deprecated: true
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
                parallel:
                  type: integer
                  description: 'Parallel threads count (default: 5, max: 10)'
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
                parallel:
                  type: integer
                  description: 'Parallel threads count (default: 5, max: 10)'
      summary: Importers bulk import parallel inline create
      x-summary-source: derived
  /importers/bulk-import-parallel-inline/{import_queue}/:
    parameters:
    - name: import_queue
      in: path
      required: true
      schema:
        type: string
    post:
      operationId: postImportersBulkImportParallelInlineByImportQueue
      description: ''
      parameters:
      - name: update_if_exists
        in: query
        description: true | false (mandatory)
        schema:
          type: string
          default: 'true'
      - name: index
        in: query
        description: 'Index the imported concepts and mappings for search as the import finishes: true | false. When omitted, imports of up to 5,000 lines are indexed and larger ones aren''t'
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - importers
      deprecated: true
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
                parallel:
                  type: integer
                  description: 'Parallel threads count (default: 5, max: 10)'
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
                parallel:
                  type: integer
                  description: 'Parallel threads count (default: 5, max: 10)'
      summary: Importers bulk import parallel inline create
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: importers_bulk-import-parallel-inline_create
  /importers/bulk-import/:
    parameters: []
    get:
      operationId: importers_bulk-import_list
      description: ''
      parameters:
      - name: page
        in: query
        description: Page number
        schema:
          type: integer
      - name: limit
        in: query
        description: Page size
        schema:
          type: integer
      - name: task
        in: query
        description: task uuid (mandatory)
        schema:
          type: string
      - name: username
        in: query
        description: username
        schema:
          type: string
      - name: verbose
        in: query
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TaskList'
            application/zip:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TaskList'
            application/fhir+json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TaskList'
      tags:
      - importers
      summary: Importers bulk import list
      x-summary-source: derived
    post:
      operationId: importers_bulk-import_create
      description: ''
      parameters:
      - name: update_if_exists
        in: query
        description: true | false (mandatory)
        schema:
          type: string
          default: 'true'
      - name: index
        in: query
        description: 'Index the imported concepts and mappings for search as the import finishes: true | false. When omitted, imports of up to 5,000 lines are indexed and larger ones aren''t'
        schema:
          type: string
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskList'
            application/zip:
              schema:
                $ref: '#/components/schemas/TaskList'
            application/fhir+json:
              schema:
                $ref: '#/components/schemas/TaskList'
      tags:
      - importers
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                state:
                  type: string
                  enum:
                  - FAILURE
                  - PENDING
                  - RECEIVED
                  - RETRY
                  - REVOKED
                  - STARTED
                  - SUCCESS
                name:
                  type: string
                  maxLength: 1000
                  minLength: 1
                queue:
                  type: string
                  minLength: 1
                task:
                  type: string
                  minLength: 1
                started_at:
                  type: string
                  format: date-time
                finished_at:
                  type: string
                  format: date-time
                summary:
                  type: string
                children:
                  type: array
                  items:
                    type: string
                    minLength: 1
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
                parallel:
                  type: integer
                  description: 'Parallel threads count (default: 5, max: 10)'
              required:
              - name
              - queue
              - task
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                state:
                  type: string
                  enum:
                  - FAILURE
                  - PENDING
                  - RECEIVED
                  - RETRY
                  - REVOKED
                  - STARTED
                  - SUCCESS
                name:
                  type: string
                  maxLength: 1000
                  minLength: 1
                queue:
                  type: string
                  minLength: 1
                task:
                  type: string
                  minLength: 1
                started_at:
                  type: string
                  format: date-time
                finished_at:
                  type: string
                  format: date-time
                summary:
                  type: string
                children:
                  type: array
                  items:
                    type: string
                    minLength: 1
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
                parallel:
                  type: integer
                  description: 'Parallel threads count (default: 5, max: 10)'
              required:
              - name
              - queue
              - task
      summary: Importers bulk import create
      x-summary-source: derived
    delete:
      operationId: importers_bulk-import_delete
      description: ''
      responses:
        '204':
          description: ''
      tags:
      - importers
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                task_id:
                  description: Task Id to be terminated (mandatory)
                  type: string
        required: true
      summary: Importers bulk import delete
      x-summary-source: derived
  /importers/bulk-import/file-url/:
    parameters: []
    post:
      operationId: importers_bulk-import_file-url_create
      description: ''
      parameters:
      - name: update_if_exists
        in: query
        description: true | false (mandatory)
        schema:
          type: string
          default: 'true'
      responses:
        '201':
          description: ''
      tags:
      - importers
      deprecated: true
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
      summary: Importers bulk import file url create
      x-summary-source: derived
  /importers/bulk-import/upload/:
    parameters: []
    post:
      operationId: importers_bulk-import_upload_create
      description: ''
      parameters:
      - name: update_if_exists
        in: query
        description: true | false (mandatory)
        schema:
          type: string
          default: 'true'
      responses:
        '201':
          description: ''
      tags:
      - importers
      deprecated: true
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
      summary: Importers bulk import upload create
      x-summary-source: derived
  /importers/bulk-import/{import_queue}/:
    parameters:
    - name: import_queue
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: importers_bulk-import_read
      description: ''
      parameters:
      - name: task
        in: query
        description: task uuid (mandatory)
        schema:
          type: string
      - name: username
        in: query
        description: username
        schema:
          type: string
      - name: verbose
        in: query
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskList'
            application/zip:
              schema:
                $ref: '#/components/schemas/TaskList'
            application/fhir+json:
              schema:
                $ref: '#/components/schemas/TaskList'
      tags:
      - importers
      summary: Importers bulk import read
      x-summary-source: derived
    post:
      operationId: postImportersBulkImportByImportQueue
      description: ''
      parameters:
      - name: update_if_exists
        in: query
        description: true | false (mandatory)
        schema:
          type: string
          default: 'true'
      - name: index
        in: query
        description: 'Index the imported concepts and mappings for search as the import finishes: true | false. When omitted, imports of up to 5,000 lines are indexed and larger ones aren''t'
        schema:
          type: string
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskList'
            application/zip:
              schema:
                $ref: '#/components/schemas/TaskList'
            application/fhir+json:
              schema:
                $ref: '#/components/schemas/TaskList'
      tags:
      - importers
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                state:
                  type: string
                  enum:
                  - FAILURE
                  - PENDING
                  - RECEIVED
                  - RETRY
                  - REVOKED
                  - STARTED
                  - SUCCESS
                name:
                  type: string
                  maxLength: 1000
                  minLength: 1
                queue:
                  type: string
                  minLength: 1
                task:
                  type: string
                  minLength: 1
                started_at:
                  type: string
                  format: date-time
                finished_at:
                  type: string
                  format: date-time
                summary:
                  type: string
                children:
                  type: array
                  items:
                    type: string
                    minLength: 1
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
                parallel:
                  type: integer
                  description: 'Parallel threads count (default: 5, max: 10)'
              required:
              - name
              - queue
              - task
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                state:
                  type: string
                  enum:
                  - FAILURE
                  - PENDING
                  - RECEIVED
                  - RETRY
                  - REVOKED
                  - STARTED
                  - SUCCESS
                name:
                  type: string
                  maxLength: 1000
                  minLength: 1
                queue:
                  type: string
                  minLength: 1
                task:
                  type: string
                  minLength: 1
                started_at:
                  type: string
                  format: date-time
                finished_at:
                  type: string
                  format: date-time
                summary:
                  type: string
                children:
                  type: array
                  items:
                    type: string
                    minLength: 1
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
                parallel:
                  type: integer
                  description: 'Parallel threads count (default: 5, max: 10)'
              required:
              - name
              - queue
              - task
      summary: Importers bulk import create
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: importers_bulk-import_create
    delete:
      operationId: deleteImportersBulkImportByImportQueue
      description: ''
      responses:
        '204':
          description: ''
      tags:
      - importers
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                task_id:
                  description: Task Id to be terminated (mandatory)
                  type: string
        required: true
      summary: Importers bulk import delete
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: importers_bulk-import_delete
  /importers/bulk-import/{import_queue}/file-url/:
    parameters:
    - name: import_queue
      in: path
      required: true
      schema:
        type: string
    post:
      operationId: postImportersBulkImportByImportQueueFileUrl
      description: ''
      parameters:
      - name: update_if_exists
        in: query
        description: true | false (mandatory)
        schema:
          type: string
          default: 'true'
      responses:
        '201':
          description: ''
      tags:
      - importers
      deprecated: true
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file_url:
                  type: string
                  description: Import FILE URL (json, csv or zip)
      summary: Importers bulk import file url create
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: importers_bulk-import_file-url_create
  /importers/bulk-import/{import_queue}/upload/:
    parameters:
    - name: import_queue
      in: path
      required: true
      schema:
        type: string
    post:
      operationId: postImportersBulkImportByImportQueueUpload
      description: ''
      parameters:
      - name: update_if_exists
        in: query
        description: true | false (mandatory)
        schema:
          type: string
          default: 'true'
      responses:
        '201':
          description: ''
      tags:
      - importers
      deprecated: true
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  description: JSON Content File (json, csv or zip)
                  format: binary
      summary: Importers bulk import upload create
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: importers_bulk-import_upload_create
components:
  schemas:
    TaskList:
      required:
      - name
      - queue
      - task
      type: object
      properties:
        id:
          title: Id
          type: string
          readOnly: true
          minLength: 1
        state:
          title: State
          type: string
          enum:
          - FAILURE
          - PENDING
          - RECEIVED
          - RETRY
          - REVOKED
          - STARTED
          - SUCCESS
        name:
          title: Name
          type: string
          maxLength: 1000
          minLength: 1
        queue:
          title: Queue
          type: string
          minLength: 1
        username:
          title: Username
          type: string
          readOnly: true
        task:
          title: Task
          type: string
          minLength: 1
        created_at:
          title: Created at
          type: string
          format: date-time
          readOnly: true
        started_at:
          title: Started at
          type:
          - string
          - 'null'
          format: date-time
        finished_at:
          title: Finished at
          type:
          - string
          - 'null'
          format: date-time
        runtime:
          title: Runtime
          type: string
          readOnly: true
        summary:
          title: Summary
          type:
          - object
          - 'null'
        children:
          type:
          - array
          - 'null'
          items:
            title: Children
            type: string
            minLength: 1
        message:
          title: Message
          type: string
          readOnly: true
  securitySchemes:
    Basic:
      type: http
      scheme: basic
    Token:
      type: apiKey
      name: Authorization
      in: header