Kairon CSV Imports API

The csv-imports API from Kairon — 5 operation(s) for csv-imports.

GitHub OpenAPI

Operations 7

POST /api/csv-imports/runs Csv import controller create #
GET /api/csv-imports/runs Csv import controller list active #
GET /api/csv-imports/runs/{id} Csv import controller get #
DELETE /api/csv-imports/runs/{id} Csv import controller delete #
GET /api/csv-imports/runs/{id}/rows Csv import controller rows #
POST /api/csv-imports/runs/{id}/resolve Csv import controller resolve #
POST /api/csv-imports/runs/{id}/complete Csv import controller complete #

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/heykairon-com:heykairon-com-csv-imports-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

heykairon-com-csv-imports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kairon CSV Imports API
  description: B2B agentic go-to-market platform
  version: 0.0.0
  contact: {}
servers: []
security:
- api-key: []
tags:
- name: csv-imports
paths:
  /api/csv-imports/runs:
    post:
      operationId: CsvImportController_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCsvImportDto'
      responses:
        '201':
          description: ''
      tags:
      - csv-imports
      summary: Csv import controller create
      x-summary-source: derived
    get:
      operationId: CsvImportController_listActive
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - csv-imports
      summary: Csv import controller list active
      x-summary-source: derived
  /api/csv-imports/runs/{id}:
    get:
      operationId: CsvImportController_get
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - csv-imports
      summary: Csv import controller get
      x-summary-source: derived
    delete:
      operationId: CsvImportController_delete
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: ''
      tags:
      - csv-imports
      summary: Csv import controller delete
      x-summary-source: derived
  /api/csv-imports/runs/{id}/rows:
    get:
      operationId: CsvImportController_rows
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - csv-imports
      summary: Csv import controller rows
      x-summary-source: derived
  /api/csv-imports/runs/{id}/resolve:
    post:
      operationId: CsvImportController_resolve
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '202':
          description: ''
      tags:
      - csv-imports
      summary: Csv import controller resolve
      x-summary-source: derived
  /api/csv-imports/runs/{id}/complete:
    post:
      operationId: CsvImportController_complete
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CsvImportCompleteDto'
      responses:
        '201':
          description: ''
      tags:
      - csv-imports
      summary: Csv import controller complete
      x-summary-source: derived
components:
  schemas:
    CsvImportCompleteDto:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 200
      required:
      - name
    CreateCsvImportDto:
      type: object
      properties:
        mode:
          type: string
          enum:
          - people
          - companies
          x-nestjs_zod-uses-3-point-1-syntax: true
        country:
          anyOf:
          - type: string
            minLength: 2
            maxLength: 2
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        fileName:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        mapping:
          type: object
          properties:
            firstName:
              type: string
            lastName:
              type: string
            fullName:
              type: string
            company:
              type: string
            domain:
              type: string
            url:
              type: string
            role:
              type: string
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-self-required: true
        headers:
          type: array
          items:
            type: string
          x-nestjs_zod-uses-3-point-1-syntax: true
        rows:
          minItems: 1
          maxItems: 6000
          type: array
          items:
            type: object
            properties:
              rowIndex:
                type: integer
                minimum: 0
                maximum: 9007199254740991
              raw:
                type: object
                propertyNames:
                  type: string
                additionalProperties:
                  type: string
            required:
            - rowIndex
            - raw
          x-nestjs_zod-uses-3-point-1-syntax: true
      required:
      - mode
      - mapping
      - headers
      - rows
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: 'A Kairon API key (Settings → Integrations → API access), sent as `x-api-key`. NOT an `Authorization: Bearer` token — that header belongs to the separate /mcp door and is ignored here.'
    session:
      type: apiKey
      in: cookie
      name: better-auth.session_token