{
  "opencollection": "1.0.0",
  "info": {
    "name": "Llama Platform Agent Data Pipeline Data Sources API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Pipeline Data Sources",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Pipeline Data Sources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/pipelines/:pipeline_id/data-sources",
            "params": [
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get data sources for a pipeline."
        },
        {
          "info": {
            "name": "Add Data Sources To Pipeline",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v1/pipelines/:pipeline_id/data-sources",
            "params": [
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Add data sources to a pipeline."
        },
        {
          "info": {
            "name": "Update Pipeline Data Source",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v1/pipelines/:pipeline_id/data-sources/:data_source_id",
            "params": [
              {
                "name": "data_source_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update the configuration of a data source in a pipeline."
        },
        {
          "info": {
            "name": "Sync Pipeline Data Source",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/pipelines/:pipeline_id/data-sources/:data_source_id/sync",
            "params": [
              {
                "name": "data_source_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Run incremental ingestion: pull upstream changes from the data source into the data sink."
        },
        {
          "info": {
            "name": "Get Pipeline Data Source Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/pipelines/:pipeline_id/data-sources/:data_source_id/status",
            "params": [
              {
                "name": "data_source_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pipeline_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get the status of a data source for a pipeline."
        }
      ]
    }
  ],
  "bundled": true
}