Open Concept Lab (OCL) Tasks API

The tasks API from Open Concept Lab (OCL) — 3 operation(s) for tasks.

GitHub OpenAPI

Operations 4

GET /tasks/ Tasks list #
GET /tasks/{task_id}/ Tasks read #
DELETE /tasks/{task_id}/ Tasks delete #
POST /tasks/{task_id}/rerun/ Tasks rerun 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-tasks-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-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OCL Tasks 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: Tasks
paths:
  /tasks/:
    parameters: []
    get:
      operationId: tasks_list
      description: ''
      parameters:
      - name: page
        in: query
        description: page number
        schema:
          type: integer
      - name: limit
        in: query
        description: result list size
        schema:
          type: integer
          default: 25
      - name: q
        in: query
        description: search text
        schema:
          type: string
      - name: state
        in: query
        description: filter by states - PENDING,STARTED,RETRY,SUCCESS,FAILED,REVOKED
        schema:
          type: string
      - name: start_date
        in: query
        description: filter by start date of tasks
        required: false
        schema:
          type: string
          format: YYYY-MM-DD
      - 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:
      - Tasks
      summary: Tasks list
      x-summary-source: derived
  /tasks/{task_id}/:
    parameters:
    - name: task_id
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: tasks_read
      description: ''
      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:
      - Tasks
      summary: Tasks read
      x-summary-source: derived
    delete:
      operationId: tasks_delete
      description: ''
      responses:
        '204':
          description: ''
      tags:
      - Tasks
      summary: Tasks delete
      x-summary-source: derived
  /tasks/{task_id}/rerun/:
    parameters:
    - name: task_id
      in: path
      required: true
      schema:
        type: string
    post:
      operationId: tasks_rerun_create
      description: ''
      responses:
        '202':
          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:
      - Tasks
      summary: Tasks rerun create
      x-summary-source: derived
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