The values for the question and answer flag_option title properties, which I've determined experimentally, are:
const flagTypes = {
/* Localizations:
* English (not localized)
* Japanese: ja.stackoverflow.com
* Spanish: es.stackoverflow.com
* Portuguese: pt.stackoverflow.com
* Russian: ru.stackoverflow.com & rus.stackexchange.com (Русский язык)
*/
spam: [
'deleted as spam', // English (as of 2025-06-27)
'spam', // Portuguese (English prior to 2025-06-27)
'スパム', // Japanese
'contenido no deseado', // Spanish
'спам', // Russian
],
rude: [
//'rude or abusive', // English prior to 2025-06-27
'deleted as rude or abusive', // English as of 2025-06-27
'失礼又は暴言', // Japanese
'rude ou abusivo', // Portuguese
'невежливый или оскорбительный', // Russian
'irrespetuoso o abusivo', // Spanish
],
naa: [
//'not an answer', // English prior to 2025-06-27
'deleted for not answering the question', // English as of 2025-06-27
'回答になっていません', // Japanese
'não é uma resposta', // Portuguese
'не является ответом', // Russian
'no es una respuesta', // Spanish
],
vlq: [
//'very low quality', // English prior to 2025-06-27
'deleted as very low quality', // English as of 2025-06-27
'品質が低すぎる', // Japanese
'qualidade muito baixa', // Portuguese
'необходимо удалить из-за проблем с качеством', // Russian
'muy baja calidad', // Spanish
],
moderator: [
//'in need of moderator intervention', // English prior to 2025-06-27
'looked at by a moderator', // English as of 2025-06-27
'モデレーターによる対応が必要です', // Japanese
'precisa de atenção dos moderadores', // Portuguese
'требуется вмешательство модератора', // Russian
'se necesita la intervención de un moderador', // Spanish
],
close: [
//'should be closed...', // English sometime prior to 2025-06-27
'closed', // English at least by 2025-06-27, but probably years earlier
'クローズする必要があります', // Japanese
'deveria ser fechada...', // Portuguese
'должен быть закрыт...', // Russian
'debería ser cerrada...', // Spanish
],
duplicate: [
//'a duplicate...', // English sometime prior to 2025-06-27
'closed as a duplicate question', // English at least by 2025-06-27, but possibly years earlier
'重複しています', // Japanese
'repetida...', // Portuguese
'дубликат...', // Russian
'un duplicado...', // Spanish
],
};
Both the close and duplicate flag_option types contain sub_options, which vary from site to site.
These are valid as of the time/date this answer was posted, but there's nothing that requires the SE API to not change these titles. Given that the comment flags have recently been changed, more than once, it's not that unlikely that these will be changed also.
title/` dialog_title` anddescriptionto the user for selection. This Q&A is here because I was frustrated by not finding this information anywhere, other than in the responses from the SE API. My hope is that these might save someone the time of determining what all thetitlestrings are.option_idnumbers may be stable over a considerable time, the documentation explicitly states that their stability should not be relied upon. As Shog9 has said, and I agree with, doing a match to the text of thetitleis more likely to fail-safe than using the numericoption_id.