{
  "opencollection": "1.0.0",
  "info": {
    "name": "PostHog actions max API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "max",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "conversations_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:project_id/conversations/",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "conversations_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/environments/:project_id/conversations/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Unified endpoint that handles both conversation creation and streaming.\n\n- If message is provided: Start new conversation processing\n- If no message: Stream from existing conversation"
        },
        {
          "info": {
            "name": "conversations_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:project_id/conversations/:conversation/",
            "params": [
              {
                "name": "conversation",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this conversation."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "conversations_append_message_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/environments/:project_id/conversations/:conversation/append_message/",
            "params": [
              {
                "name": "conversation",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this conversation."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Appends a message to an existing conversation without triggering AI processing.\nThis is used for client-side generated messages that need to be persisted\n(e.g., support ticket confirmation messages)."
        },
        {
          "info": {
            "name": "conversations_cancel_partial_update",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/environments/:project_id/conversations/:conversation/cancel/",
            "params": [
              {
                "name": "conversation",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this conversation."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "conversations_queue_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:project_id/conversations/:conversation/queue/",
            "params": [
              {
                "name": "conversation",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this conversation."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ]
          }
        },
        {
          "info": {
            "name": "conversations_queue_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/environments/:project_id/conversations/:conversation/queue/",
            "params": [
              {
                "name": "conversation",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this conversation."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "conversations_queue_partial_update",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/environments/:project_id/conversations/:conversation/queue/:queue_id/",
            "params": [
              {
                "name": "conversation",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this conversation."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              },
              {
                "name": "queue_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "conversations_queue_destroy",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/environments/:project_id/conversations/:conversation/queue/:queue_id/",
            "params": [
              {
                "name": "conversation",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this conversation."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              },
              {
                "name": "queue_id",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "conversations_queue_clear_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/environments/:project_id/conversations/:conversation/queue/clear/",
            "params": [
              {
                "name": "conversation",
                "value": "",
                "type": "path",
                "description": "A UUID string identifying this conversation."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        }
      ]
    }
  ],
  "bundled": true
}