{
  "opencollection": "1.0.0",
  "info": {
    "name": "Letta Admin Pipelines API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Pipelines",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Pipelines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.letta.com/v1/pipelines",
            "params": [
              {
                "name": "search",
                "value": "",
                "type": "query"
              },
              {
                "name": "integration_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "integration_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List all pipelines for the organization with optional filtering"
        },
        {
          "info": {
            "name": "Create Pipeline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.letta.com/v1/pipelines",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new pipeline (producer + feed + optionally subscribers)"
        },
        {
          "info": {
            "name": "Count Pipelines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.letta.com/v1/pipelines/count",
            "params": [
              {
                "name": "search",
                "value": "",
                "type": "query"
              },
              {
                "name": "integration_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "integration_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get the total count of pipelines, optionally filtered by project and search"
        },
        {
          "info": {
            "name": "Get Pipeline",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.letta.com/v1/pipelines/:pipeline_id",
            "params": [
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a single pipeline with details"
        },
        {
          "info": {
            "name": "Update Pipeline",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.letta.com/v1/pipelines/:pipeline_id",
            "params": [
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update pipeline name or disable/enable it"
        },
        {
          "info": {
            "name": "Delete Pipeline",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.letta.com/v1/pipelines/:pipeline_id",
            "params": [
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Soft delete a pipeline and cascade to feed + subscriptions"
        },
        {
          "info": {
            "name": "Update Pipeline Producer Config",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.letta.com/v1/pipelines/:pipeline_id/config",
            "params": [
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the producer configuration for a pipeline (e.g., Slack channels)"
        },
        {
          "info": {
            "name": "Preview Pipeline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.letta.com/v1/pipelines/preview",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Fetch sample messages from integration to preview what agents will receive"
        },
        {
          "info": {
            "name": "Sync Pipeline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.letta.com/v1/pipelines/:pipeline_id/sync",
            "params": [
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Manually trigger a pipeline sync to fetch new messages immediately"
        },
        {
          "info": {
            "name": "List Pipeline Sync History",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.letta.com/v1/pipelines/:pipeline_id/sync/history",
            "params": [
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List the sync run history for a pipeline from Temporal with error details"
        }
      ]
    }
  ],
  "bundled": true
}