Skip to main content
POST
Reveal values of an encrypt-protected field

Authorizations

x-api-key
string
header
required

Optional API key for authentication (enabled via application.yaml)

Body

application/json
pipeline
string
required

Pipeline name

field
string
required

Source field name; it must carry protect with method encrypt

values
string[]
required

Ciphertexts (enc:v<n>:...), at most 1000 per call

Maximum array length: 1000

Response

One slot per input value, in input order. A value that is not a Datris ciphertext for this pipeline and field (or whose key version no longer exists) yields null in its slot and an entry in errors; the rest are still revealed.

pipeline
string
field
string
values
(string | null)[]
revealed
integer
failed
integer
errors
object[]