PulseAI-OpenAPI
  1. App
PulseAI-OpenAPI
  • App
    • README
    • Send Chat Message
      POST
    • File Upload
      POST
    • Stop Generate
      POST
    • Message Feedback
      POST
    • Next Suggested Questions
      GET
    • Get Conversation History Messages
      GET
    • Get Conversations
      GET
    • Delete Conversation
      DELETE
    • Conversation Rename
      POST
    • Speech to Text
      POST
    • Text to Audio
      POST
    • Text to Audio V2
      POST
    • Get Application Information
      GET
    • Get Application Parameters
      GET
    • Get Application Meta Information
      GET
    • Create Chat
      POST
  • Dataset
    • README
    • Create a Document from Text
      POST
    • Create a Document from a File
      POST
    • Create an Empty Knowledge Base
      POST
    • Get Knowledge Base List
      GET
    • Delete a Knowledge Base
      DELETE
    • Update a Document with Text
      POST
    • Update a Document with a File
      POST
    • Get Document Embedding Status (Progress)
      GET
    • Delete a Document
      DELETE
    • Get the Document List of a Knowledge Base
      GET
    • Add Chunks to a Document
      POST
    • Get Chunks from a Document
      GET
    • Update a Chunk in a Document
      POST
    • Delete a Chunk in a Document
      DELETE
    • Retrieve Chunks from a Knowledge Base
      POST
  • Tenant
    • README
    • Get a List of Tenant Space Charactar
    • Figure txt2img
    • Get a List of Tenant Space Plot
    • Get a List of Tenant Space Audio
  • OpenAPI
    GET
  1. App

Create Chat

POST
https://api-platform.digitpulse.ai/v1/create-chat
Last modified:2025-01-13 08:37:23
Creating a dialogue interface

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Example
{
    "conversation_id": "",
    "char_id": "5d338737-6da2-4b26-bc8b-ef1c64b15af7",
    "user": "2k6KUUoxP5MXjgfp6WEAew"
}

Request Code 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 'https://api-platform.digitpulse.ai/v1/create-chat' \
--header 'X-Timestamp: 1739933362' \
--header 'X-Signature: 1739933362' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "conversation_id": "",
    "char_id": "5d338737-6da2-4b26-bc8b-ef1c64b15af7",
    "user": "2k6KUUoxP5MXjgfp6WEAew"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "conversation_id": "54f144b1-29e9-4500-a236-86b9238aa466",
    "answer": "Ah, you must be the contact I was told about. Let's discuss the mission over coffee.",
    "parent_message_id": "0fbc2a00-6a16-4b48-a9e3-d8d6b669a28c"
}
Modified at 2025-01-13 08:37:23
Previous
Get Application Meta Information
Next
README
Built with