THIDE
All APIs

Pro API

https://thide.io/api/v1Download OpenAPI

Connect

From an AI assistant, add https://thide.io/mcp/professional as a connector and sign in to THIDE when asked. No key is needed, and the consent screen lets you grant only what the task needs.

From your own software, create an API key in your profile menu → API and send both headers below with every call, over MCP or over this HTTP API. Keep the secret on your server.

keyId
x-thide-key-id
apiSecret
x-thide-secret

Endpoints

POST/professional-applicationsApply for a Professional Studio; THIDE approval is required

Public application only. Does not create a Studio, verify an inbox or send an email. New and duplicate email addresses receive the same response. Maximum JSON body 16 KiB. Admission limits are 10 per IP per hour, 3 per email per hour and 100 globally per hour. Browser requests must be same-origin; server clients may omit Origin.

{
  "operationId": "submitProfessionalApplication",
  "summary": "Apply for a Professional Studio; THIDE approval is required",
  "security": [],
  "description": "Public application only. Does not create a Studio, verify an inbox or send an email. New and duplicate email addresses receive the same response. Maximum JSON body 16 KiB. Admission limits are 10 per IP per hour, 3 per email per hour and 100 globally per hour. Browser requests must be same-origin; server clients may omit Origin.\n",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "name",
            "email",
            "message",
            "language"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "email": {
              "type": "string",
              "maxLength": 254,
              "format": "email"
            },
            "website": {
              "type": "string",
              "maxLength": 2048,
              "description": "Optional HTTP(S) URL without embedded credentials, or empty string."
            },
            "message": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "language": {
              "type": "string",
              "enum": [
                "en",
                "nl"
              ]
            }
          }
        }
      }
    }
  },
  "responses": {
    "202": {
      "description": "Application received without disclosing whether the address already exists.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "const": "accepted"
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Invalid JSON or application fields."
    },
    "403": {
      "description": "Cross-origin browser request rejected."
    },
    "413": {
      "description": "Body exceeds 16 KiB."
    },
    "415": {
      "description": "Content-Type must be application/json."
    },
    "429": {
      "description": "Application rate limit reached.",
      "headers": {
        "Retry-After": {
          "description": "Seconds before retrying.",
          "schema": {
            "type": "integer"
          }
        }
      }
    },
    "503": {
      "description": "Application could not be saved."
    }
  }
}
GET/mandatesTranslator work-queue list — the studio board, as data.

The same board the studio renders, filterable by the same lanes. ?lane= selects pipeline columns (work she committed to), ?bucket= selects pre-decision requests. Both resolve through the single lane mapping the UI uses, so a lane over the API always contains exactly the cards in that column. Repeat the parameter or comma-separate. Filters union: ?lane=in_progress&lane=with_client returns both. Combining a lane with a bucket also returns the union of their matching requests; ?status= is the third leg of the same union (raw MandateStatus names, for scripts that think in statuses rather than columns). No filter returns everything. Every filter fails CLOSED by name: an unknown lane, bucket or status is a 400 whose message lists the valid values — never an empty 200. The whole board comes back in one page (no pagination in this MVP; count = items.length).

{
  "summary": "Translator work-queue list — the studio board, as data.",
  "description": "The same board the studio renders, filterable by the same lanes. ?lane= selects pipeline columns (work she committed to), ?bucket= selects pre-decision requests. Both resolve through the single lane mapping the UI uses, so a lane over the API always contains exactly the cards in that column. Repeat the parameter or comma-separate. Filters union: ?lane=in_progress&lane=with_client returns both. Combining a lane with a bucket also returns the union of their matching requests; ?status= is the third leg of the same union (raw MandateStatus names, for scripts that think in statuses rather than columns). No filter returns everything. Every filter fails CLOSED by name: an unknown lane, bucket or status is a 400 whose message lists the valid values — never an empty 200. The whole board comes back in one page (no pagination in this MVP; count = items.length).\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "query",
      "name": "status",
      "schema": {
        "type": "string"
      },
      "description": "Comma-separated or repeated MandateStatus names (submitted, quoted, paid, declined, accepted, in_progress, translated, delivered, settled, refunded, cancelled). An unknown name is 400 validation naming the valid ones."
    },
    {
      "in": "query",
      "name": "lane",
      "style": "form",
      "explode": true,
      "schema": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "in_progress",
            "with_client",
            "completed"
          ]
        }
      },
      "description": "Repeat it or comma-separate it; lanes, buckets and statuses together return the union of their statuses. An unknown lane is 400 unknown_lane. Pipeline column. in_progress = accepted|in_progress|translated, with_client = delivered (awaiting the client's sign-off, or the deemed clock), completed = settled.\n"
    },
    {
      "in": "query",
      "name": "bucket",
      "style": "form",
      "explode": true,
      "schema": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "your_decision",
            "awaiting_client",
            "lost"
          ]
        }
      },
      "description": "Repeat it or comma-separate it; an unknown bucket is 400 unknown_bucket. Request bucket. your_decision = submitted|paid (review or funding recovery), awaiting_client = quoted (awaiting payment), lost = declined|refunded|cancelled ('cancelled' is legacy-only since 10 Oct 2026 — nothing enters it any more; old rows keep it).\n"
    }
  ],
  "responses": {
    "200": {
      "description": "{items: MandateEnvelope[], count: number} — studio view.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/MandateList"
          }
        }
      }
    },
    "400": {
      "description": "unknown_lane / unknown_bucket, or validation for an unknown ?status= name — the message names the valid values."
    },
    "401": {
      "description": "Missing or invalid professional credential."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "getMandates",
  "tags": [
    "Resources"
  ]
}
POST/mandatesIntake — create a mandate from the four-question form (or an automator).

UNAUTHENTICATED, DELIBERATELY. The other non-public routes require a caller identity (the terms and this contract are public), but intake stays open because a first-time client has no credential yet. It is protected by what it RETURNS: the accessToken, and — for a caller that presented no client or professional credential — creatorGrant, the signed grant that reads THIS request back for seven days, until it is paid (header x-thide-creator; see securitySchemes.creatorGrant). Without one of those the mandate is readable only with the client's own key or a verified browser session. Optional clientLanguage (en or nl) selects initial request notification language; it never changes an existing account preference. multipart/form-data (repeatable "file" fields) or JSON with file.contentBase64 (single, back-compat) and/or files:[{fileName, mimeType?, contentBase64}, …] (multi-document). Every uploaded file becomes its own downloadable 'source' document row; the quoted volume is the SUM of the per-file counts. Counts characters (manualCharCount is honoured ONLY with a professional credential — it records the count as a professional override, the TOTAL across all files, and extraction.method is then 'manual_override'; from a client or integrator it is ignored and the documents are counted): text extraction for digital files (.docx/.pdf/.txt/.md/.csv/.xlsx), time-boxed. No OCR runs in this request: a scanned PDF or an image comes back with charCount null, method 'needs_ocr' and extraction.countPending true, and the background reading queue reads it, quotes the job and mails the client when the reading lands (poll GET /mandates/{id}). Stores the source documents, prices standard pairs from the professional's matrix and e-mails both sides. Since 2026-08-21 that price is INDICATIVE for human work — the mandate STAYS 'submitted' with a saved quote until the professional confirms it (POST /mandates/{id}/decision action 'send'), which is when the client receives the payment link; only the machine tier auto-releases to 'quoted'. If ANY file cannot be counted yet (queued for reading, or unreadable) the WHOLE mandate stays 'submitted' with extraction.method 'needs_ocr' — a partial volume is never quoted; the translator confirms the total. Ad-hoc pairs stay 'submitted' with a saved quote (requiresManualRate=true, zeroed amounts — the translator provides the rate in the studio). Guardrails (apps/web/src/lib/upload-limits.ts): each upload is capped at 100 MiB (104857600 bytes), one request at 30 files and 200 MiB (209715200 bytes) of RAW documents. Caps are inclusive; 1 MiB = 1048576 bytes. Separately, multipart bodies allow 210763776 bytes (201 MiB), and base64 JSON bodies allow 280668964 bytes, including expansion, per-file padding and 1 MiB of framing/fields. Content-Length above the applicable BODY cap is refused before reading; chunked API bodies are capped while streaming (413 payload_too_large). Decoded documents must still satisfy the raw caps. Reduce sizes, split into separate requests, or contact THIDE for help with a larger upload. Rejected requests are not stored or quoted. An implausible auto-counted volume (> 2M characters) pauses like an uncountable scan instead of auto-quoting. LEGALISATION: send documentCategory ('civil_status' | 'diploma' | 'notarial' | 'commercial' | 'other') for sworn work. It is what decides the answer inside the EU — Regulation (EU) 2016/1191 exempts an enumerated list of civil-status facts, so a diploma or a company document still needs an apostille between member states. Omit it and the recommendation reports that it cannot tell yet rather than guessing. The result is a RECOMMENDATION either side can override at /mandates/{id}/legalisation. THE ORIGINAL'S OWN LEG: optionally send issuingCountry (ISO alpha-2, sworn only) — where the ORIGINAL document was issued. An apostille certifies the official who signed the original, so only the issuing country can legalise it (a Mexican birth certificate → Mexico, never Belgium), whatever language it is in. Powers the envelope's legalisation.original advisory; never prices or pauses anything. extraction.detectedIssuingCountry suggests it when the document carries its state's formal name. SUBJECT: optional subject string (at most 160 characters), supplied by the client. Retained on every resulting mandate; the internal id remains unchanged. MULTI-LANGUAGE FAN-OUT: send targetLanguages: ["fr","en"] (JSON array; in multipart a JSON-encoded string field) instead of targetLanguage, and the same documents are ordered into EACH language. Every pair becomes its own mandate — its own quote, escrow, apostille, delivery and sign-off — sharing a requestGroupId, and the response becomes {requestGroup: {id, count}, mandates: [MandateEnvelope...], extraction} with a DISTINCT accessToken per mandate. One target (or a deduped list of one) keeps the original single-envelope shape exactly. Payment note — THE WHOLE-REQUEST RULE: the professional confirms all human members together. A mixed Machine/human request waits for its complete quote before any member can be paid. Use POST /request-groups/{id}/pay for the full unpaid quote; a single-item payment of a subset is 409 illegal_transition ("Pay the complete quote together."). An incomplete or unusable active quote is also 409 illegal_transition. Historical paid or declined members are excluded from the new charge. Standalone Machine work remains independently payable; urgent Machine work must be submitted separately. A non-standard deadlineBucket is accepted only while the service offers the deadline choice (see GET /catalog deadlines) — otherwise the intake answers 400. TERMS GATE: acceptedTerms is REQUIRED — an array of {id, version} covering every id in GET /terms.requiredForMandate, at the version currently served. Naming the version is the point: an agent acting for a client must be pinned to text it actually fetched, and a stale cached version is refused rather than silently binding the client. In multipart, send it as a JSON-encoded string field. The accepted versions and their content hashes are stored on the mandate and are readable afterwards at GET /mandates/{id}/terms. WHO PAYS: payerType 'individual' (default) or 'company'. A company MUST send companyBilling — the invoice is made out to it; omitting it is 400 validation. Company name and VAT number, plus the registered address either as one `address` line or as the four parts street / postalCode / city / country (ISO-2) — see the companyBilling schema for the Belgian VAT rule.

