1. conversations
Autonomk
  • users
    • Get all users
      GET
    • Create User
      POST
    • Delete user
      DELETE
    • Get single user
      GET
    • Update User
      PUT
  • auth
    • Login
      POST
    • refresh token
      POST
    • Logout
      POST
  • chat
    • Chat
      POST
  • sessions
    • Get all logged in sessions
      GET
    • Delete logged in token
      DELETE
  • conversations
    • Get single conversation with chat messages
      GET
    • Get list of all conversations
      GET
    • Create Conversation History
      POST
    • Delete Conversation History
      DELETE
    • Update the conversation properties
      PATCH
    • insert chat into conversation
      PATCH
  • Untitled Endpoint
    POST
  1. conversations

Create Conversation History

Developing
Development
http://localhost:8080/api/v0
Development
http://localhost:8080/api/v0
POST
http://localhost:8080/api/v0
/conversations
Create a conversation history entry

Request

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

Examples

Responses

🟢201Created
application/json
Bodyapplication/json

🟠400Bad Request
🟠422Unprocessable Entity
🟠403Forbidden
🟠401Unathorized
🟠404Not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://localhost:8080/api/v0/conversations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "title": "string",
    "name": "string",
    "sender": "string",
    "type": "string"
}'
Response Response Example
201 - Example 1
{
    "id": "string",
    "title": "string",
    "created_at": 0,
    "updated_at": 0,
    "is_starred": true,
    "chat_messages": [
        {
            "id": "string",
            "created_at": 0,
            "updated_at": 0,
            "parent_id": "string",
            "content": {
                "type": "string",
                "text": "string",
                "sender": "user"
            }
        }
    ]
}
Modified at 2026-01-04 23:26:41
Previous
Get list of all conversations
Next
Delete Conversation History
Built with