get/patterns

List Patterns

Query parameters

ParameterInTypeDescription
unit
querystring

Responses

200Successful Response
Example · 200
{
  "patterns": [
    {
      "id": "<Id>",
      "entity_type": "<Entity Type>",
      "label": "<Label>",
      "description": "",
      "unit": "<Unit>",
      "patterns": [
        "string"
      ],
      "context": [
        "string"
      ],
      "score": 0,
      "builtin": false,
      "created_at": "string"
    }
  ]
}
422Validation Error
Example · 422
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "<Message>",
      "type": "<Error Type>"
    }
  ]
}

Code samples

Generated from the live OpenAPI spec. Replace $SAVITAR_API_KEY with a key from your dashboard.

curl -X GET "https://redact-standalone-service-5j2g6sw72a-el.a.run.app/patterns" \
  -H "Authorization: Bearer $SAVITAR_API_KEY"