{
  "summary": "Intake — create a mandate from the four-question form (or an automator).",
  "security": [
    {},
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "$ref": "#/components/parameters/IdempotencyKey"
    }
  ],
  "description": "UNAUTHENTICATED, DELIBERATELY. The other non-public routes require a caller identity (the terms and this contract are public), but intake stays open because a first-time client has no credential yet. It is protected by what it RETURNS: the accessToken, and — for a caller that presented no client or professional credential — creatorGrant, the signed grant that reads THIS request back for seven days, until it is paid (header x-thide-creator; see securitySchemes.creatorGrant). Without one of those the mandate is readable only with the client's own key or a verified browser session. Optional clientLanguage (en or nl) selects initial request notification language; it never changes an existing account preference. multipart/form-data (repeatable \"file\" fields) or JSON with file.contentBase64 (single, back-compat) and/or files:[{fileName, mimeType?, contentBase64}, …] (multi-document). Every uploaded file becomes its own downloadable 'source' document row; the quoted volume is the SUM of the per-file counts. Counts characters (manualCharCount is honoured ONLY with a professional credential — it records the count as a professional override, the TOTAL across all files, and extraction.method is then 'manual_override'; from a client or integrator it is ignored and the documents are counted): text extraction for digital files (.docx/.pdf/.txt/.md/.csv/.xlsx), time-boxed. No OCR runs in this request: a scanned PDF or an image comes back with charCount null, method 'needs_ocr' and extraction.countPending true, and the background reading queue reads it, quotes the job and mails the client when the reading lands (poll GET /mandates/{id}). Stores the source documents, prices standard pairs from the professional's matrix and e-mails both sides. Since 2026-08-21 that price is INDICATIVE for human work — the mandate STAYS 'submitted' with a saved quote until the professional confirms it (POST /mandates/{id}/decision action 'send'), which is when the client receives the payment link; only the machine tier auto-releases to 'quoted'. If ANY file cannot be counted yet (queued for reading, or unreadable) the WHOLE mandate stays 'submitted' with extraction.method 'needs_ocr' — a partial volume is never quoted; the translator confirms the total. Ad-hoc pairs stay 'submitted' with a saved quote (requiresManualRate=true, zeroed amounts — the translator provides the rate in the studio). Guardrails (apps/web/src/lib/upload-limits.ts): each upload is capped at 100 MiB (104857600 bytes), one request at 30 files and 200 MiB (209715200 bytes) of RAW documents. Caps are inclusive; 1 MiB = 1048576 bytes. Separately, multipart bodies allow 210763776 bytes (201 MiB), and base64 JSON bodies allow 280668964 bytes, including expansion, per-file padding and 1 MiB of framing/fields. Content-Length above the applicable BODY cap is refused before reading; chunked API bodies are capped while streaming (413 payload_too_large). Decoded documents must still satisfy the raw caps. Reduce sizes, split into separate requests, or contact THIDE for help with a larger upload. Rejected requests are not stored or quoted. An implausible auto-counted volume (> 2M characters) pauses like an uncountable scan instead of auto-quoting.\nLEGALISATION: send documentCategory ('civil_status' | 'diploma' | 'notarial' | 'commercial' | 'other') for sworn work. It is what decides the answer inside the EU — Regulation (EU) 2016/1191 exempts an enumerated list of civil-status facts, so a diploma or a company document still needs an apostille between member states. Omit it and the recommendation reports that it cannot tell yet rather than guessing. The result is a RECOMMENDATION either side can override at /mandates/{id}/legalisation.\nTHE ORIGINAL'S OWN LEG: optionally send issuingCountry (ISO alpha-2, sworn only) — where the ORIGINAL document was issued. An apostille certifies the official who signed the original, so only the issuing country can legalise it (a Mexican birth certificate → Mexico, never Belgium), whatever language it is in. Powers the envelope's legalisation.original advisory; never prices or pauses anything. extraction.detectedIssuingCountry suggests it when the document carries its state's formal name.\nSUBJECT: optional subject string (at most 160 characters), supplied by the client. Retained on every resulting mandate; the internal id remains unchanged.\nMULTI-LANGUAGE FAN-OUT: send targetLanguages: [\"fr\",\"en\"] (JSON array; in multipart a JSON-encoded string field) instead of targetLanguage, and the same documents are ordered into EACH language. Every pair becomes its own mandate — its own quote, escrow, apostille, delivery and sign-off — sharing a requestGroupId, and the response becomes {requestGroup: {id, count}, mandates: [MandateEnvelope...], extraction} with a DISTINCT accessToken per mandate. One target (or a deduped list of one) keeps the original single-envelope shape exactly. Payment note — THE WHOLE-REQUEST RULE: the professional confirms all human members together. A mixed Machine/human request waits for its complete quote before any member can be paid. Use POST /request-groups/{id}/pay for the full unpaid quote; a single-item payment of a subset is 409 illegal_transition (\"Pay the complete quote together.\"). An incomplete or unusable active quote is also 409 illegal_transition. Historical paid or declined members are excluded from the new charge. Standalone Machine work remains independently payable; urgent Machine work must be submitted separately. A non-standard deadlineBucket is accepted only while the service offers the deadline choice (see GET /catalog deadlines) — otherwise the intake answers 400.\nTERMS GATE: acceptedTerms is REQUIRED — an array of {id, version} covering every id in GET /terms.requiredForMandate, at the version currently served. Naming the version is the point: an agent acting for a client must be pinned to text it actually fetched, and a stale cached version is refused rather than silently binding the client. In multipart, send it as a JSON-encoded string field. The accepted versions and their content hashes are stored on the mandate and are readable afterwards at GET /mandates/{id}/terms.\nWHO PAYS: payerType 'individual' (default) or 'company'. A company MUST send companyBilling — the invoice is made out to it; omitting it is 400 validation. Company name and VAT number, plus the registered address either as one `address` line or as the four parts street / postalCode / city / country (ISO-2) — see the companyBilling schema for the Belgian VAT rule.\n",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "required": [
            "clientEmail",
            "clientName",
            "subject",
            "sourceLanguage",
            "kind",
            "gdprConsent",
            "pretranslationGateAck",
            "acceptedTerms"
          ],
          "properties": {
            "clientEmail": {
              "type": "string",
              "format": "email"
            },
            "clientName": {
              "type": "string",
              "minLength": 1
            },
            "clientLanguage": {
              "type": "string",
              "enum": [
                "en",
                "nl"
              ]
            },
            "subject": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160,
              "description": "Required client reference; whitespace-only values are rejected."
            },
            "requestedDate": {
              "type": "string",
              "format": "date",
              "description": "Optional day the client would like the work by (YYYY-MM-DD): from tomorrow up to six months ahead, in Brussels days; any other day is refused with 400. Indicative; no price effect."
            },
            "message": {
              "type": "string",
              "maxLength": 4000,
              "description": "Optional message to the translator, recorded as the request's first message on its thread (request-wide; nothing extra is mailed). Context documents travel only as multipart `attachment` parts (same limits and virus scan as message attachments) and need a line of text (2 Nov 2026)."
            },
            "sourceLanguage": {
              "type": "string",
              "description": "A supported language code (see GET /catalog)."
            },
            "targetLanguage": {
              "type": "string",
              "description": "One target; or targetLanguages (1–10) for a fan-out. One of the two is required."
            },
            "targetLanguages": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 10
            },
            "kind": {
              "type": "string",
              "enum": [
                "regular",
                "sworn"
              ]
            },
            "destinationCountry": {
              "type": "string",
              "description": "ISO 3166-1 alpha-2 country among those offered for the target languages (countries[] in GET /catalog lists the union); required when kind is sworn (Certified)."
            },
            "issuingCountry": {
              "type": "string",
              "description": "ISO 3166-1 alpha-2 — where the original was issued (sworn only)."
            },
            "documentCategory": {
              "type": "string",
              "enum": [
                "civil_status",
                "diploma",
                "notarial",
                "commercial",
                "other"
              ]
            },
            "deadlineBucket": {
              "type": "string",
              "enum": [
                "rush_1_3d",
                "week_1",
                "month_1"
              ],
              "default": "week_1"
            },
            "payerType": {
              "type": "string",
              "enum": [
                "individual",
                "company"
              ],
              "description": "Explicit invoice recipient when the client has chosen one. Optional at intake; an omitted value is not a choice and must be resolved before payment. 'company' requires companyBilling."
            },
            "companyBilling": {
              "$ref": "#/components/schemas/CompanyBillingInput"
            },
            "gdprConsent": {
              "type": "boolean",
              "enum": [
                true
              ]
            },
            "pretranslationGateAck": {
              "type": "boolean",
              "enum": [
                true
              ]
            },
            "acceptedTerms": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "version"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                }
              }
            },
            "file": {
              "type": "object",
              "required": [
                "fileName",
                "contentBase64"
              ],
              "properties": {
                "fileName": {
                  "type": "string"
                },
                "mimeType": {
                  "type": "string"
                },
                "contentBase64": {
                  "type": "string"
                }
              }
            },
            "files": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "fileName",
                  "contentBase64"
                ],
                "properties": {
                  "fileName": {
                    "type": "string"
                  },
                  "mimeType": {
                    "type": "string"
                  },
                  "contentBase64": {
                    "type": "string"
                  }
                }
              }
            },
            "manualCharCount": {
              "type": "integer",
              "minimum": 1,
              "description": "Honoured only with a professional credential."
            }
          }
        }
      },
      "multipart/form-data": {
        "schema": {
          "type": "object",
          "description": "The same fields; repeat \"file\"; acceptedTerms, targetLanguages and companyBilling as JSON-encoded string fields. Repeat \"attachment\" for the context documents of `message` (2 Nov 2026)."
        }
      }
    }
  },
  "responses": {
    "201": {
      "description": "MandateEnvelope (with accessToken), creatorGrant for a caller without a client or professional credential (securitySchemes.creatorGrant) + extraction {charCount (the TOTAL across files, null when paused), method: text_extraction | ocr | needs_ocr, countPending: boolean, detectedLanguage: supported-set code or null, detectedOtherLabel: label for a language outside our catalogue (\"Polish\") or null, languageMismatch: boolean, files: [{fileName, charCount, method, detectedLanguage, rawCharCount (the full count before the repeat-section correction; equals charCount when nothing was corrected), photoEstimateChars} per uploaded file], detectedIssuingCountry (ISO alpha-2 read from the document's formal state name, or null — a suggestion for issuingCountry, never applied), detectedDocumentCategory (what the text claims to be, or null — a suggestion for documentCategory, never applied)}. A photo upload (png/jpg/…) is NEVER auto-quoted: its charCount is null and method 'needs_ocr'; photoEstimateChars is null in this response (the background reading records a rough estimate on the document for the professional, who enters the billable count). detectedLanguage is named only on certain evidence (the document's script or its function words; taken from the file with the largest text yield) — a trigram-only guess is not reported and never locks anything (2 Nov 2026); a mismatch with the declared sourceLanguage never blocks the mandate; automators should surface it to their end user. detectedLanguage and languageMismatch rest ONLY on text the engine accepted (a billable count or an accepted photo reading) — a paused scan or a photo with no readable text reports null / false, never a guess from the filename. READING: this request reads digital text only (~20 s budget); nothing is OCR'd inline. A scan or a photo comes back at once with charCount null, method 'needs_ocr' and countPending TRUE: it was handed to the background reading queue — the same admission-capped queue the web intake uses — which OCRs it (10-minute budget per document, two documents at a time on the host) and quotes the job when the reading lands. Consequently detectedLanguage, photoEstimateChars and languageMismatch are null / false for such a document at 201. For human translation, the result becomes an indicative quote awaiting professional confirmation; for machine translation, the ready quote is released and the client is mailed. Poll GET /mandates/{id} for the current quote and status. A document the queue cannot read either ends with the professional confirming the volume (POST /mandates/{id}/count), as does countPending FALSE with a null charCount. When the queue refuses the documents (capacity), the whole request answers 503 count_capacity with Retry-After and nothing is created.\n",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/IntakeResult"
          }
        }
      }
    },
    "400": {
      "description": "Validation error (incl. unparseable body, no file at all), or code terms_not_accepted when acceptedTerms is missing, incomplete, or names a version we no longer serve — the message states the current version. Also idempotency_key_invalid (malformed Idempotency-Key) and idempotency_requires_key (Idempotency-Key sent without an API key).\n"
    },
    "401": {
      "description": "unauthorized — an x-thide-key / x-thide-studio header was presented that matches no live key (revoked or unknown). Sending no header at all is fine: intake is open."
    },
    "403": {
      "description": "client_email_mismatch — a client key created the request under an e-mail that is not the key owner's; or forbidden — a professional key (Settings → API) may only create work it will own itself: refused for another professional's board and, while automatic routing is on, refused altogether (the request is allocated later). The operator bootstrap key is not affected. insufficient_scope — a keyed caller whose credential lacks workflow."
    },
    "409": {
      "description": "idempotency_in_flight — the same Idempotency-Key is still being processed; retry in a moment. (Also illegal_transition elsewhere.)"
    },
    "413": {
      "description": "payload_too_large — above 100 MiB per document, 30 files, or 200 MiB raw total; separately, above 210763776 multipart body bytes or 280668964 JSON body bytes. Body caps apply to Content-Length and streamed bytes; raw caps apply to decoded documents. Reduce, split, or contact THIDE; rejected requests are not stored or quoted."
    },
    "415": {
      "description": "Unsupported file type (names the offending file)."
    },
    "422": {
      "description": "idempotency_key_reused — this Idempotency-Key was used for a different request; or malware_detected — the virus scan refused a document (the message names it); nothing is stored or quoted."
    },
    "429": {
      "description": "rate_limited with Retry-After — the intake meters every caller per IP (30 / 10 min, before the body is read), all callers together (100 / 10 min, before the body is read, counted only for requests the per-IP meter admitted; when reached, intake is closed for everyone until the oldest request is ten minutes old — 5 Nov 2026) and per clientEmail (20 / 10 min, after it is parsed); keyed callers are also metered per key and per shared profile (120 / min).\n",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer"
          },
          "description": "Seconds to wait before retrying."
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "500": {
      "description": "partly_processed — with an Idempotency-Key only: the request failed after it had created at least one job. What was created is kept, the answer is stored, and a retry with the same key replays it instead of creating the request again. Read GET /mandates for what exists. (Any other 500 created nothing and may be retried.)"
    },
    "503": {
      "description": "terms_unavailable — the contracts did not ship with the build (nothing can be accepted); count_capacity — the background reading queue refused the scans (Retry-After in seconds; nothing created); scanner_unavailable — no virus-scan verdict (nothing created; retry later); or payments_not_configured on a later pay."
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "postMandates",
  "tags": [
    "Resources"
  ]
}
GET/request-groups/{id}/decisionReview all pending human quotes with exact version tokens.

Professional credentials required; all active human members must belong to the caller. Returns requestGroupId and quotes (Professional MandateEnvelopes plus review.id, review.updatedAt, review.fingerprint, and review.exclusionReason on a part marked "not offered" in Studio — echo it on the POST). Machine and previously paid items are excluded. Null fingerprint means no quote exists yet. Inspect every quote before explicit confirmation. Professional credentials only (key ID and secret, or the legacy x-thide-studio): a client credential is 401.

{
  "summary": "Review all pending human quotes with exact version tokens.",
  "description": "Professional credentials required; all active human members must belong to the caller. Returns requestGroupId and quotes (Professional MandateEnvelopes plus review.id, review.updatedAt, review.fingerprint, and review.exclusionReason on a part marked \"not offered\" in Studio — echo it on the POST). Machine and previously paid items are excluded. Null fingerprint means no quote exists yet. Inspect every quote before explicit confirmation. Professional credentials only (key ID and secret, or the legacy x-thide-studio): a client credential is 401.\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Private no-store review offer with exact version and fingerprint per item.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/GroupDecisionReview"
          }
        }
      }
    },
    "401": {
      "description": "Professional credentials required."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown or inaccessible group."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "getRequest_groupsIdDecision",
  "tags": [
    "Resources"
  ]
}
POST/request-groups/{id}/decisionAtomically confirm and send the complete human request.

Include every pending human item from GET with its exact review tokens and reviewed=true. Subsets, duplicates, stale versions, missing rates, incomplete legalisation and payment in progress reject the entire set. One notification follows successful release. Machine work is separate; historical paid items are never released again. Idempotency-Key is recommended; replay identical bytes to obtain the same result without another email. After a stale-offer 409, fetch and review again with a new key. This supersedes single-item sends for multi-item requests. Professional credentials only (key ID and secret, or the legacy x-thide-studio): a client credential is 401. REVIEW AND EXCLUSION MODEL (the same selection the Studio form posts). reviewed=true on an item IS the explicit review of that exact version — the API records the review note itself, where the Studio asks for a per-part review first. A part the professional marked "not offered" in Studio (Job → Not offered, with an internal reason) is still a pending item: GET returns its review with `exclusionReason`, and the POST must echo that reason verbatim on the item — the part is then declined ("Not offered" on the client's thread, the reason stays internal) while the others are sent. Omitting it is 409 quote_not_releasable "A document is marked not offered. Review the complete request again."; there is no API call that records an exclusion. Optional `message` (≤ 4000 characters) is the professional's word to the client — it travels in the quote mail and lands on the request's thread.

{
  "summary": "Atomically confirm and send the complete human request.",
  "description": "Include every pending human item from GET with its exact review tokens and reviewed=true. Subsets, duplicates, stale versions, missing rates, incomplete legalisation and payment in progress reject the entire set. One notification follows successful release. Machine work is separate; historical paid items are never released again. Idempotency-Key is recommended; replay identical bytes to obtain the same result without another email. After a stale-offer 409, fetch and review again with a new key. This supersedes single-item sends for multi-item requests. Professional credentials only (key ID and secret, or the legacy x-thide-studio): a client credential is 401.\nREVIEW AND EXCLUSION MODEL (the same selection the Studio form posts). reviewed=true on an item IS the explicit review of that exact version — the API records the review note itself, where the Studio asks for a per-part review first. A part the professional marked \"not offered\" in Studio (Job → Not offered, with an internal reason) is still a pending item: GET returns its review with `exclusionReason`, and the POST must echo that reason verbatim on the item — the part is then declined (\"Not offered\" on the client's thread, the reason stays internal) while the others are sent. Omitting it is 409 quote_not_releasable \"A document is marked not offered. Review the complete request again.\"; there is no API call that records an exclusion. Optional `message` (≤ 4000 characters) is the professional's word to the client — it travels in the quote mail and lands on the request's thread.\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "$ref": "#/components/parameters/IdempotencyKey"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "action",
            "quotes"
          ],
          "properties": {
            "action": {
              "const": "send"
            },
            "message": {
              "type": "string",
              "maxLength": 4000,
              "description": "The professional's message to the client — in the quote mail and on the thread."
            },
            "quotes": {
              "type": "array",
              "minItems": 1,
              "maxItems": 100,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "updatedAt",
                  "fingerprint",
                  "reviewed"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1
                  },
                  "updatedAt": {
                    "type": "string",
                    "minLength": 1
                  },
                  "fingerprint": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "reviewed": {
                    "const": true
                  },
                  "exclusionReason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000,
                    "description": "Required, verbatim, for a part GET returned with review.exclusionReason (marked \"not offered\" in Studio); never for any other part."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "requestGroupId and the confirmed mandate ids; or the identical idempotent replay.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/GroupDecisionResult"
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing explicit review."
    },
    "401": {
      "description": "Professional credentials required."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown or inaccessible group."
    },
    "409": {
      "description": "quote_not_releasable, onboarding_incomplete, commission_review_required or idempotency_in_flight; no partial release.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "413": {
      "description": "payload_too_large — the body is larger than the schema allows (about 2.4 MiB). Nothing was parsed or changed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key reused with different request bytes."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "503": {
      "description": "verification_unavailable — current payment verification could not be checked; nothing released."
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "postRequest_groupsIdDecision",
  "tags": [
    "Resources"
  ]
}
GET/mandates/{id}Fetch one mandate.

THE read: the mandate, its quote, documents (with signed download paths), the append-only status log, the client timeline, the request's conversation and both legalisation legs in one envelope — a polling agent needs nothing else. Reading also runs the deemed-acceptance clock, so a delivered job past its window reports 'settled' here rather than waiting for a sweep. The audience follows the credential: a mandate token (with the verified session), the client key or the creatorGrant of the caller that filed it (x-thide-creator, while unpaid) gets the client view with accessToken and engagementOffer (while payable); the owning professional's credential gets the professional view (no client contact data, no token, studio-only quote fields) and 404 for work that is not hers.

{
  "summary": "Fetch one mandate.",
  "description": "THE read: the mandate, its quote, documents (with signed download paths), the append-only status log, the client timeline, the request's conversation and both legalisation legs in one envelope — a polling agent needs nothing else. Reading also runs the deemed-acceptance clock, so a delivered job past its window reports 'settled' here rather than waiting for a sweep. The audience follows the credential: a mandate token (with the verified session), the client key or the creatorGrant of the caller that filed it (x-thide-creator, while unpaid) gets the client view with accessToken and engagementOffer (while payable); the owning professional's credential gets the professional view (no client contact data, no token, studio-only quote fields) and 404 for work that is not hers.\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "creatorGrant": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "MandateEnvelope. accessToken (and token-embedding downloadPaths) only for client-token / client-key callers — studio-key reads never receive the client's bearer token.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/MandateEnvelope"
          }
        }
      }
    },
    "401": {
      "description": "Bad token / key."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getMandatesId",
  "tags": [
    "Resources"
  ]
}
GET/mandates/{id}/documents/{docId}Tokenized document download (the URL delivery e-mails embed).

Streams the stored bytes with the stored Content-Type and a Content-Disposition attachment header. Client-token links are expiring signed links (spec §2.4): downloadPath embeds exp+sig (HMAC, 7-day TTL) and the route enforces them; studio-key calls are header-authorized and need no signature. Becomes a Supabase Storage signed-URL redirect at provisioning; the URL shape stays stable. ?inline=1 asks for Content-Disposition inline (preview in a frame) — honoured only for types a browser renders inertly (PDF, PNG, JPEG, GIF, WebP, plain text); anything else stays an attachment. A BROWSER (Accept: text/html) presenting a token without the verified portal session is sent to e-mail verification with a 303 instead of the 401 an API caller receives. Without ?token=, the professional's signed-in Studio browser (its thide_portal session) also authorises the download of its own work; a ?token= always decides as a client link.

