PolicyStream

PolicyStream

fieldtypedescriptionproperties
policy_stream_idstring(uuid)ID of the Policy Stream
insurance_provider_namestringCarrier ID of the agent portal the stream watchesenum: libertymutual_agent, travelers_agent
statusstringACTIVE: the stream runs daily. NEEDS_REAUTH: the portal rejected the login, so the stream is stopped until the part named in needs_reauth_reason is replaced in the dashboard. PAUSED: the stream was paused and does not run.enum: ACTIVE, NEEDS_REAUTH, PAUSED
needs_reauth_reasonstring | nullWhich part of the login the portal rejected, or null when the login works. Replace that part in the dashboard to resume the stream. A paused stream keeps PAUSED as its status but still reports this.enum: CREDENTIALS_REJECTED, TOTP_SECRET_REJECTED, LOGIN_CODE_NOT_RECEIVED, null
is_sandboxbooleanWhether this is a sandbox stream. Sandbox streams run on a fake book that changes every day, and are only visible to sandbox API keys.
checking_sign_inbooleanTrue while a sign-in check on an active stream is queued or running, such as right after the stream is connected, resumed, or its login is replaced
next_run_atstring(date-time) | nullWhen the stream's next daily run is due
created_atstring(date-time)When the stream was connected
mfa_methodstringHow the login gets its second-step code. TOTP: generated from the portal's authenticator secret. EMAIL: emailed by the carrier to the Canopy login-code inbox in mfa_email.enum: TOTP, EMAIL
mfa_emailstring(email) | nullThe Canopy login-code inbox the carrier sends codes to, for EMAIL sign-in
field_valuesobjectThe login's readable fields, such as username. Secrets like the password and authenticator secret are never returned.additionalProperties: [object Object]