{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Applications API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog List Apps",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/app-builder/apps",
            "params": [
              {
                "name": "limit",
                "value": "42",
                "type": "query",
                "description": "The number of apps to return per page."
              },
              {
                "name": "page",
                "value": "42",
                "type": "query",
                "description": "The page number to return."
              },
              {
                "name": "filter[user_name]",
                "value": "Example Monitor",
                "type": "query",
                "description": "Filter apps by the app creator. Usually the user's email."
              },
              {
                "name": "filter[user_uuid]",
                "value": "65bb1f25-52e1-4510-9f8d-22d1516ed693",
                "type": "query",
                "description": "Filter apps by the app creator's UUID."
              },
              {
                "name": "filter[name]",
                "value": "Example Monitor",
                "type": "query",
                "description": "Filter by app name."
              },
              {
                "name": "filter[query]",
                "value": "avg:system.cpu.user{*}",
                "type": "query",
                "description": "Filter apps by the app name or the app creator."
              },
              {
                "name": "filter[deployed]",
                "value": "true",
                "type": "query",
                "description": "Filter apps by whether they are published."
              },
              {
                "name": "filter[tags]",
                "value": "env:production",
                "type": "query",
                "description": "Filter apps by tags."
              },
              {
                "name": "filter[favorite]",
                "value": "true",
                "type": "query",
                "description": "Filter apps by whether you have added them to your favorites."
              },
              {
                "name": "filter[self_service]",
                "value": "true",
                "type": "query",
                "description": "Filter apps by whether they are enabled for self-service."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "The fields and direction to sort apps by."
              }
            ]
          },
          "docs": "List all apps, with optional filters and sorting. This endpoint is paginated. Only basic app information such as the app ID, name, and description is returned by this endpoint."
        },
        {
          "info": {
            "name": "Datadog Create App",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/app-builder/apps",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new app, returning the app ID."
        },
        {
          "info": {
            "name": "Datadog Delete Multiple Apps",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/app-builder/apps",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete multiple apps in a single request from a list of app IDs."
        },
        {
          "info": {
            "name": "Datadog Get App",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/app-builder/apps/:app_id",
            "params": [
              {
                "name": "app_id",
                "value": "65bb1f25-52e1-4510-9f8d-22d1516ed693",
                "type": "path",
                "description": "The ID of the app to retrieve."
              },
              {
                "name": "version",
                "value": "example_value",
                "type": "query",
                "description": "The version number of the app to retrieve. If not specified, the latest version is returned. Version numbers start at 1 and increment with each update. The special values `latest` and `deployed` can be used to retrieve the latest version or the published version, respectively."
              }
            ]
          },
          "docs": "Get the full definition of an app."
        },
        {
          "info": {
            "name": "Datadog Update App",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/app-builder/apps/:app_id",
            "params": [
              {
                "name": "app_id",
                "value": "65bb1f25-52e1-4510-9f8d-22d1516ed693",
                "type": "path",
                "description": "The ID of the app to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing app. This creates a new version of the app."
        },
        {
          "info": {
            "name": "Datadog Delete App",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/app-builder/apps/:app_id",
            "params": [
              {
                "name": "app_id",
                "value": "65bb1f25-52e1-4510-9f8d-22d1516ed693",
                "type": "path",
                "description": "The ID of the app to delete."
              }
            ]
          },
          "docs": "Delete a single app."
        },
        {
          "info": {
            "name": "Datadog Publish App",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/app-builder/apps/:app_id/deployment",
            "params": [
              {
                "name": "app_id",
                "value": "65bb1f25-52e1-4510-9f8d-22d1516ed693",
                "type": "path",
                "description": "The ID of the app to publish."
              }
            ]
          },
          "docs": "Publish an app for use by other users. To ensure the app is accessible to the correct users, you also need to set a [Restriction Policy](https://docs.datadoghq.com/api/latest/restriction-policies/) on the app if a policy does not yet exist."
        },
        {
          "info": {
            "name": "Datadog Unpublish App",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/app-builder/apps/:app_id/deployment",
            "params": [
              {
                "name": "app_id",
                "value": "65bb1f25-52e1-4510-9f8d-22d1516ed693",
                "type": "path",
                "description": "The ID of the app to unpublish."
              }
            ]
          },
          "docs": "Unpublish an app, removing the live version of the app. Unpublishing creates a new instance of a `deployment` object on the app, with a nil `app_version_id` (`00000000-0000-0000-0000-000000000000`). The app can still be updated and published again in the future."
        },
        {
          "info": {
            "name": "Datadog Get All Application Keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/application_keys",
            "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": "",
                "type": "query",
                "description": "Application key attribute used to sort results. Sort order is ascending\nby default. In order to specify a descending sort, prefix the\nattribute with a minus sign."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter application keys by the specified string."
              },
              {
                "name": "filter[created_at][start]",
                "value": "",
                "type": "query",
                "description": "Only include application keys created on or after the specified date."
              },
              {
                "name": "filter[created_at][end]",
                "value": "",
                "type": "query",
                "description": "Only include application keys created on or before the specified date."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Resource path for related resources to include in the response. Only `owned_by` is supported."
              }
            ]
          },
          "docs": "List all application keys available for your org"
        },
        {
          "info": {
            "name": "Datadog Get an Application Key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/application_keys/:app_key_id",
            "params": [
              {
                "name": "app_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the application key."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Resource path for related resources to include in the response. Only `owned_by` is supported."
              }
            ]
          },
          "docs": "Get an application key for your org."
        },
        {
          "info": {
            "name": "Datadog Edit an Application Key",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/application_keys/:app_key_id",
            "params": [
              {
                "name": "app_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the application key."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Edit an application key"
        },
        {
          "info": {
            "name": "Datadog Delete an Application Key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/application_keys/:app_key_id",
            "params": [
              {
                "name": "app_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the application key."
              }
            ]
          },
          "docs": "Delete an application key"
        },
        {
          "info": {
            "name": "Datadog Get All Application Keys Owned by Current User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/current_user/application_keys",
            "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": "",
                "type": "query",
                "description": "Application key attribute used to sort results. Sort order is ascending\nby default. In order to specify a descending sort, prefix the\nattribute with a minus sign."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter application keys by the specified string."
              },
              {
                "name": "filter[created_at][start]",
                "value": "",
                "type": "query",
                "description": "Only include application keys created on or after the specified date."
              },
              {
                "name": "filter[created_at][end]",
                "value": "",
                "type": "query",
                "description": "Only include application keys created on or before the specified date."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Resource path for related resources to include in the response. Only `owned_by` is supported."
              }
            ]
          },
          "docs": "List all application keys available for current user"
        },
        {
          "info": {
            "name": "Datadog Create an Application Key for Current User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/current_user/application_keys",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an application key for current user"
        },
        {
          "info": {
            "name": "Datadog Get One Application Key Owned by Current User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/current_user/application_keys/:app_key_id",
            "params": [
              {
                "name": "app_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the application key."
              }
            ]
          },
          "docs": "Get an application key owned by current user"
        },
        {
          "info": {
            "name": "Datadog Edit an Application Key Owned by Current User",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/current_user/application_keys/:app_key_id",
            "params": [
              {
                "name": "app_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the application key."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Edit an application key owned by current user"
        },
        {
          "info": {
            "name": "Datadog Delete an Application Key Owned by Current User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/current_user/application_keys/:app_key_id",
            "params": [
              {
                "name": "app_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the application key."
              }
            ]
          },
          "docs": "Delete an application key owned by current user"
        },
        {
          "info": {
            "name": "Datadog List All the Rum Applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications"
          },
          "docs": "List all the RUM applications in your organization."
        },
        {
          "info": {
            "name": "Datadog Create a New Rum Application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new RUM application in your organization."
        },
        {
          "info": {
            "name": "Datadog Get a Rum Application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:id",
            "params": [
              {
                "name": "id",
                "value": "abc-123-def",
                "type": "path",
                "description": "RUM application ID."
              }
            ]
          },
          "docs": "Get the RUM application with given ID in your organization."
        },
        {
          "info": {
            "name": "Datadog Update a Rum Application",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:id",
            "params": [
              {
                "name": "id",
                "value": "abc-123-def",
                "type": "path",
                "description": "RUM application ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the RUM application with given ID in your organization."
        },
        {
          "info": {
            "name": "Datadog Delete a Rum Application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/rum/applications/:id",
            "params": [
              {
                "name": "id",
                "value": "abc-123-def",
                "type": "path",
                "description": "RUM application ID."
              }
            ]
          },
          "docs": "Delete an existing RUM application in your organization."
        },
        {
          "info": {
            "name": "Datadog List Application Keys for This Service Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys",
            "params": [
              {
                "name": "service_account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the service account."
              },
              {
                "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": "",
                "type": "query",
                "description": "Application key attribute used to sort results. Sort order is ascending\nby default. In order to specify a descending sort, prefix the\nattribute with a minus sign."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter application keys by the specified string."
              },
              {
                "name": "filter[created_at][start]",
                "value": "",
                "type": "query",
                "description": "Only include application keys created on or after the specified date."
              },
              {
                "name": "filter[created_at][end]",
                "value": "",
                "type": "query",
                "description": "Only include application keys created on or before the specified date."
              }
            ]
          },
          "docs": "List all application keys available for this service account."
        },
        {
          "info": {
            "name": "Datadog Create an Application Key for This Service Account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys",
            "params": [
              {
                "name": "service_account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the service account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an application key for this service account."
        },
        {
          "info": {
            "name": "Datadog Get One Application Key for This Service Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys/:app_key_id",
            "params": [
              {
                "name": "service_account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the service account."
              },
              {
                "name": "app_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the application key."
              }
            ]
          },
          "docs": "Get an application key owned by this service account."
        },
        {
          "info": {
            "name": "Datadog Edit an Application Key for This Service Account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys/:app_key_id",
            "params": [
              {
                "name": "service_account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the service account."
              },
              {
                "name": "app_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the application key."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Edit an application key owned by this service account."
        },
        {
          "info": {
            "name": "Datadog Delete an Application Key for This Service Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys/:app_key_id",
            "params": [
              {
                "name": "service_account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the service account."
              },
              {
                "name": "app_key_id",
                "value": "",
                "type": "path",
                "description": "The ID of the application key."
              }
            ]
          },
          "docs": "Delete an application key owned by this service account."
        },
        {
          "info": {
            "name": "Datadog Get Hourly Usage for Application Security",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/usage/application_security",
            "params": [
              {
                "name": "start_hr",
                "value": "example_value",
                "type": "query",
                "description": "Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour."
              },
              {
                "name": "end_hr",
                "value": "example_value",
                "type": "query",
                "description": "Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending\n**before** this hour."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get hourly usage for application security .\n**Note:** This endpoint has been deprecated. Hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)"
        }
      ]
    }
  ],
  "bundled": true
}