{
  "summary": "Tokenized document download (the URL delivery e-mails embed).",
  "description": "Streams the stored bytes with the stored Content-Type and a Content-Disposition attachment header. Client-token links are expiring signed links (spec §2.4): downloadPath embeds exp+sig (HMAC, 7-day TTL) and the route enforces them; studio-key calls are header-authorized and need no signature. Becomes a Supabase Storage signed-URL redirect at provisioning; the URL shape stays stable. ?inline=1 asks for Content-Disposition inline (preview in a frame) — honoured only for types a browser renders inertly (PDF, PNG, JPEG, GIF, WebP, plain text); anything else stays an attachment. A BROWSER (Accept: text/html) presenting a token without the verified portal session is sent to e-mail verification with a 303 instead of the 401 an API caller receives. Without ?token=, the professional's signed-in Studio browser (its thide_portal session) also authorises the download of its own work; a ?token= always decides as a client link.\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "creatorGrant": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "path",
      "name": "docId",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "inline",
      "schema": {
        "type": "string",
        "enum": [
          "1"
        ]
      },
      "description": "Inline disposition for PDF / image / plain-text documents (browser preview)."
    }
  ],
  "responses": {
    "200": {
      "description": "The file bytes.",
      "content": {
        "application/octet-stream": {
          "schema": {
            "type": "string",
            "format": "binary"
          }
        }
      }
    },
    "303": {
      "description": "Browser caller (Accept text/html) with a token but no verified portal session — redirected to e-mail verification."
    },
    "401": {
      "description": "Bad token or credential, or an invalid link signature.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate or document, or stored file missing (code file_missing).",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "410": {
      "description": "Signed link expired (code link_expired) — fetch a fresh envelope for a new downloadPath."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getMandatesIdDocumentsDocId",
  "tags": [
    "Resources"
  ]
}
GET/mandates/{id}/attachments/{attachmentId}Download reference material attached to a message of the request conversation.

The file a party attached to a message (MessageAttachmentView.downloadPath resolves here). The same door as a document download — client-token links carry an expiring signature (exp+sig, 7-day TTL); studio-key, studio-cookie and client-key calls are authorised by their credential — plus one rule: the attachment must hang off a message of THIS request's conversation (the path id may be any part of a multi-language request), and a private professional/subcontractor file is served to the studio side only — a client asking for one receives 404. Always Content-Disposition attachment: reference material is downloaded, never rendered in the app's origin. A BROWSER (Accept: text/html) presenting a token without the verified portal session is sent to e-mail verification with a 303. Without ?token=, the professional's signed-in Studio browser (its thide_portal session) also authorises the download of its own work; a ?token= always decides as a client link.

{
  "summary": "Download reference material attached to a message of the request conversation.",
  "description": "The file a party attached to a message (MessageAttachmentView.downloadPath resolves here). The same door as a document download — client-token links carry an expiring signature (exp+sig, 7-day TTL); studio-key, studio-cookie and client-key calls are authorised by their credential — plus one rule: the attachment must hang off a message of THIS request's conversation (the path id may be any part of a multi-language request), and a private professional/subcontractor file is served to the studio side only — a client asking for one receives 404. Always Content-Disposition attachment: reference material is downloaded, never rendered in the app's origin. A BROWSER (Accept: text/html) presenting a token without the verified portal session is sent to e-mail verification with a 303. Without ?token=, the professional's signed-in Studio browser (its thide_portal session) also authorises the download of its own work; a ?token= always decides as a client link.\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "creatorGrant": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "path",
      "name": "attachmentId",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "The file bytes.",
      "content": {
        "application/octet-stream": {
          "schema": {
            "type": "string",
            "format": "binary"
          }
        }
      }
    },
    "303": {
      "description": "Browser caller (Accept text/html) with a token but no verified portal session — redirected to e-mail verification."
    },
    "401": {
      "description": "Bad token or credential, or an invalid link signature.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate or attachment, an attachment of another conversation or of the private assignment thread asked for by a client, or stored file missing (code file_missing).",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "410": {
      "description": "Signed link expired (code link_expired) — read the thread again for a new downloadPath."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getMandatesIdAttachmentsAttachmentId",
  "tags": [
    "Resources"
  ]
}
GET/mandates/{id}/documents/archiveEvery document of one request, as a single .zip.

The client portal listed files one link at a time, which is tedious on a delivered sworn job carrying a translation, an apostille and an invoice. Same authorisation as a single download: a client token for their own request, a credential, or (without ?token=) the professional's signed-in Studio browser. Entries are STORED (not deflated) — the documents are already compressed formats. Studio-internal roles (partner_upload, machine_text) never enter a client's archive. By default a file whose bytes are missing is skipped rather than failing the whole download; with scope=delivery the archive holds the published delivery (translations and apostilles, every part of a package) and a missing file is 409 file_missing — no partial delivery archive. Metered at 20 per 10 minutes per IP and 5 per 10 minutes per request (429).

{
  "summary": "Every document of one request, as a single .zip.",
  "description": "The client portal listed files one link at a time, which is tedious on a delivered sworn job carrying a translation, an apostille and an invoice. Same authorisation as a single download: a client token for their own request, a credential, or (without ?token=) the professional's signed-in Studio browser. Entries are STORED (not deflated) — the documents are already compressed formats. Studio-internal roles (partner_upload, machine_text) never enter a client's archive. By default a file whose bytes are missing is skipped rather than failing the whole download; with scope=delivery the archive holds the published delivery (translations and apostilles, every part of a package) and a missing file is 409 file_missing — no partial delivery archive. Metered at 20 per 10 minutes per IP and 5 per 10 minutes per request (429).\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "creatorGrant": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "scope",
      "required": false,
      "schema": {
        "type": "string",
        "enum": [
          "delivery"
        ]
      },
      "description": "delivery — only the published delivery files."
    },
    {
      "in": "query",
      "name": "ids",
      "required": false,
      "schema": {
        "type": "string"
      },
      "description": "With scope=delivery: comma-separated document ids (up to 500) from this delivery, originals included; an id outside it is 400 invalid_selection."
    }
  ],
  "responses": {
    "200": {
      "description": "application/zip — the request's documents.",
      "content": {
        "application/zip": {
          "schema": {
            "type": "string",
            "format": "binary"
          }
        }
      }
    },
    "400": {
      "description": "invalid_selection — ids names a file outside this delivery, or none or more than 500.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "401": {
      "description": "Bad token / key."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate, nothing to download yet, every stored file missing, or (scope=delivery) a delivery that is not published.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "409": {
      "description": "file_missing — with scope=delivery a delivery file is unavailable; no partial archive is sent.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "413": {
      "description": "archive_too_large — the documents exceed the archive cap (150 MiB); download them one by one."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getMandatesIdDocumentsArchive",
  "tags": [
    "Resources"
  ]
}
POST/mandates/{id}/decisionSingle-mandate decision (multi-item sends use request-groups decision).

Since 2026-08-21 the client receives an INDICATIVE quote and pays only after the professional confirmed it (werksessie TD+KSc, transcript L161–168, L187–190, L895–898). Body {action, note?, assignTo?}. send: submitted→quoted, once — the release rule must pass (409 quote_not_releasable names what is missing: rate, total or legalisation route); the client receives the quote WITH the payment link and `note` travels as the professional's message (also on the questions thread). A SENT QUOTE IS FINAL (9 Sep 2026): on a quoted mandate send, count, rate, price and legalisation edits are all refused (409) — the professional's only exits are the client's payment or, after payment, decline-with-refund. decline: her refusal — submitted→declined (terminal, nothing to refund, client notified) or, after a funded escrow, →declined→refunded with the payment marked refunded; on 'quoted' it is 409 illegal_transition ("A sent quote is withdrawn, not declined"). withdraw (4 Nov 2026, Platform Terms 7.1): her withdrawal of a SENT, unpaid quote — quoted→declined for every quoted part of the request, reason 'withdrawn' on the status log, the client told once, nothing financial; 409 illegal_transition once a payment is in progress or taken. reissue: a WITHDRAWN quote back to her review — declined→submitted with the draft kept, so a fresh 'send' starts a new 30-day validity; 409 for any other declined request. accept: LEGACY, only for mandates still in 'paid' from before 21 Aug — funding the escrow now accepts the job automatically (paid→accepted, system). 'counter' no longer exists.

{
  "summary": "Single-mandate decision (multi-item sends use request-groups decision).",
  "description": "Since 2026-08-21 the client receives an INDICATIVE quote and pays only after the professional confirmed it (werksessie TD+KSc, transcript L161–168, L187–190, L895–898). Body {action, note?, assignTo?}. send: submitted→quoted, once — the release rule must pass (409 quote_not_releasable names what is missing: rate, total or legalisation route); the client receives the quote WITH the payment link and `note` travels as the professional's message (also on the questions thread). A SENT QUOTE IS FINAL (9 Sep 2026): on a quoted mandate send, count, rate, price and legalisation edits are all refused (409) — the professional's only exits are the client's payment or, after payment, decline-with-refund. decline: her refusal — submitted→declined (terminal, nothing to refund, client notified) or, after a funded escrow, →declined→refunded with the payment marked refunded; on 'quoted' it is 409 illegal_transition (\"A sent quote is withdrawn, not declined\"). withdraw (4 Nov 2026, Platform Terms 7.1): her withdrawal of a SENT, unpaid quote — quoted→declined for every quoted part of the request, reason 'withdrawn' on the status log, the client told once, nothing financial; 409 illegal_transition once a payment is in progress or taken. reissue: a WITHDRAWN quote back to her review — declined→submitted with the draft kept, so a fresh 'send' starts a new 30-day validity; 409 for any other declined request. accept: LEGACY, only for mandates still in 'paid' from before 21 Aug — funding the escrow now accepts the job automatically (paid→accepted, system). 'counter' no longer exists.\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "action"
          ],
          "properties": {
            "action": {
              "type": "string",
              "enum": [
                "send",
                "decline",
                "withdraw",
                "reissue",
                "accept"
              ]
            },
            "note": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4000,
              "description": "send — her message to the client; decline / accept — lands on the audit trail; ignored by withdraw and reissue."
            },
            "assignTo": {
              "type": "string",
              "minLength": 1,
              "description": "accept (legacy paid mandates only) — a panel member for the translation."
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "MandateEnvelope (studio view).",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/MandateEnvelope"
          }
        }
      }
    },
    "400": {
      "description": "Validation error."
    },
    "401": {
      "description": "Missing or invalid professional credential."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "409": {
      "description": "illegal_transition — the action does not apply in this status, or send on a member of a multi-language request while a human sibling is still awaiting review (\"Review every human translation and send the complete request together.\" — use POST /request-groups/{id}/decision); quote_not_releasable — the release rule names what is missing; onboarding_incomplete — complete mandatory account setup before sending; commission_review_required — review frozen commission evidence."
    },
    "413": {
      "$ref": "#/components/responses/JsonBodyTooLarge"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "503": {
      "description": "verification_unavailable — current payment verification could not be checked; nothing released."
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "postMandatesIdDecision",
  "tags": [
    "Resources"
  ]
}
POST/mandates/{id}/countThe professional confirms or corrects the character count (studio count override).

Body {charCount} — the billable TOTAL for the job in characters (integer, 1..2,000,000). The API twin of the studio's override form; the same mutation runs behind both, so the two doors cannot disagree. A paused scan (extraction.method 'needs_ocr', no quote yet) receives its first indicative quote — releasing it to the client is still POST /mandates/{id}/decision action 'send'. Counts apply to a 'submitted' request; a SENT quote is final ("This quote has been sent and cannot be changed." — 409 count_not_applicable on 'quoted'). After payment the binding quote only moves DOWN: a lower recount corrects the total and refunds the difference automatically, a higher one is refused. Every refusal (job moved past this step, quote already sent, price locked by a live checkout, legalisation route undecided on sworn work) is a 409 count_not_applicable carrying the professional's own message. SWORN WORK: a sworn job answers 409 count_not_applicable until its legalisation route is decided — the count alone cannot price it, because the route decides the legalisation line. Decide the route first with POST /mandates/{id}/legalisation (or GET it to see what applies), then send the count.

{
  "summary": "The professional confirms or corrects the character count (studio count override).",
  "description": "Body {charCount} — the billable TOTAL for the job in characters (integer, 1..2,000,000). The API twin of the studio's override form; the same mutation runs behind both, so the two doors cannot disagree. A paused scan (extraction.method 'needs_ocr', no quote yet) receives its first indicative quote — releasing it to the client is still POST /mandates/{id}/decision action 'send'. Counts apply to a 'submitted' request; a SENT quote is final (\"This quote has been sent and cannot be changed.\" — 409 count_not_applicable on 'quoted'). After payment the binding quote only moves DOWN: a lower recount corrects the total and refunds the difference automatically, a higher one is refused. Every refusal (job moved past this step, quote already sent, price locked by a live checkout, legalisation route undecided on sworn work) is a 409 count_not_applicable carrying the professional's own message. SWORN WORK: a sworn job answers 409 count_not_applicable until its legalisation route is decided — the count alone cannot price it, because the route decides the legalisation line. Decide the route first with POST /mandates/{id}/legalisation (or GET it to see what applies), then send the count.\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "required": [
            "charCount"
          ],
          "properties": {
            "charCount": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2000000
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "MandateEnvelope (studio view) with the recomputed quote.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/MandateEnvelope"
          }
        }
      }
    },
    "400": {
      "description": "Validation error: charCount missing, not a positive integer, or implausibly large.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "401": {
      "description": "Missing or invalid professional credential."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "409": {
      "description": "count_not_applicable — the count cannot be changed in this state (sworn job with an undecided legalisation route: call POST /mandates/{id}/legalisation first; quote already sent; price locked by a live checkout; job moved past this step)."
    },
    "413": {
      "$ref": "#/components/responses/JsonBodyTooLarge"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "postMandatesIdCount",
  "tags": [
    "Resources"
  ]
}
POST/mandates/{id}/progressTranslator advances the work ({to accepted→in_progress or in_progress→translated}).

The two work edges the professional drives by hand: accepted → in_progress ("I started") and in_progress → translated ("the translation is done"). Both are optional for the API caller — POST /mandates/{id}/deliver steps a job through them itself when the upload arrives from 'accepted' or 'in_progress'. Body {to}. Anything else the state machine refuses with 409 illegal_transition (translated → delivered is the delivery's own act, never this route's).

{
  "summary": "Translator advances the work ({to accepted→in_progress or in_progress→translated}).",
  "description": "The two work edges the professional drives by hand: accepted → in_progress (\"I started\") and in_progress → translated (\"the translation is done\"). Both are optional for the API caller — POST /mandates/{id}/deliver steps a job through them itself when the upload arrives from 'accepted' or 'in_progress'. Body {to}. Anything else the state machine refuses with 409 illegal_transition (translated → delivered is the delivery's own act, never this route's).\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "required": [
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "enum": [
                "in_progress",
                "translated"
              ]
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "MandateEnvelope (studio view).",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/MandateEnvelope"
          }
        }
      }
    },
    "400": {
      "description": "validation — body is not {to: in_progress | translated}."
    },
    "401": {
      "description": "Missing or invalid professional credential."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate — or not this professional's human work (machine-tier and foreign jobs are invisible)."
    },
    "409": {
      "description": "illegal_transition — the edge does not exist from the current status."
    },
    "413": {
      "$ref": "#/components/responses/JsonBodyTooLarge"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "postMandatesIdProgress",
  "tags": [
    "Resources"
  ]
}
POST/mandates/{id}/deliverTranslator delivers finished work (multipart translation, apostille?, invoice?).

Stores deliverables and e-mails the client tokenized links. Since 2026-08-21 the upload IS the hand-back (werksessie L959–967): a mandate in 'accepted' or 'in_progress' first steps to 'translated' (translator actor), then to 'delivered' (system actor — the mail dispatch marks it). Without invoicing by THIDE an invoice is required — attach one, or send skipInvoice=1 to record that this client is invoiced outside THIDE (400 invoice_required otherwise, unless the mandate already carries an 'invoice' document). INVOICING BY THIDE (opt-in per professional; third-party issuing — THIDE issues the invoice in the professional's name and on her behalf, art. 53 §2 WBTW): when it is enabled and NO invoice file is attached, the upload stores translation (+apostille) and runs the invoicing-by-THIDE branch. Default (explicit per-invoice acceptance): a DRAFT self-bill is created instead of delivering — the mandate STAYS 'translated' and the response is {mode:'self_bill_draft', selfBill, …MandateEnvelope}; the professional then reviews and accepts via POST /mandates/{id}/self-bill. If the professional ELECTED tacit acceptance (stilzwijgende aanvaarding — the invoicing-by-THIDE mandate states both mechanisms), the self-bill is ISSUED IMMEDIATELY (gapless number, invoice document, delivery release, client mail; acceptance recorded 'tacit', contestable within the profile's contestDays working days) and the response is {mode:'self_bill_issued', selfBill, …MandateEnvelope} with the delivered mandate. Attaching an invoice file keeps the manual-invoice behaviour even with invoicing by THIDE on. MULTI-PART REQUESTS ARE DELIVERED AS A PACKAGE, FROM THE STUDIO (10 Oct 2026, 04b316b): when two or more parts of one request are in the work lanes (accepted / in_progress / translated) under the same professional, their files, one invoice and one client mail travel together — Studio → Job summary → Prepare delivery. This route then answers 409 illegal_transition "Prepare and deliver these jobs together from the Studio Job summary." for EVERY such part. Use professional role operations delivery.submit, delivery.review-package and delivery.release-package for package delivery through the API. A single-part request, or a part whose siblings are already delivered or invoiced separately, delivers here as documented.

{
  "summary": "Translator delivers finished work (multipart translation, apostille?, invoice?).",
  "description": "Stores deliverables and e-mails the client tokenized links. Since 2026-08-21 the upload IS the hand-back (werksessie L959–967): a mandate in 'accepted' or 'in_progress' first steps to 'translated' (translator actor), then to 'delivered' (system actor — the mail dispatch marks it). Without invoicing by THIDE an invoice is required — attach one, or send skipInvoice=1 to record that this client is invoiced outside THIDE (400 invoice_required otherwise, unless the mandate already carries an 'invoice' document). INVOICING BY THIDE (opt-in per professional; third-party issuing — THIDE issues the invoice in the professional's name and on her behalf, art. 53 §2 WBTW): when it is enabled and NO invoice file is attached, the upload stores translation (+apostille) and runs the invoicing-by-THIDE branch. Default (explicit per-invoice acceptance): a DRAFT self-bill is created instead of delivering — the mandate STAYS 'translated' and the response is {mode:'self_bill_draft', selfBill, …MandateEnvelope}; the professional then reviews and accepts via POST /mandates/{id}/self-bill. If the professional ELECTED tacit acceptance (stilzwijgende aanvaarding — the invoicing-by-THIDE mandate states both mechanisms), the self-bill is ISSUED IMMEDIATELY (gapless number, invoice document, delivery release, client mail; acceptance recorded 'tacit', contestable within the profile's contestDays working days) and the response is {mode:'self_bill_issued', selfBill, …MandateEnvelope} with the delivered mandate. Attaching an invoice file keeps the manual-invoice behaviour even with invoicing by THIDE on.\nMULTI-PART REQUESTS ARE DELIVERED AS A PACKAGE, FROM THE STUDIO (10 Oct 2026, 04b316b): when two or more parts of one request are in the work lanes (accepted / in_progress / translated) under the same professional, their files, one invoice and one client mail travel together — Studio → Job summary → Prepare delivery. This route then answers 409 illegal_transition \"Prepare and deliver these jobs together from the Studio Job summary.\" for EVERY such part. Use professional role operations delivery.submit, delivery.review-package and delivery.release-package for package delivery through the API. A single-part request, or a part whose siblings are already delivered or invoiced separately, delivers here as documented.\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "MandateEnvelope — or {mode: self_bill_draft | self_bill_issued, selfBill, …MandateEnvelope} on the invoicing-by-THIDE path (draft = no transition yet; issued = delivered).\n",
      "content": {
        "application/json": {
          "schema": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MandateEnvelope"
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "self_bill_draft",
                      "self_bill_issued"
                    ]
                  },
                  "selfBill": {
                    "$ref": "#/components/schemas/SelfBill"
                  }
                },
                "required": []
              }
            ]
          }
        }
      }
    },
    "400": {
      "description": "validation — missing translation file or more than one file per role; invoice_required — invoicing by THIDE is off, no invoice is attached or stored, and skipInvoice=1 was not sent.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "401": {
      "description": "Missing or invalid professional credential."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "not_found — unknown mandate, or one this professional does not own (machine work included).",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "409": {
      "description": "Nothing was stored, except after ubl_invalid. illegal_transition — mandate not in accepted / in_progress / translated, or a part of a multi-part request (\"Prepare and deliver these jobs together from the Studio Job summary.\" — package delivery uses professional role operations); unassigned — no professional assigned yet (assign one before delivering); invoice_pending — a translation is stored and its invoice draft waits for approval, or an issued invoice has not finished delivery, and this call cannot continue it; on the invoicing-by-THIDE (tacit-issue) path a SelfBillError code: no_payable_quote, self_bill_missing, issuer_incomplete (business details missing — the message lists them) or ubl_invalid (the e-invoice failed the structural check after numbering: the files and the number stand — retry after the fix)."
    },
    "413": {
      "description": "Any file larger than 100 MiB (104857600 bytes; code payload_too_large)."
    },
    "415": {
      "description": "unsupported_file_type — a slot whose extension is not a deliverable format (.docx, .doc, .odt, .pdf, .txt, .md, .csv, .xlsx, .pptx, .xml or an image); nothing is stored."
    },
    "422": {
      "description": "malware_detected — the virus scan refused a slot (the message names the file); the job keeps its status, nothing is stored."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "503": {
      "description": "pdf_unavailable — the PDF renderer is down. Found before the first write, nothing was stored or numbered; if it fails during the tacit issue, the files and the number stand and a retry resumes them. scanner_unavailable — no virus-scan verdict; the job keeps its status, nothing is stored."
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "postMandatesIdDeliver",
  "tags": [
    "Resources"
  ]
}
GET/mandates/{id}/self-billThe mandate's self-bill (draft or issued) + rendered invoice HTML.

Returns {selfBill, invoiceHtml}. For a draft, invoiceHtml is the preview (CONCEPT banner, the number it WILL receive — allocation only happens at acceptance, keeping the series gapless); for an issued bill it is the stored original HTML, or an HTML wrapper referencing the embedded original PDF bytes. Issued documents are not recreated from current settings. Invoice generation is server-side only.

{
  "summary": "The mandate's self-bill (draft or issued) + rendered invoice HTML.",
  "description": "Returns {selfBill, invoiceHtml}. For a draft, invoiceHtml is the preview (CONCEPT banner, the number it WILL receive — allocation only happens at acceptance, keeping the series gapless); for an issued bill it is the stored original HTML, or an HTML wrapper referencing the embedded original PDF bytes. Issued documents are not recreated from current settings. Invoice generation is server-side only.\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "{selfBill, invoiceHtml}.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "selfBill": {
                "$ref": "#/components/schemas/SelfBill"
              },
              "invoiceHtml": {
                "type": "string"
              }
            },
            "required": [
              "selfBill",
              "invoiceHtml"
            ]
          }
        }
      }
    },
    "401": {
      "description": "Missing or invalid professional credential."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate; no self-bill yet (code self_bill_missing); or the issued invoice's stored bytes are gone while its metadata exists (code file_missing — the same answer the documents route gives)."
    },
    "409": {
      "description": "No quote for a draft (code no_payable_quote), or the issued invoice file metadata is missing (code invoice_unavailable).",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "getMandatesIdSelf_bill",
  "tags": [
    "Resources"
  ]
}
POST/mandates/{id}/self-billProfessional acts on the self-bill — accept, contest, or dismiss the tacit-issue notice.

