Trying to understand the discrepancy between the script version ID stored in the interaction metadata versus the actual script content retrieved via the Agent Script API. We are processing a legal discovery request that requires a strict chain of custody for all agent interactions over the last quarter. The bulk export jobs are completing successfully, but the metadata attached to the interaction records often points to a deprecated script version that no longer exists in the current tenant state.
Environment details:
- Platform: Genesys Cloud (GIP) EU-West-1
- API Version: v2
- Export Destination: S3 via Bulk Export API
- Data Type: Digital Channel Interactions (Web Chat)
When querying the /api/v2/interactions endpoint, the scriptId field references a specific version. However, calling GET /api/v2/agent-scripts/{scriptId} returns a 404 Not Found error, indicating the version has been superseded or deleted. This breaks our audit trail requirements. Is there a way to archive or pin script versions so they remain accessible for historical data reconciliation? The current behavior suggests that script updates overwrite history without preserving the versioned artifact needed for legal compliance.