MedNode AI Chat API
The Chat API from MedNode AI — 2 operation(s) for chat.
The Chat API from MedNode AI — 2 operation(s) for chat.
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/mednode-in:mednode-in-chat-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: MedNode AI Chat API
version: 1.0.0
tags:
- name: Chat
paths:
/api/chat/messages:
get:
summary: Get Chat Messages
operationId: get_chat_messages_api_chat_messages_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/ChatMessageItem'
type: array
title: Response Get Chat Messages Api Chat Messages Get
security:
- HTTPBearer: []
tags:
- Chat
/api/chat/send:
post:
summary: Send Chat Message
operationId: send_chat_message_api_chat_send_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ChatSendRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ChatSendResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
tags:
- Chat
components:
schemas:
ChatSendResponse:
properties:
reply:
type: string
title: Reply
translated_reply:
anyOf:
- type: string
- type: 'null'
title: Translated Reply
language:
type: string
title: Language
default: en-IN
messages:
items:
$ref: '#/components/schemas/ChatMessageItem'
type: array
title: Messages
sources:
items:
$ref: '#/components/schemas/ChatSource'
type: array
title: Sources
default: []
type: object
required:
- reply
- messages
title: ChatSendResponse
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
type: object
required:
- loc
- msg
- type
title: ValidationError
ChatMessageItem:
properties:
id:
type: integer
title: Id
role:
type: string
title: Role
content:
type: string
title: Content
display_content:
anyOf:
- type: string
- type: 'null'
title: Display Content
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- id
- role
- content
- created_at
title: ChatMessageItem
ChatSource:
properties:
record_id:
type: integer
title: Record Id
document_type:
anyOf:
- type: string
- type: 'null'
title: Document Type
record_date:
anyOf:
- type: string
- type: 'null'
title: Record Date
type: object
required:
- record_id
title: ChatSource
description: A vault record the assistant drew on for its answer.
ChatSendRequest:
properties:
message:
type: string
maxLength: 2000
minLength: 1
title: Message
language:
type: string
title: Language
default: en-IN
type: object
required:
- message
title: ChatSendRequest
securitySchemes:
HTTPBearer:
type: http
scheme: bearer