Body is one of three actions (translator/studio auth for all). {action:'accept'} — the explicit acceptance (default mechanism): the professional opted in to invoicing by THIDE (studio Facturatie; third-party issuing, art. 53 §2 WBTW) and every invoice in her name needs her acceptance before it is issued. Explicit acceptance atomically allocates the next number from the professional's own gapless series (e.g. AAL-SB-2026-0001), stores the invoice HTML as the mandate's 'invoice' document (it carries the mention "Factuur uitgereikt door THIDE (thideworks BV) in naam en voor rekening van …"), releases delivery (translated→delivered, audit-logged) and e-mails the client — identical to a manual-invoice delivery from there. Since B-01 Phase 2 the issued invoice is stored twice: the PDF ('invoice', fail-closed — the renderer is checked before the number is taken) and the UBL BIS Billing 3.0 e-invoice ('invoice_xml') when the client can be e-invoiced; otherwise the bill's deliveryChannel is 'pdf' and the reason is in the status log. (Under the professional's elected TACIT mode the deliver endpoint issues instead; acceptance is then recorded 'tacit'.) {action:'contest', note (5–4000 chars)} — the professional's protest against an ISSUED self-bill within a historical authorisation's contest window. Authorisations without that window return invoice_rejection_unavailable. An eligible contest records contestedAt + contestNote on the bill, appends an audit note to the status log and relays the protest through the question-relay e-mail channel. Blocks NOTHING — the invoice stays issued (a gapless series never unwinds a number); correction is a manual credit-note process in the MVP. {action:'dismiss_notice'} — dismisses the studio tacit-issue notice (sets noticeDismissedAt; idempotent). All three respond {selfBill, …MandateEnvelope}.

{
  "summary": "Professional acts on the self-bill — accept, contest, or dismiss the tacit-issue notice.",
  "description": "Body is one of three actions (translator/studio auth for all). {action:'accept'} — the explicit acceptance (default mechanism): the professional opted in to invoicing by THIDE (studio Facturatie; third-party issuing, art. 53 §2 WBTW) and every invoice in her name needs her acceptance before it is issued. Explicit acceptance atomically allocates the next number from the professional's own gapless series (e.g. AAL-SB-2026-0001), stores the invoice HTML as the mandate's 'invoice' document (it carries the mention \"Factuur uitgereikt door THIDE (thideworks BV) in naam en voor rekening van …\"), releases delivery (translated→delivered, audit-logged) and e-mails the client — identical to a manual-invoice delivery from there. Since B-01 Phase 2 the issued invoice is stored twice: the PDF ('invoice', fail-closed — the renderer is checked before the number is taken) and the UBL BIS Billing 3.0 e-invoice ('invoice_xml') when the client can be e-invoiced; otherwise the bill's deliveryChannel is 'pdf' and the reason is in the status log. (Under the professional's elected TACIT mode the deliver endpoint issues instead; acceptance is then recorded 'tacit'.) {action:'contest', note (5–4000 chars)} — the professional's protest against an ISSUED self-bill within a historical authorisation's contest window. Authorisations without that window return invoice_rejection_unavailable. An eligible contest records contestedAt + contestNote on the bill, appends an audit note to the status log and relays the protest through the question-relay e-mail channel. Blocks NOTHING — the invoice stays issued (a gapless series never unwinds a number); correction is a manual credit-note process in the MVP. {action:'dismiss_notice'} — dismisses the studio tacit-issue notice (sets noticeDismissedAt; idempotent). All three respond {selfBill, …MandateEnvelope}.\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "type": "object",
              "required": [
                "action"
              ],
              "properties": {
                "action": {
                  "const": "accept"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "action",
                "note"
              ],
              "properties": {
                "action": {
                  "const": "contest"
                },
                "note": {
                  "type": "string",
                  "minLength": 5,
                  "maxLength": 4000
                }
              }
            },
            {
              "type": "object",
              "required": [
                "action"
              ],
              "properties": {
                "action": {
                  "const": "dismiss_notice"
                }
              }
            }
          ]
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "{selfBill, …MandateEnvelope} (issued on accept; contested/dismissed bookkeeping on the other actions).",
      "content": {
        "application/json": {
          "schema": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MandateEnvelope"
              },
              {
                "type": "object",
                "properties": {
                  "selfBill": {
                    "$ref": "#/components/schemas/SelfBill"
                  }
                },
                "required": [
                  "selfBill"
                ]
              }
            ]
          }
        }
      }
    },
    "400": {
      "description": "Body is not one of the three action shapes (contest note 5–4000 chars)."
    },
    "401": {
      "description": "Missing or invalid professional credential."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "409": {
      "description": "accept — self_billing_disabled, issuer_incomplete (business details missing for invoicing by THIDE — the message lists them), self_bill_missing (no draft / already issued), no_payable_quote, unassigned, illegal_transition, self_bill_already_issued (two accepts raced; one invoice exists) or ubl_invalid (the e-invoice failed the structural check after numbering — the number stands, retry after the fix); contest — self_bill_not_issued, self_bill_already_contested, contest_window_closed, invoice_rejection_unavailable (the authorisation has no rejection window); dismiss_notice — self_bill_not_issued. (self_bill_not_rejected / self_bill_not_refunded belong to the credit-note path, available through professional role operations.)"
    },
    "413": {
      "$ref": "#/components/responses/JsonBodyTooLarge"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "503": {
      "description": "pdf_unavailable — the PDF renderer is down; nothing was numbered or issued (accept) or credited (contest). Retry later."
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "postMandatesIdSelf_bill",
  "tags": [
    "Resources"
  ]
}
GET/mandates/{id}/case-fileDownload the mediation case file (PDF; HTML fallback).

One chronology of messages, status events and document exchanges for a delivery that was REFERRED to THIDE (TD, 1 Sep) — the same rows the referred views render. Exists only once acceptance.referredAt is set; before that the case does not exist and the route answers 409. Without ?token=, the professional's signed-in Studio browser (its thide_portal session) also authorises the download of its own work; a ?token= always decides as a client link.

{
  "summary": "Download the mediation case file (PDF; HTML fallback).",
  "description": "One chronology of messages, status events and document exchanges for a delivery that was REFERRED to THIDE (TD, 1 Sep) — the same rows the referred views render. Exists only once acceptance.referredAt is set; before that the case does not exist and the route answers 409. Without ?token=, the professional's signed-in Studio browser (its thide_portal session) also authorises the download of its own work; a ?token= always decides as a client link.\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "application/pdf attachment (text/html when the PDF renderer is unavailable).",
      "content": {
        "application/pdf": {
          "schema": {
            "type": "string",
            "format": "binary"
          }
        },
        "text/html": {
          "schema": {
            "type": "string"
          }
        }
      }
    },
    "401": {
      "description": "Bad token / key."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "409": {
      "description": "Not referred — no case file exists (code not_referred)."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getMandatesIdCase_file",
  "tags": [
    "Resources"
  ]
}
POST/mandates/{id}/release-referredMediation release — THIDE lets a referred delivery stand.

The operator act beside refund-referred: accepts a DELIVERED mandate whose acceptance is REFERRED on THIDE's decision (acceptance via "thide"), so the payout and settlement follow the normal acceptance path. The same call on a delivery THIDE already released only finishes the client's notice. Body {note?} lands on the audit trail and in the client's notice. Same authority as refund-referred: the bootstrap studio key, or a professional credential with payments and operator scopes whose profile remains configured in STUDIO_ACCESS_EMAILS. Mandate ownership restrictions still apply.

{
  "summary": "Mediation release — THIDE lets a referred delivery stand.",
  "description": "The operator act beside refund-referred: accepts a DELIVERED mandate whose acceptance is REFERRED on THIDE's decision (acceptance via \"thide\"), so the payout and settlement follow the normal acceptance path. The same call on a delivery THIDE already released only finishes the client's notice. Body {note?} lands on the audit trail and in the client's notice. Same authority as refund-referred: the bootstrap studio key, or a professional credential with payments and operator scopes whose profile remains configured in STUDIO_ACCESS_EMAILS. Mandate ownership restrictions still apply.\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "required": false,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "note": {
              "type": "string",
              "maxLength": 2000,
              "description": "Lands on the audit trail and in the client's notice."
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "{id, status: settled}.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "status": {
                "$ref": "#/components/schemas/MandateStatus"
              }
            },
            "required": [
              "id",
              "status"
            ]
          }
        }
      }
    },
    "401": {
      "description": "Valid professional credential required."
    },
    "403": {
      "description": "insufficient_scope — the credential lacks payments or operator; operator_forbidden — the credential's own profile is not an authorised operator; forbidden — no operator credential was presented; terms_acceptance_required — see KeyForbidden."
    },
    "404": {
      "description": "Unknown mandate."
    },
    "409": {
      "description": "Not referred (code not_releasable)."
    },
    "413": {
      "$ref": "#/components/responses/JsonBodyTooLarge"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "postMandatesIdRelease_referred",
  "tags": [
    "Resources"
  ]
}
POST/mandates/{id}/refund-referredMediation refund — THIDE rules for the client on a referred delivery.

The operator act that keeps "escrow works both ways": refunds the escrow of a DELIVERED mandate whose acceptance is REFERRED, and transitions it to refunded. The same call resumes unfinished refund documents and notices. Body {note?} lands on the audit trail. Requires the existing bootstrap studio key, or a professional credential with both payments and operator scopes whose profile remains configured in STUDIO_ACCESS_EMAILS. Mandate ownership restrictions still apply. This is THIDE's decision; an ordinary professional payment credential is insufficient.

{
  "summary": "Mediation refund — THIDE rules for the client on a referred delivery.",
  "description": "The operator act that keeps \"escrow works both ways\": refunds the escrow of a DELIVERED mandate whose acceptance is REFERRED, and transitions it to refunded. The same call resumes unfinished refund documents and notices. Body {note?} lands on the audit trail. Requires the existing bootstrap studio key, or a professional credential with both payments and operator scopes whose profile remains configured in STUDIO_ACCESS_EMAILS. Mandate ownership restrictions still apply. This is THIDE's decision; an ordinary professional payment credential is insufficient.\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "required": false,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "note": {
              "type": "string",
              "maxLength": 2000,
              "description": "Lands on the audit trail with the refund."
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "{id, status: refunded}.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "status": {
                "$ref": "#/components/schemas/MandateStatus"
              }
            },
            "required": [
              "id",
              "status"
            ]
          }
        }
      }
    },
    "401": {
      "description": "Valid professional credential required."
    },
    "403": {
      "description": "insufficient_scope — the credential lacks payments or operator; operator_forbidden — the credential's own profile is not an authorised operator; forbidden — no operator credential was presented; terms_acceptance_required — see KeyForbidden."
    },
    "404": {
      "description": "Unknown mandate."
    },
    "409": {
      "description": "Not delivered+referred (code not_refundable)."
    },
    "413": {
      "$ref": "#/components/responses/JsonBodyTooLarge"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "postMandatesIdRefund_referred",
  "tags": [
    "Resources"
  ]
}
GET/mandates/{id}/questionsRead the question thread.

The relay travels by e-mail in both directions, but the thread is persisted and readable — without this the relay is write-only over the API: an agent can ask a question and never see the answer, because the reply lands in a human mailbox. The same rows also ride on the MandateEnvelope. The thread is the request's CONVERSATION: on a multi-language request every part shares it, so messages[].mandateId may name a sibling part (the path id is only the entry point).

{
  "summary": "Read the question thread.",
  "description": "The relay travels by e-mail in both directions, but the thread is persisted and readable — without this the relay is write-only over the API: an agent can ask a question and never see the answer, because the reply lands in a human mailbox. The same rows also ride on the MandateEnvelope. The thread is the request's CONVERSATION: on a multi-language request every part shares it, so messages[].mandateId may name a sibling part (the path id is only the entry point).\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "creatorGrant": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "{messages: [{id, mandateId, from, message, relayed, at}], count} — oldest first.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "messages": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/QuestionMessage"
                }
              },
              "count": {
                "type": "integer"
              }
            },
            "required": [
              "messages",
              "count"
            ]
          }
        }
      }
    },
    "401": {
      "description": "Bad token / key."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getMandatesIdQuestions",
  "tags": [
    "Resources"
  ]
}
POST/mandates/{id}/questionsRelay a question between client and translator (no in-app chat — e-mail relay).

API parity for the web question boxes. Body {message (1–4000 characters after trimming), token?} as JSON, or multipart/form-data with the same fields plus repeatable `attachment` file parts — reference material (a glossary, an earlier translation): at most 5 files, 20 MiB each, 50 MiB per message, within 30 files / 200 MiB per conversation, in the deliverable formats (.docx .doc .odt .pdf .txt .md .csv .xlsx .pptx .xml and images). Files are named in the relay mail and downloaded on THIDE; they are never documents of the request. Direction derives from authentication: a client caller (token with its verified session or creator grant, or a client credential) relays TO the professional; a professional credential relays TO the client. Responds {relayed, from, to, message} — the stored row with its attachments as views. Metered at 10 messages per 10 minutes per request and 30 per 10 minutes per IP (429 rate_limited with Retry-After).

{
  "summary": "Relay a question between client and translator (no in-app chat — e-mail relay).",
  "description": "API parity for the web question boxes. Body {message (1–4000 characters after trimming), token?} as JSON, or multipart/form-data with the same fields plus repeatable `attachment` file parts — reference material (a glossary, an earlier translation): at most 5 files, 20 MiB each, 50 MiB per message, within 30 files / 200 MiB per conversation, in the deliverable formats (.docx .doc .odt .pdf .txt .md .csv .xlsx .pptx .xml and images). Files are named in the relay mail and downloaded on THIDE; they are never documents of the request. Direction derives from authentication: a client caller (token with its verified session or creator grant, or a client credential) relays TO the professional; a professional credential relays TO the client. Responds {relayed, from, to, message} — the stored row with its attachments as views. Metered at 10 messages per 10 minutes per request and 30 per 10 minutes per IP (429 rate_limited with Retry-After).\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "creatorGrant": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "required": [
            "message"
          ],
          "properties": {
            "message": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4000
            },
            "token": {
              "type": "string"
            }
          }
        }
      },
      "multipart/form-data": {
        "schema": {
          "type": "object",
          "required": [
            "message"
          ],
          "properties": {
            "message": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4000
            },
            "token": {
              "type": "string"
            },
            "attachment": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "binary"
              },
              "description": "Reference material within the message attachment limits."
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "{relayed: true, from, to, message: the stored thread row}.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "relayed": {
                "const": true
              },
              "from": {
                "type": "string",
                "enum": [
                  "client",
                  "translator"
                ]
              },
              "to": {
                "type": "string",
                "enum": [
                  "client",
                  "translator"
                ]
              },
              "message": {
                "$ref": "#/components/schemas/QuestionMessage"
              }
            },
            "required": [
              "relayed",
              "from",
              "to",
              "message"
            ]
          }
        }
      }
    },
    "400": {
      "description": "validation — message empty after trimming or over 4000 characters."
    },
    "401": {
      "description": "Bad token / key."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "409": {
      "description": "no_translator — the mandate has no professional to relay to yet."
    },
    "413": {
      "description": "payload_too_large — an attachment over 20 MiB, the message’s files over 50 MiB, the multipart body over its cap, or a JSON body over 64 KiB. Nothing was stored or mailed."
    },
    "415": {
      "description": "unsupported_file_type — an attachment outside the deliverable formats. Nothing was stored or mailed."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    },
    "502": {
      "description": "Relay failed (code relay_failed) — a transport failure only; a recipient who switched e-mail updates off answers 200 with relayed=true, since the portal is their channel. The message IS on the thread — it was persisted before the e-mail was attempted, so a retry would duplicate it. Treat as delivered-in-app, not-yet-e-mailed.\n"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "postMandatesIdQuestions",
  "tags": [
    "Resources"
  ]
}
GET/mandates/{id}/acceptRead the delivery-acceptance record (state, clock, comment thread).

The client accepts explicitly, or an untouched delivery is deemed accepted after its recorded acceptance window. Payout timing is separately determined by the frozen checkout agreement. Reading evaluates the deemed clock, so one poll tells the whole truth (including "it just settled"). Returns {status, acceptance: {openedAt, state: pending|commented|referred|accepted, via?: explicit|deemed, acceptedAt?, referredAt?, comments: [{id, by, message, at, attachments?}]} | null, deemedAt: ISO | null, deliveryRevision: string}. New windows end at the end of the third Belgian working day; historical windows retain their recorded policy. A client concern permanently stops automatic acceptance. Neither a reply nor a corrected file restarts it. Corrections are append-only file revisions; acceptance.corrections identifies their old/new document IDs and publication time. Keep deliveryRevision from the reviewed files and send it on accept.

{
  "summary": "Read the delivery-acceptance record (state, clock, comment thread).",
  "description": "The client accepts explicitly, or an untouched delivery is deemed accepted after its recorded acceptance window. Payout timing is separately determined by the frozen checkout agreement. Reading evaluates the deemed clock, so one poll tells the whole truth (including \"it just settled\"). Returns {status, acceptance: {openedAt, state: pending|commented|referred|accepted, via?: explicit|deemed, acceptedAt?, referredAt?, comments: [{id, by, message, at, attachments?}]} | null, deemedAt: ISO | null, deliveryRevision: string}. New windows end at the end of the third Belgian working day; historical windows retain their recorded policy. A client concern permanently stops automatic acceptance. Neither a reply nor a corrected file restarts it. Corrections are append-only file revisions; acceptance.corrections identifies their old/new document IDs and publication time. Keep deliveryRevision from the reviewed files and send it on accept.\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "creatorGrant": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "{status, acceptance, deemedAt, deliveryRevision}.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "status": {
                "$ref": "#/components/schemas/MandateStatus"
              },
              "acceptance": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ClientAcceptance"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "deliveryRevision": {
                "type": "string"
              },
              "deemedAt": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "status",
              "acceptance",
              "deliveryRevision",
              "deemedAt"
            ]
          }
        }
      }
    },
    "401": {
      "description": "Bad token / key."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getMandatesIdAccept",
  "tags": [
    "Resources"
  ]
}
POST/mandates/{id}/acceptAccept the delivery, comment on it, or refer it to THIDE.

