{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Search API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Search",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog Search Audit Logs Events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/audit/events/search",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "List endpoint returns Audit Logs events that match an Audit search query.\n[Results are paginated][1].\n\nUse this endpoint to build complex Audit Logs events filtering and search.\n\n[1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination"
        },
        {
          "info": {
            "name": "Datadog Search Cases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/cases",
            "params": [
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "Size for a given page. The maximum allowed value is 100."
              },
              {
                "name": "page[number]",
                "value": "",
                "type": "query",
                "description": "Specific page number to return."
              },
              {
                "name": "sort[field]",
                "value": "",
                "type": "query",
                "description": "Specify which field to sort"
              },
              {
                "name": "filter",
                "value": "status:open (team:case-management OR team:event-management)",
                "type": "query",
                "description": "Search query"
              },
              {
                "name": "sort[asc]",
                "value": "true",
                "type": "query",
                "description": "Specify if order is ascending or not"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Search cases."
        },
        {
          "info": {
            "name": "Datadog Search Pipelines Events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/ci/pipelines/events/search",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "List endpoint returns CI Visibility pipeline events that match a [search query](https://docs.datadoghq.com/continuous_integration/explorer/search_syntax/).\n[Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).\n\nUse this endpoint to build complex events filtering and search."
        },
        {
          "info": {
            "name": "Datadog Search Tests Events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/ci/tests/events/search",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "List endpoint returns CI Visibility test events that match a [search query](https://docs.datadoghq.com/continuous_integration/explorer/search_syntax/).\n[Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).\n\nUse this endpoint to build complex events filtering and search."
        },
        {
          "info": {
            "name": "Datadog Search Events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/events/search",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "List endpoint returns events that match an events search query.\n[Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).\n\nUse this endpoint to build complex events filtering and search."
        },
        {
          "info": {
            "name": "Datadog Search for Incidents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/incidents/search",
            "params": [
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Specifies which types of related objects should be included in the response."
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Specifies which incidents should be returned. The query can contain any number of incident facets\njoined by `ANDs`, along with multiple values for each of those facets joined by `OR`s. For\nexample: `state:active AND severity:(SEV-2 OR SEV-1)`."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Specifies the order of returned incidents."
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "Size for a given page. The maximum allowed value is 100."
              },
              {
                "name": "page[offset]",
                "value": "",
                "type": "query",
                "description": "Specific offset to use as the beginning of the returned page."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Search for incidents matching a certain query."
        },
        {
          "info": {
            "name": "Datadog Search Logs (get)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/logs/events",
            "params": [
              {
                "name": "filter[query]",
                "value": "@datacenter:us @role:db",
                "type": "query",
                "description": "Search query following logs syntax."
              },
              {
                "name": "filter[indexes]",
                "value": "main,web",
                "type": "query",
                "description": "For customers with multiple indexes, the indexes to search.\nDefaults to '*' which means all indexes"
              },
              {
                "name": "filter[from]",
                "value": "2019-01-02T09:42:36.320Z",
                "type": "query",
                "description": "Minimum timestamp for requested logs."
              },
              {
                "name": "filter[to]",
                "value": "2019-01-03T09:42:36.320Z",
                "type": "query",
                "description": "Maximum timestamp for requested logs."
              },
              {
                "name": "filter[storage_tier]",
                "value": "indexes",
                "type": "query",
                "description": "Specifies the storage type to be used"
              },
              {
                "name": "sort",
                "value": "example_value",
                "type": "query",
                "description": "Order of logs in results."
              },
              {
                "name": "page[cursor]",
                "value": "eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==",
                "type": "query",
                "description": "List following results with a cursor provided in the previous query."
              },
              {
                "name": "page[limit]",
                "value": "25",
                "type": "query",
                "description": "Maximum number of logs in the response."
              }
            ]
          },
          "docs": "List endpoint returns logs that match a log search query.\n[Results are paginated][1].\n\nUse this endpoint to search and filter your logs.\n\n**If you are considering archiving logs for your organization,\nconsider use of the Datadog archive capabilities instead of the log list API.\nSee [Datadog Logs Archive documentation][2].**\n\n[1]: /logs/guide/collect-multiple-logs-with-pagination\n[2]: https://docs.datadoghq.com/logs/archives"
        },
        {
          "info": {
            "name": "Datadog Search Logs (post)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/logs/events/search",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "List endpoint returns logs that match a log search query.\n[Results are paginated][1].\n\nUse this endpoint to search and filter your logs.\n\n**If you are considering archiving logs for your organization,\nconsider use of the Datadog archive capabilities instead of the log list API.\nSee [Datadog Logs Archive documentation][2].**\n\n[1]: /logs/guide/collect-multiple-logs-with-pagination\n[2]: https://docs.datadoghq.com/logs/archives"
        },
        {
          "info": {
            "name": "Datadog Search Rum Events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/rum/events/search",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "List endpoint returns RUM events that match a RUM search query.\n[Results are paginated][1].\n\nUse this endpoint to build complex RUM events filtering and search.\n\n[1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination"
        },
        {
          "info": {
            "name": "Datadog Search Spans",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/spans/events/search",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "List endpoint returns spans that match a span search query.\n[Results are paginated][1].\n\nUse this endpoint to build complex spans filtering and search.\nThis endpoint is rate limited to `300` requests per hour.\n\n[1]: /logs/guide/collect-multiple-logs-with-pagination?tab=v2api"
        }
      ]
    }
  ],
  "bundled": true
}