← GDPR Desk / API
Tokens

Drive GDPR Desk from your own code

The page does its free work in the browser: it reads the personal-data inventory (CSV, TSV or a Markdown table with a header row) and your context notes, and works out each row's data categories (Art. 9, Art. 10, children, employees, credentials, logs, non-production), its lawful basis and any Art. 9(2) condition, retention against the engineering defaults, every location as EEA, adequate, US or third country, the DPIA criteria, which rights the notes describe, flags GD-01..GD-17 and the rows grouped into processing activities. Its two paid lanes are available over HTTP. You send one JSON object with task set to "audit" or "ropa", and the model replies with one JSON object. The easiest way to build the facts string is the page itself: PrivKit.buildInput(lane, PrivKit.analyze(inventory, context, {controller, question, today}), {handoff}) in privkit.js, which also runs under Node.

Base URL: https://api.skillsafe.ai/v1/app-api. Every call sends Content-Type: application/json and, once you have a token, Authorization: Bearer <token>. Both lanes run on gpt-terra with a 10% publisher markup. A run needs a signed-in (user) token and is metered: the platform holds the estimate's hold_credits while the run is in flight and then charges only what it used (charged_credits). /estimate is free. A plain-text summary is at /llms.txt. The output assesses the inventory as written and is not legal advice.

The response envelope

Every response is {"data": ..., "error": null} on success or {"data": null, "error": {"code", "message"}} on failure.

Error codes

HTTPcodemeaning
400VALIDATION_ERRORThe body is not a JSON object, or a field is the wrong type. Every field of the run input is a string.
401UNAUTHORIZEDNo token, or an expired one: get a new one (step 2).
402INSUFFICIENT_CREDITSThe balance is below the run's minimum. Top up at skillsafe.ai/account/billing/.
403FORBIDDENA guest token tried a metered run: sign in for a personal token.
404NOT_FOUNDUnknown job id.
429RATE_LIMITEDBack off and retry with the same Idempotency-Key.

The task field: two lanes

