Rulebase Conversation uploads API

The Conversation uploads API from Rulebase — 3 operation(s) for conversation uploads.

Operations 4

GET /v1/conversation_uploads/{id} Get a conversation upload #
POST /v1/conversation_uploads/presign Generate a presigned URL for conversation upload #
POST /v1/conversation_uploads Upload a conversation #
GET /v1/conversation_uploads List conversation uploads #

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-conversation-uploads-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-conversation-uploads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Conversation uploads API
  version: 0.0.1
tags:
- name: Conversation uploads
paths:
  /v1/conversation_uploads/{id}:
    get:
      tags:
      - Conversation uploads
      summary: Get a conversation upload
      description: Retrieves a conversation upload by its Rulebase upload ID.
      operationId: getConversationUpload
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Conversation upload
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      status:
                        type: string
                        enum:
                        - pending
                        - processing
                        - completed
                        - expired
                        - failed
                      created_at:
                        type: string
                        format: date-time
                      updated_at:
                        type: string
                        format: date-time
                    required:
                    - id
                    - status
                    - created_at
                    - updated_at
                required:
                - data
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: Conversation upload not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
  /v1/conversation_uploads/presign:
    post:
      tags:
      - Conversation uploads
      summary: Generate a presigned URL for conversation upload
      description: Generates a presigned URL that can be used to upload conversations. The URL expires in 30 minutes.
      operationId: generatePresignedUrlForConversationUpload
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                upload:
                  type: object
                  properties:
                    filename:
                      type: string
                      description: The archive filename, including its extension.
                    source:
                      type: string
                      enum:
                      - outreach_kaia
                      - xcally
                  required:
                  - filename
                  - source
              required:
              - upload
      responses:
        '200':
          description: Presigned upload URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  upload:
                    type: object
                    properties:
                      id:
                        type: string
                      url:
                        type: string
                        format: uri
                    required:
                    - id
                    - url
                required:
                - upload
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
  /v1/conversation_uploads:
    post:
      tags:
      - Conversation uploads
      summary: Upload a conversation
      description: Uploads one conversation as multipart form data. Use this endpoint for recordings up to 100 MB.
      operationId: uploadConversation
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                upload[source]:
                  type: string
                  enum:
                  - outreach_kaia
                  - xcally
                upload[metadata][unique_id]:
                  type: string
                upload[metadata][type]:
                  type: string
                  enum:
                  - inbound
                  - outbound
                upload[metadata][agent]:
                  type: string
                upload[metadata][caller]:
                  type: string
                upload[metadata][called]:
                  type: string
                upload[metadata][recorded_at]:
                  type: string
                upload[file]:
                  type: string
                  format: binary
              required:
              - upload[source]
              - upload[metadata][unique_id]
              - upload[metadata][type]
              - upload[metadata][agent]
              - upload[metadata][caller]
              - upload[metadata][called]
              - upload[metadata][recorded_at]
              - upload[file]
      responses:
        '201':
          description: Conversation uploaded
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      status:
                        type: string
                        enum:
                        - pending
                        - processing
                        - completed
                        - expired
                        - failed
                      created_at:
                        type: string
                        format: date-time
                      updated_at:
                        type: string
                        format: date-time
                    required:
                    - id
                    - status
                    - created_at
                    - updated_at
                required:
                - data
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
    get:
      tags:
      - Conversation uploads
      summary: List conversation uploads
      description: Returns conversation uploads for the organization.
      operationId: listConversationUploads
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 50
        required: false
        name: limit
        in: query
      - schema:
          type: string
        required: false
        name: cursor
        in: query
      - schema:
          type: string
          minLength: 1
        required: false
        name: source
        in: query
      - schema:
          type: string
          minLength: 1
        required: false
        name: external_id
        in: query
      - schema:
          type: string
          format: date-time
        required: false
        name: updated_after
        in: query
      - schema:
          type: string
          format: date-time
        required: false
        name: updated_before
        in: query
      responses:
        '200':
          description: Conversation uploads
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        status:
                          type: string
                        source:
                          type: string
                        external_id:
                          type: string
                          nullable: true
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
                      required:
                      - id
                      - status
                      - source
                      - external_id
                      - created_at
                      - updated_at
                  meta:
                    type: object
                    properties:
                      page:
                        type: object
                        properties:
                          next:
                            type: string
                            nullable: true
                          limit:
                            type: integer
                        required:
                        - next
                        - limit
                    required:
                    - page
                required:
                - data
                - meta
        '400':
          description: Invalid filters or pagination cursor
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key