---
updatedAt: 2026-10-25T15:46:36.000Z
agentTools:
  projectIndex: https://docs.superwise.ai/llms.txt
---

# Get Sentinels

Returns a paged list of sentinels.

## When to use it

Use it to find a sentinel's ID, or to see each sentinel's `status` and last heartbeat.

## Required parameters

This call takes no required parameters.

Use `page` and `size` to page through the results.

## Response

A successful call returns `200 OK` with a page of `SentinelSchema` objects in `items`, plus the paging fields `total`, `page`, `size`, and `pages`.

**Related:** [Get a sentinel](https://docs.superwise.ai/reference/get_sentinel_by_id), [Search sentinels](https://docs.superwise.ai/reference/search_sentinels), [Create a sentinel](https://docs.superwise.ai/reference/create_sentinel)

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "paths": {
    "/v1/sentinels": {
      "get": {
        "tags": [
          "Sentinels"
        ],
        "summary": "Get Sentinels",
        "operationId": "get_sentinels",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Page number",
              "default": 1,
              "title": "Page"
            },
            "description": "Page number"
          },
          {
            "name": "size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 1000,
              "minimum": 25,
              "default": 25,
              "title": "Size"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_SentinelSchema_Customized"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    }
  },
  "info": {
    "title": "Superwise Main Entities",
    "description": "API reference",
    "version": "0.1.0"
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "BlockGuardrail": {
        "properties": {
          "directions": {
            "items": {
              "type": "string",
              "enum": [
                "input",
                "output"
              ]
            },
            "type": "array",
            "uniqueItems": true,
            "title": "Directions",
            "default": [
              "input"
            ]
          },
          "payload": {
            "anyOf": [
              {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SecretDetectionGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/PiiMaskerGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/PhiDetectionGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/LanguageCheckerGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/JsonSchemaEnforcerGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/RudenessDetectionGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/ImageResolutionGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/ImageSharpnessGuardrailPayload"
                  }
                ],
                "discriminator": {
                  "propertyName": "type",
                  "mapping": {
                    "image_resolution": "#/components/schemas/ImageResolutionGuardrailPayload",
                    "image_sharpness_level": "#/components/schemas/ImageSharpnessGuardrailPayload",
                    "json_schema_enforcer": "#/components/schemas/JsonSchemaEnforcerGuardrailPayload",
                    "language_checker": "#/components/schemas/LanguageCheckerGuardrailPayload",
                    "phi": "#/components/schemas/PhiDetectionGuardrailPayload",
                    "pii": "#/components/schemas/PiiMaskerGuardrailPayload",
                    "rudeness": "#/components/schemas/RudenessDetectionGuardrailPayload",
                    "secrets": "#/components/schemas/SecretDetectionGuardrailPayload"
                  }
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Payload"
          },
          "action": {
            "type": "string",
            "const": "block",
            "title": "Action",
            "default": "block"
          },
          "block_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Block Message"
          }
        },
        "type": "object",
        "title": "BlockGuardrail"
      },
      "CavemanConfig": {
        "properties": {
          "intensity": {
            "$ref": "#/components/schemas/CavemanIntensity",
            "default": "lite"
          }
        },
        "type": "object",
        "title": "CavemanConfig"
      },
      "CavemanIntensity": {
        "type": "string",
        "enum": [
          "lite",
          "full",
          "ultra"
        ],
        "title": "CavemanIntensity"
      },
      "HeadroomConfig": {
        "properties": {
          "compress_user_prompt": {
            "type": "boolean",
            "title": "Compress User Prompt",
            "default": false
          },
          "compress_system_prompt": {
            "type": "boolean",
            "title": "Compress System Prompt",
            "default": false
          },
          "min_tokens": {
            "type": "integer",
            "minimum": 0,
            "title": "Min Tokens",
            "default": 250
          }
        },
        "type": "object",
        "title": "HeadroomConfig"
      },
      "ImageResolutionGuardrailPayload": {
        "properties": {
          "type": {
            "type": "string",
            "const": "image_resolution",
            "title": "Type",
            "default": "image_resolution"
          },
          "limit": {
            "type": "string",
            "enum": [
              "min",
              "max"
            ],
            "title": "Limit",
            "description": "If `min`, the image must be at least `width` x `height`; if `max`, at most `width` x `height`."
          },
          "width": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "title": "Width",
            "description": "Image width limit in pixels. Must be > 0."
          },
          "height": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "title": "Height",
            "description": "Image height limit in pixels. Must be > 0."
          }
        },
        "additionalProperties": true,
        "type": "object",
        "required": [
          "limit",
          "width",
          "height"
        ],
        "title": "ImageResolutionGuardrailPayload"
      },
      "ImageSharpnessGuardrailPayload": {
        "properties": {
          "type": {
            "type": "string",
            "const": "image_sharpness_level",
            "title": "Type",
            "default": "image_sharpness_level"
          },
          "limit_type": {
            "type": "string",
            "enum": [
              "min",
              "max"
            ],
            "title": "Limit Type",
            "description": "If `min`, the image must have variance >= `limit`; if `max`, variance <= `limit`."
          },
          "limit": {
            "type": "number",
            "exclusiveMinimum": 0,
            "title": "Limit",
            "description": "Variance-of-Laplacian (sharpness) threshold. Must be > 0."
          }
        },
        "additionalProperties": true,
        "type": "object",
        "required": [
          "limit_type",
          "limit"
        ],
        "title": "ImageSharpnessGuardrailPayload"
      },
      "JsonSchemaEnforcerGuardrailPayload": {
        "properties": {
          "type": {
            "type": "string",
            "const": "json_schema_enforcer",
            "title": "Type",
            "default": "json_schema_enforcer"
          },
          "json_schema": {
            "additionalProperties": true,
            "type": "object",
            "title": "Json Schema"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "required": [
          "json_schema"
        ],
        "title": "JsonSchemaEnforcerGuardrailPayload"
      },
      "LanguageCheckerGuardrailPayload": {
        "properties": {
          "type": {
            "type": "string",
            "const": "language_checker",
            "title": "Type",
            "default": "language_checker"
          },
          "languages": {
            "items": {
              "type": "string",
              "enum": [
                "af",
                "als",
                "am",
                "an",
                "ar",
                "arz",
                "as",
                "ast",
                "av",
                "az",
                "azb",
                "ba",
                "bar",
                "bcl",
                "be",
                "bg",
                "bh",
                "bn",
                "bo",
                "bpy",
                "br",
                "bs",
                "bxr",
                "ca",
                "cbk",
                "ce",
                "ceb",
                "ckb",
                "co",
                "cs",
                "cv",
                "cy",
                "da",
                "de",
                "diq",
                "dsb",
                "dty",
                "dv",
                "el",
                "eml",
                "en",
                "eo",
                "es",
                "et",
                "eu",
                "fa",
                "fi",
                "fr",
                "frr",
                "fy",
                "ga",
                "gd",
                "gl",
                "gn",
                "gom",
                "gu",
                "gv",
                "he",
                "hi",
                "hif",
                "hr",
                "hsb",
                "ht",
                "hu",
                "hy",
                "ia",
                "id",
                "ie",
                "ilo",
                "io",
                "is",
                "it",
                "ja",
                "jbo",
                "jv",
                "ka",
                "kk",
                "km",
                "kn",
                "ko",
                "krc",
                "ku",
                "kv",
                "kw",
                "ky",
                "la",
                "lb",
                "lez",
                "li",
                "lmo",
                "lo",
                "lrc",
                "lt",
                "lv",
                "mai",
                "mg",
                "mhr",
                "min",
                "mk",
                "ml",
                "mn",
                "mr",
                "mrj",
                "ms",
                "mt",
                "mwl",
                "my",
                "myv",
                "mzn",
                "nah",
                "nap",
                "nds",
                "ne",
                "new",
                "nl",
                "nn",
                "no",
                "oc",
                "or",
                "os",
                "pa",
                "pam",
                "pfl",
                "pl",
                "pms",
                "pnb",
                "ps",
                "pt",
                "qu",
                "rm",
                "ro",
                "ru",
                "rue",
                "sa",
                "sah",
                "sc",
                "scn",
                "sco",
                "sd",
                "sh",
                "si",
                "sk",
                "sl",
                "so",
                "sq",
                "sr",
                "su",
                "sv",
                "sw",
                "ta",
                "te",
                "tg",
                "th",
                "tk",
                "tl",
                "tr",
                "tt",
                "tyv",
                "ug",
                "uk",
                "ur",
                "uz",
                "vec",
                "vep",
                "vi",
                "vls",
                "vo",
                "wa",
                "war",
                "wuu",
                "xal",
                "xmf",
                "yi",
                "yo",
                "yue",
                "zh"
              ]
            },
            "type": "array",
            "title": "Languages"
          },
          "include": {
            "type": "boolean",
            "title": "Include",
            "description": "If true, pass only when the text is in `languages`; if false, block when it is.",
            "default": true
          },
          "threshold": {
            "type": "number",
            "maximum": 1,
            "exclusiveMinimum": 0,
            "title": "Threshold",
            "description": "Minimum summed detection confidence of `languages`, from 0 to 1, for the text to count as in them.",
            "default": 0.7
          },
          "min_chars": {
            "type": "integer",
            "minimum": 0,
            "title": "Min Chars",
            "description": "Minimum text length in characters before the language is checked; shorter text always passes.",
            "default": 10
          }
        },
        "additionalProperties": true,
        "type": "object",
        "required": [
          "languages"
        ],
        "title": "LanguageCheckerGuardrailPayload"
      },
      "LocalGuardrailConfig": {
        "additionalProperties": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/RedactGuardrail"
            },
            {
              "$ref": "#/components/schemas/BlockGuardrail"
            }
          ]
        },
        "propertyNames": {
          "$ref": "#/components/schemas/SentinelGuardrailType"
        },
        "type": "object",
        "title": "LocalGuardrailConfig",
        "default": {}
      },
      "Page_SentinelSchema_Customized": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/SentinelSchema"
            },
            "type": "array",
            "title": "Items"
          },
          "total": {
            "type": "integer",
            "minimum": 0,
            "title": "Total"
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "title": "Page"
          },
          "size": {
            "type": "integer",
            "minimum": 1,
            "title": "Size"
          },
          "pages": {
            "type": "integer",
            "minimum": 0,
            "title": "Pages"
          }
        },
        "type": "object",
        "required": [
          "items",
          "total",
          "page",
          "size",
          "pages"
        ],
        "title": "Page[SentinelSchema]Customized"
      },
      "PhiDetectionGuardrailPayload": {
        "properties": {
          "type": {
            "type": "string",
            "const": "phi",
            "title": "Type",
            "default": "phi"
          },
          "categories": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "enum": [
                    "NAME",
                    "MEDICAL_PROFESSIONAL_NAME",
                    "DATE_OF_BIRTH",
                    "AGE",
                    "SSN",
                    "LICENSE_NUMBER",
                    "DRIVER_LICENSE",
                    "PASSPORT_NUMBER",
                    "LOCATION_ADDRESS",
                    "CITY",
                    "STATE",
                    "COUNTRY",
                    "ZIP_CODE",
                    "PHONE_NUMBER",
                    "EMAIL_ADDRESS",
                    "URL",
                    "IP_ADDRESS",
                    "MEDICAL_RECORD_NUMBER",
                    "HEALTHCARE_NUMBER",
                    "INSURANCE_NUMBER",
                    "MEDICAL_CODE",
                    "ACCOUNT_NUMBER",
                    "BANK_ACCOUNT",
                    "ROUTING_NUMBER",
                    "CREDIT_CARD",
                    "DEVICE_ID",
                    "SERIAL_NUMBER",
                    "VIN",
                    "BIOMETRIC_ID",
                    "CONDITION",
                    "INJURY",
                    "BLOOD_TYPE",
                    "DRUG",
                    "DOSE",
                    "MEDICAL_PROCEDURE",
                    "MEDICAL_FACILITY"
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Categories",
            "description": "PHI categories to detect. If omitted, all categories are checked."
          },
          "threshold": {
            "type": "number",
            "maximum": 1,
            "exclusiveMinimum": 0,
            "title": "Threshold",
            "description": "Minimum model confidence, from 0 to 1, for a span to count as PHI.",
            "default": 0.5
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "PhiDetectionGuardrailPayload"
      },
      "PiiMaskerGuardrailPayload": {
        "properties": {
          "type": {
            "type": "string",
            "const": "pii",
            "title": "Type",
            "default": "pii"
          },
          "categories": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "enum": [
                    "EMAIL",
                    "PHONE_US",
                    "PHONE_INTERNATIONAL",
                    "SSN",
                    "PASSPORT_NUMBER",
                    "DRIVERS_LICENSE",
                    "TAX_ID_EIN",
                    "NATIONAL_ID",
                    "CREDIT_CARD",
                    "IBAN",
                    "BANK_ACCOUNT_NUMBER",
                    "IP_ADDRESS_V4",
                    "IP_ADDRESS_V6",
                    "MAC_ADDRESS",
                    "VIN",
                    "DATE_OF_BIRTH",
                    "MEDICAL_RECORD_NUMBER"
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Categories",
            "description": "PII categories to detect. If omitted, all categories are checked."
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "PiiMaskerGuardrailPayload"
      },
      "PlaceholderTextRemediation": {
        "properties": {
          "type": {
            "type": "string",
            "const": "placeholder_text",
            "title": "Type",
            "default": "placeholder_text"
          },
          "value": {
            "type": "string",
            "title": "Value",
            "default": "REDACTED"
          }
        },
        "type": "object",
        "title": "PlaceholderTextRemediation"
      },
      "RedactGuardrail": {
        "properties": {
          "directions": {
            "items": {
              "type": "string",
              "enum": [
                "input",
                "output"
              ]
            },
            "type": "array",
            "uniqueItems": true,
            "title": "Directions",
            "default": [
              "input"
            ]
          },
          "payload": {
            "anyOf": [
              {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SecretDetectionGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/PiiMaskerGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/PhiDetectionGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/LanguageCheckerGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/JsonSchemaEnforcerGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/RudenessDetectionGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/ImageResolutionGuardrailPayload"
                  },
                  {
                    "$ref": "#/components/schemas/ImageSharpnessGuardrailPayload"
                  }
                ],
                "discriminator": {
                  "propertyName": "type",
                  "mapping": {
                    "image_resolution": "#/components/schemas/ImageResolutionGuardrailPayload",
                    "image_sharpness_level": "#/components/schemas/ImageSharpnessGuardrailPayload",
                    "json_schema_enforcer": "#/components/schemas/JsonSchemaEnforcerGuardrailPayload",
                    "language_checker": "#/components/schemas/LanguageCheckerGuardrailPayload",
                    "phi": "#/components/schemas/PhiDetectionGuardrailPayload",
                    "pii": "#/components/schemas/PiiMaskerGuardrailPayload",
                    "rudeness": "#/components/schemas/RudenessDetectionGuardrailPayload",
                    "secrets": "#/components/schemas/SecretDetectionGuardrailPayload"
                  }
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Payload"
          },
          "action": {
            "type": "string",
            "const": "redact",
            "title": "Action",
            "default": "redact"
          },
          "remediation_strategy": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/PlaceholderTextRemediation"
              }
            ],
            "title": "Remediation Strategy",
            "discriminator": {
              "propertyName": "type",
              "mapping": {
                "placeholder_text": "#/components/schemas/PlaceholderTextRemediation"
              }
            }
          }
        },
        "type": "object",
        "title": "RedactGuardrail"
      },
      "RudenessDetectionGuardrailPayload": {
        "properties": {
          "type": {
            "type": "string",
            "const": "rudeness",
            "title": "Type",
            "default": "rudeness"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "RudenessDetectionGuardrailPayload"
      },
      "SecretDetectionGuardrailPayload": {
        "properties": {
          "type": {
            "type": "string",
            "const": "secrets",
            "title": "Type",
            "default": "secrets"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "SecretDetectionGuardrailPayload"
      },
      "SentinelGuardrailType": {
        "type": "string",
        "enum": [
          "secrets",
          "pii",
          "phi",
          "rudeness",
          "language_checker",
          "json_schema_enforcer",
          "image_resolution",
          "image_sharpness_level"
        ],
        "title": "SentinelGuardrailType",
        "description": "Enumeration of all available guard types."
      },
      "SentinelSchema": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 95
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "location": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location"
          },
          "local_guardrail_config": {
            "$ref": "#/components/schemas/LocalGuardrailConfig"
          },
          "tokens_optimization_config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokensOptimizationConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string",
            "format": "uuid4",
            "title": "Id"
          },
          "created_by": {
            "type": "string",
            "title": "Created By"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated By"
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "heartbeat_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Heartbeat At"
          },
          "dataset_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Id"
          },
          "version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version"
          },
          "status": {
            "$ref": "#/components/schemas/SentinelStatus",
            "readOnly": true
          }
        },
        "type": "object",
        "required": [
          "id",
          "created_by",
          "status"
        ],
        "title": "SentinelSchema"
      },
      "SentinelStatus": {
        "type": "string",
        "enum": [
          "active",
          "pending"
        ],
        "title": "SentinelStatus"
      },
      "TokenOptimizationInputConfig": {
        "properties": {
          "headroom": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HeadroomConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "title": "TokenOptimizationInputConfig"
      },
      "TokenOptimizationOutputConfig": {
        "properties": {
          "caveman": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CavemanConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "title": "TokenOptimizationOutputConfig"
      },
      "TokensOptimizationConfig": {
        "properties": {
          "input": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokenOptimizationInputConfig"
              },
              {
                "type": "null"
              }
            ]
          },
          "output": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokenOptimizationOutputConfig"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "title": "TokensOptimizationConfig"
      }
    },
    "securitySchemes": {
      "implicit": {
        "type": "oauth2",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://authentication.superwise.ai/identity/resources/auth/v1/api-token",
            "scopes": {}
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Sentinels",
      "description": "Sentinel management endpoints"
    }
  ],
  "security": [
    {
      "implicit": []
    }
  ],
  "servers": [
    {
      "url": "api.superwise.ai",
      "description": "Superwise Api Gateway"
    }
  ]
}
```