Skip to content

Spam Training Samples

Manage spam classifier training samples.

Training Sample

Account

Identifier of the account associated with this training sample.

One of your Accounts, chosen from a list. Set when it’s created; can’t be changed afterwards. Name in the API: accountId.

From

Email address of the sender of the message associated with this training sample.

An email address. Read only. Name in the API: from.

Subject

Subject of the message associated with this training sample.

Text. Read only. Name in the API: subject.

Message

Reference to the stored message content.

An uploaded file. Set when it’s created; can’t be changed afterwards. Name in the API: blobId.

Is Spam

Indicates whether the sample is spam (true) or ham (false)

On or off. Set when it’s created; can’t be changed afterwards. Name in the API: isSpam.

Options

Delete After Training

Indicates whether the training sample should be deleted after being used for training.

On or off. Set when it’s created; can’t be changed afterwards. Name in the API: deleteAfterUse.

Expires At

Timestamp when the training sample is scheduled to expire.

A date and time. Read only. Name in the API: expiresAt.