{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cribl As Code API Credentials Datasets API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Datasets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all Lake datasets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.cribl.cloud/lake/datasets"
          },
          "docs": "Retrieves a list of all Cribl Lake datasets including their storage configuration, retention policies, and data volume metrics. Available on Cribl Cloud only."
        },
        {
          "info": {
            "name": "Create a Lake dataset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.cribl.cloud/lake/datasets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new Cribl Lake dataset for storing observability data in open formats. Configure storage format, retention period, and access permissions."
        },
        {
          "info": {
            "name": "Get a Lake dataset by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.cribl.cloud/lake/datasets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ]
          },
          "docs": "Retrieves the configuration, retention policy, and storage metadata of a specific Cribl Lake dataset."
        },
        {
          "info": {
            "name": "Update a Lake dataset",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://gateway.cribl.cloud/lake/datasets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration of an existing Lake dataset including its retention policy and access settings."
        },
        {
          "info": {
            "name": "Delete a Lake dataset",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://gateway.cribl.cloud/lake/datasets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ]
          },
          "docs": "Deletes a Cribl Lake dataset and its associated data by its unique ID. This operation is irreversible and will permanently remove all stored data."
        },
        {
          "info": {
            "name": "List all search datasets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.cribl.cloud/search/datasets"
          },
          "docs": "Retrieves all configured search datasets that define the data sources available for querying including Cribl Lake datasets, Splunk indexes, and other connected data stores."
        },
        {
          "info": {
            "name": "Create a search dataset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.cribl.cloud/search/datasets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new search dataset that defines a data source available for querying in Cribl Search."
        },
        {
          "info": {
            "name": "Get a search dataset by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.cribl.cloud/search/datasets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ]
          },
          "docs": "Retrieves the configuration and metadata of a specific search dataset."
        },
        {
          "info": {
            "name": "Update a search dataset",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://gateway.cribl.cloud/search/datasets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration of an existing search dataset."
        },
        {
          "info": {
            "name": "Delete a search dataset",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://gateway.cribl.cloud/search/datasets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ]
          },
          "docs": "Deletes a search dataset by its unique ID. Active search jobs referencing this dataset will not be affected."
        }
      ]
    }
  ],
  "bundled": true
}