{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Jobs API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Jobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog List Historical Jobs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/siem-historical-detections/jobs",
            "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",
                "value": "status",
                "type": "query",
                "description": "The order of the jobs in results."
              },
              {
                "name": "filter[query]",
                "value": "security:attack status:high",
                "type": "query",
                "description": "Query used to filter items from the fetched list."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "List historical jobs."
        },
        {
          "info": {
            "name": "Datadog Run a Historical Job",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/siem-historical-detections/jobs",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Run a historical job."
        },
        {
          "info": {
            "name": "Datadog Convert a Job Result to a Signal",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/siem-historical-detections/jobs/signal_convert",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Convert a job result to a signal."
        },
        {
          "info": {
            "name": "Datadog Delete an Existing Job",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/siem-historical-detections/jobs/:job_id",
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the job."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Delete an existing job."
        },
        {
          "info": {
            "name": "Datadog Cancel a Historical Job",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/siem-historical-detections/jobs/:job_id/cancel",
            "params": [
              {
                "name": "job_id",
                "value": "",
                "type": "path",
                "description": "The ID of the job."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Cancel a historical job."
        }
      ]
    }
  ],
  "bundled": true
}