{"openapi":"3.1.0","info":{"title":"PollenForms API","version":"1.0.0","description":"Create and publish forms, manage campaigns, collect responses, connect outputs, organize the library, and manage bookings. API keys remain organization scoped. Interactive administration and protected AuraFlow integration endpoints are documented separately. Start with the publishing guide at /v1/llms-full.txt. Error responses use error, optional details, code, and requestId. Examples contain fictional IDs and credentials."},"servers":[{"url":"https://pollenforms-api-prod.apps.01.cf.eu01.onstackit.cloud"}],"tags":[{"name":"Forms and versions"},{"name":"Administration and interactive editing"},{"name":"Files and assets"},{"name":"Library and organization"},{"name":"Bookings"},{"name":"Campaigns and outputs"},{"name":"Responses and delivery"},{"name":"Workflow connections"},{"name":"Branding and styles"},{"name":"Data connections and automations"},{"name":"AuraFlow service integration"},{"name":"Respondent API"}],"paths":{"/v1/ai/forms/events":{"post":{"operationId":"post_v1_ai_forms_events","summary":"Create or run ai / forms / events","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Forms and versions"],"parameters":[],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputbc43190c9f0e"},"example":{"requestId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","event":"previewed"}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/ai/forms/generate":{"post":{"operationId":"post_v1_ai_forms_generate","summary":"Create or run ai / forms / generate","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. For advanced field types, conditions, tables, and layouts, fetch [GET /v1/schemas/form](/v1/schemas/form). In MCP, describe_operation then call_operation with operationId get_v1_schemas_form. Draft and published structural schemas are returned; referenced definitions also accompany this operation description. Use POST /v1/forms/validate for publication constraints beyond JSON Schema.","tags":["Forms and versions"],"parameters":[{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/json","application/x-ndjson"]},"description":"Select a JSON result or newline-delimited JSON progress events."}],"responses":{"200":{"description":"Form proposal, or NDJSON events. Blank heartbeat lines are allowed. A terminal error event can occur after HTTP 200.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateFormResponse"},"example":{"message":"example","proposal":{"name":"Workshop registration","description":"Register for the January community workshop.","content":{"schemaVersion":2,"elements":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","label":"Your full name","submissionKey":"full_name","required":true,"type":"appointment","bookingPageId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}]}}}},"application/x-ndjson":{"schema":{"type":"string","description":"Each nonblank line conforms to AiFormStreamEvent. Inspect complete/error terminal events.","x-event-schema":{"$ref":"#/components/schemas/AiFormStreamEvent"}},"example":"{\"type\":\"phase\",\"phase\":\"building\"}\n{\"type\":\"element\",\"index\":0,\"label\":\"Your full name\",\"elementType\":\"input\"}\n"}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input7a3773c507f6"},"example":{"message":"example"}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/ai/transcriptions":{"post":{"operationId":"post_v1_ai_transcriptions","summary":"Create or run ai / transcriptions","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Upload raw audio bytes, not JSON or multipart data. Use a supported audio Content-Type. Transcription budgets and size limits apply.","tags":["Forms and versions"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0001"},"example":{"transcript":"example"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"audio/webm":{"schema":{"type":"string","format":"binary"}},"audio/mp4":{"schema":{"type":"string","format":"binary"}},"audio/wav":{"schema":{"type":"string","format":"binary"}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/api-keys":{"get":{"operationId":"get_v1_api_keys","summary":"List api keys","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply.","tags":["Administration and interactive editing"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Shape0125"}},"example":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","prefix":"example","scopes":null,"expiresAt":"2027-01-15T10:00:00.000Z","lastUsedAt":"2027-01-15T10:00:00.000Z","createdAt":"2027-01-15T10:00:00.000Z"}]}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true},"post":{"operationId":"post_v1_api_keys","summary":"Create or run api keys","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply.","tags":["Administration and interactive editing"],"parameters":[],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0126"},"example":{"token":"REDACTED_EXAMPLE_ONLY","prefix":"example","message":"example"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input375e3e8281c2"},"example":{"name":"Workshop registration","scopes":["read"]}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/api-keys/{id}":{"delete":{"operationId":"delete_v1_api_keys_by_id","summary":"Soft-delete api keys","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply.","tags":["Administration and interactive editing"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/assets/{id}":{"delete":{"operationId":"delete_v1_assets_by_id","summary":"Soft-delete assets","description":"Organization-scoped API operation. Required granular scopes: assets:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Files and assets"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["assets:write"],"x-access":"api-key","x-documentation-complete":true},"get":{"operationId":"get_v1_assets_by_id","summary":"Read assets","description":"Organization-scoped API operation. Required granular scopes: assets:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Files and assets"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0131"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","status":"accepted"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["assets:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/assets/{id}/complete":{"post":{"operationId":"post_v1_assets_by_id_complete","summary":"Create or run assets / complete","description":"Organization-scoped API operation. Required granular scopes: assets:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Files and assets"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0129"},"example":{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","campaignId":"48cf8eb0-62fc-4a3d-ae89-47f463230c62","submissionId":"815a669c-f74b-4b59-9c0f-c90f8be3d672","partialResponseId":"815a669c-f74b-4b59-9c0f-c90f8be3d672","uploadIpHash":"example","pendingDeleteObjectKey":"example","kind":"example","status":"accepted","objectKey":"example","originalFilename":"registration.pdf","mediaType":"application/pdf","sizeBytes":24576,"variants":null,"reservationExpiresAt":"2027-01-15T10:00:00.000Z","processingStartedAt":"2027-01-15T10:00:00.000Z","processingAttempts":1,"nextProcessingAt":"2027-01-15T10:00:00.000Z","purgeAfter":"2027-01-15T10:00:00.000Z"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["assets:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/assets/{id}/url":{"get":{"operationId":"get_v1_assets_by_id_url","summary":"List assets / url","description":"Organization-scoped API operation. Required granular scopes: assets:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Files and assets"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0130"},"example":{"url":"https://example.org/pollenforms/resource"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["assets:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/assets/upload-intents":{"post":{"operationId":"post_v1_assets_upload_intents","summary":"Create or run assets / upload intents","description":"Organization-scoped API operation. Required granular scopes: assets:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Files and assets"],"parameters":[],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0127"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","uploadUrl":"https://example.org/pollenforms/resource","method":"PUT","headers":{"content-type":"example","x-amz-server-side-encryption":"example"},"expiresInSeconds":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input8875ba03ab88"},"example":{"kind":"form_download","filename":"registration.pdf","mediaType":"application/pdf","sizeBytes":24576}}}},"x-api-key-allowed":true,"x-required-scopes":["assets:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/audience-users":{"get":{"operationId":"get_v1_audience_users","summary":"Find users for a selected-user campaign audience","description":"Organization-scoped API operation. Required granular scopes: campaigns:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments. An admin-owned key and independent AuraFlow session are required in production.","tags":["Library and organization"],"parameters":[{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Shape0251"}},"example":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","email":"alex@example.org","name":"Workshop registration"}]}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/bookings":{"get":{"operationId":"get_v1_bookings","summary":"List bookings","description":"Organization-scoped API operation. Required granular scopes: bookings:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0144"},"example":{"pages":[{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","title":"Workshop registration","description":"Register for the January community workshop.","publicToken":"REDACTED_EXAMPLE_ONLY","timeZone":"Europe/Berlin","weeklyLimit":1,"bookingHorizonDays":1,"published":true}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["bookings:read"],"x-access":"api-key","x-documentation-complete":true},"post":{"operationId":"post_v1_bookings","summary":"Create or run bookings","description":"Organization-scoped API operation. Required granular scopes: bookings:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0146"},"example":{"page":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","deletedAt":null,"description":"Register for the January community workshop.","title":"Workshop registration","publicToken":"REDACTED_EXAMPLE_ONLY","timeZone":"Europe/Berlin","weeklyLimit":1,"bookingHorizonDays":1,"published":true}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inpute993caa528a4"},"example":{"title":"Workshop advice","description":"A 30-minute appointment.","timeZone":"Europe/Berlin","weeklyLimit":10,"bookingHorizonDays":60,"published":true}}}},"x-api-key-allowed":true,"x-required-scopes":["bookings:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/bookings/{id}":{"delete":{"operationId":"delete_v1_bookings_by_id","summary":"Soft-delete bookings","description":"Organization-scoped API operation. Required granular scopes: bookings:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["bookings:write"],"x-access":"api-key","x-documentation-complete":true},"get":{"operationId":"get_v1_bookings_by_id","summary":"Read bookings","description":"Organization-scoped API operation. Required granular scopes: bookings:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0148"},"example":{"publicUrl":"https://example.org/pollenforms/resource","resources":[{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","pageId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","kind":"example","name":"Workshop registration","email":"alex@example.org","position":1}],"slots":[{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","pageId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","resourceId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","startsAt":"2027-01-15T10:00:00.000Z","endsAt":"2027-01-15T10:30:00.000Z"}],"page":{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","title":"Workshop registration","description":"Register for the January community workshop.","publicToken":"REDACTED_EXAMPLE_ONLY","timeZone":"Europe/Berlin","weeklyLimit":1,"bookingHorizonDays":1,"published":true}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["bookings:read"],"x-access":"api-key","x-documentation-complete":true},"patch":{"operationId":"patch_v1_bookings_by_id","summary":"Update bookings","description":"Organization-scoped API operation. Required granular scopes: bookings:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0151"},"example":{"page":{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","title":"Workshop registration","description":"Register for the January community workshop.","publicToken":"REDACTED_EXAMPLE_ONLY","timeZone":"Europe/Berlin","weeklyLimit":1,"bookingHorizonDays":1,"published":true}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input0447e04b682f"},"example":{"title":"Workshop registration","description":"","timeZone":"Europe/Berlin","weeklyLimit":1,"bookingHorizonDays":1,"published":true}}}},"x-api-key-allowed":true,"x-required-scopes":["bookings:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/bookings/{id}/appointments":{"get":{"operationId":"get_v1_bookings_by_id_appointments","summary":"List bookings / appointments","description":"Organization-scoped API operation. Required granular scopes: bookings:read, responses:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0158"},"example":{"appointments":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","slotId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","guestName":"Workshop registration","guestEmail":"alex@example.org","notes":"example","startsAt":"2027-01-15T10:00:00.000Z","endsAt":"2027-01-15T10:30:00.000Z","resourceId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["bookings:read","responses:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/bookings/{id}/resources":{"post":{"operationId":"post_v1_bookings_by_id_resources","summary":"Create or run bookings / resources","description":"Organization-scoped API operation. Required granular scopes: bookings:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0153"},"example":{"resource":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","email":"alex@example.org","position":1,"deletedAt":null,"kind":"example","pageId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputada5bc16a2e4"},"example":{"kind":"person","name":"Workshop registration","email":"alex@example.org"}}}},"x-api-key-allowed":true,"x-required-scopes":["bookings:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/bookings/{id}/resources/{resourceId}":{"delete":{"operationId":"delete_v1_bookings_by_id_resources_by_resourceId","summary":"Soft-delete bookings / resources","description":"Organization-scoped API operation. Required granular scopes: bookings:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Input874c10befb4b___schema0"}},{"name":"resourceId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Input874c10befb4b___schema0"}}],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["bookings:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/bookings/{id}/slots":{"patch":{"operationId":"patch_v1_bookings_by_id_slots","summary":"Update bookings / slots","description":"Organization-scoped API operation. Required granular scopes: bookings:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0157"},"example":{"slots":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputb2eecad06046"},"example":[{"resourceId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","startsAt":"2027-01-15T10:00:00.000Z","endsAt":"2027-01-15T10:30:00.000Z","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}]}}},"x-api-key-allowed":true,"x-required-scopes":["bookings:write"],"x-access":"api-key","x-documentation-complete":true},"post":{"operationId":"post_v1_bookings_by_id_slots","summary":"Create or run bookings / slots","description":"Organization-scoped API operation. Required granular scopes: bookings:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0155"},"example":{"slots":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","deletedAt":null,"pageId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","resourceId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","startsAt":"2027-01-15T10:00:00.000Z","endsAt":"2027-01-15T10:30:00.000Z"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputb3e3a0f01f3d"},"example":[{"resourceId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","startsAt":"2027-01-15T10:00:00.000Z","endsAt":"2027-01-15T10:30:00.000Z"}]}}},"x-api-key-allowed":true,"x-required-scopes":["bookings:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/bookings/{id}/slots/{slotId}":{"delete":{"operationId":"delete_v1_bookings_by_id_slots_by_slotId","summary":"Soft-delete bookings / slots","description":"Organization-scoped API operation. Required granular scopes: bookings:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Bookings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Inputca9847a7cc65___schema0"}},{"name":"slotId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Inputca9847a7cc65___schema0"}}],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["bookings:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns":{"get":{"operationId":"get_v1_campaigns","summary":"List campaigns","description":"Organization-scoped API operation. Required granular scopes: campaigns:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Campaigns and outputs"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Shape0170"}},"example":[{"editingBy":"example","formVersionNumber":1,"tags":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}],"audience":{"type":"example"},"publicUrl":"https://example.org/pollenforms/resource","destinations":[null],"deadline":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","deletedAt":null,"createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","followFormUpdates":true,"ignoredFormVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","name":"Workshop registration","state":"active","audienceType":"example","publicTokenPrefix":"REDACTED_EXAMPLE_ONLY","publicTokenHash":"REDACTED_EXAMPLE_ONLY","staticForm":true,"maxSubmissions":1,"acceptedSubmissions":1,"oncePerIp":true,"oncePerPerson":true,"endedAt":"2027-01-15T10:00:00.000Z","externalCorrelationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","responseDateRanges":null,"introduction":"example","creationFingerprint":"example","integrationContext":{"workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","workflowVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","nodeId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","invocationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","waitId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}]}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:read"],"x-access":"api-key","x-documentation-complete":true},"post":{"operationId":"post_v1_campaigns","summary":"Create or run campaigns","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. API-key callers can send Idempotency-Key (1–200 visible ASCII characters) to deduplicate creation. First creation returns 201; an identical replay returns 200. The same key with changed normalized input returns 409 idempotency_conflict. Deduplication is scoped to key, operation, and organization; preserve the same API key for retries. One-time destination secrets are not repeated on campaign replay.","tags":["Campaigns and outputs"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[!-~]+$"},"example":"workshop-campaign-2027-01","description":"Optional API-key command deduplication. Reuse the same key and normalized body on the same key/organization/operation. Changed input returns 409 idempotency_conflict."}],"responses":{"200":{"description":"Replay of an already committed idempotent command. One-time secrets are omitted on replay.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0175"},{"$ref":"#/components/schemas/Shape0177"}]},"example":{"tags":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}],"formVersionNumber":1,"publicUrl":"https://example.org/pollenforms/resource","webhookSecrets":[{"destinationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","secret":"REDACTED_EXAMPLE_ONLY"}],"formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","deletedAt":null,"followFormUpdates":true,"ignoredFormVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","state":"active","audienceType":"example","publicTokenPrefix":"REDACTED_EXAMPLE_ONLY","publicTokenHash":"REDACTED_EXAMPLE_ONLY","deadline":null,"staticForm":true,"maxSubmissions":1,"acceptedSubmissions":1,"oncePerIp":true,"oncePerPerson":true,"endedAt":"2027-01-15T10:00:00.000Z","externalCorrelationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","responseDateRanges":null,"introduction":"example","creationFingerprint":"example","integrationContext":{"workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","workflowVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","nodeId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","invocationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","waitId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."},"Idempotency-Replayed":{"schema":{"type":"string","enum":["true","false"]},"description":"Present for API-key requests using Idempotency-Key."}}},"201":{"description":"Created. Any one-time secret is returned only on initial creation.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0175"},{"$ref":"#/components/schemas/Shape0177"}]},"example":{"tags":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}],"formVersionNumber":1,"publicUrl":"https://example.org/pollenforms/resource","webhookSecrets":[{"destinationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","secret":"REDACTED_EXAMPLE_ONLY"}],"formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","deletedAt":null,"followFormUpdates":true,"ignoredFormVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","state":"active","audienceType":"example","publicTokenPrefix":"REDACTED_EXAMPLE_ONLY","publicTokenHash":"REDACTED_EXAMPLE_ONLY","deadline":null,"staticForm":true,"maxSubmissions":1,"acceptedSubmissions":1,"oncePerIp":true,"oncePerPerson":true,"endedAt":"2027-01-15T10:00:00.000Z","externalCorrelationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","responseDateRanges":null,"introduction":"example","creationFingerprint":"example","integrationContext":{"workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","workflowVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","nodeId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","invocationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","waitId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."},"Idempotency-Replayed":{"schema":{"type":"string","enum":["true","false"]},"description":"Present for API-key requests using Idempotency-Key."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input4ab788be09be"},"example":{"name":"January workshop","formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","audience":{"type":"public"},"startActive":true,"destinations":[{"type":"email","address":"organizer@example.org"}]}}}},"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{campaignId}/deliveries/{deliveryId}/attempts":{"get":{"operationId":"get_v1_campaigns_by_campaignId_deliveries_by_deliveryId_attempts","summary":"List campaigns / deliveries / attempts","description":"Organization-scoped API operation. Required granular scopes: responses:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Responses and delivery"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"deliveryId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0120"},"example":{"delivery":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","status":"accepted","lastError":null,"lastErrorCode":null,"lastHttpStatus":null,"workflowInvocationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","workflowExecutionStatus":"example","receiptReconciledAt":"2027-01-15T10:00:00.000Z"},"attempts":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","attemptNumber":1,"event":"example","httpStatus":1,"errorCode":"example","message":"example","durationMs":1,"createdAt":"2027-01-15T10:00:00.000Z","createdBy":"example"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["responses:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{campaignId}/deliveries/{deliveryId}/retry":{"post":{"operationId":"post_v1_campaigns_by_campaignId_deliveries_by_deliveryId_retry","summary":"Create or run campaigns / deliveries / retry","description":"Organization-scoped API operation. Required granular scopes: responses:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Responses and delivery"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"deliveryId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0123"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","status":"accepted"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["responses:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}":{"get":{"operationId":"get_v1_campaigns_by_id","summary":"Read campaigns","description":"Organization-scoped API operation. Required granular scopes: campaigns:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0270"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","state":"active","audienceType":"example","deadline":null,"maxSubmissions":1,"acceptedSubmissions":1,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:read"],"x-access":"api-key","x-documentation-complete":true},"patch":{"operationId":"patch_v1_campaigns_by_id","summary":"Update campaigns","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0143"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input9eceb9e43216"},"example":{"name":"January workshop — registration","expectedRevision":"ebd7e8c51abaf954f6fd26b6503982c11f17d6e594ca2fa2d955e246f58537b3a","audience":{"type":"selected_users","userIds":["815a669c-f74b-4b59-9c0f-c90f8be3d672"]}}}}},"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/auto-update-form":{"post":{"operationId":"post_v1_campaigns_by_id_auto_update_form","summary":"Create or run campaigns / auto update form","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0135"},{"$ref":"#/components/schemas/Shape0136"},{"$ref":"#/components/schemas/Shape0137"}]},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/dashboard":{"get":{"operationId":"get_v1_campaigns_by_id_dashboard","summary":"List campaigns / dashboard","description":"Organization-scoped API operation. Required granular scopes: responses:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Responses and delivery"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0179"},"example":{"workflows":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","url":"https://example.org/pollenforms/resource"}],"resultsSummary":{"totalResponses":1,"fields":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","key":"full_name","label":"Your full name","type":"number","suffix":"example","versionNumbers":[1],"total":1,"answered":1,"missing":1,"options":[{"value":"Alex Morgan","label":"Your full name","count":1}],"numeric":{"min":1,"max":1,"mean":1,"bins":[{"min":1,"max":1,"count":1}]}}]},"fields":[{"key":"full_name","label":"Your full name","type":"input","textFormat":"email","columns":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","key":"full_name","label":"Your full name","inputType":"number","required":true}],"suffix":"example","options":[{"label":"Your full name","value":"Alex Morgan"}]}],"campaign":{"hasNewerForm":true,"tags":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}],"publicUrl":"https://example.org/pollenforms/resource","deadline":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","deletedAt":null,"createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","followFormUpdates":true,"ignoredFormVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","name":"Workshop registration","state":"active","audienceType":"example","publicTokenPrefix":"REDACTED_EXAMPLE_ONLY","publicTokenHash":"REDACTED_EXAMPLE_ONLY","staticForm":true,"maxSubmissions":1,"acceptedSubmissions":1,"oncePerIp":true,"oncePerPerson":true,"endedAt":"2027-01-15T10:00:00.000Z","externalCorrelationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","responseDateRanges":null,"introduction":"example","creationFingerprint":"example","integrationContext":{"workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","workflowVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","nodeId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","invocationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","waitId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}},"submissions":[{"fields":[{"key":"full_name","label":"Your full name","type":"input","textFormat":"email","columns":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","key":"full_name","label":"Your full name","inputType":"number","required":true}],"suffix":"example","options":[{"label":"Your full name","value":"Alex Morgan"}]}],"acceptedAt":"2027-01-15T10:00:00.000Z","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","deliveries":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","status":"pending","attemptCount":1,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z"}],"fileUrls":{"full_name":"Workshop registration"},"deletedAt":null,"createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","campaignId":"48cf8eb0-62fc-4a3d-ae89-47f463230c62","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","values":{"full_name":{"kind":"appointment"}},"submittedByUserId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","ipHash":"example","idempotencyKey":"example"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["responses:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/edit-lock/acquire":{"post":{"operationId":"post_v1_campaigns_by_id_edit_lock_acquire","summary":"Create or run campaigns / edit lock / acquire","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Administration and interactive editing"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0039"},{"$ref":"#/components/schemas/Shape0040"},{"$ref":"#/components/schemas/Shape0041"}]},"example":{"owned":true,"expiresAt":null,"holderName":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputce06b63383ba"},"example":{"sessionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/campaigns/{id}/edit-lock/release":{"post":{"operationId":"post_v1_campaigns_by_id_edit_lock_release","summary":"Create or run campaigns / edit lock / release","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Administration and interactive editing"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0039"},{"$ref":"#/components/schemas/Shape0040"},{"$ref":"#/components/schemas/Shape0041"}]},"example":{"owned":true,"expiresAt":null,"holderName":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputce06b63383ba"},"example":{"sessionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/campaigns/{id}/edit-lock/renew":{"post":{"operationId":"post_v1_campaigns_by_id_edit_lock_renew","summary":"Create or run campaigns / edit lock / renew","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Administration and interactive editing"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0039"},{"$ref":"#/components/schemas/Shape0040"},{"$ref":"#/components/schemas/Shape0041"}]},"example":{"owned":true,"expiresAt":null,"holderName":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputce06b63383ba"},"example":{"sessionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/campaigns/{id}/form-update":{"get":{"operationId":"get_v1_campaigns_by_id_form_update","summary":"List campaigns / form update","description":"Organization-scoped API operation. Required granular scopes: campaigns:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0134"},"example":{"summary":"example","summarySource":"automatic","currentFormVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/form-update-policy":{"patch":{"operationId":"patch_v1_campaigns_by_id_form_update_policy","summary":"Update campaigns / form update policy","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0133"},"example":{"followFormUpdates":true,"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inpute67168e822fc"},"example":{"followFormUpdates":true}}}},"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/ignore-form-version":{"post":{"operationId":"post_v1_campaigns_by_id_ignore_form_version","summary":"Create or run campaigns / ignore form version","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0135"},{"$ref":"#/components/schemas/Shape0136"},{"$ref":"#/components/schemas/Shape0137"}]},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/outputs":{"get":{"operationId":"get_v1_campaigns_by_id_outputs","summary":"List campaigns / outputs","description":"Organization-scoped API operation. Required granular scopes: campaigns:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. HTTP outputs redact authentication values. A newly created signing secret is returned once; store it securely. Test sends a real external request; do not blindly retry after a timeout.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0087"},{"$ref":"#/components/schemas/Shape0095"}]},"example":{"outputs":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","config":{"url":"https://example.org/pollenforms/resource","method":"POST","payloadFormat":"example","fieldMap":{"full_name":"Workshop registration"},"valueMap":{"full_name":{"full_name":"Workshop registration"}},"auth":{"type":"none"},"responseSchema":{}}}],"sample":{"event":"example","campaignId":"48cf8eb0-62fc-4a3d-ae89-47f463230c62","campaignName":"Workshop registration","submissionId":"815a669c-f74b-4b59-9c0f-c90f8be3d672","acceptedAt":"2027-01-15T10:00:00.000Z","formVersion":1,"correlationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","values":{"full_name":null}},"fields":[{"key":"full_name","label":"Your full name","options":[{"value":"Alex Morgan","label":"Your full name"}]}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:read"],"x-access":"api-key","x-documentation-complete":true},"post":{"operationId":"post_v1_campaigns_by_id_outputs","summary":"Create or run campaigns / outputs","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change. HTTP outputs redact authentication values. A newly created signing secret is returned once; store it securely. Test sends a real external request; do not blindly retry after a timeout.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0096"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","secret":"REDACTED_EXAMPLE_ONLY"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputf56222e57a9c"},"example":{"url":"https://example.org/pollenforms/resource","auth":{"type":"bearer","token":"REDACTED_EXAMPLE_ONLY"}}}}},"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/outputs/{outputId}":{"delete":{"operationId":"delete_v1_campaigns_by_id_outputs_by_outputId","summary":"Soft-delete campaigns / outputs","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change. HTTP outputs redact authentication values. A newly created signing secret is returned once; store it securely. Test sends a real external request; do not blindly retry after a timeout.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"outputId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0098"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true},"patch":{"operationId":"patch_v1_campaigns_by_id_outputs_by_outputId","summary":"Update campaigns / outputs","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change. HTTP outputs redact authentication values. A newly created signing secret is returned once; store it securely. Test sends a real external request; do not blindly retry after a timeout.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"outputId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0097"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputf56222e57a9c"},"example":{"url":"https://example.org/pollenforms/resource","auth":{"type":"bearer","token":"REDACTED_EXAMPLE_ONLY"}}}}},"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/outputs/{outputId}/test":{"post":{"operationId":"post_v1_campaigns_by_id_outputs_by_outputId_test","summary":"Create or run campaigns / outputs / test","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change. HTTP outputs redact authentication values. A newly created signing secret is returned once; store it securely. Test sends a real external request; do not blindly retry after a timeout.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"outputId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0099"},{"$ref":"#/components/schemas/Shape0100"}]},"example":{"durationMs":1,"message":"example","ok":true,"status":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/responses":{"get":{"operationId":"get_v1_campaigns_by_id_responses","summary":"Read a page of accepted responses","description":"Organization-scoped API operation. Required granular scopes: responses:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Responses use immutable submission keys from formVersionId. Soft-deleted responses are excluded. No IP hash or idempotency key is exposed. List pages use an opaque base64url {acceptedAt,id} cursor, descending by acceptedAt and id; limit is 1–100 (default 50).","tags":["Responses and delivery"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100},"example":50},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":512},"example":"eyJhY2NlcHRlZEF0IjoiMjAyNy0wMS0xNVQxMDowMDowMC4wMDBaIiwiaWQiOiI4MTVhNjY5Yy1mNzRiLTRiNTktOWMwZi1jOTBmOGJlM2Q2NzIifQ"},{"name":"format","in":"query","required":false,"schema":{"default":"json","type":"string","enum":["json","csv","xlsx"]},"example":"json"}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0271"},"example":{"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","campaignId":"48cf8eb0-62fc-4a3d-ae89-47f463230c62","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","values":{"full_name":{"kind":"appointment"}},"submittedByUserId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","acceptedAt":"2027-01-15T10:00:00.000Z","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}],"nextCursor":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["responses:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/responses/{responseId}":{"get":{"operationId":"get_v1_campaigns_by_id_responses_by_responseId","summary":"Read one response and sanitized deliveries","description":"Organization-scoped API operation. Required granular scopes: responses:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Responses use immutable submission keys from formVersionId. Soft-deleted responses are excluded. No IP hash or idempotency key is exposed. List pages use an opaque base64url {acceptedAt,id} cursor, descending by acceptedAt and id; limit is 1–100 (default 50).","tags":["Responses and delivery"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"responseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0273"},"example":{"fields":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","width":"full","conditions":[],"label":"Your full name","submissionKey":"full_name","required":true,"description":"Register for the January community workshop.","type":"appointment","bookingPageId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}],"deliveries":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","destinationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","status":"accepted","attemptCount":1,"lastErrorCode":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z"}],"fileIds":["d015ddcd-832a-4f58-bf12-b131b0f622c6"],"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","campaignId":"48cf8eb0-62fc-4a3d-ae89-47f463230c62","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","values":{"full_name":{"kind":"appointment"}},"submittedByUserId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","acceptedAt":"2027-01-15T10:00:00.000Z","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["responses:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/responses/{responseId}/files/{assetId}":{"get":{"operationId":"get_v1_campaigns_by_id_responses_by_responseId_files_by_assetId","summary":"Get a signed download URL for a response file","description":"Organization-scoped API operation. Required granular scopes: responses:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Responses use immutable submission keys from formVersionId. Soft-deleted responses are excluded. No IP hash or idempotency key is exposed. List pages use an opaque base64url {acceptedAt,id} cursor, descending by acceptedAt and id; limit is 1–100 (default 50).","tags":["Responses and delivery"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"responseId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"assetId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0275"},"example":{"url":"https://example.org/pollenforms/resource"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["responses:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/responses/export":{"get":{"operationId":"get_v1_campaigns_by_id_responses_export","summary":"Export one response page as JSON or CSV","description":"Organization-scoped API operation. Required granular scopes: responses:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Responses use immutable submission keys from formVersionId. Soft-deleted responses are excluded. No IP hash or idempotency key is exposed. List pages use an opaque base64url {acceptedAt,id} cursor, descending by acceptedAt and id; limit is 1–100 (default 50). format=json|csv|xlsx exports one page. CSV escapes spreadsheet formulas and XLSX uses typed string cells. Accumulate pages for a complete export.","tags":["Responses and delivery"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100},"example":50},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":512},"example":"eyJhY2NlcHRlZEF0IjoiMjAyNy0wMS0xNVQxMDowMDowMC4wMDBaIiwiaWQiOiI4MTVhNjY5Yy1mNzRiLTRiNTktOWMwZi1jOTBmOGJlM2Q2NzIifQ"},{"name":"format","in":"query","required":false,"schema":{"default":"json","type":"string","enum":["json","csv","xlsx"]},"example":"json"}],"responses":{"200":{"description":"One page of response data. Continue with nextCursor (JSON), or x-next-cursor (CSV/XLSX).","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."},"x-next-cursor":{"schema":{"type":"string"},"description":"Opaque cursor for the next export page; absent when complete."},"Content-Disposition":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0271"},"example":{"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","campaignId":"48cf8eb0-62fc-4a3d-ae89-47f463230c62","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","values":{"full_name":{"kind":"appointment"}},"submittedByUserId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","acceptedAt":"2027-01-15T10:00:00.000Z","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}],"nextCursor":null}},"text/csv":{"schema":{"type":"string"},"example":"\"id\",\"formVersionId\",\"acceptedAt\",\"full_name\"\r\n\"815a669c-f74b-4b59-9c0f-c90f8be3d672\",\"083488cf-a90b-4f7f-998a-c2d1ecf9ab11\",\"2027-01-15T10:00:00.000Z\",\"Alex Morgan\"\r\n"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["responses:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/settings":{"get":{"operationId":"get_v1_campaigns_by_id_settings","summary":"List campaigns / settings","description":"Organization-scoped API operation. Required granular scopes: campaigns:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0138"},"example":{"revision":"ebd7e8c51abaf954f6fd26b6503982c11f17d6e594ca2fa2d955e246f58537b3a","state":"active","acceptedSubmissions":1,"workflowManaged":false,"name":"Workshop registration","staticForm":true,"deadline":null,"maxSubmissions":1,"oncePerIp":true,"oncePerPerson":true,"audience":{"type":"public"},"emailDestinations":[{"address":"alex@example.org"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/state":{"post":{"operationId":"post_v1_campaigns_by_id_state","summary":"Create or run campaigns / state","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0178"},"example":{"publicUrl":"https://example.org/pollenforms/resource","deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","followFormUpdates":true,"ignoredFormVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","name":"Workshop registration","state":"active","audienceType":"example","publicTokenPrefix":"REDACTED_EXAMPLE_ONLY","publicTokenHash":"REDACTED_EXAMPLE_ONLY","deadline":null,"staticForm":true,"maxSubmissions":1,"acceptedSubmissions":1,"oncePerIp":true,"oncePerPerson":true,"endedAt":"2027-01-15T10:00:00.000Z","externalCorrelationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","responseDateRanges":null,"introduction":"example","creationFingerprint":"example","integrationContext":{"workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","workflowVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","nodeId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","invocationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","waitId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input4049371b6edd"},"example":{"state":"active"}}}},"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/tags":{"put":{"operationId":"put_v1_campaigns_by_id_tags","summary":"Replace campaigns / tags","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0174"},"example":{"tagIds":[]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input13266c665060"},"example":{"tagIds":[]}}}},"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/use-latest-form":{"post":{"operationId":"post_v1_campaigns_by_id_use_latest_form","summary":"Create or run campaigns / use latest form","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0135"},{"$ref":"#/components/schemas/Shape0136"},{"$ref":"#/components/schemas/Shape0137"}]},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/workflow-connections":{"get":{"operationId":"get_v1_campaigns_by_id_workflow_connections","summary":"List campaigns / workflow connections","description":"Organization-scoped API operation. Required granular scopes: campaigns:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments.","tags":["Workflow connections"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0104"},"example":{"sourceFields":[{"key":"full_name","type":{},"required":true}],"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","processId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","state":"active","lastError":null,"formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","workflowVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","mapping":{"full_name":"Workshop registration"},"validatedAt":"example","canRetry":true,"url":"https://example.org/pollenforms/resource"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/workflow-connections/{connectionId}/retry":{"post":{"operationId":"post_v1_campaigns_by_id_workflow_connections_by_connectionId_retry","summary":"Create or run campaigns / workflow connections / retry","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Workflow connections"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0109"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","state":"active"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/workflow-connections/{connectionId}/state":{"post":{"operationId":"post_v1_campaigns_by_id_workflow_connections_by_connectionId_state","summary":"Create or run campaigns / workflow connections / state","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Workflow connections"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0110"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","state":"active"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input17b06f058875"},"example":{"state":"active"}}}},"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/campaigns/{id}/workflow-destinations":{"post":{"operationId":"post_v1_campaigns_by_id_workflow_destinations","summary":"Create or run campaigns / workflow destinations","description":"Organization-scoped API operation. Required granular scopes: campaigns:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Workflow connections"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0103"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","state":"active"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input924db3e9e542"},"example":{"workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","processId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","expectedLatestVersion":1}}}},"x-api-key-allowed":true,"x-required-scopes":["campaigns:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/color-schemes":{"get":{"operationId":"get_v1_color_schemes","summary":"List color schemes","description":"Organization-scoped API operation. Required granular scopes: branding:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Branding and styles"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0059"},"example":{"schemes":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["branding:read"],"x-access":"api-key","x-documentation-complete":true},"post":{"operationId":"post_v1_color_schemes","summary":"Create or run color schemes","description":"Organization-scoped API operation. Required granular scopes: branding:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Branding and styles"],"parameters":[],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0061"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input04887a37de1f"},"example":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}}}},"x-api-key-allowed":true,"x-required-scopes":["branding:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/color-schemes/{id}":{"delete":{"operationId":"delete_v1_color_schemes_by_id","summary":"Soft-delete color schemes","description":"Organization-scoped API operation. Required granular scopes: branding:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Branding and styles"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["branding:write"],"x-access":"api-key","x-documentation-complete":true},"put":{"operationId":"put_v1_color_schemes_by_id","summary":"Replace color schemes","description":"Organization-scoped API operation. Required granular scopes: branding:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Branding and styles"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0062"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input04887a37de1f"},"example":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}}}},"x-api-key-allowed":true,"x-required-scopes":["branding:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/data-connections":{"get":{"operationId":"get_v1_data_connections","summary":"List data connections","description":"Organization-scoped API operation. Required granular scopes: connections:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Data connections and automations"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Shape0042"}},"example":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","endpoint":"https://example.org/pollenforms/resource"}]}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["connections:read"],"x-access":"api-key","x-documentation-complete":true},"post":{"operationId":"post_v1_data_connections","summary":"Create or run data connections","description":"Organization-scoped API operation. Required granular scopes: connections:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Data connections and automations"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0047"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","endpoint":"https://example.org/pollenforms/resource"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input392ce457107e"},"example":{"name":"Workshop catalogue","endpoint":"https://cloud.example.org/remote.php/dav/files/pollenforms/","username":"pollenforms","password":"REPLACE_WITH_NEXTCLOUD_APP_PASSWORD"}}}},"x-api-key-allowed":true,"x-required-scopes":["connections:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/data-connections/{id}":{"delete":{"operationId":"delete_v1_data_connections_by_id","summary":"Soft-delete data connections","description":"Organization-scoped API operation. Required granular scopes: connections:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Data connections and automations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0044"},"example":{"ok":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputc1889ca8e31b"},"example":{"expectedUsages":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","revision":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}],"editSessions":{}}}}},"x-api-key-allowed":true,"x-required-scopes":["connections:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/data-connections/{id}/file-preview":{"get":{"operationId":"get_v1_data_connections_by_id_file_preview","summary":"List data connections / file preview","description":"Organization-scoped API operation. Required granular scopes: connections:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Data connections and automations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"path","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2000},"example":"example"}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0058"},"example":{"headers":["example"],"rows":[["example"]],"totalRows":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["connections:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/data-connections/{id}/files":{"get":{"operationId":"get_v1_data_connections_by_id_files","summary":"List data connections / files","description":"Organization-scoped API operation. Required granular scopes: connections:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Data connections and automations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"path","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":2000},"example":""}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0045"},"example":{"path":"example","entries":[{"name":"Workshop registration","path":"example","type":"file"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["connections:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/data-connections/{id}/usages":{"get":{"operationId":"get_v1_data_connections_by_id_usages","summary":"List data connections / usages","description":"Organization-scoped API operation. Required granular scopes: connections:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Data connections and automations"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Shape0043"}},"example":[{"filePaths":["example"],"revision":"ebd7e8c51abaf954f6fd26b6503982c11f17d6e594ca2fa2d955e246f58537b3a","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formName":"Workshop registration"}]}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["connections:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/data-connections/workflow":{"post":{"operationId":"post_v1_data_connections_workflow","summary":"Create or run data connections / workflow","description":"Organization-scoped API operation. Required granular scopes: connections:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments.","tags":["Data connections and automations"],"parameters":[{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0038"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","endpoint":"https://example.org/pollenforms/resource"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input0c079af40253"},"example":{"name":"Workshop registration","processId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","secretId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","endpoint":"https://example.org/pollenforms/resource","username":"Workshop registration"}}}},"x-api-key-allowed":true,"x-required-scopes":["connections:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/data-connections/workflow-processes":{"get":{"operationId":"get_v1_data_connections_workflow_processes","summary":"List data connections / workflow processes","description":"Organization-scoped API operation. Required granular scopes: connections:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments.","tags":["Data connections and automations"],"parameters":[{"name":"search","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":200},"example":""},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"example":1},{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0035"},"example":{"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}],"next_page":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["connections:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/data-connections/workflow-secrets":{"get":{"operationId":"get_v1_data_connections_workflow_secrets","summary":"List data connections / workflow secrets","description":"Organization-scoped API operation. Required granular scopes: connections:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments.","tags":["Data connections and automations"],"parameters":[{"name":"processId","in":"query","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"example":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"},{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Shape0037"}},"example":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}]}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["connections:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/folders":{"post":{"operationId":"post_v1_folders","summary":"Create or run folders","description":"Organization-scoped API operation. Required granular scopes: library:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0221"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","parentId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","trashBatchId":null,"managedWorkflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","position":1,"deletedAt":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input9804d2f2a140"},"example":{"name":"Workshop registration"}}}},"x-api-key-allowed":true,"x-required-scopes":["library:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/folders/{id}":{"delete":{"operationId":"delete_v1_folders_by_id","summary":"Soft-delete folders","description":"Organization-scoped API operation. Required granular scopes: library:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputd702cee5e199"},"example":{"expectedContents":{"folderIds":[],"formIds":[]}}}}},"x-api-key-allowed":true,"x-required-scopes":["library:write"],"x-access":"api-key","x-documentation-complete":true},"patch":{"operationId":"patch_v1_folders_by_id","summary":"Update folders","description":"Organization-scoped API operation. Required granular scopes: library:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0222"},"example":{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","parentId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","trashBatchId":null,"name":"Workshop registration","managedWorkflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","position":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputffde0ff71331"},"example":{"name":"Workshop registration"}}}},"x-api-key-allowed":true,"x-required-scopes":["library:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/folders/{id}/move":{"post":{"operationId":"post_v1_folders_by_id_move","summary":"Create or run folders / move","description":"Organization-scoped API operation. Required granular scopes: library:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0223"},"example":{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","parentId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","trashBatchId":null,"name":"Workshop registration","managedWorkflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","position":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inpute0c6cadbdfc6"},"example":{"parentId":null,"position":0}}}},"x-api-key-allowed":true,"x-required-scopes":["library:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/folders/{id}/restore":{"post":{"operationId":"post_v1_folders_by_id_restore","summary":"Create or run folders / restore","description":"Organization-scoped API operation. Required granular scopes: library:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0214"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","movedToTopLevel":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["library:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms":{"get":{"operationId":"get_v1_forms","summary":"List forms","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Forms and versions"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100},"example":50},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"example":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"},{"name":"search","in":"query","required":false,"schema":{"type":"string","maxLength":200},"example":"example"},{"name":"folderId","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"example":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0279"},"example":{"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","description":"Register for the January community workshop.","folderId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","latestPublishedVersionId":null,"managedBy":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}],"nextCursor":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true},"post":{"operationId":"post_v1_forms","summary":"Create or run forms","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. For advanced field types, conditions, tables, and layouts, fetch [GET /v1/schemas/form](/v1/schemas/form). In MCP, describe_operation then call_operation with operationId get_v1_schemas_form. Draft and published structural schemas are returned; referenced definitions also accompany this operation description. Use POST /v1/forms/validate for publication constraints beyond JSON Schema. API-key callers can send Idempotency-Key (1–200 visible ASCII characters) to deduplicate creation. First creation returns 201; an identical replay returns 200. The same key with changed normalized input returns 409 idempotency_conflict. Deduplication is scoped to key, operation, and organization; preserve the same API key for retries. One-time destination secrets are not repeated on campaign replay.","tags":["Forms and versions"],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[!-~]+$"},"example":"workshop-form-2027-01","description":"Optional API-key command deduplication. Reuse the same key and normalized body on the same key/organization/operation. Changed input returns 409 idempotency_conflict."}],"responses":{"200":{"description":"Replay of an already committed idempotent command. One-time secrets are omitted on replay.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0226"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","trashBatchId":null,"position":1,"deletedAt":null,"folderId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","description":"Register for the January community workshop.","descriptionAuto":true,"style":{"colorScheme":"#2563eb"},"nextVersionNumber":1,"latestPublishedVersionId":null,"managedBy":null,"externalReference":null,"workflowReference":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."},"Idempotency-Replayed":{"schema":{"type":"string","enum":["true","false"]},"description":"Present for API-key requests using Idempotency-Key."}}},"201":{"description":"Created. Any one-time secret is returned only on initial creation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0226"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","trashBatchId":null,"position":1,"deletedAt":null,"folderId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","description":"Register for the January community workshop.","descriptionAuto":true,"style":{"colorScheme":"#2563eb"},"nextVersionNumber":1,"latestPublishedVersionId":null,"managedBy":null,"externalReference":null,"workflowReference":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."},"Idempotency-Replayed":{"schema":{"type":"string","enum":["true","false"]},"description":"Present for API-key requests using Idempotency-Key."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Request/schema validation failed (details.issues). Some input constraints omit details. Invalid Idempotency-Key headers return invalid_idempotency_key.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RequestValidationError"},{"$ref":"#/components/schemas/InvalidIdempotencyKeyError"}]},"examples":{"requestShape":{"summary":"Request/schema validation (details.issues)","value":{"error":"Request validation failed","code":"validation_error","requestId":"req_example","details":{"issues":[{"code":"too_small","path":["name"],"message":"Too small: expected string to have >=1 characters"}]}}},"invalidIdempotencyKey":{"summary":"Invalid Idempotency-Key header","value":{"error":"Idempotency-Key must contain 1 to 200 visible ASCII characters","code":"invalid_idempotency_key","requestId":"req_example"}}}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFormRequest"},"example":{"name":"Workshop registration","description":"Register for the January community workshop.","folderId":null,"tagIds":[],"content":{"schemaVersion":2,"locale":"en","elements":[{"id":"017b67cb-a065-4f38-9ea3-bfe9b1f20191","type":"input","inputType":"text","submissionKey":"full_name","label":"Your full name","required":true,"placeholder":"Alex Morgan"}]}}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{formId}/data-automations":{"get":{"operationId":"get_v1_forms_by_formId_data_automations","summary":"List forms / data automations","description":"Organization-scoped API operation. Required granular scopes: forms:read, connections:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Data connections and automations"],"parameters":[{"name":"formId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Shape0048"}},"example":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","enabled":true,"config":null,"status":"accepted","lastCheckedAt":"2027-01-15T10:00:00.000Z","lastSuccessAt":"2027-01-15T10:00:00.000Z"}]}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read","connections:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{formId}/data-automations/{id}":{"delete":{"operationId":"delete_v1_forms_by_formId_data_automations_by_id","summary":"Soft-delete forms / data automations","description":"Organization-scoped API operation. Required granular scopes: forms:write, connections:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Data connections and automations"],"parameters":[{"name":"formId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0056"},"example":{"ok":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:write","connections:write"],"x-access":"api-key","x-documentation-complete":true},"patch":{"operationId":"patch_v1_forms_by_formId_data_automations_by_id","summary":"Update forms / data automations","description":"Organization-scoped API operation. Required granular scopes: forms:write, connections:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Data connections and automations"],"parameters":[{"name":"formId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0055"},"example":{"ok":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input710932ed9ffc"},"example":{"enabled":true}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write","connections:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{formId}/data-automations/{id}/confirm":{"post":{"operationId":"post_v1_forms_by_formId_data_automations_by_id_confirm","summary":"Create or run forms / data automations / confirm","description":"Organization-scoped API operation. Required granular scopes: forms:write, connections:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Data connections and automations"],"parameters":[{"name":"formId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0054"},"example":{"ok":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input66210f32d065"},"example":{"proposalId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write","connections:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{formId}/data-automations/{id}/run":{"post":{"operationId":"post_v1_forms_by_formId_data_automations_by_id_run","summary":"Create or run forms / data automations / run","description":"Organization-scoped API operation. Required granular scopes: forms:write, connections:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Data connections and automations"],"parameters":[{"name":"formId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0057"},"example":{"ok":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:write","connections:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{formId}/data-automations/preview":{"post":{"operationId":"post_v1_forms_by_formId_data_automations_preview","summary":"Create or run forms / data automations / preview","description":"Organization-scoped API operation. Required granular scopes: forms:write, connections:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Data connections and automations"],"parameters":[{"name":"formId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0049"},"example":{"automationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","proposal":{"id":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","config":{"connectionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","filePath":"catalogue/workshops.csv","fieldIds":["017b67cb-a065-4f38-9ea3-bfe9b1f20191"],"instructions":"Use workshop_name as the label and workshop_code as the option value.","intervalMinutes":1440,"plan":{"fields":[{"fieldId":"017b67cb-a065-4f38-9ea3-bfe9b1f20191","column":"workshop_name","parentFieldId":null,"relationship":"none"}]}},"hash":"1c5d286b845550d1560dceea700565e422c05c7a4b48f56294452cfa6f6d3228e","revision":3,"createdAt":"2027-01-15T10:00:00.000Z","preview":{"schemaVersion":2,"locale":"en","elements":[{"id":"017b67cb-a065-4f38-9ea3-bfe9b1f20191","width":"full","conditions":[],"label":"Choose a workshop","submissionKey":"workshop","required":true,"description":"","type":"select","options":[{"id":"815a669c-f74b-4b59-9c0f-c90f8be3d672","label":"Community workshop","value":"community_workshop"}],"presentation":"dropdown","optionColumns":1}]}}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputf5259e7b21eb"},"example":{"connectionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","filePath":"catalogue/workshops.csv","fieldIds":["017b67cb-a065-4f38-9ea3-bfe9b1f20191"],"instructions":"Use workshop_name as the label and workshop_code as the option value.","intervalMinutes":1440}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write","connections:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}":{"delete":{"operationId":"delete_v1_forms_by_id","summary":"Soft-delete forms","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true},"get":{"operationId":"get_v1_forms_by_id","summary":"Read forms","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0229"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","description":"Register for the January community workshop.","folderId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","position":1,"tags":[null],"draftRevision":1,"draftValid":true,"latestPublishedVersion":1,"publishedUpToDate":true,"content":{"schemaVersion":2,"locale":"en","elements":[{"id":"017b67cb-a065-4f38-9ea3-bfe9b1f20191","type":"input","inputType":"text","submissionKey":"full_name","label":"Your full name","required":true,"placeholder":"Alex Morgan"}]},"lastEditedByName":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true},"patch":{"operationId":"patch_v1_forms_by_id","summary":"Update forms","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0230"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","revision":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input2096efb9a2bb"},"example":{"name":"Workshop registration"}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/campaigns":{"get":{"operationId":"get_v1_forms_by_id_campaigns","summary":"List forms / campaigns","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Campaigns and outputs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Shape0132"}},"example":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","state":"active","followFormUpdates":true,"workflowManaged":false,"status":"accepted","automatic":true,"currentFormVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","latestFormVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11"}]}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/draft":{"put":{"operationId":"put_v1_forms_by_id_draft","summary":"Save a draft using its base revision","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change. baseRevision must equal the draftRevision from GET /v1/forms/:id. Saving an already published valid form can update its publication; inspect publishedUpToDate and workflowSyncPending. Invalid drafts may be saved but cannot be published. For advanced field types, conditions, tables, and layouts, fetch [GET /v1/schemas/form](/v1/schemas/form). In MCP, describe_operation then call_operation with operationId get_v1_schemas_form. Draft and published structural schemas are returned; referenced definitions also accompany this operation description. Use POST /v1/forms/validate for publication constraints beyond JSON Schema.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0231"},"example":{"description":"Register for the January community workshop.","publishedUpToDate":true,"revision":1,"updatedAt":"2027-01-15T10:00:00.000Z","updatedBy":"example","lastEditedByName":"Workshop registration","valid":true,"issues":[{"code":"invalid_format","format":"date","path":["example"],"message":"example"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"stale_revision","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Request/schema validation failed (details.issues). Some input constraints omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestValidationError"},"examples":{"requestShape":{"summary":"Request/schema validation (details.issues)","value":{"error":"Request validation failed","code":"validation_error","requestId":"req_example","details":{"issues":[{"code":"invalid_type","path":["baseRevision"],"message":"Invalid input: expected number, received string"}]}}}}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveDraftRequest"},"example":{"baseRevision":1,"name":"Workshop registration","description":"Register for the January community workshop.","content":{"schemaVersion":2,"locale":"en","elements":[{"id":"017b67cb-a065-4f38-9ea3-bfe9b1f20191","type":"input","inputType":"text","submissionKey":"full_name","label":"Your full name","required":true,"placeholder":"Alex Morgan"}]}}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/edit-lock/acquire":{"post":{"operationId":"post_v1_forms_by_id_edit_lock_acquire","summary":"Create or run forms / edit lock / acquire","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Administration and interactive editing"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0039"},{"$ref":"#/components/schemas/Shape0040"},{"$ref":"#/components/schemas/Shape0041"}]},"example":{"owned":true,"expiresAt":null,"holderName":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputce06b63383ba"},"example":{"sessionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/forms/{id}/edit-lock/release":{"post":{"operationId":"post_v1_forms_by_id_edit_lock_release","summary":"Create or run forms / edit lock / release","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Administration and interactive editing"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0039"},{"$ref":"#/components/schemas/Shape0040"},{"$ref":"#/components/schemas/Shape0041"}]},"example":{"owned":true,"expiresAt":null,"holderName":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputce06b63383ba"},"example":{"sessionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/forms/{id}/edit-lock/renew":{"post":{"operationId":"post_v1_forms_by_id_edit_lock_renew","summary":"Create or run forms / edit lock / renew","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Administration and interactive editing"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0039"},{"$ref":"#/components/schemas/Shape0040"},{"$ref":"#/components/schemas/Shape0041"}]},"example":{"owned":true,"expiresAt":null,"holderName":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputce06b63383ba"},"example":{"sessionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/forms/{id}/history":{"get":{"operationId":"get_v1_forms_by_id_history","summary":"List forms / history","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"before","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"example":1}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0204"},"example":{"entries":[{"actions":[{"kind":"description"}],"isCollecting":true,"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","revision":1,"editors":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}],"savedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","createdAt":"2027-01-15T10:00:00.000Z","summary":"example","summarySource":"automatic"}],"nextCursor":null,"revision":1,"canUndo":true,"canRedo":true,"undoDescription":"Register for the January community workshop.","redoDescription":"Register for the January community workshop.","undoActions":[{"kind":"description"}],"redoActions":[{"kind":"description"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/history/{operation}":{"post":{"operationId":"post_v1_forms_by_id_history_by_operation","summary":"Create or run forms / history","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change. operation is undo, redo, or restore. All require baseRevision; restore additionally requires snapshotId. History edits produce a new revision.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"operation","in":"path","required":true,"schema":{"type":"string","enum":["undo","redo","restore"]}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0210"},{"$ref":"#/components/schemas/Shape0211"}]},"example":{"revision":1,"valid":true,"updatedAt":"2027-01-15T10:00:00.000Z","updatedBy":"example","lastEditedByName":"Workshop registration","name":"Workshop registration","description":"Register for the January community workshop.","descriptionAuto":true,"content":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"baseRevision":{"type":"integer","minimum":1},"snapshotId":{"type":"string","format":"uuid","description":"Required only for operation=restore."}},"required":["baseRevision"]},"example":{"baseRevision":3,"snapshotId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11"}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/history/{snapshotId}":{"get":{"operationId":"get_v1_forms_by_id_history_by_snapshotId","summary":"Read forms / history","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"snapshotId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0276"},"example":{"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","revision":1,"before":{"name":"Workshop registration","description":"Register for the January community workshop.","content":null},"after":{"name":"Workshop registration","description":"Register for the January community workshop.","content":null},"editors":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}],"savedAt":"2027-01-15T10:00:00.000Z","summary":"example","summarySource":"automatic","summaryAttempts":1,"summaryNextAttemptAt":"2027-01-15T10:00:00.000Z"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/move":{"post":{"operationId":"post_v1_forms_by_id_move","summary":"Create or run forms / move","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0249"},"example":{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","folderId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","trashBatchId":null,"name":"Workshop registration","description":"Register for the January community workshop.","descriptionAuto":true,"position":1,"style":{"colorScheme":"#2563eb"},"nextVersionNumber":1,"latestPublishedVersionId":null,"managedBy":null,"externalReference":null,"workflowReference":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input05db402058ba"},"example":{"folderId":null,"position":0}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/publish":{"post":{"operationId":"post_v1_forms_by_id_publish","summary":"Publish the current valid draft","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change. For advanced field types, conditions, tables, and layouts, fetch [GET /v1/schemas/form](/v1/schemas/form). In MCP, describe_operation then call_operation with operationId get_v1_schemas_form. Draft and published structural schemas are returned; referenced definitions also accompany this operation description. Use POST /v1/forms/validate for publication constraints beyond JSON Schema.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0248"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","number":1,"publishedAt":"2027-01-15T10:00:00.000Z","alreadyPublished":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0248"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","number":1,"publishedAt":"2027-01-15T10:00:00.000Z","alreadyPublished":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Request/schema validation failed (details.issues). Some input constraints omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestValidationError"},"examples":{"requestShape":{"summary":"Request/schema validation (details.issues)","value":{"error":"Request validation failed","code":"validation_error","requestId":"req_example","details":{"issues":[{"code":"invalid_format","path":["id"],"message":"Invalid UUID"}]}}}}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/restore":{"post":{"operationId":"post_v1_forms_by_id_restore","summary":"Create or run forms / restore","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0214"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","movedToTopLevel":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/style":{"get":{"operationId":"get_v1_forms_by_id_style","summary":"List forms / style","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Branding and styles"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0068"},"example":{"style":{"colorScheme":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}},"defaultStyle":{"colorScheme":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}},"effectiveStyle":{"colorScheme":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true},"put":{"operationId":"put_v1_forms_by_id_style","summary":"Replace forms / style","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Branding and styles"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0068"},"example":{"style":{"colorScheme":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}},"defaultStyle":{"colorScheme":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}},"effectiveStyle":{"colorScheme":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input8cab4dae338b"},"example":{"style":{"colorScheme":"forest"}}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/tags":{"put":{"operationId":"put_v1_forms_by_id_tags","summary":"Replace forms / tags","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0250"},"example":{"tagIds":[]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input13266c665060"},"example":{"tagIds":[]}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/unpublish":{"post":{"operationId":"post_v1_forms_by_id_unpublish","summary":"Create or run forms / unpublish","description":"Organization-scoped API operation. Required granular scopes: forms:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0247"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","alreadyDraft":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputfd38472b8125"},"example":{"expectedPublishedVersion":1}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/versions":{"get":{"operationId":"get_v1_forms_by_id_versions","summary":"List forms / versions","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100},"example":50},{"name":"before","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"example":1}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0316"},"example":{"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","number":1,"name":"Workshop registration","publishedAt":"2027-01-15T10:00:00.000Z","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}],"nextCursor":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/versions/{versionId}":{"get":{"operationId":"get_v1_forms_by_id_versions_by_versionId","summary":"Read forms / versions","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Forms and versions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"versionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0318"},"example":{"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","number":1,"name":"Workshop registration","description":"Register for the January community workshop.","content":{"schemaVersion":2,"elements":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","label":"Your full name","submissionKey":"full_name","required":true,"type":"appointment","bookingPageId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}]},"contentHash":"example","publishedAt":"2027-01-15T10:00:00.000Z"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/{id}/workflow-connections":{"get":{"operationId":"get_v1_forms_by_id_workflow_connections","summary":"List forms / workflow connections","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments.","tags":["Workflow connections"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0111"},"example":{"managedWorkflow":{"url":"https://example.org/pollenforms/resource","workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","workflowVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","nodeId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"},"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","campaignId":"48cf8eb0-62fc-4a3d-ae89-47f463230c62","campaignName":"Workshop registration","workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","processId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","state":"active"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/forms/validate":{"post":{"operationId":"post_v1_forms_validate","summary":"Validate a form without saving it","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. For advanced field types, conditions, tables, and layouts, fetch [GET /v1/schemas/form](/v1/schemas/form). In MCP, describe_operation then call_operation with operationId get_v1_schemas_form. Draft and published structural schemas are returned; referenced definitions also accompany this operation description. Use POST /v1/forms/validate for publication constraints beyond JSON Schema. Invalid form content returns HTTP 200 with {valid:false,issues:[...]}; HTTP 422 indicates an invalid outer request envelope.","tags":["Forms and versions"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0281"},"example":{"valid":false,"issues":[{"code":"invalid_type","expected":"object","path":[],"message":"Invalid input: expected object, received string"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Request/schema validation failed (details.issues). Some input constraints omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestValidationError"},"examples":{"requestShape":{"summary":"Request/schema validation (details.issues)","value":{"error":"Request validation failed","code":"validation_error","requestId":"req_example","details":{"issues":[{"code":"invalid_type","path":[],"message":"Invalid input: expected object, received string"}]}}}}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input20acc0e8daf2"},"example":{"content":{"schemaVersion":2,"locale":"en","elements":[{"id":"017b67cb-a065-4f38-9ea3-bfe9b1f20191","type":"input","inputType":"text","submissionKey":"full_name","label":"Your full name","required":true,"placeholder":"Alex Morgan"}]}}}}},"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/integrations/auraflow/campaigns/{campaignId}/submissions/{submissionId}/files/{fileId}":{"get":{"operationId":"get_v1_integrations_auraflow_campaigns_by_campaignId_submissions_by_submissionId_files_by_fileId","summary":"Read integrations / auraflow / campaigns / submissions / files","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"campaignId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"submissionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"fileId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/campaigns/{id}/email-form":{"post":{"operationId":"post_v1_integrations_auraflow_campaigns_by_id_email_form","summary":"Create or run integrations / auraflow / campaigns / email form","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["AuraFlow service integration"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Shape0070"},{"$ref":"#/components/schemas/Shape0072"}]},"example":{"supported":true,"theme":{"accent":"#2563eb","background":"#2563eb","ink":"#2563eb","border":"example","onAccent":"#2563eb","link":"#2563eb"}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input68fbb2d60ded"},"example":{"sender":"alex@example.org","message":"example"}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/campaigns/by-correlation/{reference}/close":{"post":{"operationId":"post_v1_integrations_auraflow_campaigns_by_correlation_by_reference_close","summary":"Create or run integrations / auraflow / campaigns / by correlation / close","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0258"},"example":{"campaignId":"48cf8eb0-62fc-4a3d-ae89-47f463230c62","state":"active"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/campaigns/by-correlation/{reference}/reconcile":{"post":{"operationId":"post_v1_integrations_auraflow_campaigns_by_correlation_by_reference_reconcile","summary":"Create or run integrations / auraflow / campaigns / by correlation / reconcile","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0260"},"example":{"campaignId":"48cf8eb0-62fc-4a3d-ae89-47f463230c62","state":"active","submission":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","values":{"full_name":null},"acceptedAt":"2027-01-15T10:00:00.000Z"}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/form-proposals":{"post":{"operationId":"post_v1_integrations_auraflow_form_proposals","summary":"Create or run integrations / auraflow / form proposals","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0030"},"example":{"name":"Workshop registration","fields":[{"key":"full_name","label":"Your full name","type":"example","required":true,"options":["example"]}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input7a3773c507f6"},"example":{"message":"example"}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/forms":{"get":{"operationId":"get_v1_integrations_auraflow_forms","summary":"List integrations / auraflow / forms","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"query","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":200},"example":""},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":10000},"example":1},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0253"},"example":{"items":[{"formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","formVersionNumber":1}],"nextPage":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/forms/{formTemplateId}/versions":{"get":{"operationId":"get_v1_integrations_auraflow_forms_by_formTemplateId_versions","summary":"List integrations / auraflow / forms / versions","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"formTemplateId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":10000},"example":1},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0255"},"example":{"items":[{"formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","formVersionNumber":1,"name":"Workshop registration"}],"nextPage":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/forms/{formTemplateId}/versions/{formVersionId}":{"get":{"operationId":"get_v1_integrations_auraflow_forms_by_formTemplateId_versions_by_formVersionId","summary":"Read integrations / auraflow / forms / versions","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"formTemplateId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"formVersionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0257"},"example":{"formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","formVersionNumber":1,"name":"Workshop registration","content":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/managed-forms/{reference}":{"put":{"operationId":"put_v1_integrations_auraflow_managed_forms_by_reference","summary":"Replace integrations / auraflow / managed forms","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0252"},"example":{"formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","formVersionNumber":1,"changed":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputf3d7c111a0ba"},"example":{"name":"Workshop registration","content":{"schemaVersion":2,"elements":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","label":"Your full name","submissionKey":"full_name","required":true,"type":"appointment","bookingPageId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}]}}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/response-context-grants":{"post":{"operationId":"post_v1_integrations_auraflow_response_context_grants","summary":"Create or run integrations / auraflow / response context grants","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers. Issues a narrow credential for preparing date restrictions on this workflow's pinned response form. Store the returned token as a managed workflow secret and call POST /v1/public/workflow-response-contexts before opening the response campaign. The integration service credential must never be copied into a customer workflow.","tags":["AuraFlow service integration"],"parameters":[{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0034"},"example":{"token":"REDACTED_EXAMPLE_ONLY"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input73168e7e4a32"},"example":{"workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","nodeId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11"}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/response-contexts":{"post":{"operationId":"post_v1_integrations_auraflow_response_contexts","summary":"Create or run integrations / auraflow / response contexts","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0033"},"example":{"status":"accepted"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputd906d3e08166"},"example":{"workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","invocationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","nodeId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formTemplateId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","dateRanges":{"full_name":{"min":"example","max":"example","reason":""}}}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/users":{"put":{"operationId":"put_v1_integrations_auraflow_users","summary":"Replace integrations / auraflow / users","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0259"},"example":{"synchronized":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input2e44f9f6f74d"},"example":{"users":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","email":"alex@example.org","name":"Workshop registration","role":"admin"}]}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/workflow-connections/{connectionId}/trigger-attempts":{"get":{"operationId":"get_v1_integrations_auraflow_workflow_connections_by_connectionId_trigger_attempts","summary":"List integrations / auraflow / workflow connections / trigger attempts","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0262"},"example":{"ready":true,"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","connectionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","createdAt":"2027-01-15T10:00:00.000Z","campaignName":"Workshop registration","reasonCode":"example","status":"accepted"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/workflow-connections/{connectionId}/trigger-attempts/{deliveryId}/retry":{"post":{"operationId":"post_v1_integrations_auraflow_workflow_connections_by_connectionId_trigger_attempts_by_deliveryId_retry","summary":"Create or run integrations / auraflow / workflow connections / trigger attempts / retry","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"connectionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"deliveryId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0264"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","status":"accepted"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input25c7d85c859a"},"example":{}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/workflow-intakes/{reference}":{"get":{"operationId":"get_v1_integrations_auraflow_workflow_intakes_by_reference","summary":"Read integrations / auraflow / workflow intakes","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0265"},"example":{"publicUrl":"https://example.org/pollenforms/resource","connectionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","currentRevisionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","pendingRevisionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","state":"active","formFields":[{"options":[{"label":"Your full name","value":"Alex Morgan"}],"key":"full_name","label":"Your full name","type":"number","required":true}],"templateUrl":"https://example.org/pollenforms/resource"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true},"put":{"operationId":"put_v1_integrations_auraflow_workflow_intakes_by_reference","summary":"Replace integrations / auraflow / workflow intakes","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0268"},"example":{"connectionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","revisionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","existingPending":true,"secret":"REDACTED_EXAMPLE_ONLY","command":null,"publicUrl":"https://example.org/pollenforms/resource","templateUrl":"https://example.org/pollenforms/resource"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input0b9304efe95a"},"example":{"name":"Workshop registration","processId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","workflowVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","triggerNodeId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","content":{"schemaVersion":2,"elements":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","label":"Your full name","submissionKey":"full_name","required":true,"type":"appointment","bookingPageId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}]}}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/workflow-intakes/{reference}/complete":{"post":{"operationId":"post_v1_integrations_auraflow_workflow_intakes_by_reference_complete","summary":"Create or run integrations / auraflow / workflow intakes / complete","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0269"},"example":{"connectionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","state":"active"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputb681e1bbc505"},"example":{"connectionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","revisionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/workflow-intakes/{reference}/trigger-attempts":{"get":{"operationId":"get_v1_integrations_auraflow_workflow_intakes_by_reference_trigger_attempts","summary":"List integrations / auraflow / workflow intakes / trigger attempts","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0262"},"example":{"ready":true,"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","connectionId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","createdAt":"2027-01-15T10:00:00.000Z","campaignName":"Workshop registration","reasonCode":"example","status":"accepted"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/integrations/auraflow/workflow-intakes/{reference}/trigger-attempts/{deliveryId}/retry":{"post":{"operationId":"post_v1_integrations_auraflow_workflow_intakes_by_reference_trigger_attempts_by_deliveryId_retry","summary":"Create or run integrations / auraflow / workflow intakes / trigger attempts / retry","description":"Protected operational or AuraFlow integration endpoint. Ordinary organization API keys cannot call this operation. Use only the deployment's explicitly configured service identity and organization headers.","tags":["AuraFlow service integration"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string"}},{"name":"deliveryId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0264"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","status":"accepted"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input25c7d85c859a"},"example":{}}}},"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/library":{"get":{"operationId":"get_v1_library","summary":"Browse folders, forms, and tags","description":"Organization-scoped API operation. Required granular scopes: library:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0216"},"example":{"folders":[{"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","deletedAt":null,"createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","parentId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","trashBatchId":null,"name":"Workshop registration","managedWorkflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","position":1}],"tags":[{"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","deletedAt":null,"createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}],"forms":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","editingBy":"example","name":"Workshop registration","description":"Register for the January community workshop.","folderId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","position":1,"tags":[null],"draftRevision":1,"draftValid":true,"latestPublishedVersion":1,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["library:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/me":{"get":{"operationId":"get_v1_me","summary":"Read the authenticated identity and organization","description":"Organization-scoped API operation. Required granular scopes: none beyond a valid identity. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0321"},"example":{"organizationName":"Workshop registration","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","email":"alex@example.org","role":"admin"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":[],"x-access":"api-key","x-documentation-complete":true}},"/v1/operations/health":{"get":{"operationId":"get_v1_operations_health","summary":"List operations / health","description":"Operational diagnostic, not an ordinary API-key operation. Uses the deployment's monitoring credential or explicitly supported service identity. Metrics/readiness return Prometheus text; health can return JSON.","tags":["Administration and interactive editing"],"parameters":[{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0124"},"example":{"stale_tasks":1,"overdue_deliveries":1,"failed_deliveries":1,"stalled_uploads":1,"status":"accepted"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0124"},"example":{"stale_tasks":1,"overdue_deliveries":1,"failed_deliveries":1,"stalled_uploads":1,"status":"accepted"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"AuraFlowService":[]},{"MonitoringBasic":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/operations/metrics":{"get":{"operationId":"get_v1_operations_metrics","summary":"List operations / metrics","description":"Operational diagnostic, not an ordinary API-key operation. Uses the deployment's monitoring credential or explicitly supported service identity. Metrics/readiness return Prometheus text; health can return JSON.","tags":["Administration and interactive editing"],"parameters":[{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"text/plain":{"schema":{"type":"string"},"example":"pollenforms_browser_api_ready 1\n"}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"MonitoringBasic":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/operations/ready":{"get":{"operationId":"get_v1_operations_ready","summary":"List operations / ready","description":"Operational diagnostic, not an ordinary API-key operation. Uses the deployment's monitoring credential or explicitly supported service identity. Metrics/readiness return Prometheus text; health can return JSON.","tags":["Administration and interactive editing"],"parameters":[{"name":"X-PollenForms-Organization-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Organization for the explicitly configured service principal; not a way for an API key to select another tenant."}],"responses":{"200":{"description":"Succeeded.","content":{"text/plain":{"schema":{"type":"string"},"example":"pollenforms_browser_api_ready 1\n"}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"MonitoringBasic":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"service","x-documentation-complete":true}},"/v1/public/assets/{token}":{"get":{"operationId":"get_v1_public_assets_by_token","summary":"Read public / assets","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}}],"responses":{"302":{"description":"Redirect to a short-lived signed URL. Follow Location; do not persist it.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."},"Location":{"schema":{"type":"string","format":"uri"}}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/bookings/{token}":{"get":{"operationId":"get_v1_public_bookings_by_token","summary":"Read public / bookings","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0160"},"example":{"page":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","title":"Workshop registration","description":"Register for the January community workshop.","timeZone":"Europe/Berlin","bookingHorizonDays":1},"resources":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","kind":"example","name":"Workshop registration"}],"slots":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","resourceId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","startsAt":"2027-01-15T10:00:00.000Z","endsAt":"2027-01-15T10:30:00.000Z"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/bookings/{token}/appointments":{"post":{"operationId":"post_v1_public_bookings_by_token_appointments","summary":"Create or run public / bookings / appointments","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0168"},"example":{"appointment":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","slotId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","title":"Workshop registration","startsAt":"2027-01-15T10:00:00.000Z","endsAt":"2027-01-15T10:30:00.000Z","timeZone":"Europe/Berlin","resource":"example"},"reference":"example"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input9ed7cd22db23"},"example":{"slotId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","name":"Alex Morgan","email":"alex@example.org","notes":"I would like to discuss accessibility."}}}},"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/bookings/page/{id}":{"get":{"operationId":"get_v1_public_bookings_page_by_id","summary":"Read public / bookings / page","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0160"},"example":{"page":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","title":"Workshop registration","description":"Register for the January community workshop.","timeZone":"Europe/Berlin","bookingHorizonDays":1},"resources":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","kind":"example","name":"Workshop registration"}],"slots":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","resourceId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","startsAt":"2027-01-15T10:00:00.000Z","endsAt":"2027-01-15T10:30:00.000Z"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/branding/{id}/logo":{"get":{"operationId":"get_v1_public_branding_by_id_logo","summary":"List public / branding / logo","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"302":{"description":"Redirect to a short-lived signed URL. Follow Location; do not persist it.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."},"Location":{"schema":{"type":"string","format":"uri"}}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}":{"get":{"operationId":"get_v1_public_campaigns_by_token","summary":"Open a respondent form and obtain its form session","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"partialResponseId","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"example":"815a669c-f74b-4b59-9c0f-c90f8be3d672"},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0193"},"example":{"formSession":"example","newerVersionAvailable":true,"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","form":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","description":"Register for the January community workshop.","introduction":"example","style":{"colorScheme":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}},"content":{"schemaVersion":2,"elements":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","label":"Your full name","submissionKey":"full_name","required":true,"type":"appointment","bookingPageId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}]}},"assetUrls":null,"protectedVideoAssetIds":["d015ddcd-832a-4f58-bf12-b131b0f622c6"],"signedInAs":{"name":"Workshop registration","email":"alex@example.org"},"unavailable":true,"allowRepeatSubmission":true,"discardProgress":true,"unavailableReason":"example"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/assets/{id}":{"get":{"operationId":"get_v1_public_campaigns_by_token_assets_by_id","summary":"Read public / campaigns / assets","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0131"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","status":"accepted"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/assets/{id}/complete":{"post":{"operationId":"post_v1_public_campaigns_by_token_assets_by_id_complete","summary":"Create or run public / campaigns / assets / complete","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0129"},"example":{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","campaignId":"48cf8eb0-62fc-4a3d-ae89-47f463230c62","submissionId":"815a669c-f74b-4b59-9c0f-c90f8be3d672","partialResponseId":"815a669c-f74b-4b59-9c0f-c90f8be3d672","uploadIpHash":"example","pendingDeleteObjectKey":"example","kind":"example","status":"accepted","objectKey":"example","originalFilename":"registration.pdf","mediaType":"application/pdf","sizeBytes":24576,"variants":null,"reservationExpiresAt":"2027-01-15T10:00:00.000Z","processingStartedAt":"2027-01-15T10:00:00.000Z","processingAttempts":1,"nextProcessingAt":"2027-01-15T10:00:00.000Z","purgeAfter":"2027-01-15T10:00:00.000Z"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/assets/upload-intents":{"post":{"operationId":"post_v1_public_campaigns_by_token_assets_upload_intents","summary":"Create or run public / campaigns / assets / upload intents","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0127"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","uploadUrl":"https://example.org/pollenforms/resource","method":"PUT","headers":{"content-type":"example","x-amz-server-side-encryption":"example"},"expiresInSeconds":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input8875ba03ab88"},"example":{"kind":"submission_file","filename":"registration.pdf","mediaType":"application/pdf","sizeBytes":24576}}}},"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/downloads/{assetId}":{"get":{"operationId":"get_v1_public_campaigns_by_token_downloads_by_assetId","summary":"Read public / campaigns / downloads","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"assetId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0191"},"example":{"url":"https://example.org/pollenforms/resource"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/email-response":{"post":{"operationId":"post_v1_public_campaigns_by_token_email_response","summary":"Create or run public / campaigns / email response","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change. Requires the signed receipt query parameter from the generated email form. Submit form-urlencoded field values, not JSON. AMP-Email-Sender must match the receipt's sender when supplied. This is a dedicated service-generated one-response workflow contract, not a general anonymous form submit endpoint.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":500}},{"name":"receipt","in":"query","required":true,"schema":{"type":"string","maxLength":2000},"example":"example"},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"201":{"description":"Accepted email-form response. AMP receives JSON; ordinary email browser submission receives confirmation HTML.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","status","acceptedAt"]},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","status":"accepted","acceptedAt":"2027-01-15T10:00:00.000Z"}},"text/html":{"schema":{"type":"string"},"example":"<!doctype html><html><body><h1>Vielen Dank!</h1></body></html>"}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","additionalProperties":{"type":"string","maxLength":100000}},"example":{"full_name":"Alex Morgan"}}}},"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/media/{assetId}/session":{"post":{"operationId":"post_v1_public_campaigns_by_token_media_by_assetId_session","summary":"Create or run public / campaigns / media / session","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"assetId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0201"},"example":{"url":"https://example.org/pollenforms/resource","expiresInSeconds":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/media/{assetId}/stream":{"get":{"operationId":"get_v1_public_campaigns_by_token_media_by_assetId_stream","summary":"List public / campaigns / media / stream","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies. Obtain a media-session cookie first and preserve it. Supports byte ranges; invalid ranges return 416 with Content-Range.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"assetId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."},{"name":"Range","in":"header","required":false,"schema":{"type":"string"},"example":"bytes=0-1048575"}],"responses":{"200":{"description":"Succeeded.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"206":{"description":"Partial media bytes. A valid media session cookie is required.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."},"Content-Range":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"type":"string"}}},"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/partial-responses":{"post":{"operationId":"post_v1_public_campaigns_by_token_partial_responses","summary":"Create or run public / campaigns / partial responses","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0199"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","currentPage":1,"updatedAt":"2027-01-15T10:00:00.000Z"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Invalid request envelope (details.issues) or respondent answers/files (details array of {submissionKey,message}). Some input constraints omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RequestValidationError"},{"$ref":"#/components/schemas/RespondentFieldValidationError"}]},"examples":{"requestShape":{"summary":"Request/schema validation (details.issues)","value":{"error":"Request validation failed","code":"validation_error","requestId":"req_example","details":{"issues":[{"code":"invalid_type","path":["values"],"message":"Invalid input: expected object, received string"}]}}},"fieldValues":{"summary":"Respondent field validation (details array)","value":{"error":"Partial response validation failed","code":"validation_error","requestId":"req_example","details":[{"submissionKey":"full_name","message":"This field is required"}]}}}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input1a65ac40dd6b"},"example":{"formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","values":{"full_name":"Alex Morgan"},"currentPage":0}}}},"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/partial-responses/{id}":{"get":{"operationId":"get_v1_public_campaigns_by_token_partial_responses_by_id","summary":"Read public / campaigns / partial responses","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0198"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","filePreviewUrls":null,"values":{"full_name":"Alex Morgan"},"currentPage":1,"updatedAt":"2027-01-15T10:00:00.000Z"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true},"put":{"operationId":"put_v1_public_campaigns_by_token_partial_responses_by_id","summary":"Replace public / campaigns / partial responses","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0200"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","currentPage":1,"updatedAt":"2027-01-15T10:00:00.000Z"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Invalid request envelope (details.issues) or respondent answers/files (details array of {submissionKey,message}). Some input constraints omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RequestValidationError"},{"$ref":"#/components/schemas/RespondentFieldValidationError"}]},"examples":{"requestShape":{"summary":"Request/schema validation (details.issues)","value":{"error":"Request validation failed","code":"validation_error","requestId":"req_example","details":{"issues":[{"code":"invalid_type","path":["values"],"message":"Invalid input: expected object, received string"}]}}},"fieldValues":{"summary":"Respondent field validation (details array)","value":{"error":"Partial response validation failed","code":"validation_error","requestId":"req_example","details":[{"submissionKey":"full_name","message":"This field is required"}]}}}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input1a65ac40dd6b"},"example":{"formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","values":{"full_name":"Alex Morgan"},"currentPage":0}}}},"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/submissions":{"post":{"operationId":"post_v1_public_campaigns_by_token_submissions","summary":"Submit a respondent form idempotently","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200},"example":"workshop-registration-alex-2027-01","description":"Generate once per logical submission. Reuse exactly this key when retrying the same submission after a lost response."},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0203"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","status":"accepted","acceptedAt":"2027-01-15T10:00:00.000Z"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Invalid request envelope (details.issues) or respondent answers/files (details array of {submissionKey,message}). Some input constraints omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RequestValidationError"},{"$ref":"#/components/schemas/RespondentFieldValidationError"}]},"examples":{"requestShape":{"summary":"Request/schema validation (details.issues)","value":{"error":"Request validation failed","code":"validation_error","requestId":"req_example","details":{"issues":[{"code":"invalid_type","path":["values"],"message":"Invalid input: expected object, received string"}]}}},"fieldValues":{"summary":"Respondent field validation (details array)","value":{"error":"Submission validation failed","code":"validation_error","requestId":"req_example","details":[{"submissionKey":"full_name","message":"This field is required"}]}}}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitCampaignRequest"},"example":{"formVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","values":{"full_name":"Alex Morgan"}}}}},"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/transcriptions":{"post":{"operationId":"post_v1_public_campaigns_by_token_transcriptions","summary":"Create or run public / campaigns / transcriptions","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies. Active interactive editing leases can reject writes with HTTP 423. Refresh the resource after HTTP 409 before applying a deliberate merged change. Upload raw audio bytes, not JSON or multipart data. Use a supported audio Content-Type. Transcription budgets and size limits apply.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0202"},"example":{"transcript":"example"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"requestBody":{"required":true,"content":{"audio/webm":{"schema":{"type":"string","format":"binary"}},"audio/mp4":{"schema":{"type":"string","format":"binary"}},"audio/wav":{"schema":{"type":"string","format":"binary"}}}},"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/campaigns/{token}/version":{"get":{"operationId":"get_v1_public_campaigns_by_token_version","summary":"List public / campaigns / version","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"formVersionId","in":"query","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"example":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11"},{"name":"X-Pollen-Form-Session","in":"header","required":false,"schema":{"type":"string"},"description":"Use formSession returned when opening the campaign to retain its form revision. Required when continuing a pinned form session."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0192"},"example":{"newerVersionAvailable":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/partial-responses/{id}":{"delete":{"operationId":"delete_v1_public_partial_responses_by_id","summary":"Soft-delete public / partial responses","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/partial-responses/lookup":{"post":{"operationId":"post_v1_public_partial_responses_lookup","summary":"Create or run public / partial responses / lookup","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0196"},"example":{"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","campaignName":"Workshop registration","formName":"Workshop registration","currentPage":1,"pageCount":1,"locale":"en","updatedAt":"2027-01-15T10:00:00.000Z","resumePath":"example","restartRequired":true}],"discardedIds":[]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input3504a79f2639"},"example":{"ids":["815a669c-f74b-4b59-9c0f-c90f8be3d672"]}}}},"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/workflow-assets/{deliveryId}/{assetId}/{signature}":{"get":{"operationId":"get_v1_public_workflow_assets_by_deliveryId_by_assetId_by_signature","summary":"Read public / workflow assets","description":"Respondent endpoint. No organization API key is required for public audiences. Organization and selected-user audiences require the respondent's interactive identity; an API key does not bypass campaign access, signed links, session receipts, expiry, or media cookies.","tags":["Respondent API"],"parameters":[{"name":"deliveryId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"assetId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"signature","in":"path","required":true,"schema":{"type":"string","maxLength":100}}],"responses":{"302":{"description":"Redirect to a short-lived signed URL. Follow Location; do not persist it.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."},"Location":{"schema":{"type":"string","format":"uri"}}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/public/workflow-response-contexts":{"post":{"operationId":"post_v1_public_workflow_response_contexts","summary":"Prepare a case-specific response date range","description":"Supply the narrow Bearer credential issued by POST /v1/integrations/auraflow/response-context-grants. It is bound to one organization, workflow node and immutable form version; it grants no form, response or campaign access. Prepare the range before the workflow opens its response campaign. Exact retries are safe; conflicting restrictions return 409. Campaigns freeze the prepared range and reject out-of-range dates server-side.","tags":["Respondent API"],"parameters":[{"name":"Authorization","in":"header","required":true,"schema":{"type":"string"},"description":"Bearer <form-scoped response-context grant>. Keep this credential in managed secrets; never supply the cross-organization service token."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0033"},"example":{"status":"accepted"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input2974cf4c02ec"},"example":{"invocationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","dateRanges":{"full_name":{"min":"example","max":"example","reason":""}}}}}},"x-api-key-allowed":false,"x-required-scopes":[],"x-access":"public","x-documentation-complete":true}},"/v1/resource-context":{"get":{"operationId":"get_v1_resource_context","summary":"List resource context","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply.","tags":["Administration and interactive editing"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0079"},"example":{"foreign":true,"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/schemas/form":{"get":{"operationId":"get_v1_schemas_form","summary":"Get machine-readable form content schemas","description":"Organization-scoped API operation. Required granular scopes: forms:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Forms and versions"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0282"},"example":{"draft":{"~standard":{"version":1,"vendor":"example","jsonSchema":{}}},"published":{"~standard":{"version":1,"vendor":"example","jsonSchema":{}}},"validation":"example"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["forms:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/style-defaults":{"get":{"operationId":"get_v1_style_defaults","summary":"List style defaults","description":"Organization-scoped API operation. Required granular scopes: branding:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Branding and styles"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0063"},"example":{"style":{"colorScheme":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["branding:read"],"x-access":"api-key","x-documentation-complete":true},"put":{"operationId":"put_v1_style_defaults","summary":"Replace style defaults","description":"Organization-scoped API operation. Required granular scopes: branding:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Requires an admin/user_admin-owned key with explicit branding:write. Legacy write alone is insufficient.","tags":["Branding and styles"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0067"},"example":{"style":{"colorScheme":{"name":"Workshop registration","accent":"#2563eb","background":"#2563eb","ink":"#2563eb"}}}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputc7687a63c5c0"},"example":{"style":{"colorScheme":"forest"}}}}},"x-api-key-allowed":true,"x-required-scopes":["branding:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/superadmin/organizations":{"get":{"operationId":"get_v1_superadmin_organizations","summary":"List superadmin / organizations","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply.","tags":["Administration and interactive editing"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0080"},"example":{"windowHours":1,"organizations":[{"campaigns":[{"live":true,"health":{"attempts":1,"failures":1,"failureRate":1,"status":"accepted"},"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","state":"active","deadline":null}],"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/superadmin/organizations/{id}":{"get":{"operationId":"get_v1_superadmin_organizations_by_id","summary":"Read superadmin / organizations","description":"Interactive human access is required. Ordinary API keys are not accepted; the account's organization role and permissions still apply.","tags":["Administration and interactive editing"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0084"},"example":{"organization":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"},"forms":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}],"campaigns":[{"live":true,"health":{"attempts":1,"failures":1,"failureRate":1,"status":"accepted"},"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","state":"active","deadline":null}],"windowHours":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"HumanSession":[]}],"x-api-key-allowed":false,"x-required-scopes":null,"x-access":"human","x-documentation-complete":true}},"/v1/tags":{"post":{"operationId":"post_v1_tags","summary":"Create or run tags","description":"Organization-scoped API operation. Required granular scopes: library:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0224"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","deletedAt":null}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputc639d662bacb"},"example":{"name":"Community workshops"}}}},"x-api-key-allowed":true,"x-required-scopes":["library:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/tags/{id}":{"delete":{"operationId":"delete_v1_tags_by_id","summary":"Soft-delete tags","description":"Organization-scoped API operation. Required granular scopes: library:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"204":{"description":"Succeeded; no response body.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["library:write"],"x-access":"api-key","x-documentation-complete":true},"patch":{"operationId":"patch_v1_tags_by_id","summary":"Update tags","description":"Organization-scoped API operation. Required granular scopes: library:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0225"},"example":{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputc639d662bacb"},"example":{"name":"Workshop registration"}}}},"x-api-key-allowed":true,"x-required-scopes":["library:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/tags/{id}/restore":{"post":{"operationId":"post_v1_tags_by_id_restore","summary":"Create or run tags / restore","description":"Organization-scoped API operation. Required granular scopes: library:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0225"},"example":{"deletedAt":null,"createdAt":"2027-01-15T10:00:00.000Z","updatedAt":"2027-01-15T10:00:00.000Z","createdBy":"example","updatedBy":"example","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","organizationId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["library:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/trash":{"get":{"operationId":"get_v1_trash","summary":"List trash","description":"Organization-scoped API operation. Required granular scopes: library:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide.","tags":["Library and organization"],"parameters":[],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0212"},{"$ref":"#/components/schemas/Shape0213"}]}},"example":[{"deletedAt":"example","type":"form","id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration"}]}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["library:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/workflow-categories":{"get":{"operationId":"get_v1_workflow_categories","summary":"List workflow categories","description":"Organization-scoped API operation. Required granular scopes: workflows:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments.","tags":["Workflow connections"],"parameters":[{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0116"},"example":{"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","path":"example","mapId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}]}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["workflows:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/workflow-processes":{"get":{"operationId":"get_v1_workflow_processes","summary":"List workflow processes","description":"Organization-scoped API operation. Required granular scopes: workflows:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments.","tags":["Workflow connections"],"parameters":[{"name":"search","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":200},"example":""},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"example":1},{"name":"map_id","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"example":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"},{"name":"category_id","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"example":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"},{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0118"},"example":{"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","category":"example"}],"next_page":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["workflows:read"],"x-access":"api-key","x-documentation-complete":true}},"/v1/workflows":{"get":{"operationId":"get_v1_workflows","summary":"List workflows","description":"Organization-scoped API operation. Required granular scopes: workflows:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments.","tags":["Workflow connections"],"parameters":[{"name":"name","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":200},"example":""},{"name":"process_name","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":200},"example":""},{"name":"category","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":200},"example":""},{"name":"process_id","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"example":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"},{"name":"map_id","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"example":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"},{"name":"category_id","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"example":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"example":1},{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0114"},"example":{"items":[{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","process_id":"example","process_name":"Workshop registration","category":"example","latest_version_number":1,"enabled":true}],"next_page":1}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["workflows:read"],"x-access":"api-key","x-documentation-complete":true},"post":{"operationId":"post_v1_workflows","summary":"Create or run workflows","description":"Organization-scoped API operation. Required granular scopes: workflows:write. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments.","tags":["Workflow connections"],"parameters":[{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0115"},"example":{"id":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","process_id":"example","process_name":"Workshop registration","category":"example","latest_version_number":1,"enabled":true}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inputa7b0143647e4"},"example":{"name":"Workshop registration","processId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120"}}}},"x-api-key-allowed":true,"x-required-scopes":["workflows:write"],"x-access":"api-key","x-documentation-complete":true}},"/v1/workflows/{processId}/{workflowId}/input":{"get":{"operationId":"get_v1_workflows_by_processId_by_workflowId_input","summary":"List workflows / input","description":"Organization-scoped API operation. Required granular scopes: workflows:read. Resource ownership and organization roles are also enforced. Legacy read/write scope behavior is described in the guide. Calls that read or mutate AuraFlow also require X-AuraFlow-Authorization: Bearer <your AuraFlow session> (and, when required by your login, X-Zitadel-Id-Token). The server verifies the same approved user and organization and enforces AuraFlow process ACLs. It never forwards the PollenForms key upstream. Missing authorization returns 403 auraflow_authorization_required; identity mismatch returns 403 auraflow_identity_mismatch. Configure these as MCP transport headers, never tool arguments.","tags":["Workflow connections"],"parameters":[{"name":"processId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"workflowId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"X-AuraFlow-Authorization","in":"header","required":false,"schema":{"type":"string"},"description":"Independent Bearer session for the same approved AuraFlow user and organization. Required when this operation invokes AuraFlow. Keep in transport headers, never tool arguments."},{"name":"X-Zitadel-Id-Token","in":"header","required":false,"schema":{"type":"string"},"description":"Paired interactive login proof when required by the identity provider."}],"responses":{"200":{"description":"Succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shape0101"},"example":{"workflowId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","name":"Workshop registration","activeVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","latestVersionId":"083488cf-a90b-4f7f-998a-c2d1ecf9ab11","triggerNodeId":"3b569ed4-6c01-4b0c-9a44-9a7faf0db120","inputSchema":{"full_name":null},"fields":[{"key":"full_name","type":"example","required":true}],"readinessReason":"example"}}},"headers":{"x-request-id":{"schema":{"type":"string"},"description":"Correlation ID for support."}}},"400":{"description":"Malformed request, JSON, or required header.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Malformed request, JSON, or required header.","code":"bad_request","requestId":"req_01jxy4br8p"}}}},"401":{"description":"Authentication is missing, invalid, expired, or revoked.","headers":{"x-request-id":{"schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer challenge."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Authentication is missing, invalid, expired, or revoked.","code":"unauthorized","requestId":"req_01jxy4br8p"}}}},"403":{"description":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Insufficient key scopes, organization role, audience access, or independent AuraFlow authorization.","code":"insufficient_scope","requestId":"req_01jxy4br8p"}}}},"404":{"description":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Resource not found in the caller's organization, inaccessible, or soft-deleted.","code":"not_found","requestId":"req_01jxy4br8p"}}}},"409":{"description":"Stale revision, conflicting state, incompatible form update, or duplicate action. Read current state before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"This draft changed while you were editing it","code":"conflict","requestId":"req_01jxy4br8p"}}}},"410":{"description":"Campaign, upload grant, or signed link is no longer available.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Campaign, upload grant, or signed link is no longer available.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"413":{"description":"Request body, upload, or generated sample exceeds the supported size.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Request body, upload, or generated sample exceeds the supported size.","code":"payload_too_large","requestId":"req_01jxy4br8p"}}}},"415":{"description":"Unsupported content or media type.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unsupported content or media type.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"416":{"description":"Requested media byte range is unavailable. See Content-Range.","headers":{"x-request-id":{"schema":{"type":"string"}},"Content-Range":{"schema":{"type":"string"},"description":"Unsatisfied byte range, for example bytes */24576."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Requested media byte range is unavailable. See Content-Range.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"422":{"description":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Input validation failed. Request/schema issues use details.issues; respondent field errors use a details array of {submissionKey,message}. Some errors omit details.","code":"validation_error","requestId":"req_01jxy4br8p"}}}},"423":{"description":"A live editing lease prevents this write. Wait for the lease holder or lease expiry; do not take over another editor's lease.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Form is being edited by Alex Morgan","code":"edit_locked","requestId":"req_01jxy4br8p"}}}},"429":{"description":"Rate limit exceeded. Respect Retry-After when returned.","headers":{"x-request-id":{"schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until retry when available."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Rate limit exceeded. Respect Retry-After when returned.","code":"rate_limited","requestId":"req_01jxy4br8p"}}}},"500":{"description":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"Unexpected server failure. Use requestId or x-request-id for support; reconcile writes before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"502":{"description":"An upstream integration or storage provider failed.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream integration or storage provider failed.","code":"internal_error","requestId":"req_01jxy4br8p"}}}},"503":{"description":"A required dependency or configured feature is temporarily unavailable.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"A required dependency or configured feature is temporarily unavailable.","code":"service_unavailable","requestId":"req_01jxy4br8p"}}}},"504":{"description":"An upstream request timed out. Reconcile external side effects before retrying.","headers":{"x-request-id":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"},"example":{"error":"An upstream request timed out. Reconcile external side effects before retrying.","code":"internal_error","requestId":"req_01jxy4br8p"}}}}},"security":[{"ApiKey":[]},{"HumanSession":[]}],"x-api-key-allowed":true,"x-required-scopes":["workflows:read"],"x-access":"api-key","x-documentation-complete":true}}},"components":{"schemas":{"Inputbc43190c9f0e":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"event":{"type":"string","enum":["previewed","received","applied","unchanged","discarded","undone","saved","published","client_failed"]}},"required":["requestId","event"],"additionalProperties":false},"Shape0001":{"type":"object","properties":{"transcript":{"type":"string"}},"required":["transcript"],"additionalProperties":false},"Shape0004":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"type":"string","enum":["en","de"]},"elements":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0005"},{"$ref":"#/components/schemas/Shape0009"},{"$ref":"#/components/schemas/Shape0012"},{"$ref":"#/components/schemas/Shape0013"},{"$ref":"#/components/schemas/Shape0015"},{"$ref":"#/components/schemas/Shape0016"},{"$ref":"#/components/schemas/Shape0017"},{"$ref":"#/components/schemas/Shape0018"},{"$ref":"#/components/schemas/Shape0019"},{"$ref":"#/components/schemas/Shape0020"},{"$ref":"#/components/schemas/Shape0021"},{"$ref":"#/components/schemas/Shape0022"},{"$ref":"#/components/schemas/Shape0023"},{"$ref":"#/components/schemas/Shape0024"},{"$ref":"#/components/schemas/Shape0026"},{"$ref":"#/components/schemas/Shape0027"}]}},"presentation":{"type":"string","enum":["classic","cardStack"]}},"required":["schemaVersion","locale","elements"],"additionalProperties":false},"Shape0005":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"type":"null"},{"type":"string"}]},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","width","conditions","label","submissionKey","required","description","type","bookingPageId"],"additionalProperties":false},"Shape0006":{"type":"object","properties":{"submissionKey":{"type":"string"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"],"additionalProperties":false},"Shape0007":{"type":"object","properties":{"submissionKey":{"type":"string"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"],"additionalProperties":false},"Shape0008":{"type":"object","properties":{"submissionKey":{"type":"string"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"],"additionalProperties":false},"Shape0009":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"},"type":{"type":"string","const":"table"},"columns":{"type":"array","items":{"$ref":"#/components/schemas/Shape0010"}},"minRows":{"type":"number"},"maxRows":{"anyOf":[{"type":"null"},{"type":"number"}]},"layout":{"type":"string","enum":["table","cards"]},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","width","conditions","label","submissionKey","required","description","type","columns","minRows","maxRows","layout"],"additionalProperties":false},"Shape0010":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"label":{"type":"string"},"inputType":{"type":"string","enum":["number","date","file","select","text","month","time","datetime","checkbox","multiselect"]},"required":{"type":"boolean"},"textFormat":{"type":"string","enum":["email","plain","url"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"type":"array","items":{"$ref":"#/components/schemas/Shape0011"}},"acceptedTypes":{"type":"array","items":{"type":"string"}},"maxSizeMb":{"type":"number"},"maxFiles":{"type":"number"}},"required":["id","key","label","inputType","required"],"additionalProperties":false},"Shape0011":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id","label","value"],"additionalProperties":false},"Shape0012":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"type":"string","enum":["main","highlight"]},"markdown":{"type":"string"},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"alignment":{"type":"string","enum":["left","right","center","justify"]}},"required":["id","width","conditions","type","style","color","markdown"],"additionalProperties":false},"Shape0013":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["number","date","email","text","month","time","datetime"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"type":"boolean"},"placeholder":{"type":"string"},"min":{"anyOf":[{"type":"null"},{"type":"number"}]},"max":{"anyOf":[{"type":"null"},{"type":"number"}]},"step":{"anyOf":[{"type":"null"},{"type":"number"}]},"integer":{"type":"boolean"},"suffix":{"type":"string"},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"textFormat":{"type":"string","enum":["email","plain","url"]},"requireValidEmail":{"type":"boolean","enum":[false,true]},"inlineWithChoice":{"type":"boolean","enum":[false,true]},"dateRange":{"$ref":"#/components/schemas/Shape0014"},"requireResponseDateRange":{"type":"boolean","enum":[false,true]}},"required":["id","width","conditions","label","submissionKey","required","description","type","inputType","textMode","allowAudioTranscription","placeholder","min","max","step","integer","suffix"],"additionalProperties":false},"Shape0014":{"type":"object","properties":{"min":{"anyOf":[{"type":"null"},{"type":"string"}]},"max":{"anyOf":[{"type":"null"},{"type":"string"}]},"reason":{"type":"string"}},"required":["min","max","reason"],"additionalProperties":false},"Shape0015":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","width","conditions","type","style"],"additionalProperties":false},"Shape0016":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"pageBreak"},"title":{"type":"string"}},"required":["id","type","title"],"additionalProperties":false},"Shape0017":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"card"},"title":{"type":"string"},"description":{"type":"string"},"background":{"anyOf":[{"type":"null"},{"type":"string"}]},"borderColor":{"anyOf":[{"type":"null"},{"type":"string"}]}},"required":["id","type","title","description","background","borderColor"],"additionalProperties":false},"Shape0018":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"type":{"type":"string","const":"section"},"title":{"type":"string"},"description":{"type":"string"},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","width","conditions","type","title","description"],"additionalProperties":false},"Shape0019":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"type":"null"},{"type":"string"}]},"alt":{"type":"string"},"caption":{"type":"string"},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"imageWidth":{"anyOf":[{"type":"null"},{"type":"number"}]},"imageAlignment":{"type":"string","enum":["left","right","center"]}},"required":["id","width","conditions","type","assetId","alt","caption"],"additionalProperties":false},"Shape0020":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"title":{"type":"string"},"caption":{"type":"string"},"transcript":{"type":"string"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"type":"null"},{"type":"string"}]},"url":{"type":"string","const":""},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","width","conditions","title","caption","transcript","type","source","assetId","url"],"additionalProperties":false},"Shape0021":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"title":{"type":"string"},"caption":{"type":"string"},"transcript":{"type":"string"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string"},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","width","conditions","title","caption","transcript","type","source","assetId","url"],"additionalProperties":false},"Shape0022":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"type":"null"},{"type":"string"}]},"title":{"type":"string"},"description":{"type":"string"},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","width","conditions","type","assetId","title","description"],"additionalProperties":false},"Shape0023":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"},"type":{"type":"string","const":"checkbox"},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","width","conditions","label","submissionKey","required","description","type"],"additionalProperties":false},"Shape0024":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"},"type":{"type":"string","const":"select"},"options":{"type":"array","items":{"$ref":"#/components/schemas/Shape0025"}},"presentation":{"type":"string","enum":["dropdown","radio"]},"optionColumns":{"type":"number"},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","width","conditions","label","submissionKey","required","description","type","options","presentation","optionColumns"],"additionalProperties":false},"Shape0025":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"conditionMatch":{"type":"string","enum":["any","all"]}},"required":["id","label","value"],"additionalProperties":false},"Shape0026":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"},"type":{"type":"string","const":"multiselect"},"options":{"type":"array","items":{"$ref":"#/components/schemas/Shape0025"}},"optionColumns":{"type":"number"},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"maxSelections":{"anyOf":[{"type":"null"},{"type":"number"}]}},"required":["id","width","conditions","label","submissionKey","required","description","type","options","optionColumns"],"additionalProperties":false},"Shape0027":{"type":"object","properties":{"id":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0006"},{"$ref":"#/components/schemas/Shape0007"},{"$ref":"#/components/schemas/Shape0008"}]}},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"},"type":{"type":"string","const":"file"},"acceptedTypes":{"type":"array","items":{"type":"string"}},"maxSizeMb":{"type":"number"},"maxFiles":{"type":"number"},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","width","conditions","label","submissionKey","required","description","type","acceptedTypes","maxSizeMb","maxFiles"],"additionalProperties":false},"Input7a3773c507f6___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"Input7a3773c507f6___schema1":{"default":"full","type":"string","enum":["full","half","third"]},"Input7a3773c507f6___schema2":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Input7a3773c507f6___schema3"}},"Input7a3773c507f6___schema3":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Input7a3773c507f6___schema4"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Input7a3773c507f6___schema4"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Input7a3773c507f6___schema4"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"Input7a3773c507f6___schema4":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"Input7a3773c507f6___schema5":{"$ref":"#/components/schemas/Input7a3773c507f6___schema6"},"Input7a3773c507f6___schema6":{"type":"string","enum":["all","any"]},"Input7a3773c507f6___schema7":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"Input7a3773c507f6___schema8":{"type":"string","maxLength":240},"Input7a3773c507f6___schema9":{"type":"string","maxLength":80},"Input7a3773c507f6___schema10":{"type":"boolean"},"Input7a3773c507f6___schema11":{"default":"","type":"string","maxLength":2000},"Input7a3773c507f6___schema12":{"type":"string","maxLength":240},"Input7a3773c507f6___schema13":{"type":"string","maxLength":80},"Input7a3773c507f6___schema14":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"Input7a3773c507f6___schema15":{"type":"string"},"Input7a3773c507f6___schema16":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"Input7a3773c507f6___schema17":{"default":"","type":"string","maxLength":500},"Input7a3773c507f6___schema18":{"default":"","type":"string","maxLength":1000},"Input7a3773c507f6___schema19":{"default":"","type":"string","maxLength":50000},"Input7a3773c507f6___schema20":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"label":{"$ref":"#/components/schemas/Input7a3773c507f6___schema12"},"value":{"$ref":"#/components/schemas/Input7a3773c507f6___schema13"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Input7a3773c507f6___schema3"}},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema6"}},"required":["id","label","value"]},"Input7a3773c507f6":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"message":{"type":"string","minLength":1,"maxLength":8000},"retryMode":{"default":"fresh","type":"string","enum":["fresh","reuse"]},"history":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["user","assistant"]},"content":{"type":"string","minLength":1,"maxLength":8000}},"required":["role","content"]}},"attachments":{"default":[],"maxItems":6,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"mediaType":{"type":"string","enum":["image/jpeg","image/png","image/webp","application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","text/csv","application/json"]},"data":{"type":"string","minLength":1,"maxLength":16000000}},"required":["name","mediaType","data"]}},"currentProposal":{"default":null,"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"content":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"label":{"$ref":"#/components/schemas/Input7a3773c507f6___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input7a3773c507f6___schema9"},"required":{"$ref":"#/components/schemas/Input7a3773c507f6___schema10"},"description":{"$ref":"#/components/schemas/Input7a3773c507f6___schema11"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"label":{"$ref":"#/components/schemas/Input7a3773c507f6___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input7a3773c507f6___schema9"},"required":{"$ref":"#/components/schemas/Input7a3773c507f6___schema10"},"description":{"$ref":"#/components/schemas/Input7a3773c507f6___schema11"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"label":{"$ref":"#/components/schemas/Input7a3773c507f6___schema12"},"value":{"$ref":"#/components/schemas/Input7a3773c507f6___schema13"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Input7a3773c507f6___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"label":{"$ref":"#/components/schemas/Input7a3773c507f6___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input7a3773c507f6___schema9"},"required":{"$ref":"#/components/schemas/Input7a3773c507f6___schema10"},"description":{"$ref":"#/components/schemas/Input7a3773c507f6___schema11"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input7a3773c507f6___schema15"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input7a3773c507f6___schema15"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input7a3773c507f6___schema16"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input7a3773c507f6___schema16"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/Input7a3773c507f6___schema17"},"caption":{"$ref":"#/components/schemas/Input7a3773c507f6___schema18"},"transcript":{"$ref":"#/components/schemas/Input7a3773c507f6___schema19"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/Input7a3773c507f6___schema17"},"caption":{"$ref":"#/components/schemas/Input7a3773c507f6___schema18"},"transcript":{"$ref":"#/components/schemas/Input7a3773c507f6___schema19"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"label":{"$ref":"#/components/schemas/Input7a3773c507f6___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input7a3773c507f6___schema9"},"required":{"$ref":"#/components/schemas/Input7a3773c507f6___schema10"},"description":{"$ref":"#/components/schemas/Input7a3773c507f6___schema11"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"label":{"$ref":"#/components/schemas/Input7a3773c507f6___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input7a3773c507f6___schema9"},"required":{"$ref":"#/components/schemas/Input7a3773c507f6___schema10"},"description":{"$ref":"#/components/schemas/Input7a3773c507f6___schema11"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Input7a3773c507f6___schema20"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"label":{"$ref":"#/components/schemas/Input7a3773c507f6___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input7a3773c507f6___schema9"},"required":{"$ref":"#/components/schemas/Input7a3773c507f6___schema10"},"description":{"$ref":"#/components/schemas/Input7a3773c507f6___schema11"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Input7a3773c507f6___schema20"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input7a3773c507f6___schema0"},"width":{"$ref":"#/components/schemas/Input7a3773c507f6___schema1"},"conditions":{"$ref":"#/components/schemas/Input7a3773c507f6___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input7a3773c507f6___schema5"},"containerId":{"$ref":"#/components/schemas/Input7a3773c507f6___schema7"},"label":{"$ref":"#/components/schemas/Input7a3773c507f6___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input7a3773c507f6___schema9"},"required":{"$ref":"#/components/schemas/Input7a3773c507f6___schema10"},"description":{"$ref":"#/components/schemas/Input7a3773c507f6___schema11"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Input7a3773c507f6___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]}}},"required":["schemaVersion","elements"]}},"required":["name","description","content"]},{"type":"null"}]}},"required":["message"]},"Shape0028":{"type":"object","properties":{"allowHalfOpen":{"type":"boolean"},"readableAborted":{"type":"boolean"},"readable":{"type":"boolean"},"readableDidRead":{"type":"boolean"},"readableEncoding":{"anyOf":[{"type":"null"},{"type":"string","const":"ascii"},{"type":"string","const":"utf8"},{"type":"string","const":"utf-8"},{"type":"string","const":"utf16le"},{"type":"string","const":"utf-16le"},{"type":"string","const":"ucs2"},{"type":"string","const":"ucs-2"},{"type":"string","const":"base64"},{"type":"string","const":"base64url"},{"type":"string","const":"latin1"},{"type":"string","const":"binary"},{"type":"string","const":"hex"}]},"readableEnded":{"type":"boolean"},"readableFlowing":{"anyOf":[{"type":"null"},{"type":"boolean"}]},"readableHighWaterMark":{"type":"number"},"readableLength":{"type":"number"},"readableObjectMode":{"type":"boolean"},"destroyed":{"type":"boolean"},"closed":{"type":"boolean"},"errored":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0029"}]},"writable":{"type":"boolean"},"writableAborted":{"type":"boolean"},"writableEnded":{"type":"boolean"},"writableFinished":{"type":"boolean"},"writableHighWaterMark":{"type":"number"},"writableLength":{"type":"number"},"writableObjectMode":{"type":"boolean"},"writableCorked":{"type":"number"},"writableNeedDrain":{"type":"boolean"}},"required":["allowHalfOpen","readableAborted","readable","readableDidRead","readableEncoding","readableEnded","readableFlowing","readableHighWaterMark","readableLength","readableObjectMode","destroyed","closed","errored","writable","writableAborted","writableEnded","writableFinished","writableHighWaterMark","writableLength","writableObjectMode","writableCorked","writableNeedDrain"],"additionalProperties":false},"Shape0029":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"stack":{"type":"string"},"cause":{"description":"JSON value; shape depends on the form field or integration schema."}},"required":["name","message"],"additionalProperties":false},"Shape0030":{"type":"object","properties":{"name":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0031"},{"$ref":"#/components/schemas/Shape0032"}]}}},"required":["name","fields"],"additionalProperties":false},"Shape0031":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"type":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"string"}}},"required":["key","label","type","required","options"],"additionalProperties":false},"Shape0032":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"type":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{}},"accepted_types":{"type":"array","items":{"type":"string"}},"max_size_mb":{"type":"number"},"max_files":{"type":"number"}},"required":["key","label","type","required","options","accepted_types","max_size_mb","max_files"],"additionalProperties":false},"Shape0033":{"type":"object","properties":{"status":{"type":"string"}},"required":["status"],"additionalProperties":false},"Inputd906d3e08166___schema0":{"type":"string"},"Inputd906d3e08166":{"type":"object","properties":{"workflowId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"invocationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"nodeId":{"type":"string","minLength":1,"maxLength":160},"formTemplateId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"formVersionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"dateRanges":{"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_]{0,79}$"},"additionalProperties":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Inputd906d3e08166___schema0"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Inputd906d3e08166___schema0"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false}}},"required":["workflowId","invocationId","nodeId","formTemplateId","formVersionId","dateRanges"],"additionalProperties":false},"Shape0034":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"],"additionalProperties":false},"Input73168e7e4a32":{"type":"object","properties":{"workflowId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"nodeId":{"type":"string","minLength":1,"maxLength":160},"formTemplateId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"formVersionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workflowId","nodeId","formTemplateId","formVersionId"],"additionalProperties":false},"Input2974cf4c02ec___schema0":{"type":"string"},"Input2974cf4c02ec":{"type":"object","properties":{"invocationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"dateRanges":{"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_]{0,79}$"},"additionalProperties":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input2974cf4c02ec___schema0"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input2974cf4c02ec___schema0"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false}}},"required":["invocationId","dateRanges"],"additionalProperties":false},"Shape0035":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0036"}},"next_page":{"anyOf":[{"type":"null"},{"type":"number"}]}},"required":["items","next_page"],"additionalProperties":false},"Shape0036":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"Input724ae28045d2":{"type":"object","properties":{"search":{"default":"","type":"string","maxLength":200},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"Shape0037":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"Inputbe0aab0ccc73":{"type":"object","properties":{"processId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["processId"]},"Shape0038":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"endpoint":{"type":"string"}},"required":["id","name","endpoint"],"additionalProperties":false},"Input0c079af40253":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"processId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"secretId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"endpoint":{"type":"string","maxLength":2000,"format":"uri"},"username":{"type":"string","minLength":1,"maxLength":200}},"required":["name","processId","secretId","endpoint","username"],"additionalProperties":false},"Shape0039":{"type":"object","properties":{"owned":{"type":"boolean"},"expiresAt":{"type":"null"},"holderName":{"type":"null"}},"required":["owned","expiresAt","holderName"],"additionalProperties":false},"Shape0040":{"type":"object","properties":{"owned":{"type":"boolean"},"heldByYou":{"type":"boolean"},"holderName":{"type":"string"},"expiresAt":{"type":"string"}},"required":["owned","heldByYou","holderName","expiresAt"],"additionalProperties":false},"Shape0041":{"type":"object","properties":{"owned":{"type":"boolean"},"leaseDurationMs":{"type":"number"},"holderName":{"type":"string"},"expiresAt":{"type":"string"}},"required":["owned","leaseDurationMs","holderName","expiresAt"],"additionalProperties":false},"Input58e750e16809":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"]},"Inputce06b63383ba":{"type":"object","properties":{"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"takeOver":{"type":"boolean"}},"required":["sessionId"]},"Shape0042":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"endpoint":{"type":"string"}},"required":["id","name","endpoint"],"additionalProperties":false},"Shape0043":{"type":"object","properties":{"filePaths":{"type":"array","items":{"type":"string"}},"revision":{"type":"string"},"id":{"type":"string"},"formId":{"type":"string"},"formName":{"type":"string"}},"required":["filePaths","revision","id","formId","formName"],"additionalProperties":false},"Shape0044":{"type":"object","properties":{"ok":{"type":"boolean"}},"required":["ok"],"additionalProperties":false},"Inputc1889ca8e31b":{"type":"object","properties":{"expectedUsages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revision":{"type":"string","minLength":64,"maxLength":64}},"required":["id","revision"]}},"editSessions":{"default":{},"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["expectedUsages"]},"Shape0045":{"type":"object","properties":{"path":{"type":"string"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/Shape0046"}}},"required":["path","entries"],"additionalProperties":false},"Shape0046":{"type":"object","properties":{"name":{"type":"string"},"path":{"type":"string"},"type":{"type":"string","enum":["file","folder"]},"size":{"type":"number"},"modifiedAt":{"type":"string"}},"required":["name","path","type"],"additionalProperties":false},"Inputf16756dd8651":{"type":"object","properties":{"path":{"default":"","type":"string","maxLength":2000}}},"Shape0047":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"endpoint":{"type":"string"}},"required":["id","name","endpoint"],"additionalProperties":false},"Input392ce457107e":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"endpoint":{"type":"string","maxLength":2000,"format":"uri"},"username":{"type":"string","minLength":1,"maxLength":200},"password":{"type":"string","minLength":1,"maxLength":2000}},"required":["name","endpoint","username","password"]},"Shape0048":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean"},"config":{"description":"JSON value; shape depends on the form field or integration schema."},"status":{"type":"string"},"lastCheckedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"lastSuccessAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]}},"required":["id","enabled","config","status","lastCheckedAt","lastSuccessAt"],"additionalProperties":false},"Shape0049":{"type":"object","properties":{"automationId":{"type":"string"},"proposal":{"$ref":"#/components/schemas/Shape0050"}},"required":["automationId","proposal"],"additionalProperties":false},"Shape0050":{"type":"object","properties":{"id":{"type":"string"},"config":{"$ref":"#/components/schemas/Shape0051"},"hash":{"type":"string"},"revision":{"type":"number"},"createdAt":{"type":"string"},"preview":{"$ref":"#/components/schemas/Shape0004"}},"required":["id","config","hash","revision","createdAt","preview"],"additionalProperties":false},"Shape0051":{"type":"object","properties":{"connectionId":{"type":"string"},"filePath":{"type":"string"},"fieldIds":{"type":"array","items":{"type":"string"}},"instructions":{"type":"string"},"intervalMinutes":{"type":"number"},"plan":{"$ref":"#/components/schemas/Shape0052"}},"required":["connectionId","filePath","fieldIds","instructions","intervalMinutes","plan"],"additionalProperties":false},"Shape0052":{"type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/Shape0053"}}},"required":["fields"],"additionalProperties":false},"Shape0053":{"type":"object","properties":{"fieldId":{"type":"string"},"column":{"type":"string"},"parentFieldId":{"anyOf":[{"type":"null"},{"type":"string"}]},"relationship":{"type":"string","enum":["none","sameRow","numberPrefix"]}},"required":["fieldId","column","parentFieldId","relationship"],"additionalProperties":false},"Inputf5259e7b21eb":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filePath":{"type":"string","minLength":1,"maxLength":2000},"fieldIds":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"instructions":{"type":"string","minLength":1,"maxLength":4000},"intervalMinutes":{"default":1440,"type":"integer","minimum":5,"maximum":10080},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["connectionId","filePath","fieldIds","instructions"]},"Shape0054":{"type":"object","properties":{"ok":{"type":"boolean"}},"required":["ok"],"additionalProperties":false},"Input66210f32d065":{"type":"object","properties":{"proposalId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["proposalId"]},"Shape0055":{"type":"object","properties":{"ok":{"type":"boolean"}},"required":["ok"],"additionalProperties":false},"Input710932ed9ffc":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]},"Shape0056":{"type":"object","properties":{"ok":{"type":"boolean"}},"required":["ok"],"additionalProperties":false},"Shape0057":{"type":"object","properties":{"ok":{"type":"boolean"}},"required":["ok"],"additionalProperties":false},"Shape0058":{"type":"object","properties":{"headers":{"type":"array","items":{"type":"string"}},"rows":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"totalRows":{"type":"number"}},"required":["headers","rows","totalRows"],"additionalProperties":false},"Inputf9849ea85b54":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":2000}},"required":["path"]},"Shape0059":{"type":"object","properties":{"schemes":{"type":"array","items":{"$ref":"#/components/schemas/Shape0060"}}},"required":["schemes"],"additionalProperties":false},"Shape0060":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"accent":{"type":"string"},"background":{"type":"string"},"ink":{"type":"string"}},"required":["id","name","accent","background","ink"],"additionalProperties":false},"Input04887a37de1f___schema0":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"Input04887a37de1f":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"accent":{"$ref":"#/components/schemas/Input04887a37de1f___schema0"},"background":{"$ref":"#/components/schemas/Input04887a37de1f___schema0"},"ink":{"$ref":"#/components/schemas/Input04887a37de1f___schema0"}},"required":["name","accent","background","ink"],"additionalProperties":false},"Shape0061":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"accent":{"type":"string"},"background":{"type":"string"},"ink":{"type":"string"}},"required":["id","name","accent","background","ink"],"additionalProperties":false},"Shape0062":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"accent":{"type":"string"},"background":{"type":"string"},"ink":{"type":"string"}},"required":["id","name","accent","background","ink"],"additionalProperties":false},"Shape0063":{"type":"object","properties":{"style":{"$ref":"#/components/schemas/Shape0064"}},"required":["style"],"additionalProperties":false},"Shape0064":{"type":"object","properties":{"colorScheme":{"anyOf":[{"$ref":"#/components/schemas/Shape0065"},{"type":"string","const":"forest"},{"type":"string","const":"ocean"},{"type":"string","const":"violet"},{"type":"string","const":"rose"},{"type":"string","const":"amber"},{"type":"string","const":"slate"}]},"branding":{"$ref":"#/components/schemas/Shape0066"}},"required":["colorScheme"],"additionalProperties":false},"Shape0065":{"type":"object","properties":{"name":{"type":"string"},"accent":{"type":"string"},"background":{"type":"string"},"ink":{"type":"string"}},"required":["name","accent","background","ink"],"additionalProperties":false},"Shape0066":{"type":"object","properties":{"title":{"type":"string"},"logoUrl":{"type":"string"},"logoAssetId":{"type":"string"},"websiteUrl":{"type":"string"}},"additionalProperties":false},"Shape0067":{"type":"object","properties":{"style":{"$ref":"#/components/schemas/Shape0064"}},"required":["style"],"additionalProperties":false},"Inputc7687a63c5c0___schema0":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"Inputc7687a63c5c0___schema1":{"type":"string","maxLength":2048,"format":"uri"},"Inputc7687a63c5c0":{"type":"object","properties":{"style":{"type":"object","properties":{"colorScheme":{"anyOf":[{"type":"string","enum":["forest","ocean","violet","rose","amber","slate"]},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"accent":{"$ref":"#/components/schemas/Inputc7687a63c5c0___schema0"},"background":{"$ref":"#/components/schemas/Inputc7687a63c5c0___schema0"},"ink":{"$ref":"#/components/schemas/Inputc7687a63c5c0___schema0"}},"required":["name","accent","background","ink"],"additionalProperties":false}]},"branding":{"type":"object","properties":{"title":{"type":"string","maxLength":120},"logoUrl":{"$ref":"#/components/schemas/Inputc7687a63c5c0___schema1"},"logoAssetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"websiteUrl":{"$ref":"#/components/schemas/Inputc7687a63c5c0___schema1"}},"additionalProperties":false}},"required":["colorScheme"],"additionalProperties":false}},"required":["style"],"additionalProperties":false},"Shape0068":{"type":"object","properties":{"style":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0069"}]},"defaultStyle":{"$ref":"#/components/schemas/Shape0064"},"effectiveStyle":{"$ref":"#/components/schemas/Shape0064"}},"required":["style","defaultStyle","effectiveStyle"],"additionalProperties":false},"Shape0069":{"type":"object","properties":{"colorScheme":{"anyOf":[{"$ref":"#/components/schemas/Shape0065"},{"type":"string","const":"forest"},{"type":"string","const":"ocean"},{"type":"string","const":"violet"},{"type":"string","const":"rose"},{"type":"string","const":"amber"},{"type":"string","const":"slate"}]}},"additionalProperties":false},"Input8cab4dae338b___schema0":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"Input8cab4dae338b":{"type":"object","properties":{"style":{"anyOf":[{"type":"object","properties":{"colorScheme":{"anyOf":[{"type":"string","enum":["forest","ocean","violet","rose","amber","slate"]},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"accent":{"$ref":"#/components/schemas/Input8cab4dae338b___schema0"},"background":{"$ref":"#/components/schemas/Input8cab4dae338b___schema0"},"ink":{"$ref":"#/components/schemas/Input8cab4dae338b___schema0"}},"required":["name","accent","background","ink"],"additionalProperties":false}]}},"additionalProperties":false},{"type":"null"}]}},"required":["style"],"additionalProperties":false},"Shape0070":{"type":"object","properties":{"supported":{"type":"boolean"},"theme":{"$ref":"#/components/schemas/Shape0071"}},"required":["supported","theme"],"additionalProperties":false},"Shape0071":{"type":"object","properties":{"websiteUrl":{"type":"string"},"title":{"type":"string"},"logoUrl":{"type":"string"},"accent":{"type":"string"},"background":{"type":"string"},"ink":{"type":"string"},"border":{"type":"string"},"onAccent":{"type":"string"},"link":{"type":"string"}},"required":["accent","background","ink","border","onAccent","link"],"additionalProperties":false},"Shape0072":{"type":"object","properties":{"amp":{"type":"string"},"supported":{"type":"boolean"},"theme":{"$ref":"#/components/schemas/Shape0071"},"html":{"type":"string"}},"required":["supported","theme","html"],"additionalProperties":false},"Input68fbb2d60ded":{"type":"object","properties":{"mode":{"default":"embedded","type":"string","enum":["link","embedded"]},"sender":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"message":{"type":"string","maxLength":100000}},"required":["sender","message"]},"Inputff5307f9af27":{"type":"object","properties":{"token":{"type":"string","minLength":1,"maxLength":500}},"required":["token"]},"Inputabc99e4a01ef":{"type":"object","properties":{"receipt":{"type":"string","maxLength":2000}},"required":["receipt"]},"Inputd12ee48c182b":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","maxLength":100000}},"Input0f1d99543940":{"type":"object","properties":{"campaignId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"submissionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fileId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["campaignId","submissionId","fileId"]},"Shape0073":{"type":"object","properties":{"aborted":{"type":"boolean"},"httpVersion":{"type":"string"},"httpVersionMajor":{"type":"number"},"httpVersionMinor":{"type":"number"},"complete":{"type":"boolean"},"connection":{"$ref":"#/components/schemas/Shape0074"},"socket":{"$ref":"#/components/schemas/Shape0074"},"headers":{"$ref":"#/components/schemas/Shape0075"},"headersDistinct":{"$ref":"#/components/schemas/Shape0076"},"rawHeaders":{"type":"array","items":{"type":"string"}},"trailers":{"$ref":"#/components/schemas/Shape0077"},"trailersDistinct":{"$ref":"#/components/schemas/Shape0076"},"rawTrailers":{"type":"array","items":{"type":"string"}},"method":{"type":"string"},"url":{"type":"string"},"statusCode":{"type":"number"},"statusMessage":{"type":"string"},"readableAborted":{"type":"boolean"},"readable":{"type":"boolean"},"readableDidRead":{"type":"boolean"},"readableEncoding":{"anyOf":[{"type":"null"},{"type":"string","const":"ascii"},{"type":"string","const":"utf8"},{"type":"string","const":"utf-8"},{"type":"string","const":"utf16le"},{"type":"string","const":"utf-16le"},{"type":"string","const":"ucs2"},{"type":"string","const":"ucs-2"},{"type":"string","const":"base64"},{"type":"string","const":"base64url"},{"type":"string","const":"latin1"},{"type":"string","const":"binary"},{"type":"string","const":"hex"}]},"readableEnded":{"type":"boolean"},"readableFlowing":{"anyOf":[{"type":"null"},{"type":"boolean"}]},"readableHighWaterMark":{"type":"number"},"readableLength":{"type":"number"},"readableObjectMode":{"type":"boolean"},"destroyed":{"type":"boolean"},"closed":{"type":"boolean"},"errored":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0029"}]}},"required":["aborted","httpVersion","httpVersionMajor","httpVersionMinor","complete","connection","socket","headers","headersDistinct","rawHeaders","trailers","trailersDistinct","rawTrailers","readableAborted","readable","readableDidRead","readableEncoding","readableEnded","readableFlowing","readableHighWaterMark","readableLength","readableObjectMode","destroyed","closed","errored"],"additionalProperties":false},"Shape0074":{"type":"object","properties":{"autoSelectFamilyAttemptedAddresses":{"type":"array","items":{"type":"string"}},"bufferSize":{"type":"number"},"bytesRead":{"type":"number"},"bytesWritten":{"type":"number"},"connecting":{"type":"boolean"},"pending":{"type":"boolean"},"destroyed":{"type":"boolean"},"localAddress":{"type":"string"},"localPort":{"type":"number"},"localFamily":{"type":"string"},"readyState":{"type":"string","enum":["closed","opening","open","readOnly","writeOnly"]},"remoteAddress":{"type":"string"},"remoteFamily":{"type":"string"},"remotePort":{"type":"number"},"timeout":{"type":"number"},"allowHalfOpen":{"type":"boolean"},"readableAborted":{"type":"boolean"},"readable":{"type":"boolean"},"readableDidRead":{"type":"boolean"},"readableEncoding":{"anyOf":[{"type":"null"},{"type":"string","const":"ascii"},{"type":"string","const":"utf8"},{"type":"string","const":"utf-8"},{"type":"string","const":"utf16le"},{"type":"string","const":"utf-16le"},{"type":"string","const":"ucs2"},{"type":"string","const":"ucs-2"},{"type":"string","const":"base64"},{"type":"string","const":"base64url"},{"type":"string","const":"latin1"},{"type":"string","const":"binary"},{"type":"string","const":"hex"}]},"readableEnded":{"type":"boolean"},"readableFlowing":{"anyOf":[{"type":"null"},{"type":"boolean"}]},"readableHighWaterMark":{"type":"number"},"readableLength":{"type":"number"},"readableObjectMode":{"type":"boolean"},"closed":{"type":"boolean"},"errored":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0029"}]},"writable":{"type":"boolean"},"writableAborted":{"type":"boolean"},"writableEnded":{"type":"boolean"},"writableFinished":{"type":"boolean"},"writableHighWaterMark":{"type":"number"},"writableLength":{"type":"number"},"writableObjectMode":{"type":"boolean"},"writableCorked":{"type":"number"},"writableNeedDrain":{"type":"boolean"}},"required":["autoSelectFamilyAttemptedAddresses","bufferSize","bytesRead","bytesWritten","connecting","pending","destroyed","readyState","allowHalfOpen","readableAborted","readable","readableDidRead","readableEncoding","readableEnded","readableFlowing","readableHighWaterMark","readableLength","readableObjectMode","closed","errored","writable","writableAborted","writableEnded","writableFinished","writableHighWaterMark","writableLength","writableObjectMode","writableCorked","writableNeedDrain"],"additionalProperties":false},"Shape0075":{"type":"object","properties":{"accept":{"type":"string"},"accept-encoding":{"type":"string"},"accept-language":{"type":"string"},"accept-patch":{"type":"string"},"accept-ranges":{"type":"string"},"access-control-allow-credentials":{"type":"string"},"access-control-allow-headers":{"type":"string"},"access-control-allow-methods":{"type":"string"},"access-control-allow-origin":{"type":"string"},"access-control-expose-headers":{"type":"string"},"access-control-max-age":{"type":"string"},"access-control-request-headers":{"type":"string"},"access-control-request-method":{"type":"string"},"age":{"type":"string"},"allow":{"type":"string"},"alt-svc":{"type":"string"},"authorization":{"type":"string"},"cache-control":{"type":"string"},"connection":{"type":"string"},"content-disposition":{"type":"string"},"content-encoding":{"type":"string"},"content-language":{"type":"string"},"content-length":{"type":"string"},"content-location":{"type":"string"},"content-range":{"type":"string"},"content-type":{"type":"string"},"cookie":{"type":"string"},"date":{"type":"string"},"etag":{"type":"string"},"expect":{"type":"string"},"expires":{"type":"string"},"forwarded":{"type":"string"},"from":{"type":"string"},"host":{"type":"string"},"if-match":{"type":"string"},"if-modified-since":{"type":"string"},"if-none-match":{"type":"string"},"if-unmodified-since":{"type":"string"},"last-modified":{"type":"string"},"location":{"type":"string"},"origin":{"type":"string"},"pragma":{"type":"string"},"proxy-authenticate":{"type":"string"},"proxy-authorization":{"type":"string"},"public-key-pins":{"type":"string"},"range":{"type":"string"},"referer":{"type":"string"},"retry-after":{"type":"string"},"sec-fetch-site":{"type":"string"},"sec-fetch-mode":{"type":"string"},"sec-fetch-user":{"type":"string"},"sec-fetch-dest":{"type":"string"},"sec-websocket-accept":{"type":"string"},"sec-websocket-extensions":{"type":"string"},"sec-websocket-key":{"type":"string"},"sec-websocket-protocol":{"type":"string"},"sec-websocket-version":{"type":"string"},"set-cookie":{"type":"array","items":{"type":"string"}},"strict-transport-security":{"type":"string"},"tk":{"type":"string"},"trailer":{"type":"string"},"transfer-encoding":{"type":"string"},"upgrade":{"type":"string"},"user-agent":{"type":"string"},"vary":{"type":"string"},"via":{"type":"string"},"warning":{"type":"string"},"www-authenticate":{"type":"string"}},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"Shape0076":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"Shape0077":{"type":"object","additionalProperties":{"type":"string"}},"Shape0078":{"type":"object","properties":{"readableAborted":{"type":"boolean"},"readable":{"type":"boolean"},"readableDidRead":{"type":"boolean"},"readableEncoding":{"anyOf":[{"type":"null"},{"type":"string","const":"ascii"},{"type":"string","const":"utf8"},{"type":"string","const":"utf-8"},{"type":"string","const":"utf16le"},{"type":"string","const":"utf-16le"},{"type":"string","const":"ucs2"},{"type":"string","const":"ucs-2"},{"type":"string","const":"base64"},{"type":"string","const":"base64url"},{"type":"string","const":"latin1"},{"type":"string","const":"binary"},{"type":"string","const":"hex"}]},"readableEnded":{"type":"boolean"},"readableFlowing":{"anyOf":[{"type":"null"},{"type":"boolean"}]},"readableHighWaterMark":{"type":"number"},"readableLength":{"type":"number"},"readableObjectMode":{"type":"boolean"},"destroyed":{"type":"boolean"},"closed":{"type":"boolean"},"errored":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0029"}]}},"required":["readableAborted","readable","readableDidRead","readableEncoding","readableEnded","readableFlowing","readableHighWaterMark","readableLength","readableObjectMode","destroyed","closed","errored"],"additionalProperties":false},"Input6fa4e824b083":{"type":"object","properties":{"deliveryId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"assetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"signature":{"type":"string","maxLength":100}},"required":["deliveryId","assetId","signature"]},"Shape0079":{"type":"object","properties":{"foreign":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"}},"required":["foreign","id","name"],"additionalProperties":false},"Shape0080":{"type":"object","properties":{"windowHours":{"type":"number"},"organizations":{"type":"array","items":{"$ref":"#/components/schemas/Shape0081"}}},"required":["windowHours","organizations"],"additionalProperties":false},"Shape0081":{"type":"object","properties":{"campaigns":{"type":"array","items":{"$ref":"#/components/schemas/Shape0082"}},"id":{"type":"string"},"name":{"type":"string"}},"required":["campaigns","id","name"],"additionalProperties":false},"Shape0082":{"type":"object","properties":{"live":{"type":"boolean"},"health":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0083"}]},"id":{"type":"string"},"name":{"type":"string"},"organizationId":{"type":"string"},"state":{"type":"string"},"deadline":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]}},"required":["live","health","id","name","organizationId","state","deadline"],"additionalProperties":false},"Shape0083":{"type":"object","properties":{"attempts":{"type":"number"},"failures":{"type":"number"},"failureRate":{"anyOf":[{"type":"null"},{"type":"number"}]},"status":{"type":"string"}},"required":["attempts","failures","failureRate","status"],"additionalProperties":false},"Shape0084":{"type":"object","properties":{"organization":{"$ref":"#/components/schemas/Shape0085"},"forms":{"type":"array","items":{"$ref":"#/components/schemas/Shape0086"}},"campaigns":{"type":"array","items":{"$ref":"#/components/schemas/Shape0082"}},"windowHours":{"type":"number"}},"required":["organization","forms","campaigns","windowHours"],"additionalProperties":false},"Shape0085":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"Shape0086":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"Shape0087":{"type":"object","properties":{"outputs":{"type":"array","items":{"$ref":"#/components/schemas/Shape0088"}},"sample":{"$ref":"#/components/schemas/Shape0091"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Shape0093"}}},"required":["outputs","sample","fields"],"additionalProperties":false},"Shape0088":{"type":"object","properties":{"id":{"type":"string"},"config":{"$ref":"#/components/schemas/HttpOutputReadConfig"}},"required":["id","config"],"additionalProperties":false},"Shape0089":{"type":"object","properties":{"auth":{"$ref":"#/components/schemas/Shape0090"}},"additionalProperties":false},"Shape0090":{"type":"object","properties":{"type":{"description":"JSON value; shape depends on the form field or integration schema."}},"required":["type"],"additionalProperties":false},"Shape0091":{"type":"object","properties":{"event":{"type":"string"},"campaignId":{"type":"string"},"campaignName":{"type":"string"},"submissionId":{"type":"string"},"acceptedAt":{"type":"string"},"formVersion":{"type":"number"},"correlationId":{"anyOf":[{"type":"null"},{"type":"string"}]},"values":{"$ref":"#/components/schemas/Shape0092"},"submissionUrl":{"type":"string"},"test":{"type":"boolean"}},"required":["event","campaignId","campaignName","submissionId","acceptedAt","formVersion","correlationId","values"],"additionalProperties":false},"Shape0092":{"type":"object","additionalProperties":{"description":"JSON value; shape depends on the form field or integration schema."}},"Shape0093":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"options":{"type":"array","items":{"$ref":"#/components/schemas/Shape0094"}}},"required":["key","label","options"],"additionalProperties":false},"Shape0094":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"],"additionalProperties":false},"Shape0095":{"type":"object","properties":{"outputs":{"type":"array","items":{"$ref":"#/components/schemas/Shape0088"}},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Shape0093"}},"sample":{"type":"null"},"sampleUnavailableReason":{"type":"string"}},"required":["outputs","fields","sample","sampleUnavailableReason"],"additionalProperties":false},"Shape0096":{"type":"object","properties":{"id":{"type":"string"},"secret":{"type":"string"}},"required":["id","secret"],"additionalProperties":false},"Inputf56222e57a9c":{"allOf":[{"type":"object","properties":{"url":{"type":"string","maxLength":4096,"format":"uri"},"method":{"default":"POST","type":"string","enum":["POST","PUT"]},"payloadFormat":{"default":"pollenforms","type":"string","enum":["pollenforms","teams","power_automate"]}},"required":["url"]},{"type":"object","properties":{"auth":{"anyOf":[{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"bearer"},"token":{"type":"string","minLength":1,"maxLength":4096,"pattern":"^[^\\r\\n]+$"}},"required":["type","token"]},{"type":"object","properties":{"type":{"type":"string","const":"basic"},"username":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[^:\\r\\n]+$"},"password":{"type":"string","minLength":1,"maxLength":4096}},"required":["type","username","password"]},{"type":"object","properties":{"type":{"type":"string","const":"api_key"},"headerName":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9-]*$"},"value":{"type":"string","minLength":1,"maxLength":4096,"pattern":"^[^\\r\\n]+$"}},"required":["type","headerName","value"]}]},{"type":"null"}]}}}]},"Shape0097":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"Shape0098":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"Shape0099":{"type":"object","properties":{"durationMs":{"type":"number"},"message":{"type":"string"},"ok":{"type":"boolean"},"status":{"type":"number"}},"required":["durationMs","message","ok","status"],"additionalProperties":false},"Shape0100":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"null"},"durationMs":{"type":"number"},"message":{"type":"string"}},"required":["ok","status","durationMs","message"],"additionalProperties":false},"Shape0101":{"type":"object","properties":{"workflowId":{"type":"string"},"name":{"type":"string"},"activeVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"latestVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"triggerNodeId":{"anyOf":[{"type":"null"},{"type":"string"}]},"inputSchema":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0092"}]},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Shape0102"}},"readinessReason":{"anyOf":[{"type":"null"},{"type":"string"}]}},"required":["workflowId","name","activeVersionId","latestVersionId","triggerNodeId","inputSchema","fields","readinessReason"],"additionalProperties":false},"Shape0102":{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string"},"required":{"type":"boolean"}},"required":["key","type","required"],"additionalProperties":false},"Inputbceb339439bb":{"type":"object","properties":{"processId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workflowId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["processId","workflowId"]},"Shape0103":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"}},"required":["id","name","state"],"additionalProperties":false},"Input924db3e9e542":{"type":"object","properties":{"workflowId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"processId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expectedLatestVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"mapping":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["workflowId","processId","expectedLatestVersion"]},"Shape0104":{"type":"object","properties":{"sourceFields":{"type":"array","items":{"$ref":"#/components/schemas/Shape0105"}},"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0107"}}},"required":["sourceFields","items"],"additionalProperties":false},"Shape0105":{"type":"object","properties":{"key":{"type":"string"},"type":{"$ref":"#/components/schemas/Shape0106"},"required":{"type":"boolean"}},"required":["key","type","required"],"additionalProperties":false},"Shape0106":{"type":"object","additionalProperties":false},"Shape0107":{"type":"object","properties":{"id":{"type":"string"},"workflowId":{"type":"string"},"processId":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"lastError":{"anyOf":[{"type":"null"},{"type":"string"}]},"formVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"workflowVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"mapping":{"$ref":"#/components/schemas/Shape0108"},"validatedAt":{"anyOf":[{"type":"null"},{"type":"string"}]},"canRetry":{"type":"boolean"},"url":{"anyOf":[{"type":"null"},{"type":"string"}]}},"required":["id","workflowId","processId","name","state","lastError","formVersionId","workflowVersionId","mapping","validatedAt","canRetry","url"],"additionalProperties":false},"Shape0108":{"type":"object","additionalProperties":{"type":"string"}},"Shape0109":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"}},"required":["id","state"],"additionalProperties":false},"Shape0110":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string","enum":["active","paused","disconnected"]}},"required":["id","state"],"additionalProperties":false},"Input17b06f058875":{"type":"object","properties":{"state":{"type":"string","enum":["active","paused","disconnected"]}},"required":["state"]},"Inputad0754f67ef5":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id","connectionId"]},"Shape0111":{"type":"object","properties":{"managedWorkflow":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0112"}]},"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0113"}}},"required":["managedWorkflow","items"],"additionalProperties":false},"Shape0112":{"type":"object","properties":{"url":{"anyOf":[{"type":"null"},{"type":"string"}]},"workflowId":{"type":"string"},"processId":{"type":"string"},"processName":{"type":"string"},"workflowName":{"type":"string"},"workflowVersionId":{"type":"string"},"nodeId":{"type":"string"}},"required":["url","workflowId","workflowVersionId","nodeId"],"additionalProperties":false},"Shape0113":{"type":"object","properties":{"id":{"type":"string"},"campaignId":{"type":"string"},"campaignName":{"type":"string"},"workflowId":{"type":"string"},"processId":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"}},"required":["id","campaignId","campaignName","workflowId","processId","name","state"],"additionalProperties":false},"Shape0114":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0115"}},"next_page":{"anyOf":[{"type":"null"},{"type":"number"}]}},"required":["items","next_page"],"additionalProperties":false},"Shape0115":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"process_id":{"type":"string"},"process_name":{"type":"string"},"category":{"anyOf":[{"type":"null"},{"type":"string"}]},"latest_version_number":{"type":"number"},"enabled":{"type":"boolean"}},"required":["id","name","process_id","process_name","category","latest_version_number","enabled"],"additionalProperties":false},"Input0de1974729e8":{"type":"object","properties":{"name":{"default":"","type":"string","maxLength":200},"process_name":{"default":"","type":"string","maxLength":200},"category":{"default":"","type":"string","maxLength":200},"process_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"map_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"category_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"Shape0116":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0117"}}},"required":["items"],"additionalProperties":false},"Shape0117":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"mapId":{"type":"string"}},"required":["id","name","path","mapId"],"additionalProperties":false},"Shape0118":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0119"}},"next_page":{"anyOf":[{"type":"null"},{"type":"number"}]}},"required":["items","next_page"],"additionalProperties":false},"Shape0119":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"category":{"anyOf":[{"type":"null"},{"type":"string"}]}},"required":["id","name","category"],"additionalProperties":false},"Input2825c5a06d94":{"type":"object","properties":{"search":{"default":"","type":"string","maxLength":200},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"map_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"category_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"Inputa7b0143647e4":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"processId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["name","processId"]},"Shape0120":{"type":"object","properties":{"delivery":{"$ref":"#/components/schemas/Shape0121"},"attempts":{"type":"array","items":{"$ref":"#/components/schemas/Shape0122"}}},"required":["delivery","attempts"],"additionalProperties":false},"Shape0121":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"lastError":{"anyOf":[{"type":"null"},{"type":"string"}]},"lastErrorCode":{"anyOf":[{"type":"null"},{"type":"string"}]},"lastHttpStatus":{"anyOf":[{"type":"null"},{"type":"number"}]},"workflowInvocationId":{"anyOf":[{"type":"null"},{"type":"string"}]},"workflowExecutionStatus":{"anyOf":[{"type":"null"},{"type":"string"}]},"receiptReconciledAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]}},"required":["id","status","lastError","lastErrorCode","lastHttpStatus","workflowInvocationId","workflowExecutionStatus","receiptReconciledAt"],"additionalProperties":false},"Shape0122":{"type":"object","properties":{"id":{"type":"string"},"attemptNumber":{"type":"number"},"event":{"type":"string"},"httpStatus":{"anyOf":[{"type":"null"},{"type":"number"}]},"errorCode":{"anyOf":[{"type":"null"},{"type":"string"}]},"message":{"anyOf":[{"type":"null"},{"type":"string"}]},"durationMs":{"anyOf":[{"type":"null"},{"type":"number"}]},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"}},"required":["id","attemptNumber","event","httpStatus","errorCode","message","durationMs","createdAt","createdBy"],"additionalProperties":false},"Inputd09173834f45":{"type":"object","properties":{"campaignId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"deliveryId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["campaignId","deliveryId"]},"Shape0123":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"}},"required":["id","status"],"additionalProperties":false},"Shape0124":{"type":"object","properties":{"stale_tasks":{"type":"number"},"overdue_deliveries":{"type":"number"},"failed_deliveries":{"type":"number"},"stalled_uploads":{"type":"number"},"status":{"type":"string"}},"required":["stale_tasks","overdue_deliveries","failed_deliveries","stalled_uploads","status"],"additionalProperties":false},"Shape0125":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"scopes":{"description":"JSON value; shape depends on the form field or integration schema."},"expiresAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"lastUsedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","name","prefix","scopes","expiresAt","lastUsedAt","createdAt"],"additionalProperties":false},"Input375e3e8281c2":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"scopes":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","enum":["read","write","forms:read","forms:write","campaigns:read","campaigns:write","responses:read","responses:write","assets:read","assets:write","library:read","library:write","bookings:read","bookings:write","connections:read","connections:write","workflows:read","workflows:write","branding:read","branding:write"]}},"expiresAt":{"default":null,"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))$"},{"type":"null"}]}},"required":["name","scopes"]},"Shape0126":{"type":"object","properties":{"id":{"type":"string"},"token":{"type":"string"},"prefix":{"type":"string"},"message":{"type":"string"}},"required":["token","prefix","message"],"additionalProperties":false},"Input8875ba03ab88":{"type":"object","properties":{"kind":{"type":"string","enum":["form_image","form_video","form_download","submission_file"]},"filename":{"type":"string","minLength":1,"maxLength":500},"mediaType":{"type":"string","minLength":1,"maxLength":200},"sizeBytes":{"type":"integer","exclusiveMinimum":0,"maximum":50000000}},"required":["kind","filename","mediaType","sizeBytes"]},"Shape0127":{"type":"object","properties":{"id":{"type":"string"},"uploadUrl":{"type":"string"},"method":{"type":"string","const":"PUT"},"headers":{"$ref":"#/components/schemas/Shape0128"},"expiresInSeconds":{"type":"number"}},"required":["id","uploadUrl","method","headers","expiresInSeconds"],"additionalProperties":false},"Shape0128":{"type":"object","properties":{"content-type":{"type":"string"},"x-amz-server-side-encryption":{"type":"string"}},"required":["content-type","x-amz-server-side-encryption"],"additionalProperties":false},"Shape0129":{"type":"object","properties":{"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"campaignId":{"anyOf":[{"type":"null"},{"type":"string"}]},"submissionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"partialResponseId":{"anyOf":[{"type":"null"},{"type":"string"}]},"uploadIpHash":{"anyOf":[{"type":"null"},{"type":"string"}]},"pendingDeleteObjectKey":{"anyOf":[{"type":"null"},{"type":"string"}]},"kind":{"type":"string"},"status":{"type":"string"},"objectKey":{"type":"string"},"originalFilename":{"type":"string"},"mediaType":{"type":"string"},"sizeBytes":{"type":"number"},"variants":{"description":"JSON value; shape depends on the form field or integration schema."},"reservationExpiresAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"processingStartedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"processingAttempts":{"type":"number"},"nextProcessingAt":{"type":"string","format":"date-time"},"purgeAfter":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]}},"required":["deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","organizationId","campaignId","submissionId","partialResponseId","uploadIpHash","pendingDeleteObjectKey","kind","status","objectKey","originalFilename","mediaType","sizeBytes","variants","reservationExpiresAt","processingStartedAt","processingAttempts","nextProcessingAt","purgeAfter"],"additionalProperties":false},"Shape0130":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false},"Shape0131":{"type":"object","properties":{"rejectionReason":{"type":"string","const":"invalid_format"},"mediaType":{"type":"string"},"sizeBytes":{"type":"number"},"id":{"type":"string"},"status":{"type":"string"}},"required":["id","status"],"additionalProperties":false},"Shape0132":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"followFormUpdates":{"type":"boolean"},"workflowManaged":{"type":"boolean"},"status":{"type":"string"},"automatic":{"type":"boolean"},"currentFormVersionId":{"type":"string"},"latestFormVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]}},"required":["id","name","state","followFormUpdates","workflowManaged","status","automatic","currentFormVersionId","latestFormVersionId"],"additionalProperties":false},"Shape0133":{"type":"object","properties":{"followFormUpdates":{"type":"boolean"},"id":{"type":"string"}},"required":["followFormUpdates","id"],"additionalProperties":false},"Inpute67168e822fc":{"type":"object","properties":{"followFormUpdates":{"type":"boolean"}},"required":["followFormUpdates"]},"Shape0134":{"type":"object","properties":{"summary":{"type":"string"},"summarySource":{"type":"string","enum":["automatic","ai"]},"currentFormVersionId":{"type":"string"},"formVersionId":{"type":"string"}},"required":["summary","summarySource","currentFormVersionId","formVersionId"],"additionalProperties":false},"Shape0135":{"type":"object","properties":{"id":{"type":"string"},"ignoredFormVersionId":{"type":"string"}},"required":["id"],"additionalProperties":false},"Shape0136":{"type":"object","properties":{"id":{"type":"string"},"formVersionId":{"type":"string"},"applied":{"type":"boolean"}},"required":["id","formVersionId","applied"],"additionalProperties":false},"Shape0137":{"type":"object","properties":{"id":{"type":"string"},"applied":{"type":"boolean"},"reason":{"type":"string"}},"required":["id","applied","reason"],"additionalProperties":false},"Shape0138":{"type":"object","properties":{"revision":{"type":"string"},"state":{"type":"string"},"acceptedSubmissions":{"type":"number"},"workflowManaged":{"type":"boolean"},"name":{"type":"string"},"staticForm":{"type":"boolean"},"deadline":{"anyOf":[{"type":"null"},{"type":"string"}]},"maxSubmissions":{"anyOf":[{"type":"null"},{"type":"number"}]},"oncePerIp":{"type":"boolean"},"oncePerPerson":{"type":"boolean"},"audience":{"anyOf":[{"$ref":"#/components/schemas/Shape0139"},{"$ref":"#/components/schemas/Shape0140"},{"$ref":"#/components/schemas/Shape0141"}]},"emailDestinations":{"type":"array","items":{"$ref":"#/components/schemas/Shape0142"}}},"required":["revision","state","acceptedSubmissions","workflowManaged","name","staticForm","deadline","maxSubmissions","oncePerIp","oncePerPerson","audience","emailDestinations"],"additionalProperties":false},"Shape0139":{"type":"object","properties":{"type":{"type":"string","const":"public"}},"required":["type"],"additionalProperties":false},"Shape0140":{"type":"object","properties":{"type":{"type":"string","const":"organization"}},"required":["type"],"additionalProperties":false},"Shape0141":{"type":"object","properties":{"type":{"type":"string","const":"selected_users"},"userIds":{"type":"array","items":{"type":"string"}}},"required":["type","userIds"],"additionalProperties":false},"Shape0142":{"type":"object","properties":{"address":{"type":"string"},"id":{"type":"string"}},"required":["address"],"additionalProperties":false},"Shape0143":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"Input9eceb9e43216":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"staticForm":{"type":"boolean"},"deadline":{"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))$"},{"type":"null"}]},"maxSubmissions":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"oncePerIp":{"type":"boolean"},"oncePerPerson":{"type":"boolean"},"audience":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"public"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"organization"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"selected_users"},"userIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}},"required":["type","userIds"]}]},"emailDestinations":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"address":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["address"],"additionalProperties":false}},"expectedRevision":{"type":"string"}},"additionalProperties":false},"Shape0144":{"type":"object","properties":{"pages":{"type":"array","items":{"$ref":"#/components/schemas/Shape0145"}}},"required":["pages"],"additionalProperties":false},"Shape0145":{"type":"object","properties":{"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"publicToken":{"type":"string"},"timeZone":{"type":"string"},"weeklyLimit":{"anyOf":[{"type":"null"},{"type":"number"}]},"bookingHorizonDays":{"anyOf":[{"type":"null"},{"type":"number"}]},"published":{"type":"boolean"}},"required":["deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","organizationId","title","description","publicToken","timeZone","weeklyLimit","bookingHorizonDays","published"],"additionalProperties":false},"Inpute993caa528a4":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"description":{"default":"","type":"string","maxLength":4000},"timeZone":{"type":"string","minLength":1,"maxLength":100},"weeklyLimit":{"anyOf":[{"type":"integer","minimum":1,"maximum":10000},{"type":"null"}]},"bookingHorizonDays":{"anyOf":[{"type":"integer","minimum":1,"maximum":365},{"type":"null"}]},"published":{"type":"boolean"}},"required":["title","timeZone","weeklyLimit","bookingHorizonDays","published"]},"Shape0146":{"type":"object","properties":{"page":{"$ref":"#/components/schemas/Shape0147"}},"additionalProperties":false},"Shape0147":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"organizationId":{"type":"string"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"description":{"type":"string"},"title":{"type":"string"},"publicToken":{"type":"string"},"timeZone":{"type":"string"},"weeklyLimit":{"anyOf":[{"type":"null"},{"type":"number"}]},"bookingHorizonDays":{"anyOf":[{"type":"null"},{"type":"number"}]},"published":{"type":"boolean"}},"required":["id","createdAt","updatedAt","createdBy","updatedBy","organizationId","deletedAt","description","title","publicToken","timeZone","weeklyLimit","bookingHorizonDays","published"],"additionalProperties":false},"Shape0148":{"type":"object","properties":{"publicUrl":{"type":"string"},"resources":{"type":"array","items":{"$ref":"#/components/schemas/Shape0149"}},"slots":{"type":"array","items":{"$ref":"#/components/schemas/Shape0150"}},"page":{"$ref":"#/components/schemas/Shape0145"}},"required":["publicUrl","resources","slots","page"],"additionalProperties":false},"Shape0149":{"type":"object","properties":{"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"pageId":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"email":{"anyOf":[{"type":"null"},{"type":"string"}]},"position":{"type":"number"}},"required":["deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","pageId","kind","name","email","position"],"additionalProperties":false},"Shape0150":{"type":"object","properties":{"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"pageId":{"type":"string"},"resourceId":{"type":"string"},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time"}},"required":["deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","pageId","resourceId","startsAt","endsAt"],"additionalProperties":false},"Shape0151":{"type":"object","properties":{"page":{"$ref":"#/components/schemas/Shape0152"}},"additionalProperties":false},"Shape0152":{"type":"object","properties":{"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"publicToken":{"type":"string"},"timeZone":{"type":"string"},"weeklyLimit":{"anyOf":[{"type":"null"},{"type":"number"}]},"bookingHorizonDays":{"anyOf":[{"type":"null"},{"type":"number"}]},"published":{"type":"boolean"}},"required":["deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","organizationId","title","description","publicToken","timeZone","weeklyLimit","bookingHorizonDays","published"],"additionalProperties":false},"Input0447e04b682f":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"description":{"default":"","type":"string","maxLength":4000},"timeZone":{"type":"string","minLength":1,"maxLength":100},"weeklyLimit":{"anyOf":[{"type":"integer","minimum":1,"maximum":10000},{"type":"null"}]},"bookingHorizonDays":{"anyOf":[{"type":"integer","minimum":1,"maximum":365},{"type":"null"}]},"published":{"type":"boolean"}}},"Inputada5bc16a2e4":{"type":"object","properties":{"kind":{"type":"string","enum":["person","place"]},"name":{"type":"string","minLength":1,"maxLength":120},"email":{"anyOf":[{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]}},"required":["kind","name","email"]},"Shape0153":{"type":"object","properties":{"resource":{"$ref":"#/components/schemas/Shape0154"}},"additionalProperties":false},"Shape0154":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"email":{"anyOf":[{"type":"null"},{"type":"string"}]},"position":{"type":"number"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"kind":{"type":"string"},"pageId":{"type":"string"}},"required":["id","name","createdAt","updatedAt","createdBy","updatedBy","email","position","deletedAt","kind","pageId"],"additionalProperties":false},"Input874c10befb4b___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"Input874c10befb4b":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input874c10befb4b___schema0"},"resourceId":{"$ref":"#/components/schemas/Input874c10befb4b___schema0"}},"required":["id","resourceId"]},"Inputb3e3a0f01f3d":{"minItems":1,"maxItems":700,"type":"array","items":{"type":"object","properties":{"resourceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"startsAt":{"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)))$"},"endsAt":{"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)))$"}},"required":["resourceId","startsAt","endsAt"]}},"Shape0155":{"type":"object","properties":{"slots":{"type":"array","items":{"$ref":"#/components/schemas/Shape0156"}}},"required":["slots"],"additionalProperties":false},"Shape0156":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"pageId":{"type":"string"},"resourceId":{"type":"string"},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time"}},"required":["id","createdAt","updatedAt","createdBy","updatedBy","deletedAt","pageId","resourceId","startsAt","endsAt"],"additionalProperties":false},"Shape0157":{"type":"object","properties":{"slots":{"type":"number"}},"required":["slots"],"additionalProperties":false},"Inputb2eecad06046___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"Inputb2eecad06046":{"minItems":1,"maxItems":700,"type":"array","items":{"type":"object","properties":{"resourceId":{"$ref":"#/components/schemas/Inputb2eecad06046___schema0"},"startsAt":{"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)))$"},"endsAt":{"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)))$"},"id":{"$ref":"#/components/schemas/Inputb2eecad06046___schema0"}},"required":["resourceId","startsAt","endsAt","id"]}},"Inputca9847a7cc65___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"Inputca9847a7cc65":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputca9847a7cc65___schema0"},"slotId":{"$ref":"#/components/schemas/Inputca9847a7cc65___schema0"}},"required":["id","slotId"]},"Shape0158":{"type":"object","properties":{"appointments":{"type":"array","items":{"$ref":"#/components/schemas/Shape0159"}}},"required":["appointments"],"additionalProperties":false},"Shape0159":{"type":"object","properties":{"id":{"type":"string"},"slotId":{"type":"string"},"guestName":{"type":"string"},"guestEmail":{"type":"string"},"notes":{"anyOf":[{"type":"null"},{"type":"string"}]},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time"},"resourceId":{"type":"string"}},"required":["id","slotId","guestName","guestEmail","notes","startsAt","endsAt","resourceId"],"additionalProperties":false},"Shape0160":{"type":"object","properties":{"page":{"$ref":"#/components/schemas/Shape0161"},"organization":{"$ref":"#/components/schemas/Shape0162"},"resources":{"type":"array","items":{"$ref":"#/components/schemas/Shape0166"}},"slots":{"type":"array","items":{"$ref":"#/components/schemas/Shape0167"}}},"required":["page","resources","slots"],"additionalProperties":false},"Shape0161":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"timeZone":{"type":"string"},"bookingHorizonDays":{"anyOf":[{"type":"null"},{"type":"number"}]}},"required":["id","title","description","timeZone","bookingHorizonDays"],"additionalProperties":false},"Shape0162":{"type":"object","properties":{"name":{"type":"string"},"style":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0163"}]}},"required":["name","style"],"additionalProperties":false},"Shape0163":{"type":"object","properties":{"colorScheme":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Shape0164"}]},"branding":{"$ref":"#/components/schemas/Shape0165"}},"additionalProperties":false},"Shape0164":{"type":"object","properties":{"name":{"type":"string"},"accent":{"type":"string"},"background":{"type":"string"},"ink":{"type":"string"}},"required":["name","accent","background","ink"],"additionalProperties":false},"Shape0165":{"type":"object","properties":{"title":{"type":"string"},"logoUrl":{"type":"string"},"logoAssetId":{"type":"string"},"websiteUrl":{"type":"string"}},"additionalProperties":false},"Shape0166":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"}},"required":["id","kind","name"],"additionalProperties":false},"Shape0167":{"type":"object","properties":{"id":{"type":"string"},"resourceId":{"type":"string"},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time"}},"required":["id","resourceId","startsAt","endsAt"],"additionalProperties":false},"Input3e59e436a70b":{"type":"object","properties":{"token":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["token"]},"Input9ed7cd22db23":{"type":"object","properties":{"slotId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":120},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"notes":{"type":"string","maxLength":2000}},"required":["slotId","name","email"]},"Shape0168":{"type":"object","properties":{"appointment":{"$ref":"#/components/schemas/Shape0169"},"reference":{"type":"string"}},"required":["appointment","reference"],"additionalProperties":false},"Shape0169":{"type":"object","properties":{"id":{"type":"string"},"slotId":{"type":"string"},"title":{"type":"string"},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time"},"timeZone":{"type":"string"},"resource":{"type":"string"}},"required":["id","slotId","title","startsAt","endsAt","timeZone","resource"],"additionalProperties":false},"Input4ee0c31cab5b":{"type":"object","properties":{"token":{"type":"string","minLength":1}},"required":["token"]},"Shape0170":{"type":"object","properties":{"editingBy":{"anyOf":[{"type":"null"},{"type":"string"}]},"formVersionNumber":{"type":"number"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Shape0171"}},"audience":{"$ref":"#/components/schemas/Shape0172"},"publicUrl":{"anyOf":[{"type":"null"},{"type":"string"}]},"destinations":{"type":"array","items":{"description":"JSON value; shape depends on the form field or integration schema."}},"deadline":{"anyOf":[{"type":"null"},{"type":"string"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"formTemplateId":{"type":"string"},"formVersionId":{"type":"string"},"followFormUpdates":{"type":"boolean"},"ignoredFormVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"name":{"type":"string"},"state":{"type":"string"},"audienceType":{"type":"string"},"publicTokenPrefix":{"anyOf":[{"type":"null"},{"type":"string"}]},"publicTokenHash":{"anyOf":[{"type":"null"},{"type":"string"}]},"staticForm":{"type":"boolean"},"maxSubmissions":{"anyOf":[{"type":"null"},{"type":"number"}]},"acceptedSubmissions":{"type":"number"},"oncePerIp":{"type":"boolean"},"oncePerPerson":{"type":"boolean"},"endedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"externalCorrelationId":{"anyOf":[{"type":"null"},{"type":"string"}]},"responseDateRanges":{"description":"JSON value; shape depends on the form field or integration schema."},"introduction":{"anyOf":[{"type":"null"},{"type":"string"}]},"creationFingerprint":{"anyOf":[{"type":"null"},{"type":"string"}]},"integrationContext":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0173"}]}},"required":["editingBy","formVersionNumber","tags","audience","publicUrl","destinations","deadline","createdAt","updatedAt","deletedAt","createdBy","updatedBy","id","organizationId","formTemplateId","formVersionId","followFormUpdates","ignoredFormVersionId","name","state","audienceType","publicTokenPrefix","publicTokenHash","staticForm","maxSubmissions","acceptedSubmissions","oncePerIp","oncePerPerson","endedAt","externalCorrelationId","responseDateRanges","introduction","creationFingerprint","integrationContext"],"additionalProperties":false},"Shape0171":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"}},"required":["id","name","createdAt","updatedAt","createdBy","updatedBy"],"additionalProperties":false},"Shape0172":{"type":"object","properties":{"type":{"type":"string"}},"required":["type"],"additionalProperties":false},"Shape0173":{"type":"object","properties":{"workflowId":{"type":"string"},"processId":{"type":"string"},"workflowVersionId":{"type":"string"},"nodeId":{"type":"string"},"invocationId":{"type":"string"},"waitId":{"type":"string"},"taskUserId":{"type":"string"},"callbackMetadataVersion":{"type":"number","const":1}},"required":["workflowId","workflowVersionId","nodeId","invocationId","waitId"],"additionalProperties":false},"Shape0174":{"type":"object","properties":{"tagIds":{"type":"array","items":{"type":"string"}}},"required":["tagIds"],"additionalProperties":false},"Input13266c665060":{"type":"object","properties":{"tagIds":{"maxItems":50,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["tagIds"]},"Input4ab788be09be":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"formTemplateId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"formVersionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"introduction":{"type":"string","maxLength":100000},"integrationContext":{"type":"object","properties":{"workflowId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"processId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workflowVersionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"nodeId":{"type":"string","minLength":1,"maxLength":160},"invocationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"waitId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"taskUserId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"callbackMetadataVersion":{"type":"number","const":1}},"required":["workflowId","workflowVersionId","nodeId","invocationId","waitId"]},"audience":{"default":{"type":"public"},"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"public"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"organization"}},"required":["type"]},{"type":"object","properties":{"type":{"type":"string","const":"selected_users"},"userIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string"}}},"required":["type","userIds"]}]},"staticForm":{"default":false,"type":"boolean"},"deadline":{"default":null,"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))$"},{"type":"null"}]},"maxSubmissions":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"oncePerIp":{"default":false,"type":"boolean"},"oncePerPerson":{"default":false,"type":"boolean"},"startActive":{"default":false,"type":"boolean"},"destinations":{"default":[],"maxItems":20,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"email"},"address":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["type","address"]},{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT"]},"url":{"type":"string","format":"uri"},"payloadFormat":{"default":"pollenforms","type":"string","enum":["pollenforms","auraflow_await_response"]},"fieldMap":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"valueMap":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"signingSecret":{"type":"string","minLength":32,"maxLength":4096},"auth":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"bearer"},"token":{"type":"string","minLength":1,"maxLength":4096,"pattern":"^[^\\r\\n]+$"}},"required":["type","token"]},{"type":"object","properties":{"type":{"type":"string","const":"basic"},"username":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[^:\\r\\n]+$"},"password":{"type":"string","minLength":1,"maxLength":4096}},"required":["type","username","password"]},{"type":"object","properties":{"type":{"type":"string","const":"api_key"},"headerName":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9-]*$"},"value":{"type":"string","minLength":1,"maxLength":4096,"pattern":"^[^\\r\\n]+$"}},"required":["type","headerName","value"]}]},"responseSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["type","method","url"]}]}},"externalCorrelationId":{"default":null,"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]}},"required":["name","formTemplateId"]},"Shape0175":{"type":"object","properties":{"tags":{"type":"array","items":{"$ref":"#/components/schemas/Shape0171"}},"formVersionNumber":{"type":"number"},"publicUrl":{"anyOf":[{"type":"null"},{"type":"string"}]},"webhookSecrets":{"type":"array","items":{"$ref":"#/components/schemas/Shape0176"}},"formTemplateId":{"type":"string"},"formVersionId":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"organizationId":{"type":"string"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"followFormUpdates":{"type":"boolean"},"ignoredFormVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"state":{"type":"string"},"audienceType":{"type":"string"},"publicTokenPrefix":{"anyOf":[{"type":"null"},{"type":"string"}]},"publicTokenHash":{"anyOf":[{"type":"null"},{"type":"string"}]},"deadline":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"staticForm":{"type":"boolean"},"maxSubmissions":{"anyOf":[{"type":"null"},{"type":"number"}]},"acceptedSubmissions":{"type":"number"},"oncePerIp":{"type":"boolean"},"oncePerPerson":{"type":"boolean"},"endedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"externalCorrelationId":{"anyOf":[{"type":"null"},{"type":"string"}]},"responseDateRanges":{"description":"JSON value; shape depends on the form field or integration schema."},"introduction":{"anyOf":[{"type":"null"},{"type":"string"}]},"creationFingerprint":{"anyOf":[{"type":"null"},{"type":"string"}]},"integrationContext":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0173"}]}},"required":["tags","formVersionNumber","publicUrl","webhookSecrets","formTemplateId","formVersionId","id","name","createdAt","updatedAt","createdBy","updatedBy","organizationId","deletedAt","followFormUpdates","ignoredFormVersionId","state","audienceType","publicTokenPrefix","publicTokenHash","deadline","staticForm","maxSubmissions","acceptedSubmissions","oncePerIp","oncePerPerson","endedAt","externalCorrelationId","responseDateRanges","introduction","creationFingerprint","integrationContext"],"additionalProperties":false},"Shape0176":{"type":"object","properties":{"destinationId":{"type":"string"},"secret":{"type":"string"}},"required":["destinationId","secret"],"additionalProperties":false},"Shape0177":{"type":"object","properties":{"tags":{"type":"array","items":{"$ref":"#/components/schemas/Shape0171"}},"formVersionNumber":{"type":"number"},"publicUrl":{"anyOf":[{"type":"null"},{"type":"string"}]},"webhookSecrets":{"type":"array","items":{"$ref":"#/components/schemas/Shape0176"}},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"formTemplateId":{"type":"string"},"formVersionId":{"type":"string"},"followFormUpdates":{"type":"boolean"},"ignoredFormVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"name":{"type":"string"},"state":{"type":"string"},"audienceType":{"type":"string"},"publicTokenPrefix":{"anyOf":[{"type":"null"},{"type":"string"}]},"publicTokenHash":{"anyOf":[{"type":"null"},{"type":"string"}]},"deadline":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"staticForm":{"type":"boolean"},"maxSubmissions":{"anyOf":[{"type":"null"},{"type":"number"}]},"acceptedSubmissions":{"type":"number"},"oncePerIp":{"type":"boolean"},"oncePerPerson":{"type":"boolean"},"endedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"externalCorrelationId":{"anyOf":[{"type":"null"},{"type":"string"}]},"responseDateRanges":{"description":"JSON value; shape depends on the form field or integration schema."},"introduction":{"anyOf":[{"type":"null"},{"type":"string"}]},"creationFingerprint":{"anyOf":[{"type":"null"},{"type":"string"}]},"integrationContext":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0173"}]}},"required":["tags","formVersionNumber","publicUrl","webhookSecrets","deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","organizationId","formTemplateId","formVersionId","followFormUpdates","ignoredFormVersionId","name","state","audienceType","publicTokenPrefix","publicTokenHash","deadline","staticForm","maxSubmissions","acceptedSubmissions","oncePerIp","oncePerPerson","endedAt","externalCorrelationId","responseDateRanges","introduction","creationFingerprint","integrationContext"],"additionalProperties":false},"Shape0178":{"type":"object","properties":{"publicUrl":{"anyOf":[{"type":"null"},{"type":"string"}]},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"formTemplateId":{"type":"string"},"formVersionId":{"type":"string"},"followFormUpdates":{"type":"boolean"},"ignoredFormVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"name":{"type":"string"},"state":{"type":"string"},"audienceType":{"type":"string"},"publicTokenPrefix":{"anyOf":[{"type":"null"},{"type":"string"}]},"publicTokenHash":{"anyOf":[{"type":"null"},{"type":"string"}]},"deadline":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"staticForm":{"type":"boolean"},"maxSubmissions":{"anyOf":[{"type":"null"},{"type":"number"}]},"acceptedSubmissions":{"type":"number"},"oncePerIp":{"type":"boolean"},"oncePerPerson":{"type":"boolean"},"endedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"externalCorrelationId":{"anyOf":[{"type":"null"},{"type":"string"}]},"responseDateRanges":{"description":"JSON value; shape depends on the form field or integration schema."},"introduction":{"anyOf":[{"type":"null"},{"type":"string"}]},"creationFingerprint":{"anyOf":[{"type":"null"},{"type":"string"}]},"integrationContext":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0173"}]}},"required":["publicUrl","deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","organizationId","formTemplateId","formVersionId","followFormUpdates","ignoredFormVersionId","name","state","audienceType","publicTokenPrefix","publicTokenHash","deadline","staticForm","maxSubmissions","acceptedSubmissions","oncePerIp","oncePerPerson","endedAt","externalCorrelationId","responseDateRanges","introduction","creationFingerprint","integrationContext"],"additionalProperties":false},"Input4049371b6edd":{"type":"object","properties":{"state":{"type":"string","enum":["active","paused","ended"]}},"required":["state"]},"Shape0179":{"type":"object","properties":{"workflows":{"type":"array","items":{"$ref":"#/components/schemas/Shape0180"}},"resultsSummary":{"$ref":"#/components/schemas/Shape0181"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Shape0186"}},"campaign":{"$ref":"#/components/schemas/Shape0188"},"submissions":{"type":"array","items":{"$ref":"#/components/schemas/Shape0189"}}},"required":["workflows","resultsSummary","fields","campaign","submissions"],"additionalProperties":false},"Shape0180":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"anyOf":[{"type":"null"},{"type":"string"}]}},"required":["id","name","url"],"additionalProperties":false},"Shape0181":{"type":"object","properties":{"totalResponses":{"type":"number"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Shape0182"}}},"required":["totalResponses","fields"],"additionalProperties":false},"Shape0182":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["number","select","checkbox","multiselect"]},"suffix":{"type":"string"},"versionNumbers":{"type":"array","items":{"type":"number"}},"total":{"type":"number"},"answered":{"type":"number"},"missing":{"type":"number"},"options":{"type":"array","items":{"$ref":"#/components/schemas/Shape0183"}},"numeric":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0184"}]}},"required":["id","key","label","type","suffix","versionNumbers","total","answered","missing","options","numeric"],"additionalProperties":false},"Shape0183":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"count":{"type":"number"}},"required":["value","label","count"],"additionalProperties":false},"Shape0184":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"mean":{"type":"number"},"bins":{"type":"array","items":{"$ref":"#/components/schemas/Shape0185"}}},"required":["min","max","mean","bins"],"additionalProperties":false},"Shape0185":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"count":{"type":"number"}},"required":["min","max","count"],"additionalProperties":false},"Shape0186":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["input","file","table","select","appointment","checkbox","multiselect"]},"textFormat":{"type":"string","enum":["email","plain","url"]},"columns":{"type":"array","items":{"$ref":"#/components/schemas/Shape0010"}},"suffix":{"type":"string"},"options":{"type":"array","items":{"$ref":"#/components/schemas/Shape0187"}}},"required":["key","label","type","textFormat","columns","suffix","options"],"additionalProperties":false},"Shape0187":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false},"Shape0188":{"type":"object","properties":{"hasNewerForm":{"type":"boolean"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Shape0171"}},"publicUrl":{"anyOf":[{"type":"null"},{"type":"string"}]},"deadline":{"anyOf":[{"type":"null"},{"type":"string"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"formTemplateId":{"type":"string"},"formVersionId":{"type":"string"},"followFormUpdates":{"type":"boolean"},"ignoredFormVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"name":{"type":"string"},"state":{"type":"string"},"audienceType":{"type":"string"},"publicTokenPrefix":{"anyOf":[{"type":"null"},{"type":"string"}]},"publicTokenHash":{"anyOf":[{"type":"null"},{"type":"string"}]},"staticForm":{"type":"boolean"},"maxSubmissions":{"anyOf":[{"type":"null"},{"type":"number"}]},"acceptedSubmissions":{"type":"number"},"oncePerIp":{"type":"boolean"},"oncePerPerson":{"type":"boolean"},"endedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"externalCorrelationId":{"anyOf":[{"type":"null"},{"type":"string"}]},"responseDateRanges":{"description":"JSON value; shape depends on the form field or integration schema."},"introduction":{"anyOf":[{"type":"null"},{"type":"string"}]},"creationFingerprint":{"anyOf":[{"type":"null"},{"type":"string"}]},"integrationContext":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0173"}]}},"required":["hasNewerForm","tags","publicUrl","deadline","createdAt","updatedAt","deletedAt","createdBy","updatedBy","id","organizationId","formTemplateId","formVersionId","followFormUpdates","ignoredFormVersionId","name","state","audienceType","publicTokenPrefix","publicTokenHash","staticForm","maxSubmissions","acceptedSubmissions","oncePerIp","oncePerPerson","endedAt","externalCorrelationId","responseDateRanges","introduction","creationFingerprint","integrationContext"],"additionalProperties":false},"Shape0189":{"type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/Shape0186"}},"acceptedAt":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"deliveries":{"type":"array","items":{"$ref":"#/components/schemas/SanitizedDelivery"}},"fileUrls":{"$ref":"#/components/schemas/Shape0190"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"campaignId":{"type":"string"},"formVersionId":{"type":"string"},"values":{"$ref":"#/components/schemas/SubmissionValues"},"submittedByUserId":{"anyOf":[{"type":"null"},{"type":"string"}]},"ipHash":{"anyOf":[{"type":"null"},{"type":"string"}]},"idempotencyKey":{"type":"string"}},"required":["fields","acceptedAt","createdAt","updatedAt","deliveries","fileUrls","deletedAt","createdBy","updatedBy","id","campaignId","formVersionId","values","submittedByUserId","ipHash","idempotencyKey"],"additionalProperties":false},"Shape0190":{"type":"object","additionalProperties":{"anyOf":[{"type":"null"},{"type":"string"}]}},"Shape0191":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false},"Inputee436a2fea2d":{"type":"object","properties":{"token":{"type":"string","minLength":1},"assetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["token","assetId"]},"Shape0192":{"type":"object","properties":{"newerVersionAvailable":{"type":"boolean"}},"required":["newerVersionAvailable"],"additionalProperties":false},"Inputafb88b97b2b9":{"type":"object","properties":{"formVersionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["formVersionId"]},"Shape0193":{"type":"object","properties":{"formSession":{"type":"string"},"newerVersionAvailable":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"form":{"$ref":"#/components/schemas/Shape0194"},"assetUrls":{"description":"JSON value; shape depends on the form field or integration schema."},"protectedVideoAssetIds":{"type":"array","items":{"type":"string"}},"signedInAs":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0195"}]},"unavailable":{"type":"boolean"},"allowRepeatSubmission":{"type":"boolean"},"discardProgress":{"type":"boolean"},"unavailableReason":{"anyOf":[{"type":"null"},{"type":"string"}]}},"required":["formSession","newerVersionAvailable","id","name","form","assetUrls","protectedVideoAssetIds","signedInAs","unavailable","allowRepeatSubmission","discardProgress","unavailableReason"],"additionalProperties":false},"Shape0194":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"introduction":{"anyOf":[{"type":"null"},{"type":"string"}]},"style":{"$ref":"#/components/schemas/Shape0064"},"content":{"$ref":"#/components/schemas/FormContent"}},"required":["id","name","description","introduction","style","content"],"additionalProperties":false},"Shape0195":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"}},"required":["name","email"],"additionalProperties":false},"Input90644f50e52e":{"type":"object","properties":{"partialResponseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"Shape0196":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0197"}},"discardedIds":{"type":"array","items":{"type":"string"}}},"required":["items","discardedIds"],"additionalProperties":false},"Shape0197":{"type":"object","properties":{"id":{"type":"string"},"campaignName":{"type":"string"},"formName":{"type":"string"},"currentPage":{"type":"number"},"pageCount":{"type":"number"},"locale":{"type":"string","enum":["en","de"]},"updatedAt":{"type":"string"},"resumePath":{"type":"string"},"restartRequired":{"type":"boolean"}},"required":["id","campaignName","formName","currentPage","pageCount","locale","updatedAt","resumePath","restartRequired"],"additionalProperties":false},"Input3504a79f2639":{"type":"object","properties":{"ids":{"maxItems":20,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["ids"]},"Shape0198":{"type":"object","properties":{"id":{"type":"string"},"filePreviewUrls":{"description":"JSON value; shape depends on the form field or integration schema."},"values":{"description":"JSON value; shape depends on the form field or integration schema."},"currentPage":{"type":"number"},"updatedAt":{"type":"string"}},"required":["id","filePreviewUrls","values","currentPage","updatedAt"],"additionalProperties":false},"Input00a13476d7fc":{"type":"object","properties":{"token":{"type":"string","minLength":1},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["token","id"]},"Input1a65ac40dd6b___schema0":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"Input1a65ac40dd6b___schema1":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"Input1a65ac40dd6b___schema2":{"type":"object","properties":{"fileId":{"$ref":"#/components/schemas/Input1a65ac40dd6b___schema1"},"filename":{"type":"string"},"mediaType":{"type":"string"},"size":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["fileId","filename","mediaType","size"]},"Input1a65ac40dd6b":{"type":"object","properties":{"formVersionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"values":{"type":"object","propertyNames":{"$ref":"#/components/schemas/Input1a65ac40dd6b___schema0"},"additionalProperties":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"appointment"},"slotId":{"$ref":"#/components/schemas/Input1a65ac40dd6b___schema1"},"name":{"type":"string","maxLength":120},"email":{"type":"string","maxLength":320}},"required":["kind"]},{"type":"string","maxLength":50000},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"$ref":"#/components/schemas/Input1a65ac40dd6b___schema2"},{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/Input1a65ac40dd6b___schema2"}},{"type":"array","items":{"type":"object","propertyNames":{"$ref":"#/components/schemas/Input1a65ac40dd6b___schema0"},"additionalProperties":{"anyOf":[{"type":"string","maxLength":50000},{"type":"number"},{"type":"boolean"},{"maxItems":200,"type":"array","items":{"type":"string","maxLength":80}},{"$ref":"#/components/schemas/Input1a65ac40dd6b___schema2"},{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/Input1a65ac40dd6b___schema2"}}]}}}]}},"currentPage":{"type":"integer","minimum":0,"maximum":499}},"required":["values","currentPage"]},"Shape0199":{"type":"object","properties":{"id":{"type":"string"},"currentPage":{"type":"number"},"updatedAt":{"type":"string"}},"required":["id","currentPage","updatedAt"],"additionalProperties":false},"Shape0200":{"type":"object","properties":{"id":{"type":"string"},"currentPage":{"type":"number"},"updatedAt":{"type":"string"}},"required":["id","currentPage","updatedAt"],"additionalProperties":false},"Shape0201":{"type":"object","properties":{"url":{"type":"string"},"expiresInSeconds":{"type":"number"}},"required":["url","expiresInSeconds"],"additionalProperties":false},"Shape0202":{"type":"object","properties":{"transcript":{"type":"string"}},"required":["transcript"],"additionalProperties":false},"Inputb3787c66607e___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"Inputb3787c66607e___schema1":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"Inputb3787c66607e___schema2":{"type":"object","properties":{"fileId":{"$ref":"#/components/schemas/Inputb3787c66607e___schema0"},"filename":{"type":"string"},"mediaType":{"type":"string"},"size":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["fileId","filename","mediaType","size"]},"Inputb3787c66607e":{"type":"object","properties":{"formVersionId":{"$ref":"#/components/schemas/Inputb3787c66607e___schema0"},"values":{"type":"object","propertyNames":{"$ref":"#/components/schemas/Inputb3787c66607e___schema1"},"additionalProperties":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"appointment"},"slotId":{"$ref":"#/components/schemas/Inputb3787c66607e___schema0"},"name":{"type":"string","maxLength":120},"email":{"type":"string","maxLength":320}},"required":["kind"]},{"type":"string","maxLength":50000},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"$ref":"#/components/schemas/Inputb3787c66607e___schema2"},{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/Inputb3787c66607e___schema2"}},{"type":"array","items":{"type":"object","propertyNames":{"$ref":"#/components/schemas/Inputb3787c66607e___schema1"},"additionalProperties":{"anyOf":[{"type":"string","maxLength":50000},{"type":"number"},{"type":"boolean"},{"maxItems":200,"type":"array","items":{"type":"string","maxLength":80}},{"$ref":"#/components/schemas/Inputb3787c66607e___schema2"},{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/Inputb3787c66607e___schema2"}}]}}}]}},"partialResponseId":{"$ref":"#/components/schemas/Inputb3787c66607e___schema0"}},"required":["values"]},"Shape0203":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"acceptedAt":{"type":"string"}},"required":["id","status","acceptedAt"],"additionalProperties":false},"Shape0204":{"type":"object","properties":{"entries":{"type":"array","items":{"$ref":"#/components/schemas/Shape0205"}},"nextCursor":{"anyOf":[{"type":"null"},{"type":"number"}]},"revision":{"type":"number"},"canUndo":{"type":"boolean"},"canRedo":{"type":"boolean"},"undoDescription":{"anyOf":[{"type":"null"},{"type":"string"}]},"redoDescription":{"anyOf":[{"type":"null"},{"type":"string"}]},"undoActions":{"anyOf":[{"type":"null"},{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0206"},{"$ref":"#/components/schemas/Shape0207"}]}}]},"redoActions":{"anyOf":[{"type":"null"},{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0206"},{"$ref":"#/components/schemas/Shape0207"}]}}]}},"required":["entries","nextCursor","revision","canUndo","canRedo","undoDescription","redoDescription","undoActions","redoActions"],"additionalProperties":false},"Shape0205":{"type":"object","properties":{"actions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0206"},{"$ref":"#/components/schemas/Shape0207"}]}},"isCollecting":{"type":"boolean"},"id":{"type":"string"},"revision":{"type":"number"},"editors":{"type":"array","items":{"$ref":"#/components/schemas/Shape0209"}},"savedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"summary":{"type":"string"},"summarySource":{"type":"string","enum":["automatic","ai"]}},"required":["actions","isCollecting","id","revision","editors","savedAt","createdBy","createdAt","summary","summarySource"],"additionalProperties":false},"Shape0206":{"type":"object","properties":{"kind":{"type":"string","enum":["description","settings","rename","reorder","editForm"]}},"required":["kind"],"additionalProperties":false},"Shape0207":{"type":"object","properties":{"kind":{"type":"string","enum":["edit","delete","add"]},"count":{"type":"number"},"element":{"$ref":"#/components/schemas/Shape0208"}},"required":["kind","count"],"additionalProperties":false},"Shape0208":{"type":"object","properties":{"label":{"type":"string"},"type":{"type":"string","enum":["input","file","table","select","appointment","text","checkbox","multiselect","divider","pageBreak","card","section","image","video","download"]}},"required":["label","type"],"additionalProperties":false},"Shape0209":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"Inputa77260df291e":{"type":"object","properties":{"before":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"Shape0210":{"type":"object","properties":{"workflowSyncPending":{"type":"boolean","const":true},"revision":{"type":"number"},"valid":{"type":"boolean"},"updatedAt":{"type":"string"},"updatedBy":{"type":"string"},"lastEditedByName":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"descriptionAuto":{"type":"boolean"},"content":{"description":"JSON value; shape depends on the form field or integration schema."}},"required":["revision","valid","updatedAt","updatedBy","lastEditedByName","name","description","descriptionAuto","content"],"additionalProperties":false},"Shape0211":{"type":"object","properties":{"workflowSyncPending":{"type":"boolean","const":true},"publishedUpToDate":{"type":"boolean"},"revision":{"type":"number"},"valid":{"type":"boolean"},"updatedAt":{"type":"string"},"updatedBy":{"type":"string"},"lastEditedByName":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"descriptionAuto":{"type":"boolean"},"content":{"description":"JSON value; shape depends on the form field or integration schema."}},"required":["publishedUpToDate","revision","valid","updatedAt","updatedBy","lastEditedByName","name","description","content"],"additionalProperties":false},"Inputf54ab7230483":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operation":{"type":"string","enum":["undo","redo","restore"]}},"required":["id","operation"]},"Input0e459bae912d":{"type":"object","properties":{"baseRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["baseRevision"]},"Inputa0ceb39086eb":{"type":"object","properties":{"snapshotId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["snapshotId"]},"Shape0212":{"type":"object","properties":{"deletedAt":{"type":"string"},"type":{"type":"string","const":"form"},"id":{"type":"string"},"name":{"type":"string"}},"required":["deletedAt","type","id","name"],"additionalProperties":false},"Shape0213":{"type":"object","properties":{"deletedAt":{"type":"string"},"type":{"type":"string","const":"folder"},"id":{"type":"string"},"name":{"type":"string"}},"required":["deletedAt","type","id","name"],"additionalProperties":false},"Shape0214":{"type":"object","properties":{"restoredContents":{"$ref":"#/components/schemas/Shape0215"},"id":{"type":"string"},"movedToTopLevel":{"type":"boolean"}},"required":["id","movedToTopLevel"],"additionalProperties":false},"Shape0215":{"type":"object","properties":{"folderIds":{"type":"array","items":{"type":"string"}},"formIds":{"type":"array","items":{"type":"string"}}},"required":["folderIds","formIds"],"additionalProperties":false},"Shape0216":{"type":"object","properties":{"folders":{"type":"array","items":{"$ref":"#/components/schemas/Shape0217"}},"tags":{"type":"array","items":{"$ref":"#/components/schemas/Shape0218"}},"forms":{"type":"array","items":{"$ref":"#/components/schemas/Shape0219"}}},"required":["folders","tags","forms"],"additionalProperties":false},"Shape0217":{"type":"object","properties":{"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"parentId":{"anyOf":[{"type":"null"},{"type":"string"}]},"trashBatchId":{"anyOf":[{"type":"null"},{"type":"string"}]},"name":{"type":"string"},"managedWorkflowId":{"anyOf":[{"type":"null"},{"type":"string"}]},"position":{"type":"number"}},"required":["createdAt","updatedAt","deletedAt","createdBy","updatedBy","id","organizationId","parentId","trashBatchId","name","managedWorkflowId","position"],"additionalProperties":false},"Shape0218":{"type":"object","properties":{"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"}},"required":["createdAt","updatedAt","deletedAt","createdBy","updatedBy","id","organizationId","name"],"additionalProperties":false},"Shape0219":{"type":"object","properties":{"id":{"type":"string"},"managedWorkflow":{"$ref":"#/components/schemas/Shape0220"},"editingBy":{"anyOf":[{"type":"null"},{"type":"string"}]},"name":{"type":"string"},"description":{"type":"string"},"folderId":{"anyOf":[{"type":"null"},{"type":"string"}]},"position":{"type":"number"},"tags":{"type":"array","items":{"description":"JSON value; shape depends on the form field or integration schema."}},"draftRevision":{"type":"number"},"draftValid":{"type":"boolean"},"latestPublishedVersion":{"anyOf":[{"type":"null"},{"type":"number"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"}},"required":["id","editingBy","name","description","folderId","position","tags","draftRevision","draftValid","latestPublishedVersion","createdAt","updatedAt","createdBy","updatedBy"],"additionalProperties":false},"Shape0220":{"type":"object","properties":{"url":{"anyOf":[{"type":"null"},{"type":"string"}]},"workflowId":{"type":"string"},"processId":{"type":"string"},"processName":{"type":"string"},"workflowName":{"type":"string"},"workflowVersionId":{"type":"string"},"nodeId":{"type":"string"}},"required":["url"],"additionalProperties":false},"Input9804d2f2a140":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":120},"parentId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["name"]},"Shape0221":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"organizationId":{"type":"string"},"parentId":{"anyOf":[{"type":"null"},{"type":"string"}]},"trashBatchId":{"anyOf":[{"type":"null"},{"type":"string"}]},"managedWorkflowId":{"anyOf":[{"type":"null"},{"type":"string"}]},"position":{"type":"number"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]}},"required":["id","name","createdAt","updatedAt","createdBy","updatedBy","organizationId","parentId","trashBatchId","managedWorkflowId","position","deletedAt"],"additionalProperties":false},"Shape0222":{"type":"object","properties":{"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"parentId":{"anyOf":[{"type":"null"},{"type":"string"}]},"trashBatchId":{"anyOf":[{"type":"null"},{"type":"string"}]},"name":{"type":"string"},"managedWorkflowId":{"anyOf":[{"type":"null"},{"type":"string"}]},"position":{"type":"number"}},"required":["deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","organizationId","parentId","trashBatchId","name","managedWorkflowId","position"],"additionalProperties":false},"Inputffde0ff71331":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"]},"Shape0223":{"type":"object","properties":{"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"parentId":{"anyOf":[{"type":"null"},{"type":"string"}]},"trashBatchId":{"anyOf":[{"type":"null"},{"type":"string"}]},"name":{"type":"string"},"managedWorkflowId":{"anyOf":[{"type":"null"},{"type":"string"}]},"position":{"type":"number"}},"required":["deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","organizationId","parentId","trashBatchId","name","managedWorkflowId","position"],"additionalProperties":false},"Inpute0c6cadbdfc6":{"type":"object","properties":{"parentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["parentId","position"]},"Inputd702cee5e199":{"type":"object","properties":{"expectedContents":{"type":"object","properties":{"folderIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"formIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["folderIds","formIds"]}},"required":["expectedContents"]},"Inputc639d662bacb":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60}},"required":["name"]},"Shape0224":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"organizationId":{"type":"string"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]}},"required":["id","name","createdAt","updatedAt","createdBy","updatedBy","organizationId","deletedAt"],"additionalProperties":false},"Shape0225":{"type":"object","properties":{"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"}},"required":["deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","organizationId","name"],"additionalProperties":false},"Input9deb4fcf8028___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"Input9deb4fcf8028___schema1":{"default":"full","type":"string","enum":["full","half","third"]},"Input9deb4fcf8028___schema2":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema3"}},"Input9deb4fcf8028___schema3":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema4"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema4"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema4"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"Input9deb4fcf8028___schema4":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"Input9deb4fcf8028___schema5":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema6"},"Input9deb4fcf8028___schema6":{"type":"string","enum":["all","any"]},"Input9deb4fcf8028___schema7":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"Input9deb4fcf8028___schema8":{"type":"string","maxLength":240},"Input9deb4fcf8028___schema9":{"type":"string","maxLength":80},"Input9deb4fcf8028___schema10":{"type":"boolean"},"Input9deb4fcf8028___schema11":{"default":"","type":"string","maxLength":2000},"Input9deb4fcf8028___schema12":{"type":"string","maxLength":240},"Input9deb4fcf8028___schema13":{"type":"string","maxLength":80},"Input9deb4fcf8028___schema14":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"Input9deb4fcf8028___schema15":{"type":"string"},"Input9deb4fcf8028___schema16":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"Input9deb4fcf8028___schema17":{"default":"","type":"string","maxLength":500},"Input9deb4fcf8028___schema18":{"default":"","type":"string","maxLength":1000},"Input9deb4fcf8028___schema19":{"default":"","type":"string","maxLength":50000},"Input9deb4fcf8028___schema20":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"label":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema12"},"value":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema13"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema3"}},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema6"}},"required":["id","label","value"]},"Input9deb4fcf8028":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"default":"","type":"string","maxLength":2000},"folderId":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},{"type":"null"}]},"tagIds":{"default":[],"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"}},"content":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"label":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema9"},"required":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema10"},"description":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema11"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"label":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema9"},"required":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema10"},"description":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema11"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"label":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema12"},"value":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema13"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"label":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema9"},"required":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema10"},"description":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema11"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input9deb4fcf8028___schema15"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input9deb4fcf8028___schema15"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input9deb4fcf8028___schema16"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input9deb4fcf8028___schema16"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema17"},"caption":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema18"},"transcript":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema19"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema17"},"caption":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema18"},"transcript":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema19"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"label":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema9"},"required":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema10"},"description":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema11"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"label":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema9"},"required":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema10"},"description":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema11"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema20"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"label":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema9"},"required":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema10"},"description":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema11"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema20"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema0"},"width":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema1"},"conditions":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema5"},"containerId":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema7"},"label":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema9"},"required":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema10"},"description":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema11"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Input9deb4fcf8028___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]}}},"required":["schemaVersion","elements"]}},"required":["name"]},"Shape0226":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"organizationId":{"type":"string"},"trashBatchId":{"anyOf":[{"type":"null"},{"type":"string"}]},"position":{"type":"number"},"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"folderId":{"anyOf":[{"type":"null"},{"type":"string"}]},"description":{"type":"string"},"descriptionAuto":{"type":"boolean"},"style":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0227"}]},"nextVersionNumber":{"type":"number"},"latestPublishedVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"managedBy":{"anyOf":[{"type":"null"},{"type":"string"}]},"externalReference":{"anyOf":[{"type":"null"},{"type":"string"}]},"workflowReference":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0228"}]}},"required":["id","name","createdAt","updatedAt","createdBy","updatedBy","organizationId","trashBatchId","position","deletedAt","folderId","description","descriptionAuto","style","nextVersionNumber","latestPublishedVersionId","managedBy","externalReference","workflowReference"],"additionalProperties":false},"Shape0227":{"type":"object","properties":{"colorScheme":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/Shape0164"}]}},"additionalProperties":false},"Shape0228":{"type":"object","properties":{"workflowId":{"type":"string"},"processId":{"type":"string"},"processName":{"type":"string"},"workflowName":{"type":"string"},"workflowVersionId":{"type":"string"},"nodeId":{"type":"string"}},"required":["workflowId","workflowVersionId","nodeId"],"additionalProperties":false},"Shape0229":{"type":"object","properties":{"id":{"type":"string"},"managedWorkflow":{"$ref":"#/components/schemas/Shape0220"},"name":{"type":"string"},"description":{"type":"string"},"folderId":{"anyOf":[{"type":"null"},{"type":"string"}]},"position":{"type":"number"},"tags":{"type":"array","items":{"description":"JSON value; shape depends on the form field or integration schema."}},"draftRevision":{"type":"number"},"draftValid":{"type":"boolean"},"latestPublishedVersion":{"anyOf":[{"type":"null"},{"type":"number"}]},"publishedUpToDate":{"type":"boolean"},"content":{"$ref":"#/components/schemas/FormDraftContent"},"lastEditedByName":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"}},"required":["id","name","description","folderId","position","tags","draftRevision","draftValid","latestPublishedVersion","publishedUpToDate","content","lastEditedByName","createdAt","updatedAt","createdBy","updatedBy"],"additionalProperties":false},"Shape0230":{"type":"object","properties":{"workflowSyncPending":{"type":"boolean","const":true},"id":{"type":"string"},"name":{"type":"string"},"revision":{"type":"number"}},"required":["id","name","revision"],"additionalProperties":false},"Input2096efb9a2bb":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200}},"required":["name"]},"Shape0231":{"type":"object","properties":{"description":{"type":"string"},"publishedUpToDate":{"type":"boolean"},"revision":{"type":"number"},"updatedAt":{"type":"string"},"updatedBy":{"type":"string"},"lastEditedByName":{"type":"string"},"valid":{"type":"boolean"},"issues":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0232"},{"$ref":"#/components/schemas/Shape0235"},{"$ref":"#/components/schemas/Shape0236"},{"$ref":"#/components/schemas/Shape0237"},{"$ref":"#/components/schemas/Shape0238"},{"$ref":"#/components/schemas/Shape0239"},{"$ref":"#/components/schemas/Shape0240"},{"$ref":"#/components/schemas/Shape0241"},{"$ref":"#/components/schemas/Shape0242"},{"$ref":"#/components/schemas/Shape0243"},{"$ref":"#/components/schemas/Shape0244"},{"$ref":"#/components/schemas/Shape0245"}]}},"workflowSyncPending":{"type":"boolean","const":true}},"required":["description","publishedUpToDate","revision","updatedAt","updatedBy","lastEditedByName","valid","issues"],"additionalProperties":false},"Shape0232":{"type":"object","properties":{"code":{"type":"string","const":"invalid_format"},"format":{"anyOf":[{"type":"string","const":"date"},{"type":"string","const":"uuid"},{"type":"string","const":"includes"},{"type":"string","const":"duration"},{"type":"string","const":"email"},{"$ref":"#/components/schemas/Shape0233"},{"type":"string","const":"time"},{"type":"string","const":"datetime"},{"type":"string","const":"url"},{"type":"string","const":"base64"},{"type":"string","const":"base64url"},{"type":"string","const":"emoji"},{"type":"string","const":"guid"},{"type":"string","const":"nanoid"},{"type":"string","const":"cuid"},{"type":"string","const":"cuid2"},{"type":"string","const":"ulid"},{"type":"string","const":"xid"},{"type":"string","const":"ksuid"},{"type":"string","const":"ipv4"},{"type":"string","const":"ipv6"},{"type":"string","const":"cidrv4"},{"type":"string","const":"cidrv6"},{"type":"string","const":"json_string"},{"type":"string","const":"e164"},{"type":"string","const":"lowercase"},{"type":"string","const":"uppercase"},{"type":"string","const":"regex"},{"type":"string","const":"jwt"},{"type":"string","const":"starts_with"},{"type":"string","const":"ends_with"}]},"pattern":{"type":"string"},"input":{"type":"string"},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","format","path","message"],"additionalProperties":false},"Shape0233":{"type":"object","properties":{"length":{"type":"number"}},"required":["length"],"additionalProperties":false},"Shape0234":{"type":"object","properties":{"description":{"type":"string"}},"additionalProperties":false},"Shape0235":{"type":"object","properties":{"code":{"type":"string","const":"invalid_type"},"expected":{"type":"string","enum":["string","number","bigint","boolean","symbol","undefined","object","function","int","null","void","never","any","unknown","date","record","file","array","tuple","union","intersection","map","set","enum","literal","nullable","optional","nonoptional","success","transform","default","prefault","catch","nan","pipe","readonly","template_literal","promise","lazy","custom"]},"input":{"description":"JSON value; shape depends on the form field or integration schema."},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","expected","path","message"],"additionalProperties":false},"Shape0236":{"type":"object","properties":{"code":{"type":"string","const":"too_big"},"origin":{"anyOf":[{"type":"string","const":"string"},{"type":"string","const":"number"},{"type":"string","const":"bigint"},{"type":"string","const":"int"},{"type":"string","const":"date"},{"type":"string","const":"file"},{"type":"string","const":"array"},{"type":"string","const":"set"},{"$ref":"#/components/schemas/Shape0233"}]},"maximum":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?[0-9]+$"}]},"inclusive":{"type":"boolean"},"exact":{"type":"boolean"},"input":{"description":"JSON value; shape depends on the form field or integration schema."},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","origin","maximum","path","message"],"additionalProperties":false},"Shape0237":{"type":"object","properties":{"code":{"type":"string","const":"too_small"},"origin":{"anyOf":[{"type":"string","const":"string"},{"type":"string","const":"number"},{"type":"string","const":"bigint"},{"type":"string","const":"int"},{"type":"string","const":"date"},{"type":"string","const":"file"},{"type":"string","const":"array"},{"type":"string","const":"set"},{"$ref":"#/components/schemas/Shape0233"}]},"minimum":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?[0-9]+$"}]},"inclusive":{"type":"boolean"},"exact":{"type":"boolean"},"input":{"description":"JSON value; shape depends on the form field or integration schema."},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","origin","minimum","path","message"],"additionalProperties":false},"Shape0238":{"type":"object","properties":{"code":{"type":"string","const":"not_multiple_of"},"divisor":{"type":"number"},"input":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?[0-9]+$"}]},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","divisor","path","message"],"additionalProperties":false},"Shape0239":{"type":"object","properties":{"code":{"type":"string","const":"unrecognized_keys"},"keys":{"type":"array","items":{"type":"string"}},"input":{"$ref":"#/components/schemas/Shape0092"},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","keys","path","message"],"additionalProperties":false},"Shape0240":{"type":"object","properties":{"code":{"type":"string","const":"invalid_union"},"errors":{"type":"array","items":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0232"},{"$ref":"#/components/schemas/Shape0235"},{"$ref":"#/components/schemas/Shape0236"},{"$ref":"#/components/schemas/Shape0237"},{"$ref":"#/components/schemas/Shape0238"},{"$ref":"#/components/schemas/Shape0239"},{"$ref":"#/components/schemas/Shape0240"},{"$ref":"#/components/schemas/Shape0241"},{"$ref":"#/components/schemas/Shape0242"},{"$ref":"#/components/schemas/Shape0243"},{"$ref":"#/components/schemas/Shape0244"},{"$ref":"#/components/schemas/Shape0245"}]}}},"input":{"description":"JSON value; shape depends on the form field or integration schema."},"discriminator":{"type":"string"},"inclusive":{"type":"boolean","const":true},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","errors","path","message"],"additionalProperties":false},"Shape0241":{"type":"object","properties":{"code":{"type":"string","const":"invalid_union"},"errors":{"type":"array","items":{}},"input":{"description":"JSON value; shape depends on the form field or integration schema."},"discriminator":{"type":"string"},"inclusive":{"type":"boolean","const":false},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","errors","inclusive","path","message"],"additionalProperties":false},"Shape0242":{"type":"object","properties":{"code":{"type":"string","const":"invalid_key"},"origin":{"type":"string","enum":["record","map"]},"issues":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0232"},{"$ref":"#/components/schemas/Shape0235"},{"$ref":"#/components/schemas/Shape0236"},{"$ref":"#/components/schemas/Shape0237"},{"$ref":"#/components/schemas/Shape0238"},{"$ref":"#/components/schemas/Shape0239"},{"$ref":"#/components/schemas/Shape0240"},{"$ref":"#/components/schemas/Shape0241"},{"$ref":"#/components/schemas/Shape0242"},{"$ref":"#/components/schemas/Shape0243"},{"$ref":"#/components/schemas/Shape0244"},{"$ref":"#/components/schemas/Shape0245"}]}},"input":{"description":"JSON value; shape depends on the form field or integration schema."},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","origin","issues","path","message"],"additionalProperties":false},"Shape0243":{"type":"object","properties":{"code":{"type":"string","const":"invalid_element"},"origin":{"type":"string","enum":["map","set"]},"key":{"description":"JSON value; shape depends on the form field or integration schema."},"issues":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0232"},{"$ref":"#/components/schemas/Shape0235"},{"$ref":"#/components/schemas/Shape0236"},{"$ref":"#/components/schemas/Shape0237"},{"$ref":"#/components/schemas/Shape0238"},{"$ref":"#/components/schemas/Shape0239"},{"$ref":"#/components/schemas/Shape0240"},{"$ref":"#/components/schemas/Shape0241"},{"$ref":"#/components/schemas/Shape0242"},{"$ref":"#/components/schemas/Shape0243"},{"$ref":"#/components/schemas/Shape0244"},{"$ref":"#/components/schemas/Shape0245"}]}},"input":{"description":"JSON value; shape depends on the form field or integration schema."},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","origin","key","issues","path","message"],"additionalProperties":false},"Shape0244":{"type":"object","properties":{"code":{"type":"string","const":"invalid_value"},"values":{"type":"array","items":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"string","pattern":"^-?[0-9]+$"},{"$ref":"#/components/schemas/Shape0234"},{"type":"boolean"}]}},"input":{"description":"JSON value; shape depends on the form field or integration schema."},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","values","path","message"],"additionalProperties":false},"Shape0245":{"type":"object","properties":{"code":{"type":"string","const":"custom"},"params":{"$ref":"#/components/schemas/Shape0246"},"input":{"description":"JSON value; shape depends on the form field or integration schema."},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"$ref":"#/components/schemas/Shape0234"}]}},"message":{"type":"string"}},"required":["code","path","message"],"additionalProperties":false},"Shape0246":{"type":"object","additionalProperties":{"description":"JSON value; shape depends on the form field or integration schema."}},"Inputd6b2c293c9b8___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"Inputd6b2c293c9b8___schema1":{"default":"full","type":"string","enum":["full","half","third"]},"Inputd6b2c293c9b8___schema2":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema3"}},"Inputd6b2c293c9b8___schema3":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema4"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema4"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema4"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"Inputd6b2c293c9b8___schema4":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"Inputd6b2c293c9b8___schema5":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema6"},"Inputd6b2c293c9b8___schema6":{"type":"string","enum":["all","any"]},"Inputd6b2c293c9b8___schema7":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"Inputd6b2c293c9b8___schema8":{"type":"string","maxLength":240},"Inputd6b2c293c9b8___schema9":{"type":"string","maxLength":80},"Inputd6b2c293c9b8___schema10":{"type":"boolean"},"Inputd6b2c293c9b8___schema11":{"default":"","type":"string","maxLength":2000},"Inputd6b2c293c9b8___schema12":{"type":"string","maxLength":240},"Inputd6b2c293c9b8___schema13":{"type":"string","maxLength":80},"Inputd6b2c293c9b8___schema14":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"Inputd6b2c293c9b8___schema15":{"type":"string"},"Inputd6b2c293c9b8___schema16":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"Inputd6b2c293c9b8___schema17":{"default":"","type":"string","maxLength":500},"Inputd6b2c293c9b8___schema18":{"default":"","type":"string","maxLength":1000},"Inputd6b2c293c9b8___schema19":{"default":"","type":"string","maxLength":50000},"Inputd6b2c293c9b8___schema20":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"label":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema12"},"value":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema13"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema3"}},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema6"}},"required":["id","label","value"]},"Inputd6b2c293c9b8":{"type":"object","properties":{"baseRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"content":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"label":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema9"},"required":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema10"},"description":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema11"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"label":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema9"},"required":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema10"},"description":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema11"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"label":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema12"},"value":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema13"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"label":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema9"},"required":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema10"},"description":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema11"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema15"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema15"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema16"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema16"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema17"},"caption":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema18"},"transcript":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema19"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema17"},"caption":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema18"},"transcript":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema19"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"label":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema9"},"required":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema10"},"description":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema11"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"label":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema9"},"required":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema10"},"description":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema11"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema20"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"label":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema9"},"required":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema10"},"description":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema11"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema20"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema0"},"width":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema1"},"conditions":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema5"},"containerId":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema7"},"label":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema9"},"required":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema10"},"description":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema11"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Inputd6b2c293c9b8___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]}}},"required":["schemaVersion","elements"]}},"required":["baseRevision","name","description","content"]},"Shape0247":{"type":"object","properties":{"id":{"type":"string"},"alreadyDraft":{"type":"boolean"}},"required":["id","alreadyDraft"],"additionalProperties":false},"Inputfd38472b8125":{"type":"object","properties":{"expectedPublishedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["expectedPublishedVersion"]},"Shape0248":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"number"},"publishedAt":{"type":"string"},"alreadyPublished":{"type":"boolean"},"workflowSyncPending":{"type":"boolean","const":true}},"required":["id","number","publishedAt","alreadyPublished"],"additionalProperties":false},"Shape0249":{"type":"object","properties":{"deletedAt":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"folderId":{"anyOf":[{"type":"null"},{"type":"string"}]},"trashBatchId":{"anyOf":[{"type":"null"},{"type":"string"}]},"name":{"type":"string"},"description":{"type":"string"},"descriptionAuto":{"type":"boolean"},"position":{"type":"number"},"style":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0227"}]},"nextVersionNumber":{"type":"number"},"latestPublishedVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"managedBy":{"anyOf":[{"type":"null"},{"type":"string"}]},"externalReference":{"anyOf":[{"type":"null"},{"type":"string"}]},"workflowReference":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0228"}]}},"required":["deletedAt","createdAt","updatedAt","createdBy","updatedBy","id","organizationId","folderId","trashBatchId","name","description","descriptionAuto","position","style","nextVersionNumber","latestPublishedVersionId","managedBy","externalReference","workflowReference"],"additionalProperties":false},"Input05db402058ba":{"type":"object","properties":{"folderId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["folderId","position"]},"Shape0250":{"type":"object","properties":{"tagIds":{"type":"array","items":{"type":"string"}}},"required":["tagIds"],"additionalProperties":false},"Shape0251":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"}},"required":["id","email","name"],"additionalProperties":false},"Shape0252":{"type":"object","properties":{"formTemplateId":{"type":"string"},"formVersionId":{"type":"string"},"formVersionNumber":{"type":"number"},"changed":{"type":"boolean"}},"required":["formTemplateId","formVersionId","formVersionNumber","changed"],"additionalProperties":false},"Input08729f0bca16":{"type":"object","properties":{"reference":{"type":"string","minLength":1,"maxLength":255}},"required":["reference"]},"Inputf3d7c111a0ba___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"Inputf3d7c111a0ba___schema1":{"default":"full","type":"string","enum":["full","half","third"]},"Inputf3d7c111a0ba___schema2":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema3"}},"Inputf3d7c111a0ba___schema3":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema4"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema4"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema4"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"Inputf3d7c111a0ba___schema4":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"Inputf3d7c111a0ba___schema5":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema6"},"Inputf3d7c111a0ba___schema6":{"type":"string","enum":["all","any"]},"Inputf3d7c111a0ba___schema7":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"Inputf3d7c111a0ba___schema8":{"type":"string","maxLength":240},"Inputf3d7c111a0ba___schema9":{"type":"string","maxLength":80},"Inputf3d7c111a0ba___schema10":{"type":"boolean"},"Inputf3d7c111a0ba___schema11":{"default":"","type":"string","maxLength":2000},"Inputf3d7c111a0ba___schema12":{"type":"string","maxLength":240},"Inputf3d7c111a0ba___schema13":{"type":"string","maxLength":80},"Inputf3d7c111a0ba___schema14":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"Inputf3d7c111a0ba___schema15":{"type":"string"},"Inputf3d7c111a0ba___schema16":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"Inputf3d7c111a0ba___schema17":{"default":"","type":"string","maxLength":500},"Inputf3d7c111a0ba___schema18":{"default":"","type":"string","maxLength":1000},"Inputf3d7c111a0ba___schema19":{"default":"","type":"string","maxLength":50000},"Inputf3d7c111a0ba___schema20":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"label":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema12"},"value":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema13"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema3"}},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema6"}},"required":["id","label","value"]},"Inputf3d7c111a0ba":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"default":"","type":"string","maxLength":2000},"content":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"label":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema9"},"required":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema10"},"description":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema11"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"label":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema9"},"required":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema10"},"description":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema11"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"label":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema12"},"value":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema13"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"label":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema9"},"required":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema10"},"description":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema11"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema15"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema15"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema16"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema16"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema17"},"caption":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema18"},"transcript":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema19"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema17"},"caption":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema18"},"transcript":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema19"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"label":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema9"},"required":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema10"},"description":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema11"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"label":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema9"},"required":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema10"},"description":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema11"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema20"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"label":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema9"},"required":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema10"},"description":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema11"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema20"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema0"},"width":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema1"},"conditions":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema5"},"containerId":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema7"},"label":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema8"},"submissionKey":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema9"},"required":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema10"},"description":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema11"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Inputf3d7c111a0ba___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]}}},"required":["schemaVersion","elements"]},"workflowReference":{"type":"object","properties":{"workflowId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"processId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"processName":{"type":"string","minLength":1,"maxLength":255},"workflowName":{"type":"string","minLength":1,"maxLength":200},"workflowVersionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"nodeId":{"type":"string","minLength":1,"maxLength":160}},"required":["workflowId","workflowVersionId","nodeId"]}},"required":["name","content"]},"Shape0253":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0254"}},"nextPage":{"anyOf":[{"type":"null"},{"type":"number"}]}},"required":["items","nextPage"],"additionalProperties":false},"Shape0254":{"type":"object","properties":{"formTemplateId":{"type":"string"},"name":{"type":"string"},"formVersionId":{"type":"string"},"formVersionNumber":{"type":"number"}},"required":["formTemplateId","name","formVersionId","formVersionNumber"],"additionalProperties":false},"Inpute12f7245e877":{"type":"object","properties":{"query":{"default":"","type":"string","maxLength":200},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":10000}}},"Shape0255":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0256"}},"nextPage":{"anyOf":[{"type":"null"},{"type":"number"}]}},"required":["items","nextPage"],"additionalProperties":false},"Shape0256":{"type":"object","properties":{"formVersionId":{"type":"string"},"formVersionNumber":{"type":"number"},"name":{"type":"string"}},"required":["formVersionId","formVersionNumber","name"],"additionalProperties":false},"Input5971a9da8978":{"type":"object","properties":{"formTemplateId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["formTemplateId"]},"Inputabfa0cd92e45":{"type":"object","properties":{"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":10000}}},"Shape0257":{"type":"object","properties":{"formTemplateId":{"type":"string"},"formVersionId":{"type":"string"},"formVersionNumber":{"type":"number"},"name":{"type":"string"},"content":{"description":"JSON value; shape depends on the form field or integration schema."}},"required":["formTemplateId","formVersionId","formVersionNumber","name","content"],"additionalProperties":false},"Inputa5b6dedbea8e":{"type":"object","properties":{"formTemplateId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"formVersionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["formTemplateId","formVersionId"]},"Shape0258":{"type":"object","properties":{"campaignId":{"type":"string"},"state":{"type":"string"}},"required":["campaignId","state"],"additionalProperties":false},"Shape0259":{"type":"object","properties":{"synchronized":{"type":"number"}},"required":["synchronized"],"additionalProperties":false},"Input2e44f9f6f74d":{"type":"object","properties":{"mode":{"default":"snapshot","type":"string","enum":["snapshot","patch"]},"users":{"maxItems":2000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":255},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"name":{"type":"string","minLength":1,"maxLength":200},"role":{"type":"string","enum":["admin","user_admin","editor","viewer"]},"entitled":{"default":true,"type":"boolean"}},"required":["id","email","name","role"]}}},"required":["users"]},"Shape0260":{"type":"object","properties":{"campaignId":{"type":"string"},"state":{"type":"string"},"submission":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0261"}]}},"required":["campaignId","state","submission"],"additionalProperties":false},"Shape0261":{"type":"object","properties":{"id":{"type":"string"},"values":{"anyOf":[{"type":"null"},{"$ref":"#/components/schemas/Shape0092"}]},"acceptedAt":{"type":"string"}},"required":["id","values","acceptedAt"],"additionalProperties":false},"Shape0262":{"type":"object","properties":{"ready":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0263"}}},"required":["ready","items"],"additionalProperties":false},"Shape0263":{"type":"object","properties":{"id":{"type":"string"},"connectionId":{"type":"string"},"createdAt":{"type":"string"},"campaignName":{"type":"string"},"reasonCode":{"type":"string"},"status":{"type":"string"}},"required":["id","connectionId","createdAt","campaignName","reasonCode","status"],"additionalProperties":false},"Inpute49e319aadf1":{"anyOf":[{"type":"object","properties":{"reference":{"type":"string","minLength":1,"maxLength":255}},"required":["reference"]},{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["connectionId"]}]},"Shape0264":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"}},"required":["id","status"],"additionalProperties":false},"Inputa60734ff6dd0":{"type":"object","properties":{"deliveryId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["deliveryId"]},"Input25c7d85c859a":{"type":"object","properties":{},"additionalProperties":false},"Shape0265":{"type":"object","properties":{"publicUrl":{"type":"string"},"connectionId":{"type":"string"},"currentRevisionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"pendingRevisionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"state":{"type":"string"},"formFields":{"type":"array","items":{"$ref":"#/components/schemas/Shape0266"}},"templateUrl":{"type":"string"}},"required":["publicUrl","connectionId","currentRevisionId","pendingRevisionId","state","formFields","templateUrl"],"additionalProperties":false},"Shape0266":{"type":"object","properties":{"options":{"type":"array","items":{"$ref":"#/components/schemas/Shape0267"}},"accepted_types":{"type":"array","items":{"type":"string"}},"max_size_mb":{"type":"number"},"max_files":{"type":"number"},"key":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["number","date","file","email","table","select","appointment","text","month","time","datetime","checkbox","multiselect"]},"required":{"type":"boolean"}},"required":["options","key","label","type","required"],"additionalProperties":false},"Shape0267":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false},"Shape0268":{"type":"object","properties":{"connectionId":{"type":"string"},"revisionId":{"type":"string"},"existingPending":{"type":"boolean"},"secret":{"type":"string"},"command":{"description":"JSON value; shape depends on the form field or integration schema."},"publicUrl":{"type":"string"},"templateUrl":{"type":"string"}},"required":["connectionId","revisionId","existingPending","secret","command","publicUrl","templateUrl"],"additionalProperties":false},"Input0b9304efe95a___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"Input0b9304efe95a___schema1":{"default":"full","type":"string","enum":["full","half","third"]},"Input0b9304efe95a___schema2":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Input0b9304efe95a___schema3"}},"Input0b9304efe95a___schema3":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Input0b9304efe95a___schema4"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Input0b9304efe95a___schema4"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/Input0b9304efe95a___schema4"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"Input0b9304efe95a___schema4":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"Input0b9304efe95a___schema5":{"$ref":"#/components/schemas/Input0b9304efe95a___schema6"},"Input0b9304efe95a___schema6":{"type":"string","enum":["all","any"]},"Input0b9304efe95a___schema7":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"Input0b9304efe95a___schema8":{"type":"string","maxLength":240},"Input0b9304efe95a___schema9":{"type":"string","maxLength":80},"Input0b9304efe95a___schema10":{"type":"boolean"},"Input0b9304efe95a___schema11":{"default":"","type":"string","maxLength":2000},"Input0b9304efe95a___schema12":{"type":"string","maxLength":240},"Input0b9304efe95a___schema13":{"type":"string","maxLength":80},"Input0b9304efe95a___schema14":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"Input0b9304efe95a___schema15":{"type":"string"},"Input0b9304efe95a___schema16":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"Input0b9304efe95a___schema17":{"default":"","type":"string","maxLength":500},"Input0b9304efe95a___schema18":{"default":"","type":"string","maxLength":1000},"Input0b9304efe95a___schema19":{"default":"","type":"string","maxLength":50000},"Input0b9304efe95a___schema20":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"label":{"$ref":"#/components/schemas/Input0b9304efe95a___schema12"},"value":{"$ref":"#/components/schemas/Input0b9304efe95a___schema13"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Input0b9304efe95a___schema3"}},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema6"}},"required":["id","label","value"]},"Input0b9304efe95a":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"processId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"processName":{"type":"string","minLength":1,"maxLength":255},"workflowName":{"type":"string","minLength":1,"maxLength":200},"workflowId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workflowVersionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"triggerNodeId":{"type":"string","minLength":1,"maxLength":160},"content":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"label":{"$ref":"#/components/schemas/Input0b9304efe95a___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input0b9304efe95a___schema9"},"required":{"$ref":"#/components/schemas/Input0b9304efe95a___schema10"},"description":{"$ref":"#/components/schemas/Input0b9304efe95a___schema11"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"label":{"$ref":"#/components/schemas/Input0b9304efe95a___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input0b9304efe95a___schema9"},"required":{"$ref":"#/components/schemas/Input0b9304efe95a___schema10"},"description":{"$ref":"#/components/schemas/Input0b9304efe95a___schema11"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"label":{"$ref":"#/components/schemas/Input0b9304efe95a___schema12"},"value":{"$ref":"#/components/schemas/Input0b9304efe95a___schema13"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Input0b9304efe95a___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"label":{"$ref":"#/components/schemas/Input0b9304efe95a___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input0b9304efe95a___schema9"},"required":{"$ref":"#/components/schemas/Input0b9304efe95a___schema10"},"description":{"$ref":"#/components/schemas/Input0b9304efe95a___schema11"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input0b9304efe95a___schema15"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input0b9304efe95a___schema15"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input0b9304efe95a___schema16"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/Input0b9304efe95a___schema16"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/Input0b9304efe95a___schema17"},"caption":{"$ref":"#/components/schemas/Input0b9304efe95a___schema18"},"transcript":{"$ref":"#/components/schemas/Input0b9304efe95a___schema19"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/Input0b9304efe95a___schema17"},"caption":{"$ref":"#/components/schemas/Input0b9304efe95a___schema18"},"transcript":{"$ref":"#/components/schemas/Input0b9304efe95a___schema19"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"label":{"$ref":"#/components/schemas/Input0b9304efe95a___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input0b9304efe95a___schema9"},"required":{"$ref":"#/components/schemas/Input0b9304efe95a___schema10"},"description":{"$ref":"#/components/schemas/Input0b9304efe95a___schema11"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"label":{"$ref":"#/components/schemas/Input0b9304efe95a___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input0b9304efe95a___schema9"},"required":{"$ref":"#/components/schemas/Input0b9304efe95a___schema10"},"description":{"$ref":"#/components/schemas/Input0b9304efe95a___schema11"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Input0b9304efe95a___schema20"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"label":{"$ref":"#/components/schemas/Input0b9304efe95a___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input0b9304efe95a___schema9"},"required":{"$ref":"#/components/schemas/Input0b9304efe95a___schema10"},"description":{"$ref":"#/components/schemas/Input0b9304efe95a___schema11"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Input0b9304efe95a___schema20"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Input0b9304efe95a___schema0"},"width":{"$ref":"#/components/schemas/Input0b9304efe95a___schema1"},"conditions":{"$ref":"#/components/schemas/Input0b9304efe95a___schema2"},"conditionMatch":{"$ref":"#/components/schemas/Input0b9304efe95a___schema5"},"containerId":{"$ref":"#/components/schemas/Input0b9304efe95a___schema7"},"label":{"$ref":"#/components/schemas/Input0b9304efe95a___schema8"},"submissionKey":{"$ref":"#/components/schemas/Input0b9304efe95a___schema9"},"required":{"$ref":"#/components/schemas/Input0b9304efe95a___schema10"},"description":{"$ref":"#/components/schemas/Input0b9304efe95a___schema11"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/Input0b9304efe95a___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]}}},"required":["schemaVersion","elements"]}},"required":["name","processId","workflowId","workflowVersionId","triggerNodeId","content"]},"Shape0269":{"type":"object","properties":{"connectionId":{"type":"string"},"state":{"type":"string"}},"required":["connectionId","state"],"additionalProperties":false},"Inputb681e1bbc505":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revisionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["connectionId","revisionId"]},"Shape0270":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"formTemplateId":{"type":"string"},"formVersionId":{"type":"string"},"state":{"type":"string"},"audienceType":{"type":"string"},"deadline":{"anyOf":[{"type":"null"},{"type":"string","format":"date-time"}]},"maxSubmissions":{"anyOf":[{"type":"null"},{"type":"number"}]},"acceptedSubmissions":{"type":"number"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"}},"required":["id","name","formTemplateId","formVersionId","state","audienceType","deadline","maxSubmissions","acceptedSubmissions","createdAt","updatedAt","createdBy","updatedBy"],"additionalProperties":false},"Input1da6ff73ebe8":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"responseId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"assetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"]},"Shape0271":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0272"}},"nextCursor":{"anyOf":[{"type":"null"},{"type":"string"}]}},"required":["items","nextCursor"],"additionalProperties":false},"Shape0272":{"type":"object","properties":{"id":{"type":"string"},"campaignId":{"type":"string"},"formVersionId":{"type":"string"},"values":{"$ref":"#/components/schemas/SubmissionValues"},"submittedByUserId":{"anyOf":[{"type":"null"},{"type":"string"}]},"acceptedAt":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"}},"required":["id","campaignId","formVersionId","values","submittedByUserId","acceptedAt","createdAt","updatedAt","createdBy","updatedBy"],"additionalProperties":false},"Inputac6f1886c00f":{"type":"object","properties":{"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":512},"format":{"default":"json","type":"string","enum":["json","csv","xlsx"]}}},"Shape0273":{"type":"object","properties":{"fields":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0005"},{"$ref":"#/components/schemas/Shape0009"},{"$ref":"#/components/schemas/Shape0013"},{"$ref":"#/components/schemas/Shape0023"},{"$ref":"#/components/schemas/Shape0024"},{"$ref":"#/components/schemas/Shape0026"},{"$ref":"#/components/schemas/Shape0027"}]}},"deliveries":{"type":"array","items":{"$ref":"#/components/schemas/Shape0274"}},"fileIds":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"campaignId":{"type":"string"},"formVersionId":{"type":"string"},"values":{"$ref":"#/components/schemas/SubmissionValues"},"submittedByUserId":{"anyOf":[{"type":"null"},{"type":"string"}]},"acceptedAt":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"}},"required":["fields","deliveries","fileIds","id","campaignId","formVersionId","values","submittedByUserId","acceptedAt","createdAt","updatedAt","createdBy","updatedBy"],"additionalProperties":false},"Shape0274":{"type":"object","properties":{"id":{"type":"string"},"destinationId":{"type":"string"},"status":{"type":"string"},"attemptCount":{"type":"number"},"lastErrorCode":{"anyOf":[{"type":"null"},{"type":"string"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","destinationId","status","attemptCount","lastErrorCode","createdAt","updatedAt"],"additionalProperties":false},"Shape0275":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false},"Shape0276":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"formTemplateId":{"type":"string"},"revision":{"type":"number"},"before":{"$ref":"#/components/schemas/Shape0277"},"after":{"$ref":"#/components/schemas/Shape0278"},"editors":{"type":"array","items":{"$ref":"#/components/schemas/Shape0209"}},"savedAt":{"type":"string","format":"date-time"},"summary":{"type":"string"},"summarySource":{"type":"string","enum":["automatic","ai"]},"summaryAttempts":{"type":"number"},"summaryNextAttemptAt":{"type":"string","format":"date-time"}},"required":["createdAt","updatedAt","createdBy","updatedBy","id","formTemplateId","revision","before","after","editors","savedAt","summary","summarySource","summaryAttempts","summaryNextAttemptAt"],"additionalProperties":false},"Shape0277":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"descriptionAuto":{"type":"boolean"},"content":{"description":"JSON value; shape depends on the form field or integration schema."}},"required":["name","description","content"],"additionalProperties":false},"Shape0278":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"descriptionAuto":{"type":"boolean"},"content":{"description":"JSON value; shape depends on the form field or integration schema."}},"required":["name","description","content"],"additionalProperties":false},"Input3d7f5340ac75":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"snapshotId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id","snapshotId"]},"Shape0279":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0280"}},"nextCursor":{"anyOf":[{"type":"null"},{"type":"string"}]}},"required":["items","nextCursor"],"additionalProperties":false},"Shape0280":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"folderId":{"anyOf":[{"type":"null"},{"type":"string"}]},"latestPublishedVersionId":{"anyOf":[{"type":"null"},{"type":"string"}]},"managedBy":{"anyOf":[{"type":"null"},{"type":"string"}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"}},"required":["id","name","description","folderId","latestPublishedVersionId","managedBy","createdAt","updatedAt","createdBy","updatedBy"],"additionalProperties":false},"Inputfeb67f66a7b4":{"type":"object","properties":{"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"search":{"type":"string","maxLength":200},"folderId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"Shape0281":{"type":"object","properties":{"content":{"$ref":"#/components/schemas/Shape0004"},"valid":{"type":"boolean"},"issues":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0232"},{"$ref":"#/components/schemas/Shape0235"},{"$ref":"#/components/schemas/Shape0236"},{"$ref":"#/components/schemas/Shape0237"},{"$ref":"#/components/schemas/Shape0238"},{"$ref":"#/components/schemas/Shape0239"},{"$ref":"#/components/schemas/Shape0240"},{"$ref":"#/components/schemas/Shape0241"},{"$ref":"#/components/schemas/Shape0242"},{"$ref":"#/components/schemas/Shape0243"},{"$ref":"#/components/schemas/Shape0244"},{"$ref":"#/components/schemas/Shape0245"}]}}},"required":["valid","issues"],"additionalProperties":false},"Input20acc0e8daf2":{"type":"object","properties":{"content":{}},"required":["content"]},"Shape0282":{"type":"object","properties":{"draft":{"$ref":"#/components/schemas/Shape0283"},"published":{"$ref":"#/components/schemas/Shape0283"},"validation":{"type":"string"}},"required":["draft","published","validation"],"additionalProperties":false},"Shape0283":{"type":"object","properties":{"~standard":{"$ref":"#/components/schemas/Shape0284"},"$schema":{"type":"string","enum":["https://json-schema.org/draft/2020-12/schema","http://json-schema.org/draft-07/schema#","http://json-schema.org/draft-04/schema#"]},"$id":{"type":"string"},"$anchor":{"type":"string"},"$ref":{"type":"string"},"$dynamicRef":{"type":"string"},"$dynamicAnchor":{"type":"string"},"$vocabulary":{"$ref":"#/components/schemas/Shape0311"},"$comment":{"type":"string"},"$defs":{"$ref":"#/components/schemas/Shape0312"},"type":{"type":"string","enum":["string","number","boolean","object","null","array","integer"]},"additionalItems":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"unevaluatedItems":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"prefixItems":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]}},"items":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]}},{"type":"boolean"}]},"contains":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"unevaluatedProperties":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"properties":{"$ref":"#/components/schemas/Shape0314"},"patternProperties":{"$ref":"#/components/schemas/Shape0314"},"dependentSchemas":{"$ref":"#/components/schemas/Shape0314"},"propertyNames":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"if":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"then":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"else":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"allOf":{"type":"array","items":{"$ref":"#/components/schemas/Shape0313"}},"anyOf":{"type":"array","items":{"$ref":"#/components/schemas/Shape0313"}},"oneOf":{"type":"array","items":{"$ref":"#/components/schemas/Shape0313"}},"not":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"multipleOf":{"type":"number"},"maximum":{"type":"number"},"exclusiveMaximum":{"anyOf":[{"type":"number"},{"type":"boolean"}]},"minimum":{"type":"number"},"exclusiveMinimum":{"anyOf":[{"type":"number"},{"type":"boolean"}]},"maxLength":{"type":"number"},"minLength":{"type":"number"},"pattern":{"type":"string"},"maxItems":{"type":"number"},"minItems":{"type":"number"},"uniqueItems":{"type":"boolean"},"maxContains":{"type":"number"},"minContains":{"type":"number"},"maxProperties":{"type":"number"},"minProperties":{"type":"number"},"required":{"type":"array","items":{"type":"string"}},"dependentRequired":{"$ref":"#/components/schemas/Shape0315"},"enum":{"type":"array","items":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"const":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"boolean"}]},"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{"description":"JSON value; shape depends on the form field or integration schema."},"deprecated":{"type":"boolean"},"readOnly":{"type":"boolean"},"writeOnly":{"type":"boolean"},"nullable":{"type":"boolean"},"examples":{"type":"array","items":{"description":"JSON value; shape depends on the form field or integration schema."}},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"contentSchema":{"$ref":"#/components/schemas/Shape0313"},"_prefault":{"description":"JSON value; shape depends on the form field or integration schema."}},"required":["~standard"],"additionalProperties":{"description":"JSON value; shape depends on the form field or integration schema."}},"Shape0284":{"type":"object","properties":{"version":{"type":"number","const":1},"vendor":{"type":"string"},"types":{"$ref":"#/components/schemas/Shape0285"},"jsonSchema":{"$ref":"#/components/schemas/Shape0310"}},"required":["version","vendor","jsonSchema"],"additionalProperties":false},"Shape0285":{"type":"object","properties":{"input":{"$ref":"#/components/schemas/Shape0286"},"output":{"$ref":"#/components/schemas/Shape0004"}},"required":["input","output"],"additionalProperties":false},"Shape0286":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"elements":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0287"},{"$ref":"#/components/schemas/Shape0291"},{"$ref":"#/components/schemas/Shape0294"},{"$ref":"#/components/schemas/Shape0295"},{"$ref":"#/components/schemas/Shape0297"},{"$ref":"#/components/schemas/Shape0298"},{"$ref":"#/components/schemas/Shape0299"},{"$ref":"#/components/schemas/Shape0300"},{"$ref":"#/components/schemas/Shape0301"},{"$ref":"#/components/schemas/Shape0302"},{"$ref":"#/components/schemas/Shape0303"},{"$ref":"#/components/schemas/Shape0304"},{"$ref":"#/components/schemas/Shape0305"},{"$ref":"#/components/schemas/Shape0306"},{"$ref":"#/components/schemas/Shape0308"},{"$ref":"#/components/schemas/Shape0309"}]}},"locale":{"type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]}},"required":["schemaVersion","elements"],"additionalProperties":false},"Shape0287":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"type":"null"},{"type":"string"}]},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"description":{"type":"string"}},"required":["id","label","submissionKey","required","type","bookingPageId"],"additionalProperties":false},"Shape0288":{"type":"object","properties":{"submissionKey":{"type":"string"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"],"additionalProperties":false},"Shape0289":{"type":"object","properties":{"submissionKey":{"type":"string"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"],"additionalProperties":false},"Shape0290":{"type":"object","properties":{"submissionKey":{"type":"string"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"],"additionalProperties":false},"Shape0291":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"type":{"type":"string","const":"table"},"columns":{"type":"array","items":{"$ref":"#/components/schemas/Shape0292"}},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"description":{"type":"string"},"minRows":{"type":"number"},"maxRows":{"anyOf":[{"type":"null"},{"type":"number"}]},"layout":{"type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"],"additionalProperties":false},"Shape0292":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"label":{"type":"string"},"inputType":{"type":"string","enum":["number","date","file","select","text","month","time","datetime","checkbox","multiselect"]},"textFormat":{"type":"string","enum":["email","plain","url"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"type":"array","items":{"$ref":"#/components/schemas/Shape0293"}},"acceptedTypes":{"type":"array","items":{"type":"string"}},"maxSizeMb":{"type":"number"},"maxFiles":{"type":"number"},"required":{"type":"boolean","enum":[false,true]}},"required":["id","key","label","inputType"],"additionalProperties":false},"Shape0293":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}},"required":["id","label","value"],"additionalProperties":false},"Shape0294":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"markdown":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"color":{"type":"string","enum":["main","highlight"]},"alignment":{"type":"string","enum":["left","right","center","justify"]}},"required":["id","type","style","markdown"],"additionalProperties":false},"Shape0295":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["number","date","email","text","month","time","datetime"]},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"description":{"type":"string"},"textFormat":{"type":"string","enum":["email","plain","url"]},"requireValidEmail":{"type":"boolean","enum":[false,true]},"textMode":{"type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"type":"boolean","enum":[false,true]},"inlineWithChoice":{"type":"boolean","enum":[false,true]},"placeholder":{"type":"string"},"dateRange":{"$ref":"#/components/schemas/Shape0296"},"requireResponseDateRange":{"type":"boolean","enum":[false,true]},"min":{"anyOf":[{"type":"null"},{"type":"number"}]},"max":{"anyOf":[{"type":"null"},{"type":"number"}]},"step":{"anyOf":[{"type":"null"},{"type":"number"}]},"integer":{"type":"boolean","enum":[false,true]},"suffix":{"type":"string"}},"required":["id","label","submissionKey","required","type","inputType"],"additionalProperties":false},"Shape0296":{"type":"object","properties":{"min":{"anyOf":[{"type":"null"},{"type":"string"}]},"max":{"anyOf":[{"type":"null"},{"type":"string"}]},"reason":{"type":"string"}},"additionalProperties":false},"Shape0297":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"}},"required":["id","type","style"],"additionalProperties":false},"Shape0298":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"pageBreak"},"title":{"type":"string"}},"required":["id","type"],"additionalProperties":false},"Shape0299":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"card"},"title":{"type":"string"},"description":{"type":"string"},"background":{"anyOf":[{"type":"null"},{"type":"string"}]},"borderColor":{"anyOf":[{"type":"null"},{"type":"string"}]}},"required":["id","type"],"additionalProperties":false},"Shape0300":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"section"},"title":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"description":{"type":"string"}},"required":["id","type","title"],"additionalProperties":false},"Shape0301":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"type":"null"},{"type":"string"}]},"alt":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"imageWidth":{"anyOf":[{"type":"null"},{"type":"number"}]},"imageAlignment":{"type":"string","enum":["left","right","center"]},"caption":{"type":"string"}},"required":["id","type","assetId","alt"],"additionalProperties":false},"Shape0302":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"type":"null"},{"type":"string"}]},"url":{"type":"string","const":""},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"title":{"type":"string"},"caption":{"type":"string"},"transcript":{"type":"string"}},"required":["id","type","source","assetId","url"],"additionalProperties":false},"Shape0303":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"title":{"type":"string"},"caption":{"type":"string"},"transcript":{"type":"string"}},"required":["id","type","source","assetId","url"],"additionalProperties":false},"Shape0304":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"type":"null"},{"type":"string"}]},"title":{"type":"string"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"description":{"type":"string"}},"required":["id","type","assetId","title"],"additionalProperties":false},"Shape0305":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"type":{"type":"string","const":"checkbox"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"description":{"type":"string"}},"required":["id","label","submissionKey","required","type"],"additionalProperties":false},"Shape0306":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"type":{"type":"string","const":"select"},"options":{"type":"array","items":{"$ref":"#/components/schemas/Shape0307"}},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"description":{"type":"string"},"presentation":{"type":"string","enum":["dropdown","radio"]},"optionColumns":{"type":"number"}},"required":["id","label","submissionKey","required","type","options"],"additionalProperties":false},"Shape0307":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]}},"required":["id","label","value"],"additionalProperties":false},"Shape0308":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"type":{"type":"string","const":"multiselect"},"options":{"type":"array","items":{"$ref":"#/components/schemas/Shape0307"}},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"description":{"type":"string"},"optionColumns":{"type":"number"},"maxSelections":{"anyOf":[{"type":"null"},{"type":"number"}]}},"required":["id","label","submissionKey","required","type","options"],"additionalProperties":false},"Shape0309":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"submissionKey":{"type":"string"},"required":{"type":"boolean"},"type":{"type":"string","const":"file"},"acceptedTypes":{"type":"array","items":{"type":"string"}},"maxSizeMb":{"type":"number"},"width":{"type":"string","enum":["full","half","third"]},"conditions":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0288"},{"$ref":"#/components/schemas/Shape0289"},{"$ref":"#/components/schemas/Shape0290"}]}},"conditionMatch":{"type":"string","enum":["any","all"]},"containerId":{"type":"string"},"description":{"type":"string"},"maxFiles":{"type":"number"}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"],"additionalProperties":false},"Shape0310":{"type":"object","additionalProperties":false},"Shape0311":{"type":"object","additionalProperties":{"type":"boolean"}},"Shape0312":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Shape0313"}},"Shape0313":{"type":"object","properties":{"$schema":{"type":"string","enum":["https://json-schema.org/draft/2020-12/schema","http://json-schema.org/draft-07/schema#","http://json-schema.org/draft-04/schema#"]},"$id":{"type":"string"},"$anchor":{"type":"string"},"$ref":{"type":"string"},"$dynamicRef":{"type":"string"},"$dynamicAnchor":{"type":"string"},"$vocabulary":{"$ref":"#/components/schemas/Shape0311"},"$comment":{"type":"string"},"$defs":{"$ref":"#/components/schemas/Shape0312"},"type":{"type":"string","enum":["string","number","boolean","object","null","array","integer"]},"additionalItems":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"unevaluatedItems":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"prefixItems":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]}},"items":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]}},{"type":"boolean"}]},"contains":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"unevaluatedProperties":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"properties":{"$ref":"#/components/schemas/Shape0314"},"patternProperties":{"$ref":"#/components/schemas/Shape0314"},"dependentSchemas":{"$ref":"#/components/schemas/Shape0314"},"propertyNames":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"if":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"then":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"else":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"allOf":{"type":"array","items":{"$ref":"#/components/schemas/Shape0313"}},"anyOf":{"type":"array","items":{"$ref":"#/components/schemas/Shape0313"}},"oneOf":{"type":"array","items":{"$ref":"#/components/schemas/Shape0313"}},"not":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]},"multipleOf":{"type":"number"},"maximum":{"type":"number"},"exclusiveMaximum":{"anyOf":[{"type":"number"},{"type":"boolean"}]},"minimum":{"type":"number"},"exclusiveMinimum":{"anyOf":[{"type":"number"},{"type":"boolean"}]},"maxLength":{"type":"number"},"minLength":{"type":"number"},"pattern":{"type":"string"},"maxItems":{"type":"number"},"minItems":{"type":"number"},"uniqueItems":{"type":"boolean"},"maxContains":{"type":"number"},"minContains":{"type":"number"},"maxProperties":{"type":"number"},"minProperties":{"type":"number"},"required":{"type":"array","items":{"type":"string"}},"dependentRequired":{"$ref":"#/components/schemas/Shape0315"},"enum":{"type":"array","items":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"const":{"anyOf":[{"type":"null"},{"type":"string"},{"type":"number"},{"type":"boolean"}]},"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{"description":"JSON value; shape depends on the form field or integration schema."},"deprecated":{"type":"boolean"},"readOnly":{"type":"boolean"},"writeOnly":{"type":"boolean"},"nullable":{"type":"boolean"},"examples":{"type":"array","items":{"description":"JSON value; shape depends on the form field or integration schema."}},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"contentSchema":{"$ref":"#/components/schemas/Shape0313"},"_prefault":{"description":"JSON value; shape depends on the form field or integration schema."}},"additionalProperties":{"description":"JSON value; shape depends on the form field or integration schema."}},"Shape0314":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Shape0313"},{"type":"boolean"}]}},"Shape0315":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"Shape0316":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Shape0317"}},"nextCursor":{"anyOf":[{"type":"null"},{"type":"number"}]}},"required":["items","nextCursor"],"additionalProperties":false},"Shape0317":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"publishedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"}},"required":["id","number","name","publishedAt","createdAt","updatedAt","createdBy","updatedBy"],"additionalProperties":false},"Inputcf28ab108447":{"type":"object","properties":{"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"before":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"Shape0318":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"id":{"type":"string"},"formTemplateId":{"type":"string"},"number":{"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"content":{"$ref":"#/components/schemas/FormDraftContent"},"contentHash":{"type":"string"},"publishedAt":{"type":"string","format":"date-time"}},"required":["createdAt","updatedAt","createdBy","updatedBy","id","formTemplateId","number","name","description","content","contentHash","publishedAt"],"additionalProperties":false},"Inpute320bbb71760":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"versionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id","versionId"]},"Shape0321":{"type":"object","properties":{"organizationName":{"type":"string"},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"role":{"type":"string","enum":["admin","user_admin","editor","viewer"]},"isSuperadmin":{"type":"boolean"},"homeOrganizationId":{"type":"string"},"credentialType":{"type":"string","enum":["service","api_key"]},"apiKeyId":{"type":"string"},"apiKeyScopes":{"type":"array","items":{"type":"string"}},"apiKeyOwnerRole":{"type":"string","enum":["admin","user_admin","editor","viewer"]}},"required":["organizationName","id","organizationId","name","email","role"],"additionalProperties":false},"FormDraftContent___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"FormDraftContent___schema1":{"default":"full","type":"string","enum":["full","half","third"]},"FormDraftContent___schema2":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/FormDraftContent___schema3"}},"FormDraftContent___schema3":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/FormDraftContent___schema4"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/FormDraftContent___schema4"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/FormDraftContent___schema4"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"FormDraftContent___schema4":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"FormDraftContent___schema5":{"$ref":"#/components/schemas/FormDraftContent___schema6"},"FormDraftContent___schema6":{"type":"string","enum":["all","any"]},"FormDraftContent___schema7":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"FormDraftContent___schema8":{"type":"string","maxLength":240},"FormDraftContent___schema9":{"type":"string","maxLength":80},"FormDraftContent___schema10":{"type":"boolean"},"FormDraftContent___schema11":{"default":"","type":"string","maxLength":2000},"FormDraftContent___schema12":{"type":"string","maxLength":240},"FormDraftContent___schema13":{"type":"string","maxLength":80},"FormDraftContent___schema14":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"FormDraftContent___schema15":{"type":"string"},"FormDraftContent___schema16":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"FormDraftContent___schema17":{"default":"","type":"string","maxLength":500},"FormDraftContent___schema18":{"default":"","type":"string","maxLength":1000},"FormDraftContent___schema19":{"default":"","type":"string","maxLength":50000},"FormDraftContent___schema20":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"label":{"$ref":"#/components/schemas/FormDraftContent___schema12"},"value":{"$ref":"#/components/schemas/FormDraftContent___schema13"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/FormDraftContent___schema3"}},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema6"}},"required":["id","label","value"]},"FormDraftContent":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"label":{"$ref":"#/components/schemas/FormDraftContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormDraftContent___schema9"},"required":{"$ref":"#/components/schemas/FormDraftContent___schema10"},"description":{"$ref":"#/components/schemas/FormDraftContent___schema11"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/FormDraftContent___schema0"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"label":{"$ref":"#/components/schemas/FormDraftContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormDraftContent___schema9"},"required":{"$ref":"#/components/schemas/FormDraftContent___schema10"},"description":{"$ref":"#/components/schemas/FormDraftContent___schema11"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"label":{"$ref":"#/components/schemas/FormDraftContent___schema12"},"value":{"$ref":"#/components/schemas/FormDraftContent___schema13"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/FormDraftContent___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"label":{"$ref":"#/components/schemas/FormDraftContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormDraftContent___schema9"},"required":{"$ref":"#/components/schemas/FormDraftContent___schema10"},"description":{"$ref":"#/components/schemas/FormDraftContent___schema11"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/FormDraftContent___schema15"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/FormDraftContent___schema15"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/FormDraftContent___schema16"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/FormDraftContent___schema16"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/FormDraftContent___schema0"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/FormDraftContent___schema0"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/FormDraftContent___schema17"},"caption":{"$ref":"#/components/schemas/FormDraftContent___schema18"},"transcript":{"$ref":"#/components/schemas/FormDraftContent___schema19"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/FormDraftContent___schema17"},"caption":{"$ref":"#/components/schemas/FormDraftContent___schema18"},"transcript":{"$ref":"#/components/schemas/FormDraftContent___schema19"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/FormDraftContent___schema0"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"label":{"$ref":"#/components/schemas/FormDraftContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormDraftContent___schema9"},"required":{"$ref":"#/components/schemas/FormDraftContent___schema10"},"description":{"$ref":"#/components/schemas/FormDraftContent___schema11"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"label":{"$ref":"#/components/schemas/FormDraftContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormDraftContent___schema9"},"required":{"$ref":"#/components/schemas/FormDraftContent___schema10"},"description":{"$ref":"#/components/schemas/FormDraftContent___schema11"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/FormDraftContent___schema20"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"label":{"$ref":"#/components/schemas/FormDraftContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormDraftContent___schema9"},"required":{"$ref":"#/components/schemas/FormDraftContent___schema10"},"description":{"$ref":"#/components/schemas/FormDraftContent___schema11"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/FormDraftContent___schema20"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormDraftContent___schema0"},"width":{"$ref":"#/components/schemas/FormDraftContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormDraftContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormDraftContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormDraftContent___schema7"},"label":{"$ref":"#/components/schemas/FormDraftContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormDraftContent___schema9"},"required":{"$ref":"#/components/schemas/FormDraftContent___schema10"},"description":{"$ref":"#/components/schemas/FormDraftContent___schema11"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/FormDraftContent___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]}}},"required":["schemaVersion","elements"]},"FormContent___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"FormContent___schema1":{"default":"full","type":"string","enum":["full","half","third"]},"FormContent___schema2":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/FormContent___schema3"}},"FormContent___schema3":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/FormContent___schema4"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/FormContent___schema4"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/FormContent___schema4"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"FormContent___schema4":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"FormContent___schema5":{"$ref":"#/components/schemas/FormContent___schema6"},"FormContent___schema6":{"type":"string","enum":["all","any"]},"FormContent___schema7":{"$ref":"#/components/schemas/FormContent___schema0"},"FormContent___schema8":{"type":"string","maxLength":240},"FormContent___schema9":{"type":"string","maxLength":80},"FormContent___schema10":{"type":"boolean"},"FormContent___schema11":{"default":"","type":"string","maxLength":2000},"FormContent___schema12":{"type":"string","maxLength":240},"FormContent___schema13":{"type":"string","maxLength":80},"FormContent___schema14":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"FormContent___schema15":{"type":"string"},"FormContent___schema16":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"FormContent___schema17":{"default":"","type":"string","maxLength":500},"FormContent___schema18":{"default":"","type":"string","maxLength":1000},"FormContent___schema19":{"default":"","type":"string","maxLength":50000},"FormContent___schema20":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"label":{"$ref":"#/components/schemas/FormContent___schema12"},"value":{"$ref":"#/components/schemas/FormContent___schema13"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/FormContent___schema3"}},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema6"}},"required":["id","label","value"]},"FormContent":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"label":{"$ref":"#/components/schemas/FormContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormContent___schema9"},"required":{"$ref":"#/components/schemas/FormContent___schema10"},"description":{"$ref":"#/components/schemas/FormContent___schema11"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/FormContent___schema0"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"label":{"$ref":"#/components/schemas/FormContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormContent___schema9"},"required":{"$ref":"#/components/schemas/FormContent___schema10"},"description":{"$ref":"#/components/schemas/FormContent___schema11"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"label":{"$ref":"#/components/schemas/FormContent___schema12"},"value":{"$ref":"#/components/schemas/FormContent___schema13"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/FormContent___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"label":{"$ref":"#/components/schemas/FormContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormContent___schema9"},"required":{"$ref":"#/components/schemas/FormContent___schema10"},"description":{"$ref":"#/components/schemas/FormContent___schema11"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/FormContent___schema15"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/FormContent___schema15"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/FormContent___schema16"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/FormContent___schema16"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/FormContent___schema0"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/FormContent___schema0"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/FormContent___schema17"},"caption":{"$ref":"#/components/schemas/FormContent___schema18"},"transcript":{"$ref":"#/components/schemas/FormContent___schema19"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/FormContent___schema17"},"caption":{"$ref":"#/components/schemas/FormContent___schema18"},"transcript":{"$ref":"#/components/schemas/FormContent___schema19"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/FormContent___schema0"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"label":{"$ref":"#/components/schemas/FormContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormContent___schema9"},"required":{"$ref":"#/components/schemas/FormContent___schema10"},"description":{"$ref":"#/components/schemas/FormContent___schema11"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"label":{"$ref":"#/components/schemas/FormContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormContent___schema9"},"required":{"$ref":"#/components/schemas/FormContent___schema10"},"description":{"$ref":"#/components/schemas/FormContent___schema11"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/FormContent___schema20"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"label":{"$ref":"#/components/schemas/FormContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormContent___schema9"},"required":{"$ref":"#/components/schemas/FormContent___schema10"},"description":{"$ref":"#/components/schemas/FormContent___schema11"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/FormContent___schema20"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/FormContent___schema0"},"width":{"$ref":"#/components/schemas/FormContent___schema1"},"conditions":{"$ref":"#/components/schemas/FormContent___schema2"},"conditionMatch":{"$ref":"#/components/schemas/FormContent___schema5"},"containerId":{"$ref":"#/components/schemas/FormContent___schema7"},"label":{"$ref":"#/components/schemas/FormContent___schema8"},"submissionKey":{"$ref":"#/components/schemas/FormContent___schema9"},"required":{"$ref":"#/components/schemas/FormContent___schema10"},"description":{"$ref":"#/components/schemas/FormContent___schema11"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/FormContent___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]}}},"required":["schemaVersion","elements"]},"CreateFormRequest___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"CreateFormRequest___schema1":{"default":"full","type":"string","enum":["full","half","third"]},"CreateFormRequest___schema2":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/CreateFormRequest___schema3"}},"CreateFormRequest___schema3":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/CreateFormRequest___schema4"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/CreateFormRequest___schema4"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/CreateFormRequest___schema4"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"CreateFormRequest___schema4":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"CreateFormRequest___schema5":{"$ref":"#/components/schemas/CreateFormRequest___schema6"},"CreateFormRequest___schema6":{"type":"string","enum":["all","any"]},"CreateFormRequest___schema7":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"CreateFormRequest___schema8":{"type":"string","maxLength":240},"CreateFormRequest___schema9":{"type":"string","maxLength":80},"CreateFormRequest___schema10":{"type":"boolean"},"CreateFormRequest___schema11":{"default":"","type":"string","maxLength":2000},"CreateFormRequest___schema12":{"type":"string","maxLength":240},"CreateFormRequest___schema13":{"type":"string","maxLength":80},"CreateFormRequest___schema14":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"CreateFormRequest___schema15":{"type":"string"},"CreateFormRequest___schema16":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"CreateFormRequest___schema17":{"default":"","type":"string","maxLength":500},"CreateFormRequest___schema18":{"default":"","type":"string","maxLength":1000},"CreateFormRequest___schema19":{"default":"","type":"string","maxLength":50000},"CreateFormRequest___schema20":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"label":{"$ref":"#/components/schemas/CreateFormRequest___schema12"},"value":{"$ref":"#/components/schemas/CreateFormRequest___schema13"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/CreateFormRequest___schema3"}},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema6"}},"required":["id","label","value"]},"CreateFormRequest":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"default":"","type":"string","maxLength":2000},"folderId":{"default":null,"anyOf":[{"$ref":"#/components/schemas/CreateFormRequest___schema0"},{"type":"null"}]},"tagIds":{"default":[],"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/CreateFormRequest___schema0"}},"content":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"label":{"$ref":"#/components/schemas/CreateFormRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/CreateFormRequest___schema9"},"required":{"$ref":"#/components/schemas/CreateFormRequest___schema10"},"description":{"$ref":"#/components/schemas/CreateFormRequest___schema11"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/CreateFormRequest___schema0"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"label":{"$ref":"#/components/schemas/CreateFormRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/CreateFormRequest___schema9"},"required":{"$ref":"#/components/schemas/CreateFormRequest___schema10"},"description":{"$ref":"#/components/schemas/CreateFormRequest___schema11"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"label":{"$ref":"#/components/schemas/CreateFormRequest___schema12"},"value":{"$ref":"#/components/schemas/CreateFormRequest___schema13"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/CreateFormRequest___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"label":{"$ref":"#/components/schemas/CreateFormRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/CreateFormRequest___schema9"},"required":{"$ref":"#/components/schemas/CreateFormRequest___schema10"},"description":{"$ref":"#/components/schemas/CreateFormRequest___schema11"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/CreateFormRequest___schema15"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/CreateFormRequest___schema15"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/CreateFormRequest___schema16"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/CreateFormRequest___schema16"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/CreateFormRequest___schema0"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/CreateFormRequest___schema0"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/CreateFormRequest___schema17"},"caption":{"$ref":"#/components/schemas/CreateFormRequest___schema18"},"transcript":{"$ref":"#/components/schemas/CreateFormRequest___schema19"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/CreateFormRequest___schema17"},"caption":{"$ref":"#/components/schemas/CreateFormRequest___schema18"},"transcript":{"$ref":"#/components/schemas/CreateFormRequest___schema19"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/CreateFormRequest___schema0"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"label":{"$ref":"#/components/schemas/CreateFormRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/CreateFormRequest___schema9"},"required":{"$ref":"#/components/schemas/CreateFormRequest___schema10"},"description":{"$ref":"#/components/schemas/CreateFormRequest___schema11"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"label":{"$ref":"#/components/schemas/CreateFormRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/CreateFormRequest___schema9"},"required":{"$ref":"#/components/schemas/CreateFormRequest___schema10"},"description":{"$ref":"#/components/schemas/CreateFormRequest___schema11"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/CreateFormRequest___schema20"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"label":{"$ref":"#/components/schemas/CreateFormRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/CreateFormRequest___schema9"},"required":{"$ref":"#/components/schemas/CreateFormRequest___schema10"},"description":{"$ref":"#/components/schemas/CreateFormRequest___schema11"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/CreateFormRequest___schema20"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/CreateFormRequest___schema0"},"width":{"$ref":"#/components/schemas/CreateFormRequest___schema1"},"conditions":{"$ref":"#/components/schemas/CreateFormRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/CreateFormRequest___schema5"},"containerId":{"$ref":"#/components/schemas/CreateFormRequest___schema7"},"label":{"$ref":"#/components/schemas/CreateFormRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/CreateFormRequest___schema9"},"required":{"$ref":"#/components/schemas/CreateFormRequest___schema10"},"description":{"$ref":"#/components/schemas/CreateFormRequest___schema11"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/CreateFormRequest___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]}}},"required":["schemaVersion","elements"]}},"required":["name"]},"SaveDraftRequest___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"SaveDraftRequest___schema1":{"default":"full","type":"string","enum":["full","half","third"]},"SaveDraftRequest___schema2":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/SaveDraftRequest___schema3"}},"SaveDraftRequest___schema3":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/SaveDraftRequest___schema4"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/SaveDraftRequest___schema4"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/SaveDraftRequest___schema4"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"SaveDraftRequest___schema4":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"SaveDraftRequest___schema5":{"$ref":"#/components/schemas/SaveDraftRequest___schema6"},"SaveDraftRequest___schema6":{"type":"string","enum":["all","any"]},"SaveDraftRequest___schema7":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"SaveDraftRequest___schema8":{"type":"string","maxLength":240},"SaveDraftRequest___schema9":{"type":"string","maxLength":80},"SaveDraftRequest___schema10":{"type":"boolean"},"SaveDraftRequest___schema11":{"default":"","type":"string","maxLength":2000},"SaveDraftRequest___schema12":{"type":"string","maxLength":240},"SaveDraftRequest___schema13":{"type":"string","maxLength":80},"SaveDraftRequest___schema14":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"SaveDraftRequest___schema15":{"type":"string"},"SaveDraftRequest___schema16":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"SaveDraftRequest___schema17":{"default":"","type":"string","maxLength":500},"SaveDraftRequest___schema18":{"default":"","type":"string","maxLength":1000},"SaveDraftRequest___schema19":{"default":"","type":"string","maxLength":50000},"SaveDraftRequest___schema20":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"label":{"$ref":"#/components/schemas/SaveDraftRequest___schema12"},"value":{"$ref":"#/components/schemas/SaveDraftRequest___schema13"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/SaveDraftRequest___schema3"}},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema6"}},"required":["id","label","value"]},"SaveDraftRequest":{"type":"object","properties":{"baseRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"content":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"label":{"$ref":"#/components/schemas/SaveDraftRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/SaveDraftRequest___schema9"},"required":{"$ref":"#/components/schemas/SaveDraftRequest___schema10"},"description":{"$ref":"#/components/schemas/SaveDraftRequest___schema11"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"label":{"$ref":"#/components/schemas/SaveDraftRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/SaveDraftRequest___schema9"},"required":{"$ref":"#/components/schemas/SaveDraftRequest___schema10"},"description":{"$ref":"#/components/schemas/SaveDraftRequest___schema11"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"label":{"$ref":"#/components/schemas/SaveDraftRequest___schema12"},"value":{"$ref":"#/components/schemas/SaveDraftRequest___schema13"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/SaveDraftRequest___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"label":{"$ref":"#/components/schemas/SaveDraftRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/SaveDraftRequest___schema9"},"required":{"$ref":"#/components/schemas/SaveDraftRequest___schema10"},"description":{"$ref":"#/components/schemas/SaveDraftRequest___schema11"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/SaveDraftRequest___schema15"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/SaveDraftRequest___schema15"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/SaveDraftRequest___schema16"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/SaveDraftRequest___schema16"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/SaveDraftRequest___schema17"},"caption":{"$ref":"#/components/schemas/SaveDraftRequest___schema18"},"transcript":{"$ref":"#/components/schemas/SaveDraftRequest___schema19"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/SaveDraftRequest___schema17"},"caption":{"$ref":"#/components/schemas/SaveDraftRequest___schema18"},"transcript":{"$ref":"#/components/schemas/SaveDraftRequest___schema19"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"label":{"$ref":"#/components/schemas/SaveDraftRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/SaveDraftRequest___schema9"},"required":{"$ref":"#/components/schemas/SaveDraftRequest___schema10"},"description":{"$ref":"#/components/schemas/SaveDraftRequest___schema11"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"label":{"$ref":"#/components/schemas/SaveDraftRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/SaveDraftRequest___schema9"},"required":{"$ref":"#/components/schemas/SaveDraftRequest___schema10"},"description":{"$ref":"#/components/schemas/SaveDraftRequest___schema11"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/SaveDraftRequest___schema20"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"label":{"$ref":"#/components/schemas/SaveDraftRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/SaveDraftRequest___schema9"},"required":{"$ref":"#/components/schemas/SaveDraftRequest___schema10"},"description":{"$ref":"#/components/schemas/SaveDraftRequest___schema11"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/SaveDraftRequest___schema20"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/SaveDraftRequest___schema0"},"width":{"$ref":"#/components/schemas/SaveDraftRequest___schema1"},"conditions":{"$ref":"#/components/schemas/SaveDraftRequest___schema2"},"conditionMatch":{"$ref":"#/components/schemas/SaveDraftRequest___schema5"},"containerId":{"$ref":"#/components/schemas/SaveDraftRequest___schema7"},"label":{"$ref":"#/components/schemas/SaveDraftRequest___schema8"},"submissionKey":{"$ref":"#/components/schemas/SaveDraftRequest___schema9"},"required":{"$ref":"#/components/schemas/SaveDraftRequest___schema10"},"description":{"$ref":"#/components/schemas/SaveDraftRequest___schema11"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/SaveDraftRequest___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]}}},"required":["schemaVersion","elements"]}},"required":["baseRevision","name","description","content"]},"SubmissionValue___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"SubmissionValue___schema1":{"type":"object","properties":{"fileId":{"$ref":"#/components/schemas/SubmissionValue___schema0"},"filename":{"type":"string"},"mediaType":{"type":"string"},"size":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["fileId","filename","mediaType","size"]},"SubmissionValue":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"appointment"},"slotId":{"$ref":"#/components/schemas/SubmissionValue___schema0"},"name":{"type":"string","maxLength":120},"email":{"type":"string","maxLength":320}},"required":["kind"]},{"type":"string","maxLength":50000},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"$ref":"#/components/schemas/SubmissionValue___schema1"},{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/SubmissionValue___schema1"}},{"type":"array","items":{"type":"object","propertyNames":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"additionalProperties":{"anyOf":[{"type":"string","maxLength":50000},{"type":"number"},{"type":"boolean"},{"maxItems":200,"type":"array","items":{"type":"string","maxLength":80}},{"$ref":"#/components/schemas/SubmissionValue___schema1"},{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/SubmissionValue___schema1"}}]}}}]},"SubmitCampaignRequest___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"SubmitCampaignRequest___schema1":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"SubmitCampaignRequest___schema2":{"type":"object","properties":{"fileId":{"$ref":"#/components/schemas/SubmitCampaignRequest___schema0"},"filename":{"type":"string"},"mediaType":{"type":"string"},"size":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["fileId","filename","mediaType","size"]},"SubmitCampaignRequest":{"type":"object","properties":{"formVersionId":{"$ref":"#/components/schemas/SubmitCampaignRequest___schema0"},"values":{"type":"object","propertyNames":{"$ref":"#/components/schemas/SubmitCampaignRequest___schema1"},"additionalProperties":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"appointment"},"slotId":{"$ref":"#/components/schemas/SubmitCampaignRequest___schema0"},"name":{"type":"string","maxLength":120},"email":{"type":"string","maxLength":320}},"required":["kind"]},{"type":"string","maxLength":50000},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"$ref":"#/components/schemas/SubmitCampaignRequest___schema2"},{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/SubmitCampaignRequest___schema2"}},{"type":"array","items":{"type":"object","propertyNames":{"$ref":"#/components/schemas/SubmitCampaignRequest___schema1"},"additionalProperties":{"anyOf":[{"type":"string","maxLength":50000},{"type":"number"},{"type":"boolean"},{"maxItems":200,"type":"array","items":{"type":"string","maxLength":80}},{"$ref":"#/components/schemas/SubmitCampaignRequest___schema2"},{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/SubmitCampaignRequest___schema2"}}]}}}]}},"partialResponseId":{"$ref":"#/components/schemas/SubmitCampaignRequest___schema0"}},"required":["values"]},"AiFormStreamEvent___schema0":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"label":{"$ref":"#/components/schemas/AiFormStreamEvent___schema9"},"submissionKey":{"$ref":"#/components/schemas/AiFormStreamEvent___schema10"},"required":{"$ref":"#/components/schemas/AiFormStreamEvent___schema11"},"description":{"$ref":"#/components/schemas/AiFormStreamEvent___schema12"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"label":{"$ref":"#/components/schemas/AiFormStreamEvent___schema9"},"submissionKey":{"$ref":"#/components/schemas/AiFormStreamEvent___schema10"},"required":{"$ref":"#/components/schemas/AiFormStreamEvent___schema11"},"description":{"$ref":"#/components/schemas/AiFormStreamEvent___schema12"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"label":{"$ref":"#/components/schemas/AiFormStreamEvent___schema13"},"value":{"$ref":"#/components/schemas/AiFormStreamEvent___schema14"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/AiFormStreamEvent___schema15"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"label":{"$ref":"#/components/schemas/AiFormStreamEvent___schema9"},"submissionKey":{"$ref":"#/components/schemas/AiFormStreamEvent___schema10"},"required":{"$ref":"#/components/schemas/AiFormStreamEvent___schema11"},"description":{"$ref":"#/components/schemas/AiFormStreamEvent___schema12"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/AiFormStreamEvent___schema16"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/AiFormStreamEvent___schema16"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/AiFormStreamEvent___schema17"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/AiFormStreamEvent___schema17"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/AiFormStreamEvent___schema18"},"caption":{"$ref":"#/components/schemas/AiFormStreamEvent___schema19"},"transcript":{"$ref":"#/components/schemas/AiFormStreamEvent___schema20"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/AiFormStreamEvent___schema18"},"caption":{"$ref":"#/components/schemas/AiFormStreamEvent___schema19"},"transcript":{"$ref":"#/components/schemas/AiFormStreamEvent___schema20"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"label":{"$ref":"#/components/schemas/AiFormStreamEvent___schema9"},"submissionKey":{"$ref":"#/components/schemas/AiFormStreamEvent___schema10"},"required":{"$ref":"#/components/schemas/AiFormStreamEvent___schema11"},"description":{"$ref":"#/components/schemas/AiFormStreamEvent___schema12"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"label":{"$ref":"#/components/schemas/AiFormStreamEvent___schema9"},"submissionKey":{"$ref":"#/components/schemas/AiFormStreamEvent___schema10"},"required":{"$ref":"#/components/schemas/AiFormStreamEvent___schema11"},"description":{"$ref":"#/components/schemas/AiFormStreamEvent___schema12"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/AiFormStreamEvent___schema21"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"label":{"$ref":"#/components/schemas/AiFormStreamEvent___schema9"},"submissionKey":{"$ref":"#/components/schemas/AiFormStreamEvent___schema10"},"required":{"$ref":"#/components/schemas/AiFormStreamEvent___schema11"},"description":{"$ref":"#/components/schemas/AiFormStreamEvent___schema12"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/AiFormStreamEvent___schema21"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"width":{"$ref":"#/components/schemas/AiFormStreamEvent___schema2"},"conditions":{"$ref":"#/components/schemas/AiFormStreamEvent___schema3"},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema6"},"containerId":{"$ref":"#/components/schemas/AiFormStreamEvent___schema8"},"label":{"$ref":"#/components/schemas/AiFormStreamEvent___schema9"},"submissionKey":{"$ref":"#/components/schemas/AiFormStreamEvent___schema10"},"required":{"$ref":"#/components/schemas/AiFormStreamEvent___schema11"},"description":{"$ref":"#/components/schemas/AiFormStreamEvent___schema12"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/AiFormStreamEvent___schema15"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]},"AiFormStreamEvent___schema1":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"AiFormStreamEvent___schema2":{"default":"full","type":"string","enum":["full","half","third"]},"AiFormStreamEvent___schema3":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/AiFormStreamEvent___schema4"}},"AiFormStreamEvent___schema4":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/AiFormStreamEvent___schema5"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/AiFormStreamEvent___schema5"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/AiFormStreamEvent___schema5"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"AiFormStreamEvent___schema5":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"AiFormStreamEvent___schema6":{"$ref":"#/components/schemas/AiFormStreamEvent___schema7"},"AiFormStreamEvent___schema7":{"type":"string","enum":["all","any"]},"AiFormStreamEvent___schema8":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"AiFormStreamEvent___schema9":{"type":"string","maxLength":240},"AiFormStreamEvent___schema10":{"type":"string","maxLength":80},"AiFormStreamEvent___schema11":{"type":"boolean"},"AiFormStreamEvent___schema12":{"default":"","type":"string","maxLength":2000},"AiFormStreamEvent___schema13":{"type":"string","maxLength":240},"AiFormStreamEvent___schema14":{"type":"string","maxLength":80},"AiFormStreamEvent___schema15":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"AiFormStreamEvent___schema16":{"type":"string"},"AiFormStreamEvent___schema17":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"AiFormStreamEvent___schema18":{"default":"","type":"string","maxLength":500},"AiFormStreamEvent___schema19":{"default":"","type":"string","maxLength":1000},"AiFormStreamEvent___schema20":{"default":"","type":"string","maxLength":50000},"AiFormStreamEvent___schema21":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AiFormStreamEvent___schema1"},"label":{"$ref":"#/components/schemas/AiFormStreamEvent___schema13"},"value":{"$ref":"#/components/schemas/AiFormStreamEvent___schema14"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/AiFormStreamEvent___schema4"}},"conditionMatch":{"$ref":"#/components/schemas/AiFormStreamEvent___schema7"}},"required":["id","label","value"]},"AiFormStreamEvent___schema22":{"type":"string","enum":["en","de"]},"AiFormStreamEvent":{"anyOf":[{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"phase"},"phase":{"type":"string","enum":["reading","mapping","building","validating"]}},"required":["type","phase"]},{"type":"object","properties":{"type":{"type":"string","const":"element"},"index":{"type":"integer","minimum":0,"maximum":249},"label":{"type":"string","minLength":1,"maxLength":240},"elementType":{"type":"string","minLength":1,"maxLength":40},"element":{"$ref":"#/components/schemas/AiFormStreamEvent___schema0"},"locale":{"$ref":"#/components/schemas/AiFormStreamEvent___schema22"}},"required":["type","index","label","elementType"]}]},{"type":"object","properties":{"type":{"type":"string","const":"complete"},"result":{"type":"object","properties":{"supportReference":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"message":{"type":"string","minLength":1,"maxLength":8000},"proposal":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"content":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","$ref":"#/components/schemas/AiFormStreamEvent___schema22"},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"$ref":"#/components/schemas/AiFormStreamEvent___schema0"}}},"required":["schemaVersion","elements"]}},"required":["name","description","content"]}},"required":["message","proposal"]}},"required":["type","result"]},{"type":"object","properties":{"type":{"type":"string","const":"error"},"message":{"type":"string","minLength":1},"retryMode":{"type":"string","enum":["fresh","reuse"]},"details":{}},"required":["type","message"]}]},"GenerateFormResponse___schema0":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"GenerateFormResponse___schema1":{"default":"full","type":"string","enum":["full","half","third"]},"GenerateFormResponse___schema2":{"default":[],"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/GenerateFormResponse___schema3"}},"GenerateFormResponse___schema3":{"oneOf":[{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/GenerateFormResponse___schema4"},"operator":{"type":"string","enum":["equals","notEquals"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/GenerateFormResponse___schema4"},"operator":{"type":"string","const":"contains"},"value":{"type":"string"}},"required":["submissionKey","operator","value"]},{"type":"object","properties":{"submissionKey":{"$ref":"#/components/schemas/GenerateFormResponse___schema4"},"operator":{"type":"string","const":"isAnswered"}},"required":["submissionKey","operator"]}]},"GenerateFormResponse___schema4":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"GenerateFormResponse___schema5":{"$ref":"#/components/schemas/GenerateFormResponse___schema6"},"GenerateFormResponse___schema6":{"type":"string","enum":["all","any"]},"GenerateFormResponse___schema7":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"GenerateFormResponse___schema8":{"type":"string","maxLength":240},"GenerateFormResponse___schema9":{"type":"string","maxLength":80},"GenerateFormResponse___schema10":{"type":"boolean"},"GenerateFormResponse___schema11":{"default":"","type":"string","maxLength":2000},"GenerateFormResponse___schema12":{"type":"string","maxLength":240},"GenerateFormResponse___schema13":{"type":"string","maxLength":80},"GenerateFormResponse___schema14":{"type":"string","maxLength":120,"pattern":"^(?:\\.[a-z0-9][a-z0-9+._-]*|[a-z0-9][a-z0-9!#$&^_.+-]*\\/(?:\\*|[a-z0-9][a-z0-9!#$&^_.+-]*))$"},"GenerateFormResponse___schema15":{"type":"string"},"GenerateFormResponse___schema16":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"GenerateFormResponse___schema17":{"default":"","type":"string","maxLength":500},"GenerateFormResponse___schema18":{"default":"","type":"string","maxLength":1000},"GenerateFormResponse___schema19":{"default":"","type":"string","maxLength":50000},"GenerateFormResponse___schema20":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"label":{"$ref":"#/components/schemas/GenerateFormResponse___schema12"},"value":{"$ref":"#/components/schemas/GenerateFormResponse___schema13"},"conditions":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/GenerateFormResponse___schema3"}},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema6"}},"required":["id","label","value"]},"GenerateFormResponse":{"type":"object","properties":{"supportReference":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"message":{"type":"string","minLength":1,"maxLength":8000},"proposal":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"content":{"type":"object","properties":{"schemaVersion":{"type":"number","const":2},"locale":{"default":"en","type":"string","enum":["en","de"]},"presentation":{"type":"string","enum":["classic","cardStack"]},"elements":{"maxItems":500,"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"label":{"$ref":"#/components/schemas/GenerateFormResponse___schema8"},"submissionKey":{"$ref":"#/components/schemas/GenerateFormResponse___schema9"},"required":{"$ref":"#/components/schemas/GenerateFormResponse___schema10"},"description":{"$ref":"#/components/schemas/GenerateFormResponse___schema11"},"type":{"type":"string","const":"appointment"},"bookingPageId":{"anyOf":[{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","bookingPageId"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"label":{"$ref":"#/components/schemas/GenerateFormResponse___schema8"},"submissionKey":{"$ref":"#/components/schemas/GenerateFormResponse___schema9"},"required":{"$ref":"#/components/schemas/GenerateFormResponse___schema10"},"description":{"$ref":"#/components/schemas/GenerateFormResponse___schema11"},"type":{"type":"string","const":"table"},"columns":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"key":{"type":"string","maxLength":80},"label":{"type":"string","maxLength":240},"inputType":{"type":"string","enum":["text","number","date","month","time","datetime","checkbox","select","multiselect","file"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"textMode":{"type":"string","enum":["singleLine","longText"]},"options":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"label":{"$ref":"#/components/schemas/GenerateFormResponse___schema12"},"value":{"$ref":"#/components/schemas/GenerateFormResponse___schema13"}},"required":["id","label","value"]}},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/GenerateFormResponse___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"type":"integer","minimum":1,"maximum":10},"required":{"default":false,"type":"boolean"}},"required":["id","key","label","inputType"]}},"minRows":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"maxRows":{"default":null,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"layout":{"default":"table","type":"string","enum":["table","cards"]}},"required":["id","label","submissionKey","required","type","columns"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"type":{"type":"string","const":"text"},"style":{"type":"string","enum":["heading1","heading2","subtext","regular"]},"color":{"default":"main","type":"string","enum":["main","highlight"]},"markdown":{"type":"string","maxLength":50000},"alignment":{"type":"string","enum":["left","center","right","justify"]}},"required":["id","type","style","markdown"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"label":{"$ref":"#/components/schemas/GenerateFormResponse___schema8"},"submissionKey":{"$ref":"#/components/schemas/GenerateFormResponse___schema9"},"required":{"$ref":"#/components/schemas/GenerateFormResponse___schema10"},"description":{"$ref":"#/components/schemas/GenerateFormResponse___schema11"},"type":{"type":"string","const":"input"},"inputType":{"type":"string","enum":["text","number","month","datetime","date","time","email"]},"textFormat":{"type":"string","enum":["plain","url","email"]},"requireValidEmail":{"type":"boolean"},"textMode":{"default":"singleLine","type":"string","enum":["singleLine","longText"]},"allowAudioTranscription":{"default":false,"type":"boolean"},"inlineWithChoice":{"type":"boolean"},"placeholder":{"default":"","type":"string","maxLength":240},"dateRange":{"type":"object","properties":{"min":{"default":null,"anyOf":[{"$ref":"#/components/schemas/GenerateFormResponse___schema15"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"$ref":"#/components/schemas/GenerateFormResponse___schema15"},{"type":"null"}]},"reason":{"default":"","type":"string","maxLength":1000}},"additionalProperties":false},"requireResponseDateRange":{"type":"boolean"},"min":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"max":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"step":{"default":null,"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"integer":{"default":false,"type":"boolean"},"suffix":{"default":"","type":"string","maxLength":24}},"required":["id","label","submissionKey","required","type","inputType"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"type":{"type":"string","const":"divider"},"style":{"type":"string","enum":["space","line","dotted"]}},"required":["id","type","style"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"type":{"type":"string","const":"pageBreak"},"title":{"default":"","type":"string","maxLength":120}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"type":{"type":"string","const":"card"},"title":{"default":"","type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000},"background":{"default":null,"anyOf":[{"$ref":"#/components/schemas/GenerateFormResponse___schema16"},{"type":"null"}]},"borderColor":{"default":null,"anyOf":[{"$ref":"#/components/schemas/GenerateFormResponse___schema16"},{"type":"null"}]}},"required":["id","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"type":{"type":"string","const":"section"},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"type":{"type":"string","const":"image"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},{"type":"null"}]},"imageWidth":{"anyOf":[{"type":"integer","minimum":10,"maximum":100},{"type":"null"}]},"imageAlignment":{"type":"string","enum":["left","center","right"]},"alt":{"type":"string","maxLength":500},"caption":{"default":"","type":"string","maxLength":1000}},"required":["id","type","assetId","alt"]},{"anyOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"upload"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},{"type":"null"}]},"url":{"type":"string","const":""},"title":{"$ref":"#/components/schemas/GenerateFormResponse___schema17"},"caption":{"$ref":"#/components/schemas/GenerateFormResponse___schema18"},"transcript":{"$ref":"#/components/schemas/GenerateFormResponse___schema19"}},"required":["id","type","source","assetId","url"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"type":{"type":"string","const":"video"},"source":{"type":"string","const":"url"},"assetId":{"type":"null"},"url":{"type":"string","maxLength":2048},"title":{"$ref":"#/components/schemas/GenerateFormResponse___schema17"},"caption":{"$ref":"#/components/schemas/GenerateFormResponse___schema18"},"transcript":{"$ref":"#/components/schemas/GenerateFormResponse___schema19"}},"required":["id","type","source","assetId","url"]}]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"type":{"type":"string","const":"download"},"assetId":{"anyOf":[{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},{"type":"null"}]},"title":{"type":"string","maxLength":240},"description":{"default":"","type":"string","maxLength":2000}},"required":["id","type","assetId","title"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"label":{"$ref":"#/components/schemas/GenerateFormResponse___schema8"},"submissionKey":{"$ref":"#/components/schemas/GenerateFormResponse___schema9"},"required":{"$ref":"#/components/schemas/GenerateFormResponse___schema10"},"description":{"$ref":"#/components/schemas/GenerateFormResponse___schema11"},"type":{"type":"string","const":"checkbox"}},"required":["id","label","submissionKey","required","type"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"label":{"$ref":"#/components/schemas/GenerateFormResponse___schema8"},"submissionKey":{"$ref":"#/components/schemas/GenerateFormResponse___schema9"},"required":{"$ref":"#/components/schemas/GenerateFormResponse___schema10"},"description":{"$ref":"#/components/schemas/GenerateFormResponse___schema11"},"type":{"type":"string","const":"select"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/GenerateFormResponse___schema20"}},"presentation":{"default":"dropdown","type":"string","enum":["dropdown","radio"]},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"label":{"$ref":"#/components/schemas/GenerateFormResponse___schema8"},"submissionKey":{"$ref":"#/components/schemas/GenerateFormResponse___schema9"},"required":{"$ref":"#/components/schemas/GenerateFormResponse___schema10"},"description":{"$ref":"#/components/schemas/GenerateFormResponse___schema11"},"type":{"type":"string","const":"multiselect"},"options":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/GenerateFormResponse___schema20"}},"optionColumns":{"default":1,"type":"integer","minimum":1,"maximum":3},"maxSelections":{"anyOf":[{"type":"integer","minimum":1,"maximum":200},{"type":"null"}]}},"required":["id","label","submissionKey","required","type","options"]},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GenerateFormResponse___schema0"},"width":{"$ref":"#/components/schemas/GenerateFormResponse___schema1"},"conditions":{"$ref":"#/components/schemas/GenerateFormResponse___schema2"},"conditionMatch":{"$ref":"#/components/schemas/GenerateFormResponse___schema5"},"containerId":{"$ref":"#/components/schemas/GenerateFormResponse___schema7"},"label":{"$ref":"#/components/schemas/GenerateFormResponse___schema8"},"submissionKey":{"$ref":"#/components/schemas/GenerateFormResponse___schema9"},"required":{"$ref":"#/components/schemas/GenerateFormResponse___schema10"},"description":{"$ref":"#/components/schemas/GenerateFormResponse___schema11"},"type":{"type":"string","const":"file"},"acceptedTypes":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/GenerateFormResponse___schema14"}},"maxSizeMb":{"type":"integer","minimum":1,"maximum":50},"maxFiles":{"default":1,"type":"integer","minimum":1,"maximum":10}},"required":["id","label","submissionKey","required","type","acceptedTypes","maxSizeMb"]}]}}},"required":["schemaVersion","elements"]}},"required":["name","description","content"]}},"required":["message","proposal"]},"SubmissionValues":{"type":"object","description":"Keys are submissionKey values from the immutable form version. Runtime validation checks field type, requiredness, conditions, and constraints.","additionalProperties":{"$ref":"#/components/schemas/SubmissionValue"},"example":{"full_name":"Alex Morgan"}},"RequestValidationDetails":{"type":"object","required":["issues"],"properties":{"issues":{"type":"array","items":{"type":"object","required":["code","path","message"],"properties":{"code":{"type":"string"},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"message":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true},"RequestValidationError":{"description":"Request/schema validation failure. Details may be absent for other input constraints.","allOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"object","properties":{"code":{"const":"validation_error"},"details":{"$ref":"#/components/schemas/RequestValidationDetails"}}}]},"RespondentFieldValidationError":{"description":"Respondent answer/file validation failure. Match errors to fields by submissionKey.","allOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"object","required":["details"],"properties":{"code":{"const":"validation_error"},"details":{"type":"array","items":{"type":"object","required":["submissionKey","message"],"properties":{"submissionKey":{"type":"string"},"message":{"type":"string"}},"additionalProperties":false}}}}]},"InvalidIdempotencyKeyError":{"allOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"object","properties":{"code":{"const":"invalid_idempotency_key"}}}]},"AcceptedResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"campaignId":{"type":"string","format":"uuid"},"formVersionId":{"type":"string","format":"uuid"},"values":{"$ref":"#/components/schemas/SubmissionValues"},"submittedByUserId":{"type":["string","null"]},"acceptedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"}},"required":["id","campaignId","formVersionId","values","submittedByUserId","acceptedAt","createdAt","updatedAt","createdBy","updatedBy"],"additionalProperties":false},"AcceptedResponsePage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/AcceptedResponse"}},"nextCursor":{"type":["string","null"]}},"required":["items","nextCursor"],"additionalProperties":false},"SanitizedDelivery":{"type":"object","description":"Safe delivery metadata. Payload, destination credentials, and ciphertext are excluded.","properties":{"id":{"type":"string","format":"uuid"},"submissionId":{"type":"string","format":"uuid"},"destinationId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["pending","retrying","delivered","failed"]},"attemptCount":{"type":"integer"},"retryAttemptCount":{"type":"integer"},"retryRequestedAt":{"type":["string","null"],"format":"date-time"},"retryRequestedBy":{"type":["string","null"]},"nextAttemptAt":{"type":"string","format":"date-time"},"workflowInvocationUrl":{"type":["string","null"]},"payloadHash":{"type":["string","null"]},"bindingId":{"type":["string","null"]},"bindingRevisionId":{"type":["string","null"]},"workflowInvocationId":{"type":["string","null"]},"workflowVersionId":{"type":["string","null"]},"workflowCaseReference":{"type":["string","null"]},"workflowExecutionStatus":{"type":["string","null"]},"lastErrorCode":{"type":["string","null"]},"lastHttpStatus":{"type":["integer","null"]},"receiptReconciledAt":{"type":["string","null"],"format":"date-time"},"lastError":{"type":["string","null"]},"deliveredAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"},"deletedAt":{"type":["string","null"],"format":"date-time"},"connectionState":{"type":["string","null"]}},"required":["id","status","attemptCount","createdAt","updatedAt"],"additionalProperties":false},"HttpOutputReadConfig":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"method":{"type":"string","enum":["POST","PUT"]},"payloadFormat":{"type":"string","description":"Configured delivery formatter (for example pollenforms)."},"fieldMap":{"type":"object","additionalProperties":{"type":"string"}},"valueMap":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"auth":{"type":"object","properties":{"type":{"type":"string","enum":["none","basic","bearer"]}},"required":["type"],"additionalProperties":false},"responseSchema":{"type":"object","additionalProperties":true}},"additionalProperties":true,"description":"Credential values are redacted; only the authentication type is returned. Service-managed configuration may include additional integration fields."},"ApiError":{"type":"object","required":["error","code","requestId"],"properties":{"error":{"type":"string","description":"Human-readable explanation. Never parse this text to branch client behavior."},"code":{"type":"string","description":"Machine-readable error code when supplied by the handler."},"requestId":{"type":"string","description":"Correlation ID, also returned as x-request-id."},"details":{"description":"Handler-specific structured context. Zod validation errors use {issues:[...]}; respondent field errors use [{submissionKey,message}]. Other errors may include requiredScopes or edit lease information.","anyOf":[{"type":"object","properties":{"issues":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"path":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"message":{"type":"string"}},"required":["code","path","message"],"additionalProperties":true}}},"required":["issues"],"additionalProperties":true},{"type":"object","additionalProperties":true},{"type":"array","items":{}},{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"securitySchemes":{"ApiKey":{"type":"http","scheme":"bearer","bearerFormat":"pfk_…","description":"Organization API key created by a human administrator in Settings → API. Use Authorization: Bearer pfk_… . Never put credentials in URLs."},"HumanSession":{"type":"http","scheme":"bearer","bearerFormat":"OIDC access token","description":"Interactive signed-in session. Role, organization, approval, and paired login proof requirements apply."},"MonitoringBasic":{"type":"http","scheme":"basic","description":"Deployment monitoring credential; no ordinary API-key access."},"AuraFlowService":{"type":"http","scheme":"bearer","description":"Configured AuraFlow service identity, with X-PollenForms-Organization-Id. Ordinary API keys cannot access integration routes."}}},"x-documentation-coverage":{"total":165,"documented":165,"missing":[]}}