Skip to main content
POST

Authorizations

x-api-key
string
header
required
x-project-id
string
header
required

Body

application/json
model
string
default:gliner-multi-pii-v1
required

Model identifier (fixed for this playground). Use request examples to change use cases.

Allowed value: "gliner-multi-pii-v1"
Example:

"gliner-multi-pii-v1"

input
string<textarea>
required

Multi-line text or document content to send to the model.

Required string length: 1 - 131072
metadata
object

Use-case options for the model. Two use cases are supported:

  • extract-pii — return detected PII entities without altering the source text.
  • redact — mask detected PII in-line in the returned redacted_text (e.g. [PERSON], [EMAIL]).

Response

Success

The response is of type object.