Body {action: 'accept', token?, deliveryRevision?} — the client's explicit acceptance; transitions delivered→settled, evaluates the recorded payout policy, notifies the translator; responds with the MandateEnvelope. {action: 'comment', message (5–4000 chars), token?} — stores a comment on the acceptance thread and relays it by e-mail; a client concern stops automatic acceptance permanently, including after a professional reply. As multipart/form-data the same fields plus repeatable `attachment` file parts — reference material within the limits of POST /questions (5 files, 20 MiB each, 50 MiB per message, 30 files / 200 MiB per conversation, deliverable formats), named in the relay mail and downloaded on THIDE; files with accept or refer are refused (400). deliveryRevision is required once a correction exists and must match the current revision; a stale or missing value returns 409 so the client reviews the new files first. Before any correction it may be omitted or set to original. {action: 'refer', token?} — the client's escalation after a comment round: records the referral, mails THIDE the thread, kills the clock for good; the case then settles only by explicit acceptance or a refund (409 before any comment exists). Auth: the client token with its verified session, or a client credential holding payments; a professional credential may comment but can NEVER accept or refer — both are the client's acts alone (403).

{
  "summary": "Accept the delivery, comment on it, or refer it to THIDE.",
  "description": "Body {action: 'accept', token?, deliveryRevision?} — the client's explicit acceptance; transitions delivered→settled, evaluates the recorded payout policy, notifies the translator; responds with the MandateEnvelope. {action: 'comment', message (5–4000 chars), token?} — stores a comment on the acceptance thread and relays it by e-mail; a client concern stops automatic acceptance permanently, including after a professional reply. As multipart/form-data the same fields plus repeatable `attachment` file parts — reference material within the limits of POST /questions (5 files, 20 MiB each, 50 MiB per message, 30 files / 200 MiB per conversation, deliverable formats), named in the relay mail and downloaded on THIDE; files with accept or refer are refused (400). deliveryRevision is required once a correction exists and must match the current revision; a stale or missing value returns 409 so the client reviews the new files first. Before any correction it may be omitted or set to original. {action: 'refer', token?} — the client's escalation after a comment round: records the referral, mails THIDE the thread, kills the clock for good; the case then settles only by explicit acceptance or a refund (409 before any comment exists). Auth: the client token with its verified session, or a client credential holding payments; a professional credential may comment but can NEVER accept or refer — both are the client's acts alone (403).\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "type": "object",
              "required": [
                "action"
              ],
              "properties": {
                "action": {
                  "const": "accept"
                },
                "token": {
                  "type": "string"
                },
                "deliveryRevision": {
                  "type": "string",
                  "maxLength": 128,
                  "description": "The deliveryRevision from GET …/accept once a correction exists."
                }
              }
            },
            {
              "type": "object",
              "required": [
                "action",
                "message"
              ],
              "properties": {
                "action": {
                  "const": "comment"
                },
                "message": {
                  "type": "string",
                  "minLength": 5,
                  "maxLength": 4000
                },
                "token": {
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "action"
              ],
              "properties": {
                "action": {
                  "const": "refer"
                },
                "token": {
                  "type": "string"
                }
              }
            }
          ]
        }
      },
      "multipart/form-data": {
        "schema": {
          "type": "object",
          "required": [
            "action",
            "message"
          ],
          "properties": {
            "action": {
              "const": "comment"
            },
            "message": {
              "type": "string",
              "minLength": 5,
              "maxLength": 4000
            },
            "token": {
              "type": "string"
            },
            "attachment": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "binary"
              },
              "description": "Reference material within the message attachment limits — with a comment only."
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "accept → the MandateEnvelope (settled; client view WITHOUT accessToken — only GET /mandates/{id} echoes the token); comment and refer → {status, acceptance}, the files of a comment on its row as MessageAttachmentView.",
      "content": {
        "application/json": {
          "schema": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/MandateEnvelope"
              },
              {
                "type": "object",
                "properties": {
                  "status": {
                    "$ref": "#/components/schemas/MandateStatus"
                  },
                  "acceptance": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/ClientAcceptance"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "status",
                  "acceptance"
                ]
              }
            ]
          }
        }
      }
    },
    "400": {
      "description": "Unknown action / message too short or long."
    },
    "401": {
      "description": "Bad token / key."
    },
    "403": {
      "description": "forbidden — a professional credential tried to accept or refer; both are the client's acts alone. insufficient_scope — the credential lacks payments (every action of this route needs it, comments included). terms_acceptance_required — see KeyForbidden."
    },
    "404": {
      "description": "Unknown mandate."
    },
    "409": {
      "description": "Not delivered, or deliveryRevision is stale/missing after a correction. Refresh and review the current files."
    },
    "413": {
      "description": "payload_too_large — a JSON body over 64 KiB; with a comment, an attachment over 20 MiB, the comment’s files over 50 MiB or the multipart body over its cap. Nothing was stored or mailed."
    },
    "415": {
      "description": "unsupported_file_type — a comment’s attachment outside the deliverable formats. Nothing was stored or mailed."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "postMandatesIdAccept",
  "tags": [
    "Resources"
  ]
}
GET/mandates/{id}/legalisationWhat we recommend for this mandate, and what actually applies.

Returns {recommended: {requirement, basis, rationale, confirmWithProfessional}, effective, override, deviates}. requirement is 'none' | 'apostille' | 'consular_legalisation', or null when we decline to answer (no destination, or an EU destination with no documentCategory — cases where a confident answer would be invented).

{
  "summary": "What we recommend for this mandate, and what actually applies.",
  "description": "Returns {recommended: {requirement, basis, rationale, confirmWithProfessional}, effective, override, deviates}. requirement is 'none' | 'apostille' | 'consular_legalisation', or null when we decline to answer (no destination, or an EU destination with no documentCategory — cases where a confident answer would be invented).\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "creatorGrant": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "EffectiveLegalisation.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/EffectiveLegalisation"
          }
        }
      }
    },
    "401": {
      "description": "Bad token / key."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getMandatesIdLegalisation",
  "tags": [
    "Resources"
  ]
}
POST/mandates/{id}/legalisationPropose or confirm the legalisation route.

THIDE recommends, humans decide. Our rule is dated and sourced but still incomplete — the client may know something about their own paperwork that we do not, and the professional is the expert. Body {requirement, reason?}. The direction of authority comes from authentication: a client caller records setBy 'client', a professional credential 'translator'. A client override is a proposal: the professional must explicitly confirm the route before the draft quote can be released, even if they agree with the proposed route. Client input does not replace expert review. An override NEVER erases the recommendation: both are returned, the deviation is audit-logged with what we had advised, and every surface shows that the mandate deviates. The quote is recomputed, because the legalisation line moves with it. Allowed only while the quote has not been sent (status 'submitted' — LEGALISATION_MUTABLE in lib/legalisation-decision.ts, the same rule the studio applies): an override changes what the client owes. Afterwards it is 409 price_locked — a sent quote is final; the professional cannot reprice it either.

{
  "summary": "Propose or confirm the legalisation route.",
  "description": "THIDE recommends, humans decide. Our rule is dated and sourced but still incomplete — the client may know something about their own paperwork that we do not, and the professional is the expert. Body {requirement, reason?}. The direction of authority comes from authentication: a client caller records setBy 'client', a professional credential 'translator'. A client override is a proposal: the professional must explicitly confirm the route before the draft quote can be released, even if they agree with the proposed route. Client input does not replace expert review.\nAn override NEVER erases the recommendation: both are returned, the deviation is audit-logged with what we had advised, and every surface shows that the mandate deviates. The quote is recomputed, because the legalisation line moves with it.\nAllowed only while the quote has not been sent (status 'submitted' — LEGALISATION_MUTABLE in lib/legalisation-decision.ts, the same rule the studio applies): an override changes what the client owes. Afterwards it is 409 price_locked — a sent quote is final; the professional cannot reprice it either.\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "creatorGrant": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "required": [
            "requirement"
          ],
          "properties": {
            "requirement": {
              "type": "string",
              "enum": [
                "none",
                "apostille",
                "consular_legalisation"
              ]
            },
            "reason": {
              "type": "string",
              "minLength": 3,
              "maxLength": 500,
              "description": "Shown next to the deviation on both sides."
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "EffectiveLegalisation + status (the mandate status after the decision, always 'submitted' here) + the recomputed quote (client view for a token / client key, studio view for the studio key).",
      "content": {
        "application/json": {
          "schema": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EffectiveLegalisation"
              },
              {
                "type": "object",
                "properties": {
                  "status": {
                    "$ref": "#/components/schemas/MandateStatus"
                  },
                  "quote": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/Quote"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "status",
                  "quote"
                ]
              }
            ]
          }
        }
      }
    },
    "400": {
      "description": "Bad requirement value or too-short reason."
    },
    "401": {
      "description": "Bad token / key."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "409": {
      "description": "price_locked — the quote has already been sent (status is no longer submitted); or price_held — the client has a Checkout page open on the current price (wait until they pay or it expires)."
    },
    "413": {
      "$ref": "#/components/responses/JsonBodyTooLarge"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "postMandatesIdLegalisation",
  "tags": [
    "Resources"
  ]
}
GET/catalogEverything the intake offers, as data — the selection boxes an automator cannot see.

The API twin of the web intake's pickers: language pairs (each marked autoQuoted or not — an ad-hoc pair is orderable, it simply pauses for a rate instead of returning a price), regular vs sworn, the deadline buckets with the exact price modifiers the quote applies, the full ISO destination-country list with its legalisation route, the upload limits and accepted extensions, and the terms that must be accepted. Read this before posting a mandate rather than guessing and learning from a 400. upload.maxFileBytes (104857600), maxFiles (30), and maxTotalFileBytes (209715200) cap RAW documents. maxMultipartBodyBytes (210763776) and maxJsonBodyBytes (280668964) separately cap encoded bodies including framing. The web picker and API accept every supported language except the source as a target (currently ten destinations). Target jobs do not multiply the uploaded-document count. Upstream proxy/CDN caps and timeouts require deployment verification and may reject before this app. PUBLIC since 5 Nov 2026 (TD): no credential needed, like GET /terms — a first request needs no key, and what it may order is readable before it is filed. It carries no client data and no rates in money (the professional's matrix stays behind a professional credential on /pricing). A key that IS presented must be live (401) and under its meter (429); anonymous calls are metered at 120 requests/minute per IP (the shared RateLimited answer, Retry-After). The 200 carries Cache-Control public, max-age=300: the answer is the same for everyone. countries[].legalisation is the route for a SWORN translation sent there, as of today: 'apostille', 'consular_legalisation', or null for EU destinations, where the answer genuinely depends on the document category — send documentCategory to POST /mandates and it is resolved properly. countries[].hagueParty says whether apostilles are accepted there at all.

{
  "summary": "Everything the intake offers, as data — the selection boxes an automator cannot see.",
  "description": "The API twin of the web intake's pickers: language pairs (each marked autoQuoted or not — an ad-hoc pair is orderable, it simply pauses for a rate instead of returning a price), regular vs sworn, the deadline buckets with the exact price modifiers the quote applies, the full ISO destination-country list with its legalisation route, the upload limits and accepted extensions, and the terms that must be accepted. Read this before posting a mandate rather than guessing and learning from a 400.\nupload.maxFileBytes (104857600), maxFiles (30), and maxTotalFileBytes (209715200) cap RAW documents. maxMultipartBodyBytes (210763776) and maxJsonBodyBytes (280668964) separately cap encoded bodies including framing. The web picker and API accept every supported language except the source as a target (currently ten destinations). Target jobs do not multiply the uploaded-document count. Upstream proxy/CDN caps and timeouts require deployment verification and may reject before this app.\nPUBLIC since 5 Nov 2026 (TD): no credential needed, like GET /terms — a first request needs no key, and what it may order is readable before it is filed. It carries no client data and no rates in money (the professional's matrix stays behind a professional credential on /pricing). A key that IS presented must be live (401) and under its meter (429); anonymous calls are metered at 120 requests/minute per IP (the shared RateLimited answer, Retry-After). The 200 carries Cache-Control public, max-age=300: the answer is the same for everyone.\ncountries[].legalisation is the route for a SWORN translation sent there, as of today: 'apostille', 'consular_legalisation', or null for EU destinations, where the answer genuinely depends on the document category — send documentCategory to POST /mandates and it is resolved properly. countries[].hagueParty says whether apostilles are accepted there at all.\n",
  "security": [
    {},
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "responses": {
    "200": {
      "description": "{languages, pairs, kinds, deadlines, countries, documentCategories, upload, quoting, terms}. Cache-Control public, max-age=300.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Catalog"
          }
        }
      }
    },
    "401": {
      "description": "unauthorized — a key was presented that matches no live key. Sending none is fine."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getCatalog",
  "tags": [
    "Resources"
  ]
}
GET/termsThe contracts a client agrees to, with versions and content hashes.

Contracts must be readable before anyone is bound by them. PUBLIC since 31 Oct 2026 (B-03): a first request needs no key (POST /mandates is open) and must accept the current versions, so this index and the text need no credential. A key that IS presented must be live (401) and under its meter (429). The catalog is public too since 5 Nov 2026. requiredForMandate lists the ids POST /mandates demands in acceptedTerms. Each document carries a contentHash (SHA-256 of the body) so a client can tell that cached text is still current.

{
  "summary": "The contracts a client agrees to, with versions and content hashes.",
  "description": "Contracts must be readable before anyone is bound by them. PUBLIC since 31 Oct 2026 (B-03): a first request needs no key (POST /mandates is open) and must accept the current versions, so this index and the text need no credential. A key that IS presented must be live (401) and under its meter (429). The catalog is public too since 5 Nov 2026. requiredForMandate lists the ids POST /mandates demands in acceptedTerms. Each document carries a contentHash (SHA-256 of the body) so a client can tell that cached text is still current.\n",
  "security": [
    {},
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "responses": {
    "200": {
      "description": "{documents: [{id, version, title, audience, status, effectiveDate, summary, contentHash, path}], requiredForMandate: string[]}.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "documents": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TermsSummary"
                }
              },
              "requiredForMandate": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "documents",
              "requiredForMandate"
            ]
          }
        }
      }
    },
    "401": {
      "description": "unauthorized — a key was presented that matches no live key. Sending none is fine."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getTerms",
  "tags": [
    "Resources"
  ]
}
GET/terms/{id}The full text of one contract.

Same access rule as the index route (public since 31 Oct 2026; a presented key must be live). ?format=markdown returns the raw body as text/markdown (what a terminal client wants to print), with x-thide-terms-version and x-thide-terms-hash headers; the default JSON carries the same body plus the metadata. status 'draft' means the text is not in force yet — still in legal review, or final and waiting for its effective date (Platform Terms 1.3, 4 November 2026) — published rather than withheld so nothing is accepted sight-unseen.

{
  "summary": "The full text of one contract.",
  "description": "Same access rule as the index route (public since 31 Oct 2026; a presented key must be live). ?format=markdown returns the raw body as text/markdown (what a terminal client wants to print), with x-thide-terms-version and x-thide-terms-hash headers; the default JSON carries the same body plus the metadata. status 'draft' means the text is not in force yet — still in legal review, or final and waiting for its effective date (Platform Terms 1.3, 4 November 2026) — published rather than withheld so nothing is accepted sight-unseen.\n",
  "security": [
    {},
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "format",
      "schema": {
        "type": "string",
        "enum": [
          "markdown"
        ]
      }
    }
  ],
  "responses": {
    "200": {
      "description": "JSON {id, version, title, audience, status, effectiveDate, summary, contentHash, path, body} — or raw markdown.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/TermsDocument"
          }
        },
        "text/markdown": {
          "schema": {
            "type": "string"
          }
        }
      }
    },
    "401": {
      "description": "unauthorized — a key was presented that matches no live key. Sending none is fine."
    },
    "404": {
      "description": "Unknown document id."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getTermsId",
  "tags": [
    "Resources"
  ]
}
GET/mandates/{id}/termsThe contracts THIS mandate was formed under.

Not the same question as /terms (what is on offer now): this answers "what did I actually agree to, and can I still read it?". Each acceptance returns its stored version, contentHash, timestamp and via (web|api). body is the full text when the registry still holds that exact hash, and null otherwise — never a substitute text. supersededByVersion names the newer version when the registry has moved on; the acceptance itself stands, pinned by hash. An empty list means the mandate was not formed on THIDE's terms (created before the gate existed, or mirrored 'direct' work) — not that evidence was lost.

