When creating an object of Vapi.CreateAssistantDto (or its corresponding update type), the secret field seems to be missing in the SDK, but is written to when writing out the agent.
Note: this field seems to be required to have redacted responses in GET calls to assistant. I have tested, and the inclusion of this field is functional.