i-Claim
  1. Converse
i-Claim
  • Process Claim
    • Process Claim Indepth
      POST
  • Reports
    • Get Claim Report
      GET
    • Get Claim Reports
      GET
    • Get All Reports
      GET
  • Converse
    • Converse General
      POST
    • Converse Stream
      POST
  • Policy Management
    • Get Schema
      GET
    • Get All Schema
      GET
    • Create Schema
      POST
    • Update Policy
      POST
    • Delete Policy
      DELETE
  • Insights
    • Total Processed Claims
      GET
    • Total Discrepancies Found
      GET
    • Get Error Insights
      POST
  • Tariff Management
    • Update Tariff Pricing
      POST
    • Update Tariff By Percentage
      POST
    • Rebase Tariffs
      POST
    • Get Tariff Types
      GET
    • Get All Tariffs
      GET
    • Check Custom Tariff Use
      GET
    • Use Default Tariffs
      GET
  • Provider Management
    • Add Provider
      POST
    • Add Providers
      POST
    • Get Provider
      GET
    • Get All Providers
      GET
    • Update Provider
      POST
    • Remove Provider
      DELETE
  • Neural Center
    • Add Revision
    • List Revisions
    • Get Revision
    • Remove Revision
    • Create Chronos
    • Astra
    • Create Chronos
    • Astra
    • Create Chronos
    • Astra
  • Index
    GET
  1. Converse

Converse Stream

POST
/converse/stream
Converse
NB Use this endpoint to get a streaming response | response type: text/event-stream
This endpoint enables users to engage in a conversation with i-Claim.
This endpoint can also be used to get information (ICD codes, Tariff Codes), review claims further, information
on processing claims.
Beta: Not ready for production
Request Parameters Information
NB: This should be provided in JSON format eg [ {your json data goes here} ], provide full histroy of chat for
i-Claim to understand you.

Request

Body Params application/json
array of:
role
enum<string> 
Role
required
Used to determine conversation state. if role is system then this is a response sent by i-Claim else if its user then this is a request sent by the user
Allowed values:
usersystem
content
string 
Content
required
contains response from system or request from user
Example
[
    {
        "role": "user",
        "content": "string"
    }
]

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/converse/stream' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "role": "user",
        "content": "string"
    }
]'

Responses

🟢200OK
application/json
Successful Response
Body
No schema defined
Example
null
🟠422Parameter Error
Modified at 2024-12-07 17:10:47
Previous
Converse General
Next
Get Schema
Built with