{
  "summary": "The contracts THIS mandate was formed under.",
  "description": "Not the same question as /terms (what is on offer now): this answers \"what did I actually agree to, and can I still read it?\". Each acceptance returns its stored version, contentHash, timestamp and via (web|api). body is the full text when the registry still holds that exact hash, and null otherwise — never a substitute text. supersededByVersion names the newer version when the registry has moved on; the acceptance itself stands, pinned by hash. An empty list means the mandate was not formed on THIDE's terms (created before the gate existed, or mirrored 'direct' work) — not that evidence was lost.\n",
  "security": [
    {
      "clientToken": [],
      "portalSession": []
    },
    {
      "creatorGrant": []
    },
    {
      "apiKey": []
    },
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "{mandateId, accepted: [{documentId, version, contentHash, acceptedAt, via, title, status, body, supersededByVersion}], count}.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "mandateId": {
                "type": "string"
              },
              "accepted": {
                "type": "array",
                "items": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/TermsAcceptanceEvidence"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "body": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "supersededByVersion": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "title",
                        "status",
                        "body",
                        "supersededByVersion"
                      ]
                    }
                  ]
                }
              },
              "count": {
                "type": "integer"
              }
            },
            "required": [
              "mandateId",
              "accepted",
              "count"
            ]
          }
        }
      }
    },
    "401": {
      "description": "Bad token / key."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "404": {
      "description": "Unknown mandate."
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "client",
    "professional"
  ],
  "operationId": "getMandatesIdTerms",
  "tags": [
    "Resources"
  ]
}
GET/pricingThe professional's persisted pricing matrix (studio cross-grid).

Reflects exactly what the auto-quote engine reads — the studio /studio/pricing cross-grid edits land here. rates is keyed "source->target" (DIRECTIONAL: nl->en may differ from en->nl; when only one direction is stored it serves both ways) with integer-cent values {defaultCents, minCents, maxCents, provisional?} per BILLING UNIT. The unit is the professional's choice (billingMethod): the default is a 60-character line; basis 'characters' bills per charactersPerUnit characters (unitName line | standard_page | characters, includeSpaces, rounding whole | proportional), basis 'words' per word and 'pages' per document page. `unit` spells it out ("cents per 60-character line", "cents per word", …). groups contains named exact directional overrides; these take precedence over base rates only for their listed pairs and never feed reverse or derived fallback. Removing membership restores the base lookup. adHocLanguages lists registered languages without individual fixed rates; an exact group can supply their rate. Rates are the professional's business data — professional credentials only.

{
  "summary": "The professional's persisted pricing matrix (studio cross-grid).",
  "description": "Reflects exactly what the auto-quote engine reads — the studio /studio/pricing cross-grid edits land here. rates is keyed \"source->target\" (DIRECTIONAL: nl->en may differ from en->nl; when only one direction is stored it serves both ways) with integer-cent values {defaultCents, minCents, maxCents, provisional?} per BILLING UNIT. The unit is the professional's choice (billingMethod): the default is a 60-character line; basis 'characters' bills per charactersPerUnit characters (unitName line | standard_page | characters, includeSpaces, rounding whole | proportional), basis 'words' per word and 'pages' per document page. `unit` spells it out (\"cents per 60-character line\", \"cents per word\", …). groups contains named exact directional overrides; these take precedence over base rates only for their listed pairs and never feed reverse or derived fallback. Removing membership restores the base lookup. adHocLanguages lists registered languages without individual fixed rates; an exact group can supply their rate. Rates are the professional's business data — professional credentials only.\n",
  "security": [
    {
      "studioKey": []
    },
    {
      "keyId": [],
      "apiSecret": []
    }
  ],
  "responses": {
    "200": {
      "description": "{unit: string, billingMethod: {basis: characters | words | pages, charactersPerUnit: integer, unitName: line | standard_page | characters, includeSpaces: boolean, rounding: whole | proportional}, rates: {\"nl->en\": {defaultCents, minCents, maxCents, provisional?}, …}, groups: [{id, name, pairs, rate}], adHocLanguages: string[], updatedAt}.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "unit": {
                "type": "string"
              },
              "billingMethod": {
                "type": "object",
                "properties": {
                  "basis": {
                    "type": "string",
                    "enum": [
                      "characters",
                      "words",
                      "pages"
                    ]
                  },
                  "charactersPerUnit": {
                    "type": "integer"
                  },
                  "unitName": {
                    "type": "string",
                    "enum": [
                      "line",
                      "standard_page",
                      "characters"
                    ]
                  },
                  "includeSpaces": {
                    "type": "boolean"
                  },
                  "rounding": {
                    "type": "string",
                    "enum": [
                      "whole",
                      "proportional"
                    ]
                  }
                },
                "required": [
                  "basis",
                  "charactersPerUnit",
                  "unitName",
                  "includeSpaces",
                  "rounding"
                ]
              },
              "rates": {
                "type": "object",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "defaultCents": {
                      "type": "integer"
                    },
                    "minCents": {
                      "type": "integer"
                    },
                    "maxCents": {
                      "type": "integer"
                    },
                    "regularCents": {
                      "type": "integer"
                    },
                    "provisional": {
                      "type": "boolean"
                    },
                    "derived": {
                      "type": "boolean"
                    },
                    "adHoc": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "defaultCents",
                    "minCents",
                    "maxCents"
                  ],
                  "additionalProperties": false
                }
              },
              "groups": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "pairs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "source": {
                            "type": "string"
                          },
                          "target": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "source",
                          "target"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "rate": {
                      "type": "object",
                      "properties": {
                        "defaultCents": {
                          "type": "integer"
                        },
                        "minCents": {
                          "type": "integer"
                        },
                        "maxCents": {
                          "type": "integer"
                        },
                        "regularCents": {
                          "type": "integer"
                        },
                        "provisional": {
                          "type": "boolean"
                        },
                        "derived": {
                          "type": "boolean"
                        },
                        "adHoc": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "defaultCents",
                        "minCents",
                        "maxCents"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "pairs",
                    "rate"
                  ],
                  "additionalProperties": false
                }
              },
              "adHocLanguages": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "updatedAt": {
                "type": "string"
              }
            },
            "required": [
              "unit",
              "billingMethod",
              "rates",
              "groups",
              "adHocLanguages",
              "updatedAt"
            ]
          }
        }
      }
    },
    "401": {
      "description": "Missing or invalid professional credential."
    },
    "403": {
      "$ref": "#/components/responses/KeyForbidden"
    },
    "429": {
      "$ref": "#/components/responses/RateLimited"
    }
  },
  "x-credential-roles": [
    "professional"
  ],
  "operationId": "getPricing",
  "tags": [
    "Resources"
  ]
}
GET/professional/actions/{actionRef}Read this credential’s content-free action receipt

Requires the same currently valid credential and role that made the claim; no additional read permission is required. There is no cross-credential or owner-wide lookup. Always reconcile the business object after uncertainty. A missing receipt does not establish that no action occurred.

