Rulebase Import Historical Conversations Tasks API

The Import Historical Conversations Tasks API from Rulebase — 1 operation(s) for import historical conversations tasks.

Operations 2

GET /import-historical-conversations-tasks Get import historical conversations tasks #
POST /import-historical-conversations-tasks Create import historical conversations tasks #

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/rulebase:rulebase-import-historical-conversations-tasks-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

rulebase-import-historical-conversations-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Import Historical Conversations Tasks API
  version: 0.0.1
tags:
- name: Import Historical Conversations Tasks
paths:
  /import-historical-conversations-tasks:
    get:
      responses:
        '200':
          description: The organization's historical import tasks, newest first
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        num_days:
                          type: integer
                        status:
                          type: string
                          enum:
                          - pending
                          - running
                          - completed
                          - failed
                        data_source_key:
                          type: string
                          nullable: true
                        created_at:
                          type: string
                        updated_at:
                          type: string
                      required:
                      - id
                      - num_days
                      - status
                      - data_source_key
                      - created_at
                      - updated_at
                required:
                - data
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Import Historical Conversations Tasks
      summary: Get import historical conversations tasks
      x-summary-source: derived
      operationId: getImportHistoricalConversationsTasks
      x-operation-id-source: derived
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                import_historical_conversations_task:
                  type: object
                  properties:
                    num_days:
                      type: integer
                      minimum: 1
                      maximum: 3650
                    data_source_id:
                      type: string
                      nullable: true
                      enum:
                      - zendesk
                      - intercom
                      - freshdesk
                  required:
                  - num_days
                  - data_source_id
              required:
              - import_historical_conversations_task
      responses:
        '201':
          description: Task persisted and enqueued
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      num_days:
                        type: integer
                      status:
                        type: string
                        enum:
                        - pending
                        - running
                        - completed
                        - failed
                      data_source_key:
                        type: string
                        nullable: true
                      created_at:
                        type: string
                      updated_at:
                        type: string
                    required:
                    - id
                    - num_days
                    - status
                    - data_source_key
                    - created_at
                    - updated_at
                  job_id:
                    type: string
                required:
                - data
                - job_id
        '404':
          description: Data source not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Import Historical Conversations Tasks
      summary: Create import historical conversations tasks
      x-summary-source: derived
      operationId: postImportHistoricalConversationsTasks
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key