{
  "opencollection": "1.0.0",
  "info": {
    "name": "Creed achievements sanctum-chatbot API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "sanctum-chatbot",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Chatbot Endpoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/sanctum/api/chatbot",
            "headers": [
              {
                "name": "x-user-id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Chatbot Endpoint"
        },
        {
          "info": {
            "name": "Get User Chats",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/sanctum/api/chats",
            "headers": [
              {
                "name": "x-user-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get all chats for the current authenticated user"
        },
        {
          "info": {
            "name": "Get Chat Messages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/sanctum/api/chats/:chat_id/messages",
            "headers": [
              {
                "name": "x-user-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "chat_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "recent",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get messages for a specific chat"
        },
        {
          "info": {
            "name": "Get Chat Suggestions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/sanctum/api/chat/suggestions",
            "headers": [
              {
                "name": "x-user-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "conversation_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get chat suggestions for the Christian companion app in user's preferred language."
        },
        {
          "info": {
            "name": "Compact Conversation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/sanctum/api/chatbot/compact",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              },
              {
                "name": "x-user-id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Trigger conversation compaction inline. Called after a successful chat message."
        }
      ]
    }
  ],
  "bundled": true
}