List an author's moderations
GET/v1/authors/{external_id}/moderationsKey scope read
Lists an author's moderations, newest first, as compact summaries. A summary has the verdict, the recommendation, the triggered policies and a text preview, not the full moderation. Fetch GET /v1/moderations/{id} for the scores and the details.
Needs a key with the read scope. Authentication
Path parameters
external_idstringRequiredYour id for the end user.
Query parameters
limitintegerDefault20Number of items to return, 1 to 100. Default 20.
cursorstringThe
next_cursorof the previous page. Omit it for the first page.
Returns
A list object of summaries. Each item has object, id, type, template (the slug, as a string), status, flagged, recommendation, severity, triggered, preview (the first 140 characters of stored text, or null), content_id, author_id (the aut_ id), author_external_id, language, latency_ms, dry_run, test, created_at and completed_at. Forms appear once, as their parent moderation.
Errors
- 400
invalid_cursorcursoris not a value returned by this endpoint.- 404
not_foundThe project has no author with this id.
- 422
validation_errorlimitis outside 1 to 100.
Every endpoint can also answer the errors any request can meet: a missing key, a rate limit, a malformed body. Errors
Something missing or unclear on this page? Write to support@useinfrared.com.