Rulebase Calls API
The Calls API from Rulebase — 2 operation(s) for calls.
The Calls API from Rulebase — 2 operation(s) for calls.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/rulebase:rulebase-calls-api"
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.
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: 3.2.0
info:
title: Rulebase API2 Calls API
version: 0.0.1
tags:
- name: Calls
paths:
/calls:
get:
parameters:
- schema:
type: integer
minimum: 1
maximum: 50
required: false
name: limit
in: query
- schema:
type: string
minLength: 1
required: false
name: conversation_id
in: query
responses:
'200':
description: The signed-in member's recent calls with their agent summary, newest first, optionally narrowed to one conversation.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
started_at:
type: string
nullable: true
ended_at:
type: string
nullable: true
duration_ms:
type: number
nullable: true
direction:
type: string
nullable: true
customer_name:
type: string
nullable: true
company_name:
type: string
nullable: true
conversation:
type: object
nullable: true
properties:
id:
type: string
nullable: true
external_id:
type: string
nullable: true
external_url:
type: string
nullable: true
subject:
type: string
nullable: true
required:
- id
- external_id
- external_url
- subject
agent:
type: object
nullable: true
properties:
id:
type: string
nullable: true
name:
type: string
nullable: true
required:
- id
- name
summary:
type: string
nullable: true
summary_generated_at:
type: string
nullable: true
transcribed_at:
type: string
nullable: true
required:
- id
- started_at
- ended_at
- duration_ms
- direction
- customer_name
- company_name
- conversation
- agent
- summary
- summary_generated_at
- transcribed_at
required:
- data
'503':
description: Unavailable for this organization
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Calls
summary: Get calls
x-summary-source: derived
operationId: getCalls
x-operation-id-source: derived
/calls/{id}:
get:
parameters:
- schema:
type: string
minLength: 1
required: true
name: id
in: path
responses:
'200':
description: One call with its agent summary and transcript
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
started_at:
type: string
nullable: true
ended_at:
type: string
nullable: true
duration_ms:
type: number
nullable: true
direction:
type: string
nullable: true
customer_name:
type: string
nullable: true
company_name:
type: string
nullable: true
conversation:
type: object
nullable: true
properties:
id:
type: string
nullable: true
external_id:
type: string
nullable: true
external_url:
type: string
nullable: true
subject:
type: string
nullable: true
required:
- id
- external_id
- external_url
- subject
agent:
type: object
nullable: true
properties:
id:
type: string
nullable: true
name:
type: string
nullable: true
required:
- id
- name
summary:
type: string
nullable: true
summary_generated_at:
type: string
nullable: true
transcribed_at:
type: string
nullable: true
transcript:
type: array
items:
type: object
properties:
speaker:
type: string
enum:
- agent
- customer
- unknown
text:
type: string
start_ms:
type: integer
minimum: 0
required:
- speaker
- text
- start_ms
required:
- id
- started_at
- ended_at
- duration_ms
- direction
- customer_name
- company_name
- conversation
- agent
- summary
- summary_generated_at
- transcribed_at
- transcript
required:
- data
'404':
description: Call not found or not visible to the caller
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Unavailable for this organization
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Calls
summary: Get calls by id
x-summary-source: derived
operationId: getCallsById
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Rulebase organization API key