TaxCompass Conversations API
The conversations API from TaxCompass — 4 operation(s) for conversations.
The conversations API from TaxCompass — 4 operation(s) for conversations.
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/taxcompass-it:taxcompass-it-conversations-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. 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: 3.2.0
info:
title: TaxCompass Conversations API
version: 0.1.0
tags:
- name: Conversations
paths:
/api/conversations:
get:
tags:
- Conversations
summary: List Conversations
operationId: list_conversations_api_conversations_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/ConversationSummary'
type: array
title: Response List Conversations Api Conversations Get
security:
- HTTPBearer: []
post:
tags:
- Conversations
summary: Create Conversation
operationId: create_conversation_api_conversations_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateConversation'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
additionalProperties:
type: string
type: object
title: Response Create Conversation Api Conversations Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/conversations/{conv_id}:
get:
tags:
- Conversations
summary: Get Conversation
operationId: get_conversation_api_conversations__conv_id__get
security:
- HTTPBearer: []
parameters:
- name: conv_id
in: path
required: true
schema:
type: string
title: Conv Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ConversationDetail'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Conversations
summary: Rename Conversation
operationId: rename_conversation_api_conversations__conv_id__patch
security:
- HTTPBearer: []
parameters:
- name: conv_id
in: path
required: true
schema:
type: string
title: Conv Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RenameConversation'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties:
type: boolean
title: Response Rename Conversation Api Conversations Conv Id Patch
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Conversations
summary: Delete Conversation
operationId: delete_conversation_api_conversations__conv_id__delete
security:
- HTTPBearer: []
parameters:
- name: conv_id
in: path
required: true
schema:
type: string
title: Conv Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties:
type: boolean
title: Response Delete Conversation Api Conversations Conv Id Delete
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/conversations/{conv_id}/actions/{action_id}:
put:
tags:
- Conversations
summary: Record Action Outcome
description: 'Record a proposed card''s fate (confirmed / dismissed) in the saved transcript.
Called by the co-pilot after the card''s own write landed (or it was waved
away), so a transcript restored after a refresh shows what happened instead
of a live button. First write wins; the stored outcome is returned either way.'
operationId: record_action_outcome_api_conversations__conv_id__actions__action_id__put
security:
- HTTPBearer: []
parameters:
- name: conv_id
in: path
required: true
schema:
type: string
title: Conv Id
- name: action_id
in: path
required: true
schema:
type: string
title: Action Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RecordActionOutcome'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ActionOutcome'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/conversations/import:
post:
tags:
- Conversations
summary: Import Conversations
description: One-time migration of a user's localStorage history (idempotent on legacy_id).
operationId: import_conversations_api_conversations_import_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ImportRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ImportResult'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
components:
schemas:
ConversationSummary:
properties:
id:
type: string
title: Id
title:
type: string
title: Title
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- id
- title
- updated_at
title: ConversationSummary
MessageOut:
properties:
role:
type: string
title: Role
content:
type: string
title: Content
response:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Response
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- role
- content
- created_at
title: MessageOut
ImportRequest:
properties:
conversations:
items:
$ref: '#/components/schemas/ImportConversation'
type: array
maxItems: 200
title: Conversations
type: object
title: ImportRequest
MessageIn:
properties:
role:
type: string
enum:
- user
- assistant
title: Role
content:
type: string
maxLength: 20000
title: Content
response:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Response
type: object
required:
- role
- content
title: MessageIn
description: 'One inbound message of an import — deliberately NOT `MessageOut`.
`created_at` is server-assigned (the import discards whatever the client
sends), so requiring it only forced clients to invent a value; and every
field an import writes to the DB is capped here (see "Import caps" above).
Unknown keys are ignored by default, so a client still sending `created_at`
keeps working.'
ImportResult:
properties:
imported:
type: integer
title: Imported
skipped:
type: integer
title: Skipped
type: object
required:
- imported
- skipped
title: ImportResult
RecordActionOutcome:
properties:
state:
type: string
enum:
- confirmed
- dismissed
title: State
note:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Note
type: object
required:
- state
title: RecordActionOutcome
description: 'What happened to one proposed card: confirmed (the write landed) or dismissed.
There is no "open": a card is open until something is recorded, and nothing
un-records one. That is the property a restored transcript depends on — a
write that happened can never be shown again as a button that would do it.'
ActionOutcome:
properties:
state:
type: string
enum:
- confirmed
- dismissed
title: State
note:
anyOf:
- type: string
- type: 'null'
title: Note
at:
type: string
format: date-time
title: At
type: object
required:
- state
- at
title: ActionOutcome
description: The outcome as stored — echoed back so a second writer learns the first one won.
CreateConversation:
properties:
title:
anyOf:
- type: string
maxLength: 200
- type: 'null'
title: Title
type: object
title: CreateConversation
ConversationDetail:
properties:
id:
type: string
title: Id
title:
type: string
title: Title
profile:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Profile
messages:
items:
$ref: '#/components/schemas/MessageOut'
type: array
title: Messages
type: object
required:
- id
- title
- messages
title: ConversationDetail
RenameConversation:
properties:
title:
type: string
maxLength: 200
minLength: 1
title: Title
type: object
required:
- title
title: RenameConversation
ImportConversation:
properties:
legacy_id:
type: string
maxLength: 64
minLength: 1
title: Legacy Id
title:
anyOf:
- type: string
maxLength: 200
- type: 'null'
title: Title
profile:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Profile
messages:
items:
$ref: '#/components/schemas/MessageIn'
type: array
maxItems: 500
title: Messages
type: object
required:
- legacy_id
title: ImportConversation
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
HTTPBearer:
type: http
scheme: bearer