{
  "operationId": "professionalReadActionReceipt",
  "tags": [
    "Pro Studio"
  ],
  "summary": "Read this credential’s content-free action receipt",
  "security": [
    {
      "keyId": [],
      "apiSecret": []
    },
    {
      "studioKey": []
    }
  ],
  "description": "Requires the same currently valid credential and role that made the claim; no additional read permission is required. There is no cross-credential or owner-wide lookup. Always reconcile the business object after uncertainty. A missing receipt does not establish that no action occurred.",
  "parameters": [
    {
      "in": "path",
      "name": "actionRef",
      "required": true,
      "schema": {
        "type": "string",
        "pattern": "^act_[a-f0-9]{64}$"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Safe action receipt with optional retained browser-review state. No stored response body, raw input, files or provider link is returned.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "Cache-Control": {
          "schema": {
            "const": "private, no-store"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "action"
            ],
            "additionalProperties": false,
            "properties": {
              "action": {
                "$ref": "#/components/schemas/WorkflowActionReceipt"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Invalid operation input, invalid cursor or missing Idempotency-Key.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing, wrong-role, expired, revoked or mixed credentials.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Insufficient permission or required verification/terms.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Missing, foreign, historical without metadata, or expired completed receipt. This is not evidence that execution never happened.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Workflow refusal, changed version, held idempotency key, partial failure or one-time secret already issued. Inspect the code and current state; this status alone does not establish success or safe retry.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "Encoded body or file limits exceeded.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Unsupported content type.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency-Key was reused with different input; use the original encoded request for a retry.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Key or profile request limit reached. Honour Retry-After before retrying.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "499": {
      "description": "Request cancelled before this operation started. This does not resolve an earlier uncertain attempt.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "500": {
      "description": "Unknown outcome or operation failure. Read current state before retrying.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Required terms, rendering, payments or service configuration is unavailable. Check the error code before retrying.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "default": {
      "description": "An additional operation-specific or service error. Inspect the HTTP status and error code, preserve request references, and reconcile current state before retrying an uncertain mutation. Proxies may return a non-JSON body; handle transport and parse failures as uncertain outcomes.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
GET/identity/assignee-workspacesList the verified inbox's existing Subco workspaces

Read-only navigation discovery using the verified inbox session cookie. No query parameters, API credentials or caller-supplied email select an owner. Only active uniquely resolved memberships are returned; no account, token or term acceptance is created. Cross-origin browser calls are rejected. Every response is private, no-store. Following a workspace link still requires its existing inbox, terms and assignment authorization.

{
  "operationId": "identityAssigneeWorkspaces",
  "tags": [
    "Identity"
  ],
  "summary": "List the verified inbox's existing Subco workspaces",
  "description": "Read-only navigation discovery using the verified inbox session cookie. No query parameters, API credentials or caller-supplied email select an owner. Only active uniquely resolved memberships are returned; no account, token or term acceptance is created. Cross-origin browser calls are rejected. Every response is private, no-store. Following a workspace link still requires its existing inbox, terms and assignment authorization.",
  "security": [
    {
      "assigneeSession": []
    }
  ],
  "responses": {
    "200": {
      "description": "The inbox's active workspaces, or an empty list.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "data"
            ],
            "properties": {
              "data": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "workspaces"
                ],
                "properties": {
                  "workspaces": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "professionalId",
                        "memberId",
                        "professionalName",
                        "href"
                      ],
                      "properties": {
                        "professionalId": {
                          "type": "string"
                        },
                        "memberId": {
                          "type": "string"
                        },
                        "professionalName": {
                          "type": "string"
                        },
                        "href": {
                          "type": "string",
                          "pattern": "^/subco/work/[A-Za-z0-9_-]{1,256}$"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Query parameters are not accepted.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing, invalid or expired verified-inbox session.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-origin browser request refused.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Shared identity IP rate limit reached.",
      "headers": {
        "Retry-After": {
          "description": "Seconds until another request may be attempted.",
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Workspace discovery is temporarily unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
POST/identity/challengeRequest an inbox proof

JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls.

{
  "operationId": "identityChallenge",
  "tags": [
    "Identity"
  ],
  "summary": "Request an inbox proof",
  "description": "JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. ",
  "security": [],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/IdentityChallengeInput"
        }
      }
    }
  },
  "responses": {
    "202": {
      "description": "Identity result. Preserve Set-Cookie values; issued secrets are shown only once.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "step": {
                    "const": "code"
                  },
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "step",
                  "email"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing Idempotency-Key.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing inbox proof or verification failed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-site request, missing required terms or unavailable profile.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Invitation or profile unavailable to this verified inbox.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Changed state, pending operation or one-time secret already issued.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "JSON input exceeds 16 KiB.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Use application/json.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key belongs to different input.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Rate limited; back off before retrying.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Challenge delivery or identity service unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
POST/identity/verifyVerify the original inbox challenge

JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. The original challenge cookie is mandatory; a code or link from another client cannot create a session.

{
  "operationId": "identityVerify",
  "tags": [
    "Identity"
  ],
  "summary": "Verify the original inbox challenge",
  "description": "JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. The original challenge cookie is mandatory; a code or link from another client cannot create a session. ",
  "security": [
    {
      "identityChallenge": []
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/IdentityVerifyInput"
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Identity result. Preserve Set-Cookie values; issued secrets are shown only once.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "verified": {
                    "const": true
                  },
                  "destination": {
                    "type": "string"
                  }
                },
                "required": [
                  "verified",
                  "destination"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "202": {
      "description": "The first step passed and this address has the authenticator app on. No session exists yet; preserve the pending cookie and post the authenticator or recovery code to /identity/second-step.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "verified": {
                    "const": false
                  },
                  "step": {
                    "const": "authenticator"
                  }
                },
                "required": [
                  "verified",
                  "step"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing Idempotency-Key.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing inbox proof or verification failed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-site request, missing required terms or unavailable profile.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Invitation or profile unavailable to this verified inbox.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Changed state, pending operation or one-time secret already issued.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "JSON input exceeds 16 KiB.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Use application/json.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key belongs to different input.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Rate limited; back off before retrying.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Challenge delivery or identity service unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
POST/identity/passwordSign in with e-mail address and password

JSON twin of the sign-in form's password option. The password is the one the address set on its Profile page while signed in. Unknown address, address without a password, wrong password and operator address all answer the same 401; five failures lock the address's password sign-in for 15 minutes (429), and the e-mail code keeps working. Operators sign in by e-mail code only. Preserve cookies between calls. No cross-origin browser calls.

{
  "operationId": "identityPassword",
  "tags": [
    "Identity"
  ],
  "summary": "Sign in with e-mail address and password",
  "description": "JSON twin of the sign-in form's password option. The password is the one the address set on its Profile page while signed in. Unknown address, address without a password, wrong password and operator address all answer the same 401; five failures lock the address's password sign-in for 15 minutes (429), and the e-mail code keeps working. Operators sign in by e-mail code only. Preserve cookies between calls. No cross-origin browser calls. ",
  "security": [],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/IdentityPasswordInput"
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Identity result. Preserve Set-Cookie values; issued secrets are shown only once.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "verified": {
                    "const": true
                  },
                  "destination": {
                    "type": "string"
                  }
                },
                "required": [
                  "verified",
                  "destination"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "202": {
      "description": "The first step passed and this address has the authenticator app on. No session exists yet; preserve the pending cookie and post the authenticator or recovery code to /identity/second-step.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "verified": {
                    "const": false
                  },
                  "step": {
                    "const": "authenticator"
                  }
                },
                "required": [
                  "verified",
                  "step"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing Idempotency-Key.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing inbox proof or verification failed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-site request, missing required terms or unavailable profile.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Invitation or profile unavailable to this verified inbox.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Changed state, pending operation or one-time secret already issued.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "JSON input exceeds 16 KiB.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Use application/json.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key belongs to different input.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Rate limited; back off before retrying.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Challenge delivery or identity service unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
POST/identity/second-stepFinish a sign-in with the authenticator app

Asked after /identity/verify or /identity/password answered 202: post the six digits from the authenticator app, or a recovery code (single use). The pending cookie set by the first step is mandatory, lives ten minutes and works once; a wrong code keeps it, five failures lock this step for 15 minutes (429). No cross-origin browser calls.

{
  "operationId": "identitySecondStep",
  "tags": [
    "Identity"
  ],
  "summary": "Finish a sign-in with the authenticator app",
  "description": "Asked after /identity/verify or /identity/password answered 202: post the six digits from the authenticator app, or a recovery code (single use). The pending cookie set by the first step is mandatory, lives ten minutes and works once; a wrong code keeps it, five failures lock this step for 15 minutes (429). No cross-origin browser calls. ",
  "security": [],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/IdentitySecondStepInput"
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Identity result. Preserve Set-Cookie values; issued secrets are shown only once.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "verified": {
                    "const": true
                  },
                  "destination": {
                    "type": "string"
                  }
                },
                "required": [
                  "verified",
                  "destination"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing Idempotency-Key.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing inbox proof or verification failed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-site request, missing required terms or unavailable profile.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Invitation or profile unavailable to this verified inbox.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Changed state, pending operation or one-time secret already issued.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "JSON input exceeds 16 KiB.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Use application/json.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key belongs to different input.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Rate limited; back off before retrying.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Challenge delivery or identity service unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
POST/identity/credentialsIssue the first role key ID and secret

JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. Idempotency-Key required; unknown outcomes remain held. Credential secrets are shown once and never replayed.

{
  "operationId": "identityCredentials",
  "tags": [
    "Identity"
  ],
  "summary": "Issue the first role key ID and secret",
  "description": "JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. Idempotency-Key required; unknown outcomes remain held. Credential secrets are shown once and never replayed.",
  "security": [
    {
      "portalSession": []
    }
  ],
  "parameters": [
    {
      "in": "header",
      "name": "Idempotency-Key",
      "required": true,
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/IdentityCredentialsInput"
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Identity result. Preserve Set-Cookie values; issued secrets are shown only once.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "key",
                  "keyId",
                  "secret"
                ],
                "properties": {
                  "key": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "id",
                      "label",
                      "prefix",
                      "credentialVersion",
                      "scopes",
                      "expiresAt",
                      "createdAt",
                      "lastUsedAt",
                      "revokedAt",
                      "rotatedAt"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "prefix": {
                        "type": "string"
                      },
                      "credentialVersion": {
                        "type": "string",
                        "enum": [
                          "legacy",
                          "pair"
                        ]
                      },
                      "scopes": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "read",
                            "workflow",
                            "settings",
                            "credentials",
                            "payments",
                            "operator"
                          ]
                        }
                      },
                      "expiresAt": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time"
                      },
                      "createdAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "lastUsedAt": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time"
                      },
                      "revokedAt": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time"
                      },
                      "rotatedAt": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time"
                      }
                    }
                  },
                  "keyId": {
                    "type": "string"
                  },
                  "secret": {
                    "type": "string",
                    "description": "Shown once. Store securely; never place in chat, URLs or logs."
                  }
                }
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing Idempotency-Key.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing inbox proof or verification failed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-site request, missing required terms or unavailable profile.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Invitation or profile unavailable to this verified inbox.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Changed state, pending operation or one-time secret already issued.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "JSON input exceeds 16 KiB.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Use application/json.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key belongs to different input.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Rate limited; back off before retrying.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Challenge delivery or identity service unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
GET/identity/termsInspect terms for the verified inbox
{
  "operationId": "identityTermsRead",
  "tags": [
    "Identity"
  ],
  "summary": "Inspect terms for the verified inbox",
  "security": [
    {
      "portalSession": []
    }
  ],
  "parameters": [
    {
      "in": "query",
      "name": "token",
      "required": true,
      "schema": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_-]{1,256}$"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Current inbox-authorized terms data.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "accepted": {
                    "type": "boolean"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "version",
                        "title",
                        "audience",
                        "status",
                        "effectiveDate",
                        "summary",
                        "body",
                        "contentHash"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "audience": {
                          "type": "string",
                          "enum": [
                            "client",
                            "professional"
                          ]
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "draft",
                            "in_force"
                          ]
                        },
                        "partnerApplicable": {
                          "type": "boolean"
                        },
                        "effectiveDate": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "summary": {
                          "type": "string"
                        },
                        "body": {
                          "type": "string"
                        },
                        "contentHash": {
                          "type": "string"
                        }
                      }
                    }
                  }
                },
                "required": [
                  "accepted",
                  "documents"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing Idempotency-Key.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing inbox proof or verification failed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-site request, missing required terms or unavailable profile.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Invitation or profile unavailable to this verified inbox.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Changed state, pending operation or one-time secret already issued.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "JSON input exceeds 16 KiB.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Use application/json.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key belongs to different input.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Rate limited; back off before retrying.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Challenge delivery or identity service unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
POST/identity/termsAccept current subcontractor terms before the first key

JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. Idempotency-Key required; unknown outcomes remain held. Credential secrets are shown once and never replayed.

{
  "operationId": "identityTerms",
  "tags": [
    "Identity"
  ],
  "summary": "Accept current subcontractor terms before the first key",
  "description": "JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. Idempotency-Key required; unknown outcomes remain held. Credential secrets are shown once and never replayed.",
  "security": [
    {
      "portalSession": []
    }
  ],
  "parameters": [
    {
      "in": "header",
      "name": "Idempotency-Key",
      "required": true,
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/IdentityTermsInput"
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Identity result. Preserve Set-Cookie values; issued secrets are shown only once.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "accepted": {
                    "const": true
                  }
                },
                "required": [
                  "accepted"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing Idempotency-Key.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing inbox proof or verification failed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-site request, missing required terms or unavailable profile.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Invitation or profile unavailable to this verified inbox.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Changed state, pending operation or one-time secret already issued.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "JSON input exceeds 16 KiB.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Use application/json.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key belongs to different input.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Rate limited; back off before retrying.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Challenge delivery or identity service unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
GET/identity/nominationInspect nomination for the verified inbox
{
  "operationId": "identityNominationRead",
  "tags": [
    "Identity"
  ],
  "summary": "Inspect nomination for the verified inbox",
  "security": [
    {
      "portalSession": []
    }
  ],
  "parameters": [
    {
      "in": "query",
      "name": "token",
      "required": true,
      "schema": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_-]{1,256}$"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Current inbox-authorized nomination data.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "professionalName": {
                    "type": "string"
                  },
                  "role": {
                    "type": "string",
                    "enum": [
                      "translation",
                      "review",
                      "legalisation",
                      "invoicing"
                    ]
                  },
                  "pair": {
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string"
                      },
                      "target": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "source",
                      "target"
                    ]
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "regular",
                      "sworn"
                    ]
                  },
                  "lineCount": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "volume": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "label": {
                        "type": "string",
                        "enum": [
                          "Characters",
                          "Characters excl. spaces",
                          "Words",
                          "Document pages",
                          "Lines"
                        ]
                      },
                      "count": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "label",
                      "count"
                    ]
                  },
                  "offerCents": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "deadlineBucket": {
                    "$ref": "#/components/schemas/Mandate/properties/deadlineBucket"
                  },
                  "assignedAt": {
                    "type": "string"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileName": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "fileName"
                      ]
                    }
                  }
                },
                "required": [
                  "professionalName",
                  "role",
                  "pair",
                  "kind",
                  "lineCount",
                  "volume",
                  "offerCents",
                  "deadlineBucket",
                  "assignedAt",
                  "documents"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing Idempotency-Key.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing inbox proof or verification failed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-site request, missing required terms or unavailable profile.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Invitation or profile unavailable to this verified inbox.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Changed state, pending operation or one-time secret already issued.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "JSON input exceeds 16 KiB.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Use application/json.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key belongs to different input.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Rate limited; back off before retrying.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Challenge delivery or identity service unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
POST/identity/nominationAccept or decline the invitation after inbox proof

JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. Idempotency-Key required; unknown outcomes remain held. Credential secrets are shown once and never replayed.

{
  "operationId": "identityNomination",
  "tags": [
    "Identity"
  ],
  "summary": "Accept or decline the invitation after inbox proof",
  "description": "JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. Idempotency-Key required; unknown outcomes remain held. Credential secrets are shown once and never replayed.",
  "security": [
    {
      "portalSession": []
    }
  ],
  "parameters": [
    {
      "in": "header",
      "name": "Idempotency-Key",
      "required": true,
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/IdentityNominationInput"
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Identity result. Preserve Set-Cookie values; issued secrets are shown only once.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "destination": {
                    "type": "string"
                  }
                },
                "required": [
                  "destination"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing Idempotency-Key.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing inbox proof or verification failed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-site request, missing required terms or unavailable profile.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Invitation or profile unavailable to this verified inbox.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Changed state, pending operation or one-time secret already issued.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "JSON input exceeds 16 KiB.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Use application/json.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key belongs to different input.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Rate limited; back off before retrying.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Challenge delivery or identity service unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
POST/identity/signoutClear the API cookie session

JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls.

{
  "operationId": "identitySignout",
  "tags": [
    "Identity"
  ],
  "summary": "Clear the API cookie session",
  "description": "JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. ",
  "security": [],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/IdentitySignoutInput"
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Identity result. Preserve Set-Cookie values; issued secrets are shown only once.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "signedOut": {
                    "const": true
                  }
                },
                "required": [
                  "signedOut"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid input or missing Idempotency-Key.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing inbox proof or verification failed.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Cross-site request, missing required terms or unavailable profile.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Invitation or profile unavailable to this verified inbox.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Changed state, pending operation or one-time secret already issued.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "JSON input exceeds 16 KiB.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Use application/json.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency key belongs to different input.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Rate limited; back off before retrying.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Challenge delivery or identity service unavailable.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
GET/professional/operationsDiscover operations available to this credential
{
  "operationId": "professionalDiscoverOperations",
  "tags": [
    "Pro Studio"
  ],
  "summary": "Discover operations available to this credential",
  "security": [
    {
      "keyId": [],
      "apiSecret": []
    },
    {
      "studioKey": []
    }
  ],
  "parameters": [
    {
      "in": "header",
      "name": "x-thide-professional-id",
      "required": false,
      "description": "Operator credentials only: select an accessible professional profile. Credential administration and terms acceptance remain with the credential owner.",
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Role and the scoped operation catalog, including input and result schemas.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowCatalog"
          }
        }
      }
    },
    "400": {
      "description": "Invalid operation input, invalid cursor or missing Idempotency-Key.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing, wrong-role, expired, revoked or mixed credentials.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Insufficient permission or required verification/terms.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Unknown operation or resource unavailable to this identity.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Workflow refusal, changed version, held idempotency key, partial failure or one-time secret already issued. Inspect the code and current state; this status alone does not establish success or safe retry.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "Encoded body or file limits exceeded.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Unsupported content type.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency-Key was reused with different input; use the original encoded request for a retry.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Key or profile request limit reached. Honour Retry-After before retrying.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "499": {
      "description": "Request cancelled before this operation started. This does not resolve an earlier uncertain attempt.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "500": {
      "description": "Unknown outcome or operation failure. Read current state before retrying.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Required terms, rendering, payments or service configuration is unavailable. Check the error code before retrying.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "default": {
      "description": "An additional operation-specific or service error. Inspect the HTTP status and error code, preserve request references, and reconcile current state before retrying an uncertain mutation. Proxies may return a non-JSON body; handle transport and parse failures as uncertain outcomes.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
POST/professional/operationsExecute one explicit role operation
{
  "operationId": "professionalExecuteOperation",
  "tags": [
    "Pro Studio"
  ],
  "summary": "Execute one explicit role operation",
  "security": [
    {
      "keyId": [],
      "apiSecret": []
    },
    {
      "studioKey": []
    }
  ],
  "parameters": [
    {
      "in": "header",
      "name": "Idempotency-Key",
      "required": false,
      "description": "Required for every mutation. Reuse only with the identical encoded request body. Unknown outcomes remain held; one-time secrets are never replayed. Read operations do not require it.",
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    },
    {
      "in": "header",
      "name": "x-thide-professional-id",
      "required": false,
      "description": "Operator credentials only: select an accessible professional profile. Credential administration and terms acceptance remain with the credential owner.",
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/professionalCommand"
        }
      },
      "multipart/form-data": {
        "schema": {
          "oneOf": [
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "referral.messages"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "referral.send"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "message": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "mandateId",
                      "message"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "profile.read"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "customers.list"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "q": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "activity": {
                        "type": "string",
                        "enum": [
                          "open",
                          "none"
                        ]
                      },
                      "since": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "until": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "sort": {
                        "type": "string",
                        "enum": [
                          "name",
                          "activity",
                          "revenue",
                          "jobs",
                          "open"
                        ]
                      },
                      "direction": {
                        "type": "string",
                        "enum": [
                          "asc",
                          "desc"
                        ]
                      },
                      "page": {
                        "type": "string",
                        "pattern": "^[1-9]\\d{0,8}$"
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "customers.export"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "q": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "activity": {
                        "type": "string",
                        "enum": [
                          "open",
                          "none"
                        ]
                      },
                      "since": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "until": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "sort": {
                        "type": "string",
                        "enum": [
                          "name",
                          "activity",
                          "revenue",
                          "jobs",
                          "open"
                        ]
                      },
                      "direction": {
                        "type": "string",
                        "enum": [
                          "asc",
                          "desc"
                        ]
                      },
                      "page": {
                        "type": "string",
                        "pattern": "^[1-9]\\d{0,8}$"
                      },
                      "language": {
                        "type": "string",
                        "enum": [
                          "en",
                          "nl"
                        ]
                      },
                      "ids": {
                        "maxItems": 500,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 200
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "billing.statements"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "since": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "until": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "q": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "limit": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100
                      },
                      "cursor": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 1024,
                        "pattern": "^[A-Za-z0-9_-]+$"
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "billing.thide-invoices"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "since": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "until": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                      },
                      "q": {
                        "type": "string",
                        "maxLength": 200
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "billing.thide-invoice-download"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "fileId": {
                        "type": "string",
                        "pattern": "^cmf_[A-Za-z0-9-]{8,64}$"
                      }
                    },
                    "required": [
                      "fileId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "billing.thide-invoices-archive"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "ids": {
                        "minItems": 1,
                        "maxItems": 300,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^cmf_[A-Za-z0-9-]{8,64}$"
                        }
                      }
                    },
                    "required": [
                      "ids"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "billing.agreement"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "jobs.list"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "maxLength": 2048,
                            "pattern": "^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$",
                            "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                          },
                          "from": {
                            "type": "string",
                            "maxLength": 2048,
                            "pattern": "^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$",
                            "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                          },
                          "to": {
                            "type": "string",
                            "maxLength": 2048,
                            "pattern": "^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$",
                            "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                          },
                          "type": {
                            "type": "string",
                            "maxLength": 2048,
                            "pattern": "^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$",
                            "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                          },
                          "assignment": {
                            "type": "string",
                            "maxLength": 2048,
                            "pattern": "^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$",
                            "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "status": {
                            "type": "string",
                            "maxLength": 2048,
                            "pattern": "^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$",
                            "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                          },
                          "from": {
                            "type": "string",
                            "maxLength": 2048,
                            "pattern": "^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$",
                            "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                          },
                          "to": {
                            "type": "string",
                            "maxLength": 2048,
                            "pattern": "^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$",
                            "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                          },
                          "type": {
                            "type": "string",
                            "maxLength": 2048,
                            "pattern": "^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$",
                            "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                          },
                          "screen": {
                            "type": "string",
                            "enum": [
                              "requests",
                              "jobs"
                            ]
                          },
                          "archive": {
                            "type": "string",
                            "enum": [
                              "0",
                              "1"
                            ]
                          },
                          "view": {
                            "type": "string",
                            "maxLength": 30
                          },
                          "month": {
                            "type": "string",
                            "pattern": "^\\d{4}-\\d{2}$"
                          },
                          "q": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "unread": {
                            "type": "string",
                            "enum": [
                              "0",
                              "1"
                            ]
                          },
                          "assignment": {
                            "type": "string",
                            "maxLength": 2048,
                            "pattern": "^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$",
                            "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                          },
                          "sort": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "direction": {
                            "type": "string",
                            "enum": [
                              "asc",
                              "desc"
                            ]
                          }
                        },
                        "required": [
                          "screen"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "jobs.read"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.review"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.set-price"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "mode": {
                        "type": "string",
                        "enum": [
                          "fixed",
                          "unit"
                        ]
                      },
                      "fixedPrice": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "unitRate": {
                        "type": "string",
                        "maxLength": 40
                      }
                    },
                    "required": [
                      "mandateId",
                      "mode"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.set-legalisation-price"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "legalisationPrice": {
                        "type": "string",
                        "maxLength": 40
                      }
                    },
                    "required": [
                      "mandateId",
                      "legalisationPrice"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.set-count"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "charCount": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 100000000
                      }
                    },
                    "required": [
                      "mandateId",
                      "charCount"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.set-delivery-date"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "deliveryDate": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "mandateId",
                      "deliveryDate"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.set-volume"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "charCount": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100000000
                      }
                    },
                    "required": [
                      "mandateId",
                      "charCount"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.legalisation"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "requirement": {
                        "type": "string",
                        "enum": [
                          "none",
                          "apostille",
                          "consular_legalisation"
                        ]
                      },
                      "reason": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "mandateId",
                      "requirement"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.save-review"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "version": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "fingerprint": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "required": [
                      "mandateId",
                      "version"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.set-exclusion"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "include": {
                        "type": "string",
                        "enum": [
                          "yes",
                          "no"
                        ]
                      },
                      "reason": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "mandateId",
                      "include"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.confirm-request"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "internalReference": {
                        "type": "string",
                        "maxLength": 160
                      },
                      "message": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "parts": {
                        "minItems": 1,
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "version": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 128
                            },
                            "fingerprint": {
                              "type": "string",
                              "maxLength": 64
                            },
                            "exclusionReason": {
                              "type": "string",
                              "maxLength": 4000
                            }
                          },
                          "required": [
                            "id",
                            "version",
                            "fingerprint"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "mandateId",
                      "parts"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "jobs.accept"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "assignTo": {
                        "type": "string",
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "jobs.decline"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "note": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.withdraw"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "quotes.reissue"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "jobs.set-reference"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "internalReference": {
                        "type": "string",
                        "maxLength": 160
                      }
                    },
                    "required": [
                      "mandateId",
                      "internalReference"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "jobs.close-payment-attempt"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "messages.send-client"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "message": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "mandateId",
                      "message"
                    ],
                    "additionalProperties": false
                  }
                },
                "attachment": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "messages.reply-delivery"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "message": {
                        "type": "string",
                        "minLength": 5,
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "mandateId",
                      "message"
                    ],
                    "additionalProperties": false
                  }
                },
                "attachment": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "messages.mark-client"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "seenAt": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "unread": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "mandateId",
                      "seenAt",
                      "unread"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "messages.read-subcontractor"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "memberId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "assignmentAt": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "mandateId",
                      "memberId",
                      "assignmentAt"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "messages.send-subcontractor"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "memberId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "assignmentAt": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "message": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "mandateId",
                      "memberId",
                      "assignmentAt",
                      "message"
                    ],
                    "additionalProperties": false
                  }
                },
                "attachment": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "messages.mark-subcontractor"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "memberId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "assignmentAt": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "at": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "unread": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "mandateId",
                      "memberId",
                      "assignmentAt",
                      "at",
                      "unread"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "assignments.set"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "assignee": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "nomineeName": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "nomineeEmail": {
                        "type": "string",
                        "maxLength": 254
                      },
                      "dueDate": {
                        "type": "string"
                      },
                      "freeText": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "assignmentRevision": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "confirmCancellation": {
                        "type": "string",
                        "const": "yes"
                      }
                    },
                    "required": [
                      "mandateId",
                      "assignee"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "assignments.set-package"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "assignee": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "nomineeName": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "nomineeEmail": {
                        "type": "string",
                        "maxLength": 254
                      },
                      "dueDate": {
                        "type": "string"
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "selected",
                          "package"
                        ]
                      },
                      "message": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "items": {
                        "minItems": 1,
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            }
                          },
                          "required": [
                            "id",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "mandateId",
                      "assignee",
                      "scope",
                      "items"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "assignments.set-due-date"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "assignedAt": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "dueDate": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "mandateId",
                      "assignedAt",
                      "dueDate"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "assignments.review"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "role": {
                        "type": "string",
                        "enum": [
                          "translation",
                          "legalisation"
                        ]
                      },
                      "memberId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "assignedAt": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "documentId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "decision": {
                        "type": "string",
                        "enum": [
                          "approved",
                          "changes_requested"
                        ]
                      },
                      "note": {
                        "type": "string",
                        "maxLength": 2000
                      }
                    },
                    "required": [
                      "mandateId",
                      "role",
                      "memberId",
                      "assignedAt",
                      "documentId",
                      "decision"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "delivery.check"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "partnerDocId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "partnerApostilleDocId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "storedTranslationDocId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "storedApostilleDocId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "roles": {
                        "maxItems": 3,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "translation",
                            "apostille",
                            "invoice",
                            "unknown"
                          ]
                        }
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                },
                "files": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "delivery.submit"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "partnerDocId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "partnerApostilleDocId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "storedTranslationDocId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "storedApostilleDocId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "roles": {
                        "maxItems": 3,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "translation",
                            "apostille",
                            "invoice",
                            "unknown"
                          ]
                        }
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                },
                "files": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "binary"
                  }
                },
                "translation": {
                  "type": "string",
                  "format": "binary"
                },
                "apostille": {
                  "type": "string",
                  "format": "binary"
                },
                "invoice": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "delivery.submit-request"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "entries": {
                        "minItems": 1,
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "prefix": {
                              "type": "string",
                              "pattern": "^[a-zA-Z0-9_-]{1,60}$"
                            },
                            "partnerDocId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "partnerApostilleDocId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "storedTranslationDocId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "storedApostilleDocId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "roles": {
                              "maxItems": 3,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "enum": [
                                  "translation",
                                  "apostille",
                                  "invoice",
                                  "unknown"
                                ]
                              }
                            }
                          },
                          "required": [
                            "id",
                            "prefix"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "mandateId",
                      "entries"
                    ],
                    "additionalProperties": false
                  }
                },
                "<input.entries[].prefix>.translation": {
                  "type": "string",
                  "format": "binary"
                },
                "<input.entries[].prefix>.apostille": {
                  "type": "string",
                  "format": "binary"
                },
                "<input.entries[].prefix>.invoice": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "delivery.review-package"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "delivery.release-package"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "reviewKey": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "mandateId",
                      "reviewKey"
                    ],
                    "additionalProperties": false
                  }
                },
                "invoice": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input",
                "file"
              ],
              "properties": {
                "operation": {
                  "const": "delivery.correct"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "replacesDocumentId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "revision": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "operationId": {
                        "type": "string",
                        "pattern": "^[a-zA-Z0-9_-]{8,128}$"
                      }
                    },
                    "required": [
                      "mandateId",
                      "replacesDocumentId",
                      "revision",
                      "operationId"
                    ],
                    "additionalProperties": false
                  }
                },
                "file": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input",
                "creditNote"
              ],
              "properties": {
                "operation": {
                  "const": "delivery.upload-credit-note"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                },
                "creditNote": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "billing.accept-invoice"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "skipApprovalNextTime": {
                        "type": "string",
                        "enum": [
                          "0",
                          "1"
                        ]
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "billing.contest-invoice"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "note": {
                        "type": "string",
                        "minLength": 5,
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "mandateId",
                      "note"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "billing.dismiss-notice"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input",
                "invoice"
              ],
              "properties": {
                "operation": {
                  "const": "billing.upload-invoice"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                },
                "invoice": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "panel.add"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "email": {
                        "type": "string",
                        "maxLength": 254
                      },
                      "iban": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "pairs": {
                        "maxItems": 200,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[a-z]{2}->[a-z]{2}$"
                        }
                      }
                    },
                    "required": [
                      "name",
                      "email"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "panel.update"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "memberId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 200
                          },
                          "iban": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "selfBillAgreed": {
                            "type": "string",
                            "enum": [
                              "0",
                              "1"
                            ]
                          }
                        },
                        "required": [
                          "memberId",
                          "iban",
                          "selfBillAgreed"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "memberId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 200
                          },
                          "pairsForm": {
                            "type": "string",
                            "const": "1"
                          },
                          "pairs": {
                            "maxItems": 200,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "pattern": "^[a-z]{2}->[a-z]{2}$"
                            }
                          }
                        },
                        "required": [
                          "memberId",
                          "pairsForm",
                          "pairs"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "panel.language-pair"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "memberId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "pair": {
                        "type": "string",
                        "pattern": "^[a-z]{2}->[a-z]{2}$"
                      },
                      "action": {
                        "type": "string",
                        "enum": [
                          "add",
                          "remove"
                        ]
                      }
                    },
                    "required": [
                      "memberId",
                      "pair",
                      "action"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "pricing.set-cell"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string",
                        "minLength": 2,
                        "maxLength": 2
                      },
                      "target": {
                        "type": "string",
                        "minLength": 2,
                        "maxLength": 2
                      },
                      "forward": {
                        "type": "object",
                        "properties": {
                          "rate": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "regular": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "adHoc": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "rate",
                          "regular",
                          "adHoc"
                        ],
                        "additionalProperties": false
                      },
                      "reverse": {
                        "type": "object",
                        "properties": {
                          "rate": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "regular": {
                            "type": "string",
                            "maxLength": 40
                          },
                          "adHoc": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "rate",
                          "regular",
                          "adHoc"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "source",
                      "target"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "pricing.group.save"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                      },
                      "expectedUpdatedAt": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                      },
                      "pairs": {
                        "minItems": 1,
                        "maxItems": 200,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "source": {
                              "type": "string",
                              "minLength": 2,
                              "maxLength": 2
                            },
                            "target": {
                              "type": "string",
                              "minLength": 2,
                              "maxLength": 2
                            }
                          },
                          "required": [
                            "source",
                            "target"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "rate": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 40
                      },
                      "regular": {
                        "type": "string",
                        "maxLength": 40
                      }
                    },
                    "required": [
                      "expectedUpdatedAt",
                      "name",
                      "pairs",
                      "rate"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "pricing.group.remove"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[a-zA-Z0-9_-]{1,100}$"
                      },
                      "expectedUpdatedAt": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                      }
                    },
                    "required": [
                      "id",
                      "expectedUpdatedAt"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "pricing.add-language"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "language": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                      },
                      "rate": {
                        "type": "string",
                        "maxLength": 40
                      }
                    },
                    "required": [
                      "language"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "pricing.remove-language"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "language": {
                        "type": "string",
                        "minLength": 2,
                        "maxLength": 2
                      }
                    },
                    "required": [
                      "language"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "pricing.remove-axis"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "language": {
                        "type": "string",
                        "minLength": 2,
                        "maxLength": 2
                      },
                      "axis": {
                        "type": "string",
                        "enum": [
                          "from",
                          "into"
                        ]
                      }
                    },
                    "required": [
                      "language",
                      "axis"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "pricing.minimums"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "minimumRegular": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "minimumSworn": {
                        "type": "string",
                        "maxLength": 40
                      }
                    },
                    "required": [
                      "minimumRegular",
                      "minimumSworn"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "pricing.deadlines"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "rush_1_3d": {
                        "type": "number",
                        "exclusiveMinimum": -100,
                        "maximum": 200
                      },
                      "week_1": {
                        "type": "number",
                        "exclusiveMinimum": -100,
                        "maximum": 200
                      },
                      "month_1": {
                        "type": "number",
                        "exclusiveMinimum": -100,
                        "maximum": 200
                      }
                    },
                    "required": [
                      "rush_1_3d",
                      "week_1",
                      "month_1"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "pricing.billing-method"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "basis": {
                        "type": "string",
                        "enum": [
                          "characters",
                          "words",
                          "pages"
                        ]
                      },
                      "charactersPerUnit": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 1000000
                      },
                      "unitName": {
                        "type": "string",
                        "enum": [
                          "line",
                          "standard_page",
                          "characters"
                        ]
                      },
                      "includeSpaces": {
                        "type": "string",
                        "enum": [
                          "yes",
                          "no"
                        ]
                      },
                      "rounding": {
                        "type": "string",
                        "enum": [
                          "whole",
                          "proportional"
                        ]
                      }
                    },
                    "required": [
                      "basis",
                      "charactersPerUnit",
                      "unitName",
                      "includeSpaces",
                      "rounding"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "settings.business"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "businessName": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "country": {
                        "type": "string",
                        "const": "BE"
                      },
                      "enterpriseNumber": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "vatRegime": {
                        "type": "string",
                        "enum": [
                          "normal",
                          "franchise",
                          "exempt"
                        ]
                      },
                      "iban": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "address": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "street": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "postalCode": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "city": {
                        "type": "string",
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "businessName",
                      "enterpriseNumber"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "settings.invoicing"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "enable": {
                        "type": "string",
                        "enum": [
                          "0",
                          "1"
                        ]
                      },
                      "agreement": {
                        "type": "string",
                        "const": "1"
                      },
                      "agreementVersion": {
                        "type": "string",
                        "maxLength": 100
                      }
                    },
                    "required": [
                      "enable"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "settings.recheck-issuer"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "settings.notifications"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "emailNotifications": {
                        "type": "string",
                        "enum": [
                          "0",
                          "1"
                        ]
                      }
                    },
                    "required": [
                      "emailNotifications"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "settings.commission-vat"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "payouts.verify"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "payouts.dashboard"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "payouts.update"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "reports.export"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "q": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "pair": {
                        "type": "string",
                        "maxLength": 20
                      },
                      "assignee": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "status": {
                        "type": "string",
                        "maxLength": 80
                      },
                      "from": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "to": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "completedFrom": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "completedTo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "reports.commission"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "month": {
                        "type": "string",
                        "pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
                      }
                    },
                    "required": [
                      "month"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "reports.selection"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "q": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "archive": {
                        "type": "string",
                        "maxLength": 20
                      },
                      "view": {
                        "type": "string",
                        "maxLength": 30
                      },
                      "unread": {
                        "type": "string",
                        "maxLength": 20
                      },
                      "page": {
                        "type": "string",
                        "maxLength": 20
                      },
                      "screen": {
                        "type": "string",
                        "maxLength": 30
                      },
                      "section": {
                        "type": "string",
                        "maxLength": 30
                      },
                      "status": {
                        "type": "string",
                        "maxLength": 2048,
                        "pattern": "^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$",
                        "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                      },
                      "from": {
                        "type": "string",
                        "maxLength": 2048,
                        "pattern": "^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$",
                        "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                      },
                      "to": {
                        "type": "string",
                        "maxLength": 2048,
                        "pattern": "^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$",
                        "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                      },
                      "type": {
                        "type": "string",
                        "maxLength": 2048,
                        "pattern": "^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$",
                        "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                      },
                      "assignment": {
                        "type": "string",
                        "maxLength": 2048,
                        "pattern": "^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$",
                        "description": "Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."
                      },
                      "ids": {
                        "maxItems": 500,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        }
                      },
                      "sort": {
                        "type": "string",
                        "maxLength": 40
                      },
                      "direction": {
                        "type": "string",
                        "enum": [
                          "asc",
                          "desc"
                        ]
                      },
                      "month": {
                        "type": "string",
                        "maxLength": 7
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "reports.invoices"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "ids": {
                        "minItems": 1,
                        "maxItems": 500,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[\\w-]+:[\\w-]+$"
                        }
                      }
                    },
                    "required": [
                      "ids"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "reports.audit"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "reports.bank-file"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "batchId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "batchId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "attachment.download"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "attachmentId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId",
                      "attachmentId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "document.download"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "documentId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId",
                      "documentId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "delivery.download-prepared"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "key": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "mandateId",
                      "key"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "onboarding.get"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "onboarding.accept"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "anyOf": [
                      {
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "type": "object",
                        "properties": {
                          "accepted": {
                            "type": "boolean",
                            "const": true
                          },
                          "documents": {
                            "minItems": 1,
                            "maxItems": 2,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "documentId": {
                                  "type": "string",
                                  "enum": [
                                    "platform-terms",
                                    "engagement-terms"
                                  ]
                                },
                                "version": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 100
                                },
                                "contentHash": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                }
                              },
                              "required": [
                                "documentId",
                                "version",
                                "contentHash"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "language": {
                            "type": "string",
                            "enum": [
                              "en",
                              "nl"
                            ]
                          }
                        },
                        "required": [
                          "accepted",
                          "documents",
                          "language"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "$schema": "https://json-schema.org/draft/2020-12/schema",
                        "type": "object",
                        "properties": {
                          "accepted": {
                            "type": "boolean",
                            "const": true
                          },
                          "documents": {
                            "minItems": 1,
                            "maxItems": 2,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "documentId": {
                                  "type": "string",
                                  "enum": [
                                    "platform-terms",
                                    "engagement-terms"
                                  ]
                                },
                                "version": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 100
                                },
                                "contentHash": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                }
                              },
                              "required": [
                                "documentId",
                                "version",
                                "contentHash"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "language": {
                            "type": "string",
                            "enum": [
                              "en",
                              "nl"
                            ]
                          }
                        },
                        "required": [
                          "language"
                        ],
                        "additionalProperties": false
                      }
                    ],
                    "description": "The authenticated credential selects the input contract. Current authority plus H policy accepts a human handoff without personal proof fields; preserved legacy credentials require the original input. Supplied fields are validated in either contract."
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "onboarding.receipt"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.referrals.list"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.referrals.messages"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "channel": {
                        "type": "string",
                        "enum": [
                          "client",
                          "professional"
                        ]
                      }
                    },
                    "required": [
                      "mandateId",
                      "channel"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.referrals.send"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "message": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4000
                      },
                      "channel": {
                        "type": "string",
                        "enum": [
                          "client",
                          "professional"
                        ]
                      }
                    },
                    "required": [
                      "mandateId",
                      "message",
                      "channel"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.applications.list"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "page": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 1000000
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.applications.review"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "applicationId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "decision": {
                        "type": "string",
                        "enum": [
                          "approve",
                          "decline"
                        ]
                      }
                    },
                    "required": [
                      "applicationId",
                      "decision"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.professionals.invitation-preview"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "professionalId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "professionalId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.professionals.invite"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "professionalId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "previewHash": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      }
                    },
                    "required": [
                      "professionalId",
                      "previewHash"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.professionals.list"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.professionals.register"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                      },
                      "email": {
                        "type": "string",
                        "maxLength": 254
                      }
                    },
                    "required": [
                      "name",
                      "email"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.professionals.eligibility"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "professionalId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "pairs": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4000
                      },
                      "service": {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "regular",
                            "sworn"
                          ]
                        }
                      },
                      "countries": {
                        "type": "string",
                        "maxLength": 1000
                      },
                      "evidence": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4000
                      },
                      "verified": {
                        "type": "boolean",
                        "const": true
                      },
                      "active": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "professionalId",
                      "pairs",
                      "service",
                      "countries",
                      "evidence",
                      "verified",
                      "active"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.allocation.list"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.allocation.evaluate"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "requestId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "from": {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      "to": {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      "jurisdictions": {
                        "default": [],
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[A-Z]{2}$"
                        }
                      }
                    },
                    "required": [
                      "requestId",
                      "from",
                      "to"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.allocation.assign"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "requestId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "professionalId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "from": {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      "to": {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      "jurisdictions": {
                        "type": "string",
                        "maxLength": 1000
                      }
                    },
                    "required": [
                      "requestId",
                      "professionalId",
                      "from",
                      "to",
                      "jurisdictions"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.allocation.retry"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "requestId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "requestId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.einvoice.retry"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "deliveryId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "deliveryId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.terms.ledger"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "requestGroupId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "email": {
                        "type": "string",
                        "minLength": 3,
                        "maxLength": 254
                      },
                      "professionalId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "memberId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "eventId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.credentials.list"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.credentials.create"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 60
                      },
                      "scopes": {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "read",
                            "workflow",
                            "settings",
                            "credentials",
                            "payments",
                            "operator"
                          ]
                        }
                      },
                      "expiresAt": {
                        "anyOf": [
                          {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                              },
                              {
                                "type": "string",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                              }
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "label"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.credentials.rotate"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "keyId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "keyId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.credentials.revoke"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "keyId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "keyId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.callbacks.save"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "keyId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "url": {
                        "type": "string",
                        "maxLength": 2048
                      }
                    },
                    "required": [
                      "keyId",
                      "url"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.callbacks.rotate"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "keyId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "keyId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "operator.callbacks.test"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "keyId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "keyId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "profile.get"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "profile.image.get"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input",
                "image"
              ],
              "properties": {
                "operation": {
                  "const": "profile.image.set"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                },
                "image": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "profile.image.remove"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "counterparty.image.get"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "mandateId": {
                        "type": "string",
                        "minLength": 1
                      },
                      "target": {
                        "type": "string",
                        "enum": [
                          "counterparty",
                          "assignment"
                        ]
                      }
                    },
                    "required": [
                      "mandateId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "credentials.list"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {},
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "credentials.create"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 60
                      },
                      "scopes": {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "read",
                            "workflow",
                            "settings",
                            "credentials",
                            "payments",
                            "operator"
                          ]
                        }
                      },
                      "expiresAt": {
                        "anyOf": [
                          {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                              },
                              {
                                "type": "string",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                              }
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "label"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "credentials.rotate"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "keyId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "keyId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "credentials.revoke"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "keyId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "keyId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "callbacks.save"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "keyId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "url": {
                        "type": "string",
                        "maxLength": 2048
                      }
                    },
                    "required": [
                      "keyId",
                      "url"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "callbacks.rotate"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "keyId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "keyId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "operation",
                "input"
              ],
              "properties": {
                "operation": {
                  "const": "callbacks.test"
                },
                "input": {
                  "type": "string",
                  "description": "JSON encoding of this operation input schema.",
                  "contentMediaType": "application/json",
                  "contentSchema": {
                    "$schema": "https://json-schema.org/draft/2020-12/schema",
                    "type": "object",
                    "properties": {
                      "keyId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      }
                    },
                    "required": [
                      "keyId"
                    ],
                    "additionalProperties": false
                  }
                }
              }
            }
          ]
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Operation data or explicit continuation. Binary download operations return the file directly with its actual Content-Type; inspect Content-Disposition for an available filename. request.caseFile may return PDF or HTML fallback. A provider continuation never establishes payment capture.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        },
        "Content-Disposition": {
          "description": "When supplied by a download operation, the attachment filename.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/professionalResult"
          }
        },
        "application/octet-stream": {
          "schema": {
            "type": "string",
            "format": "binary"
          }
        },
        "application/pdf": {
          "schema": {
            "type": "string",
            "format": "binary"
          }
        },
        "text/html": {
          "schema": {
            "type": "string"
          }
        },
        "text/csv": {
          "schema": {
            "type": "string"
          }
        },
        "*/*": {
          "schema": {
            "type": "string",
            "format": "binary"
          }
        }
      }
    },
    "400": {
      "description": "Invalid operation input, invalid cursor or missing Idempotency-Key.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "401": {
      "description": "Missing, wrong-role, expired, revoked or mixed credentials.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "403": {
      "description": "Insufficient permission or required verification/terms.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "404": {
      "description": "Unknown operation or resource unavailable to this identity.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "409": {
      "description": "Workflow refusal, changed version, held idempotency key, partial failure or one-time secret already issued. Inspect the code and current state; this status alone does not establish success or safe retry.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "413": {
      "description": "Encoded body or file limits exceeded.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "415": {
      "description": "Unsupported content type.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "422": {
      "description": "Idempotency-Key was reused with different input; use the original encoded request for a retry.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "429": {
      "description": "Key or profile request limit reached. Honour Retry-After before retrying.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "499": {
      "description": "Request cancelled before this operation started. This does not resolve an earlier uncertain attempt.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "500": {
      "description": "Unknown outcome or operation failure. Read current state before retrying.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "503": {
      "description": "Required terms, rendering, payments or service configuration is unavailable. Check the error code before retrying.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    },
    "default": {
      "description": "An additional operation-specific or service error. Inspect the HTTP status and error code, preserve request references, and reconcile current state before retrying an uncertain mutation. Proxies may return a non-JSON body; handle transport and parse failures as uncertain outcomes.",
      "headers": {
        "X-Request-Id": {
          "description": "Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.",
          "schema": {
            "type": "string"
          }
        },
        "X-Action-Ref": {
          "description": "Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.",
          "schema": {
            "type": "string",
            "pattern": "^act_[a-f0-9]{64}$"
          }
        },
        "Idempotent-Replayed": {
          "description": "Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "false"
            ]
          }
        },
        "Retry-After": {
          "description": "When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.",
          "schema": {
            "type": "string"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/WorkflowError"
          }
        }
      }
    }
  }
}
GET/professional/openapi.jsonPublic generated contract for this role
{
  "operationId": "professionalOpenApi",
  "tags": [
    "Pro Studio"
  ],
  "summary": "Public generated contract for this role",
  "security": [],
  "responses": {
    "200": {
      "description": "OpenAPI 3.1 contract.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/RoleOpenApiDocument"
          }
        }
      }
    }
  }
}