{
  "opencollection": "1.0.0",
  "info": {
    "name": "Postman Secret Scanner API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "secretScanner",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search detected secrets",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.postman.com/detected-secrets-queries",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of rows to return in the response."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "The additional fields to be included as a part of the request:\n- `meta.total` — Include the total records found in the `meta` response object.\n"
              },
              {
                "name": "since",
                "value": "",
                "type": "query",
                "description": "Return only results created since the given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be later than the `until` value. To use `time-numoffset` format, you must use `%2B` URL-encoding for the `+` character."
              },
              {
                "name": "until",
                "value": "",
                "type": "query",
                "description": "Return only results created until this given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be earlier than the `since` value. To use `time-numoffset` format, you must use `%2B` URL-encoding for the `+` character."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns all secrets detected by Postman's [Secret Scanner](https://learning.postman.com/docs/administration/secret-scanner/), grouped by workspace or resource. If you pass an empty request body, this endpoint returns all results."
        },
        {
          "info": {
            "name": "Update detected secret resolution status",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.postman.com/detected-secrets/:secretId",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "secretId",
                "value": "",
                "type": "path",
                "description": "The secret's ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the resolution status of a secret detected in a workspace."
        },
        {
          "info": {
            "name": "Get detected secrets locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.postman.com/detected-secrets/:secretId/locations",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "secretId",
                "value": "",
                "type": "path",
                "description": "The secret's ID."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of rows to return in the response."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter."
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "The workspace's ID."
              },
              {
                "name": "since",
                "value": "",
                "type": "query",
                "description": "Return only results created since the given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be later than the `until` value. To use `time-numoffset` format, you must use `%2B` URL-encoding for the `+` character."
              },
              {
                "name": "until",
                "value": "",
                "type": "query",
                "description": "Return only results created until this given time, in [ISO 8601](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) format. This value cannot be earlier than the `since` value. To use `time-numoffset` format, you must use `%2B` URL-encoding for the `+` character."
              },
              {
                "name": "resourceType",
                "value": "",
                "type": "query",
                "description": "Return only results that match the given resource type."
              }
            ]
          },
          "docs": "Gets the locations of secrets detected by Postman's [Secret Scanner](https://learning.postman.com/docs/administration/secret-scanner/)."
        },
        {
          "info": {
            "name": "Get secret types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.postman.com/secret-types",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              }
            ]
          },
          "docs": "Gets the metadata of the secret types supported by Postman's [Secret Scanner](https://learning.postman.com/docs/administration/secret-scanner/). You can use a secret type's ID in the response to query data with the POST `/detected-secrets/{secretId}` endpoint."
        }
      ]
    }
  ],
  "bundled": true
}