{
  "opencollection": "1.0.0",
  "info": {
    "name": "Langflow Base Log API",
    "version": "1.9.0"
  },
  "items": [
    {
      "info": {
        "name": "Log",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/logs",
            "params": [
              {
                "name": "lines_before",
                "value": "",
                "type": "query",
                "description": "The number of logs before the timestamp or the last log"
              },
              {
                "name": "lines_after",
                "value": "",
                "type": "query",
                "description": "The number of logs after the timestamp"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "The timestamp to start getting logs from"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "api/v1/login",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve application logs with authentication required.<br><br>SECURITY: Logs may contain sensitive information and require authentication."
        },
        {
          "info": {
            "name": "Stream Logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/logs-stream",
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "api/v1/login",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "HTTP/2 Server-Sent-Event (SSE) endpoint for streaming logs.<br><br>Requires authentication to prevent exposure of sensitive log data.<br>It establishes a long-lived connection to the server and receives log messages in real-time.<br>The client should use the header \"Accept: text/event-stream\"."
        }
      ]
    }
  ],
  "bundled": true
}