Circle V2 API Docs
    Preparing search index...
    rpaExtractionMetadataSchema: ZodObject<
        {
            cloudcruiseSessionId: ZodCatch<ZodOptional<ZodString>>;
            entityId: ZodCatch<ZodOptional<ZodString>>;
            fileName: ZodCatch<ZodOptional<ZodString>>;
            integrationId: ZodCatch<ZodOptional<ZodString>>;
            originalPatientChartId: ZodCatch<ZodOptional<ZodNullable<ZodString>>>;
            patientId: ZodCatch<ZodOptional<ZodString>>;
            source: ZodCatch<ZodOptional<ZodString>>;
            sourceFileUrl: ZodCatch<ZodOptional<ZodString>>;
            treatmentEpisodeId: ZodCatch<ZodOptional<ZodNullable<ZodString>>>;
        },
        $strip,
    > = ...

    Metadata we attach to the Extend RPA workflow run (see ingestInsyncRpaResult.jobbable) and receive back — echoed — on its workflow_run.* webhook events. Every field is optional and individually resilient: a missing or malformed value degrades to undefined/null rather than failing the whole parse, since the payload is an untrusted webhook body.