taskwhat the model does
"audit"Where the inventory breaks the GDPR: a verdict (ready, fix first, stop), every page flag confirmed or disputed, 1-15 findings with rows, the article, a word-for-word quote and the fix, the DPIA call (never below the page's reading) and the six data-subject rights.
"ropa"The Article 30(1) record of processing activities: one entry per activity with purpose, lawful basis, Art. 9 / Art. 10 condition, subjects, data categories, recipients, transfers and safeguards, retention, security and gaps; every inventory row placed exactly once; [placeholders] where the inventory is silent.

Input fields (all strings)

fieldwhencontent
taskrequiredaudit or ropa
controlleroptionalThe organisation responsible; the record writes [controller name] when it is empty.
todayrequiredThe as-of date, YYYY-MM-DD.
inventoryrequiredThe inventory rows as the page read them, one per line: R1: system | data | subjects | purpose | basis | retention | recipients | location | safeguard | security | dpa | notes (- for an empty cell). Up to 60 rows; a marker line says how many were cut.
contextrequired (may be empty)The context notes, numbered C1: ... by the page; past 6,000 characters the middle lines are dropped with a marker.
factsrequiredA JSON string: controller, today, rows[{id, system, data, subjects, purpose, basis_given, basis, art9_condition, categories[], retention, retention_kind, retention_days, location, countries[{name, status}], safeguard, security, dpa, recipients, notes}], dpia{level, triggers[], art35_3b, scale}, rights{access, rectification, erasure, restriction, portability, objection: {status, lines[]}}, breach, flags[{id, severity, rows[], text}], groups[{purpose, basis, rows[]}], completeness, counts, notes[].
questionoptionalWhat you want to know; answered in summary.
audit_handoffropa, optionalA JSON string of the audit the record follows: verdict, dpia, findings[{id, rows[], article, severity, issue, fix}].
retry_noteoptionalOnly on a reformat retry: what was wrong with the previous reply.

The reply contracts

Both lanes share an envelope: task, task_note, headline, questions[], summary.

task: "audit"

verdict: ready|fix first|stop, dpia: required|recommended|not indicated, dpia_reasons[], flags[{flag, response: confirmed|disputed, note}] (one per page flag, in order), findings[{id, flag, rows[], article, severity: high|medium|low, issue, evidence, fix}] (1-15, F1.., sorted by severity), rights[{right, status: ready|gap|unknown, note}] (exactly 6, in order: access, rectification, erasure, restriction, portability, objection).

task: "ropa"

source (audit handoff|from the input), controller, activities[{id, name, purpose, legal_basis, art9_condition, subjects[], data_categories[], rows[], recipients[], transfers[{country, safeguard}], retention, security, gaps[]}] (1-15, P1..).

Worked examples

These are the page's own bundled examples (invented companies and inventories), with the input as app.js builds it and the saved model reply the page replays for free: an audit of a fitness app and its Article 30 record after the handoff, an audit of a staffing firm's HR systems, and a record for a B2B invoicing tool.

Audit: a fitness app with cycle data, a vendor in India and SHA-256 passwords

Input (each pasted text shown as its lines; facts shortened here):

{
 "task": "audit",
 "controller": "Brivamo GmbH",
 "today": "2026-10-01",
 "inventory": [
  "R1: Accounts DB | email address, display name | app users | account login and service delivery | contract | until account deletion | - | eu-west-1 (Ireland) | - | AES-256 at rest | - | -",
  "R2: Accounts DB | password | app users | account login | contract | until account deletion | - | eu-west-1 (Ireland) | - | SHA-256 | - | -",
  "R3: Workouts DB | heart rate, sleep and menstrual cycle data | app users | personalised training plans | consent | indefinite | - | eu-west-1 (Ireland) | - | AES-256 at rest | - | consent checkbox in onboarding",
  "R4: Routes | GPS route history | app users | route maps and route recommendations | legitimate interests | 5 years | Routivex | United States | - | TLS | yes | -",
  "R5: Product analytics | device ID, IP address, clickstream | app users | product analytics and personalised ads | legitimate interests | 26 months | Clickmarrow | United States | SCCs | - | yes | -",
  "... (12 lines in all)"
 ],
 "context": [
  "C1: Brivamo is a fitness and cycle-tracking app with 240,000 active users, most of them in Germany, France and Spain.",
  "C2: Training plans are generated by a machine learning model from workouts, sleep and cycle data.",
  "C3: Users can export their data as JSON from Settings.",
  "C4: Users can edit their profile in the app at any time.",
  "C5: Deleting the account in the app removes the profile within 30 days; backups roll off after 35 days.",
  "... (8 lines in all)"
 ],
 "facts": "(a JSON string; decoded: 12 rows - 2 special category, 0 criminal, 1 with no lawful basis, 3 with retention missing or indefinite, 1 third-country and 4 US; DPIA required (evaluation or scoring (profiling); systematic monitoring; sensitive or highly personal data; large scale; vulnerable data subjects; innovative technology); rights described: rectification, erasure, portability, objection; breach denied; 12 groups; Art. 30 completeness 81%; flags GD-01, GD-02, GD-04, GD-05, GD-06, GD-07, GD-11, GD-12, GD-13, GD-14, GD-15, GD-16, GD-17)",
 "question": "Can we launch the cycle-tracking feature in Germany next month?"
}

Reply:

{
 "task": "audit",
 "task_note": "",
 "verdict": "stop",
 "dpia": "required",
 "dpia_reasons": [
  "evaluation or scoring (profiling)",
  "systematic monitoring",
  "sensitive or highly personal data",
  "large scale",
  "vulnerable data subjects",
  "innovative technology"
 ],
 "flags": [
  {
   "flag": "GD-01",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-02",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-04",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-05",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-06",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-07",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-11",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-12",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-13",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-14",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-15",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-16",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-17",
   "response": "confirmed",
   "note": ""
  }
 ],
 "findings": [
  {
   "id": "F1",
   "flag": "GD-01",
   "rows": [
    "R11"
   ],
   "article": "Art. 6(1)",
   "severity": "high",
   "issue": "The staging copy of the production users table has no lawful basis recorded, so copying live user data into QA has no Art. 6 ground.",
   "evidence": "",
   "fix": "Decide and record a lawful basis for the QA refresh, or replace it with synthetic or scrubbed data so no lawful basis is needed; update the basis column."
  },
  {
   "id": "F2",
   "flag": "GD-02",
   "rows": [
    "R3",
    "R9"
   ],
   "article": "Art. 9(2)(a)",
   "severity": "high",
   "issue": "Heart rate, sleep and menstrual cycle data (R3) and coaching chat injury and goal data (R9) are special-category health data with no Art. 9(2) condition named on top of the Art. 6 basis.",
   "evidence": "heart rate, sleep and menstrual cycle data",
   "fix": "Record the Art. 9(2) condition relied on for R3 and R9 (for example explicit consent under Art. 9(2)(a)), and make sure the onboarding consent for R3 is explicit and specific to this data, not bundled with other consents."
  },
  {
   "id": "F3",
   "flag": "GD-04",
   "rows": [
    "R9"
   ],
   "article"
... (shortened here; the page shows it whole)

Record: the same inventory, with the audit handed over

Input (with the audit handed over; texts shown as lines):

{
 "task": "ropa",
 "controller": "Brivamo GmbH",
 "today": "2026-10-01",
 "inventory": [
  "R1: Accounts DB | email address, display name | app users | account login and service delivery | contract | until account deletion | - | eu-west-1 (Ireland) | - | AES-256 at rest | - | -",
  "R2: Accounts DB | password | app users | account login | contract | until account deletion | - | eu-west-1 (Ireland) | - | SHA-256 | - | -",
  "R3: Workouts DB | heart rate, sleep and menstrual cycle data | app users | personalised training plans | consent | indefinite | - | eu-west-1 (Ireland) | - | AES-256 at rest | - | consent checkbox in onboarding",
  "R4: Routes | GPS route history | app users | route maps and route recommendations | legitimate interests | 5 years | Routivex | United States | - | TLS | yes | -",
  "R5: Product analytics | device ID, IP address, clickstream | app users | product analytics and personalised ads | legitimate interests | 26 months | Clickmarrow | United States | SCCs | - | yes | -",
  "... (12 lines in all)"
 ],
 "context": [
  "C1: Brivamo is a fitness and cycle-tracking app with 240,000 active users, most of them in Germany, France and Spain.",
  "C2: Training plans are generated by a machine learning model from workouts, sleep and cycle data.",
  "C3: Users can export their data as JSON from Settings.",
  "C4: Users can edit their profile in the app at any time.",
  "C5: Deleting the account in the app removes the profile within 30 days; backups roll off after 35 days.",
  "... (8 lines in all)"
 ],
 "facts": "(a JSON string; decoded: 12 rows - 2 special category, 0 criminal, 1 with no lawful basis, 3 with retention missing or indefinite, 1 third-country and 4 US; DPIA required (evaluation or scoring (profiling); systematic monitoring; sensitive or highly personal data; large scale; vulnerable data subjects; innovative technology); rights described: rectification, erasure, portability, objection; breach denied; 12 groups; Art. 30 completeness 81%; flags GD-01, GD-02, GD-04, GD-05, GD-06, GD-07, GD-11, GD-12, GD-13, GD-14, GD-15, GD-16, GD-17)",
 "question": "Can we launch the cycle-tracking feature in Germany next month?",
 "audit_handoff": "{\"verdict\":\"stop\",\"dpia\":\"required\",\"findings\":[{\"id\":\"F1\",\"rows\":[\"R11\"],\"article\":\"Art. 6(1)\",\"severity\":\"high\",\"issue\":\"The staging copy of the production users table has no lawful basis recorded, so copying live user data into QA has no Art. 6 ground.\",\"fix\":\"Decide and record a lawful basis for the QA refresh, or ..."
}

Reply:

{
 "task": "ropa",
 "task_note": "",
 "source": "audit handoff",
 "controller": "Brivamo GmbH",
 "activities": [
  {
   "id": "P1",
   "name": "Account login and service delivery",
   "purpose": "account login and service delivery",
   "legal_basis": "contract",
   "art9_condition": "",
   "subjects": [
    "app users"
   ],
   "data_categories": [
    "email address",
    "display name"
   ],
   "rows": [
    "R1"
   ],
   "recipients": [],
   "transfers": [],
   "retention": "until account deletion",
   "security": "AES-256 at rest",
   "gaps": []
  },
  {
   "id": "P2",
   "name": "Account login",
   "purpose": "account login",
   "legal_basis": "contract",
   "art9_condition": "",
   "subjects": [
    "app users"
   ],
   "data_categories": [
    "password"
   ],
   "rows": [
    "R2"
   ],
   "recipients": [],
   "transfers": [],
   "retention": "until account deletion",
   "security": "SHA-256",
   "gaps": [
    "Passwords are hashed with SHA-256, which the audit found is not an adequate password hash (F4, Art. 32(1)); rehash with Argon2id or bcrypt."
   ]
  },
  {
   "id": "P3",
   "name": "Personalised training plans",
   "purpose": "personalised training plans",
   "legal_basis": "consent",
   "art9_condition": "[missing]",
   "subjects": [
    "app users"
   ],
   "data_categories": [
    "heart rate",
    "sleep and menstrual cycle data"
   ],
   "rows": [
    "R3"
   ],
   "recipients": [],
   "transfers": [],
   "retention": "[retention period]",
   "security": "AES-256 at rest",
   "gaps": [
    "No Art. 9(2) condition is stated for this special-category health and cycle data (F2, Art. 9(2)); the onboarding consent checkbox is not shown to cover it.",
    "Retention is indefinite with no defined period (F7, Art. 5(1)(e)); set and document one."
   ]
  },
  {
   "id": "P4",
   "name": "Route maps and recommendations",
   "purpose": "route maps and route recommendations",
   "legal_basis": "legitimate interests",
   "art9_condition": "",
   "subjects": [
    "app users"
   ],
   "data_categories": [
    "GPS route history"
   ],
   "rows": [
    "R4"
   ],
   "recipients": [
    "Routivex"
   ],
   "transfers": [
    {
     "country": "United States",
     "safeguard": "[missing]"
    }
   ],
   "retention": "5 years",
   "security": "TLS",
   "gaps": [
    "No transfer safeguard is named for the United States recipient Routivex (F6, Art. 46); co
... (shortened here; the page shows it whole)

Audit: a staffing firm's HR systems, with an instruction hidden in the notes

Input (texts shown as lines):

{
 "task": "audit",
 "controller": "Dravenholt Staffing Ltd",
 "today": "2026-10-01",
 "inventory": [
  "R1: Payvorrel | name, home address, bank account, salary | employees | payroll and HR administration | contract | employment + 7 years | Payvorrel Inc. | United States | DPF | encrypted at rest | yes | -",
  "R2: Payvorrel | national insurance number, tax code | employees | payroll tax reporting | legal obligation | employment + 7 years | Payvorrel Inc. | United States | DPF | encrypted at rest | yes | -",
  "R3: Absence tracker | sick leave notes and fit notes | employees | sickness absence management | legal obligation | 6 years | Sickvane Ltd | United Kingdom | - | encrypted at rest | yes | Art. 9(2)(b) employment law",
  "R4: Recruiting ATS | CVs, interview notes | candidates | recruitment | consent | indefinite | Talentrovy | United States | - | SSO only | yes | -",
  "R5: Background checks | criminal record check results | candidates for care roles | safeguarding checks for care roles | legal obligation | 6 months after decision | Clearvoss Vetting Ltd | United Kingdom | - | encrypted at rest | yes | required by law for regulated care roles",
  "... (9 lines in all)"
 ],
 "context": [
  "C1: Dravenholt Staffing employs 1,800 people across care homes in Ireland and the Netherlands, plus head office in Dublin.",
  "C2: Employees can ask HR for a copy of their personnel file; we answer within one month.",
  "C3: Employees update their bank details and address in Payvorrel self-service.",
  "C4: Leavers' records are deleted 7 years after the end of employment; candidates are kept on file in case a role comes up.",
  "C5: Laptop monitoring was rolled out last quarter to measure productivity; staff were asked to tick a consent box at login.",
  "... (7 lines in all)"
 ],
 "facts": "(a JSON string; decoded: 9 rows - 2 special category, 1 criminal, 0 with no lawful basis, 1 with retention missing or indefinite, 1 third-country and 3 US; DPIA required (evaluation or scoring (profiling); systematic monitoring; sensitive or highly personal data; vulnerable data subjects); rights described: access, rectification; breach described; 9 groups; Art. 30 completeness 97%; flags GD-02, GD-04, GD-05, GD-06, GD-09, GD-13, GD-15, GD-16)"
}

Reply:

{
 "task": "audit",
 "task_note": "",
 "verdict": "stop",
 "dpia": "required",
 "dpia_reasons": [
  "evaluation or scoring (profiling)",
  "systematic monitoring",
  "sensitive or highly personal data",
  "vulnerable data subjects"
 ],
 "flags": [
  {
   "flag": "GD-02",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-04",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-05",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-06",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-09",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-13",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-15",
   "response": "confirmed",
   "note": ""
  },
  {
   "flag": "GD-16",
   "response": "confirmed",
   "note": ""
  }
 ],
 "findings": [
  {
   "id": "F1",
   "flag": "GD-02",
   "rows": [
    "R6"
   ],
   "article": "Art. 9(2)(a)",
   "severity": "high",
   "issue": "Mood scores and mental health questions in the wellbeing survey are processed under consent with no Art. 9(2) condition named.",
   "evidence": "mood scores, mental health questions",
   "fix": "Record the Art. 9(2) condition relied on for R6 (for example explicit consent under Art. 9(2)(a)), and make sure wellbeing-survey consent is specific to this data, not implied by participation."
  },
  {
   "id": "F2",
   "flag": "GD-04",
   "rows": [
    "R8"
   ],
   "article": "Art. 46",
   "severity": "high",
   "issue": "Keystroke and screen activity data goes to Keystrove in the Philippines with no transfer safeguard named.",
   "evidence": "",
   "fix": "Put Standard Contractual Clauses (Art. 46) or an Art. 49 derogation in place for the Philippines transfer, and record the safeguard."
  },
  {
   "id": "F3",
   "flag": "GD-05",
   "rows": [
    "R4"
   ],
   "article": "Art. 46",
   "severity": "medium",
   "issue": "CVs and interview notes go to Talentrovy in the United States with no transfer mechanism named.",
   "evidence": "",
   "fix": "Confirm whether Talentrovy is certified under the EU-US Data Privacy Framework; if not, put SCCs in place and record the safeguard."
  },
  {
   "id": "F4",
   "flag": "GD-06",
   "rows": [
    "R4"
   ],
   "article": "Art. 5(1)(e)",
   "severity": "medium",
   "issue": "Candidate CVs and interview notes are kept indefinitely.",
   "evidence": "indefinite",
   "fix": "Set
... (shortened here; the page shows it whole)

Record: a B2B invoicing SaaS

Input (texts shown as lines):

{
 "task": "ropa",
 "controller": "Invorando B.V.",
 "today": "2026-10-01",
 "inventory": [
  "R1: App database | name, work email, company | customer users | providing the invoicing service | contract | until account closure + 30 days | Cloudvessa | eu-central-1 (Frankfurt) | - | AES-256 at rest, TLS 1.3 | - | -",
  "R2: App database | password hash | customer users | login | contract | until account closure | Cloudvessa | eu-central-1 (Frankfurt) | - | Argon2id | - | -",
  "R3: Invoices | invoice recipients' names, emails, postal addresses | our customers' clients | issuing invoices on our customers' behalf | contract | 10 years | Cloudvessa | eu-central-1 (Frankfurt) | - | AES-256 at rest | - | -",
  "R4: Billing | card token, billing contact | customer admins | subscription billing | contract | 10 years | Paydrennic | Ireland, United States | SCCs | tokenised by Paydrennic | - | -",
  "R5: Transactional email | email address, delivery events | customer users | sending invoices and account emails | contract | 45 days | Sendgarrow | United States | SCCs | TLS | - | -",
  "... (9 lines in all)"
 ],
 "context": [
  "C1: Invorando is a B2B invoicing tool used by about 3,000 small businesses in the EU.",
  "C2: Customer admins can export all their data as CSV or JSON from Settings > Data.",
  "C3: Users can correct their profile and company details in Settings.",
  "C4: Account closure deletes the workspace 30 days later; invoices we must keep for tax are anonymised instead.",
  "C5: Users can object to analytics from the privacy settings and unsubscribe from the newsletter in one click.",
  "... (7 lines in all)"
 ],
 "facts": "(a JSON string; decoded: 9 rows - 0 special category, 0 criminal, 0 with no lawful basis, 0 with retention missing or indefinite, 0 third-country and 3 US; DPIA recommended (sensitive or highly personal data); rights described: rectification, erasure, portability, objection; breach described; 9 groups; Art. 30 completeness 98%; flags GD-16)"
}

Reply:

{
 "task": "ropa",
 "task_note": "",
 "source": "from the input",
 "controller": "Invorando B.V.",
 "activities": [
  {
   "id": "P1",
   "name": "Providing the invoicing service",
   "purpose": "providing the invoicing service",
   "legal_basis": "contract",
   "art9_condition": "",
   "subjects": [
    "customer users"
   ],
   "data_categories": [
    "name",
    "work email",
    "company"
   ],
   "rows": [
    "R1"
   ],
   "recipients": [
    "Cloudvessa"
   ],
   "transfers": [],
   "retention": "until account closure + 30 days",
   "security": "AES-256 at rest, TLS 1.3",
   "gaps": []
  },
  {
   "id": "P2",
   "name": "Login",
   "purpose": "login",
   "legal_basis": "contract",
   "art9_condition": "",
   "subjects": [
    "customer users"
   ],
   "data_categories": [
    "password hash"
   ],
   "rows": [
    "R2"
   ],
   "recipients": [
    "Cloudvessa"
   ],
   "transfers": [],
   "retention": "until account closure",
   "security": "Argon2id",
   "gaps": []
  },
  {
   "id": "P3",
   "name": "Issuing invoices on customers' behalf",
   "purpose": "issuing invoices on our customers' behalf",
   "legal_basis": "contract",
   "art9_condition": "",
   "subjects": [
    "our customers' clients"
   ],
   "data_categories": [
    "invoice recipients' names",
    "emails",
    "postal addresses"
   ],
   "rows": [
    "R3"
   ],
   "recipients": [
    "Cloudvessa"
   ],
   "transfers": [],
   "retention": "10 years",
   "security": "AES-256 at rest",
   "gaps": [
    "For invoice-recipients' data, Invorando acts as a processor for its customers and signs a DPA with each of them (C6); this activity may belong in a separate Art. 30(2) processor record rather than the controller record."
   ]
  },
  {
   "id": "P4",
   "name": "Subscription billing",
   "purpose": "subscription billing",
   "legal_basis": "contract",
   "art9_condition": "",
   "subjects": [
    "customer admins"
   ],
   "data_categories": [
    "card token",
    "billing contact"
   ],
   "rows": [
    "R4"
   ],
   "recipients": [
    "Paydrennic"
   ],
   "transfers": [
    {
     "country": "United States",
     "safeguard": "SCCs"
    }
   ],
   "retention": "10 years",
   "security": "tokenised by Paydrennic",
   "gaps": []
  },
  {
   "id": "P5",
   "name": "Sending invoices and account emails",
   "purpose": "sending invoices and account emails",
   "legal_basis": "contract",
 
... (shortened here; the page shows it whole)

The page re-checks the reply; the API does not

The page holds every reply to account (recon.js). For an audit: one answer per page flag, in the page's order, a disputed one with a reason; 1 to 15 findings numbered F1.., sorted high, medium, low, each citing real rows and an article, with every confirmed high or medium flag covered by a finding; the DPIA call never below the page's reading, with its reasons; the six rights in order, ready only where the notes describe the right; stop only with a high finding and ready only with no high or medium one. For a record: the source and the controller as given; activities numbered P1.. covering every inventory row exactly once; one lawful basis per activity, the one its rows state, or [missing]; an Art. 9 or Art. 10 condition, or [missing], wherever special-category or criminal-offence rows sit; every country outside the EEA listed as a transfer and no other, with a placeholder where no safeguard is written; a placeholder and a gap for missing retention; every recipient named; with an audit handoff, a gap wherever a finding's rows sit. In both, quotes are checked word for word and no figure the input, the page's reading or the skills do not contain may appear. Over the API you get the model's reply as it is; run the same checks yourself with Recon.reconcile in recon.js, or paste the same input into the page.

Step 1 — a tiny client helper

One function that sends JSON and unwraps the envelope.

BASE="https://api.skillsafe.ai/v1/app-api"
TOKEN="paste-your-token-here"   # from https://gdpr-desk.skillsafe.ai/tokens.html
api() { # api METHOD PATH [JSON-BODY]
  curl -s -X "$1" "$BASE$2" -H "Content-Type: application/json" \
    ${TOKEN:+-H "Authorization: Bearer $TOKEN"} ${3:+--data "$3"}
}

Step 2 — a token

A guest token is enough for /me and /estimate. A run is metered, so it needs a personal token: sign in on /tokens.html and copy it from there.

# a guest token (enough for /me and /estimate); a run needs your personal token from /tokens.html
TOKEN=$(curl -s -X POST "$BASE/guest" -H "Content-Type: application/json" -d '{"slug":"gdpr-desk"}' | jq -r '.data.token')

Step 3 — GET /me

Who the token is (subject_type: user or guest) and the credit balance.

api GET /me | jq '.data | {subject_type, credits}' 

Step 4 — POST /estimate

Free. The body is the run input itself (not wrapped in {"input": ...}). hold_credits is a reservation, not the price; min_credits is what the balance must cover; model reads gpt-5.6-terra and model_alias gpt-terra.

# input.json: the run input object - {"task": "audit", "controller": "...", "today": "...", "inventory": "...", "context": "...", "facts": "..."}
api POST /estimate "$(cat input.json)" | jq '.data | {hold_credits, min_credits, model, model_alias, markup_bps, warnings}' 

Step 5 — POST /run, then poll the job

Send an Idempotency-Key built from the lane and the input: a retry with the same key never bills twice. The page uses gdpr-desk:<lane>:<inputHash>:a<attempt>. The job's output.output is the reply text; truncated: true means the balance cut it short.

KEY="gdpr-desk:audit:$(shasum -a 256 input.json | cut -c1-16):a1"
JOB=$(curl -s -X POST "$BASE/run" -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: $KEY" --data @input.json | jq -r '.data.job_id')
while :; do
  J=$(api GET "/jobs/$JOB"); S=$(echo "$J" | jq -r '.data.status')
  case "$S" in succeeded|failed|cancelled) break;; esac; sleep 2
done
echo "$J" | jq -r '.data.output.output' > reply.json   # one JSON object, the lane's contract
echo "$J" | jq '.data | {charged_credits, truncated}' 

Step 6 — POST /run-stream (ropa)

The same run as Server-Sent Events. ropa.json is a record-lane input, with audit_handoff when it follows an audit.

# Server-Sent Events: tick/delta events while the job runs, then a final event with the job
curl -N -s -X POST "$BASE/run-stream" -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: gdpr-desk:ropa:$(shasum -a 256 ropa.json | cut -c1-16):a1" --data @ropa.json