privacyRequest
query · in the family Privacy request
What it does
One privacy request — the right asked, the regime, the subject, and the fulfillment evidence.
One PrivacyRequest by id. The record must belong to your organization group; an id from another group reads as not found.
Before you call
A bearer session from an API key (see Authentication and key hygiene) or a signed-in user.
Capability area: Privacy and compliance — Tax and fiscal configuration, certificates and privacy requests.
Roles that may call it:
- Owner
- System Administrator
- An API key whose scope allows
api:privacyRequest
Arguments
| Name | Type | Required | Notes |
|---|---|---|---|
id | ID ID! | yes | The id of the record. |
Returns
PrivacyRequest — A PrivacyRequest — the GDPR/CCPA request register: every data-subject request received (erasure · access · portability · rectification · opt_out) is recorded with full provenance — the regime (gdpr · ccpa), the arrival channel, the received instant, and the subject. The ladder: verify (the identity gate — v1 the verifier's assertion, the proof narrative on the revision cause) → start → fulfill; reject serves received AND verified (ONE op, two edges — the reason is required: a refused privacy request states its grounds). The FULFILLMENT mechanics stay the existing ops — the register records and links, it never executes. NOT searchable (a compliance register holding subject PII — the gated paginated listing); the listing pages newest-first; rejected drops per page as doomed while fulfilled records stay listed.
Example request
query ExamplePrivacyRequest($id: ID!) {
privacyRequest(id: $id) {
id
sysId
type
caption
status
parentId
rootId
createdAt
updatedAt
revisionNum
revision
requestType
regime
channel
receivedAt
consumerId
subjectRef
subjectOrderId
}
}Variables:
{
"id": "01900000-0000-7000-8000-22f6d6580000"
}Example response
{
"data": {
"privacyRequest": {
"id": "01900000-0000-7000-8000-22f6d6580000",
"sysId": "PV-EXMP-0000-000F",
"type": "PrivacyRequest",
"caption": "Blue jeans",
"status": "received",
"parentId": "01900000-0000-7000-8000-eacdfcfd0000",
"rootId": "01900000-0000-7000-8000-a1295a650000",
"createdAt": "2027-01-31T00:00:00.000Z",
"updatedAt": "2027-01-31T00:00:00.000Z",
"revisionNum": 1,
"revision": "01900000-0000-7000-8000-53c6eea90000",
"requestType": "<request type>",
"regime": "<regime>",
"channel": "<channel>",
"receivedAt": "2027-01-31T00:00:00.000Z",
"consumerId": "01900000-0000-7000-8000-3cbb3ce90000",
"subjectRef": "<subject ref>",
"subjectOrderId": "01900000-0000-7000-8000-b42b04c10000"
}
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": null,
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}Errors this call can answer
VALIDATION/INVALID— Something in the request is not valid. Retry: no. (VALIDATION)AUTHN/REQUIRED— Sign in to do this. Retry: no. (AUTHN)AUTHZ/FORBIDDEN— Your role does not allow this action. Retry: no. (AUTHZ)RATE_LIMIT/THROTTLED— Too many requests in a short time. Retry: yes. (RATE_LIMIT)NOT_FOUND/*— That record could not be found. Retry: no. (NOT_FOUND)