PerspectiveSuggestCommentScoreResponse
Response returned by Respectify's public Perspective-compatible suggestscore endpoint.
- Python
- PHP
- JSON
from respectify.schemas import PerspectiveSuggestCommentScoreResponse
use Respectify\Schemas\PerspectiveSuggestCommentScoreResponse;
Types are returned as JSON objects in API responses.
Fields
requestedLanguages
Echoed requested languages when the caller supplied them, as language codes such as en, es, or fr.
- Python
- PHP
- JSON
result.requestedLanguages: Optional[List[str]]
$result->requestedLanguages: ?array<int, str>
"requestedLanguages": ["...", "..."]
clientToken
Caller-provided correlation token, echoed back unchanged when supplied. Use this if you want to match the response to your own request ID.
- Python
- PHP
- JSON
result.clientToken: Optional[str]
$result->clientToken: ?string
"clientToken": "string" // or null