En ekte forespørsel. Ett virkelig resultat.
Bruk API eller støttet integrasjonsoverflate for å erstatte identifikatorer før innhold når nedstrømssystemer som ikke krever originalene.
curl https://api.pseudonymize.io/v1/text \
-H "Authorization: Bearer $PS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Alice lives in Munich",
"policy": "default"
}'
{
"text": "PERSON_01 lives in LOCATION_01",
"entities": [
{ "type": "PERSON", "original": "Alice", "pseudonym": "PERSON_01" },
{ "type": "LOCATION", "original": "Munich", "pseudonym": "LOCATION_01" }
]
}
-H "Authorization: Bearer $PS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Alice lives in Munich",
"policy": "default"
}'
{
"text": "PERSON_01 lives in LOCATION_01",
"entities": [
{ "type": "PERSON", "original": "Alice", "pseudonym": "PERSON_01" },
{ "type": "LOCATION", "original": "Munich", "pseudonym": "LOCATION_01" }
]
}
01
Autentisering
Autentisering av bærertoken via HTTP-hoder.
02
Støttede innganger
Rå tekststrenger, JSON-nyttelast og støttede filbuffere.
03
Håndter behandlingstilstander eksplisitt.
Standard HTTP 4xx/5xx-statuskoder med detaljerte JSON-feilmeldinger.
04
SDK-er
Innfødte klienter tilgjengelig for Node.js, Python og Go.
pip install pseudonymize