tools.ozone.inbox.listReports

List moderation reports submitted by the authenticated account to this moderation service.

class atproto_client.models.tools.ozone.inbox.list_reports.Params

Bases: ParamsModelBase

Parameters model for tools.ozone.inbox.listReports.

field cursor: str | None = None

An opaque cursor for pagination.

field did: Did | None = None
field filter: Literal['all', 'pending', 'resolved', 'unread'] | None = 'all'
field limit: int | None = None

Limit.

Constraints:
  • ge = 1

  • le = 100

field sort_direction: Literal['asc', 'desc'] | None = 'desc'

Sort direction.

field sort_field: Literal['createdAt', 'updatedAt'] | None = 'updatedAt'

Sort field.

class atproto_client.models.tools.ozone.inbox.list_reports.ParamsDict

Bases: TypedDict

cursor: NotRequired[str | None]

An opaque cursor for pagination.

did: NotRequired[Did | None]

Account to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.

filter: NotRequired[Literal['all', 'pending', 'resolved', 'unread'] | None]

Filter report activity. unread includes reports whose updatedAt is after the reports section’s seenAt watermark.

limit: NotRequired[int | None]

Limit.

sort_direction: NotRequired[Literal['asc', 'desc'] | None]

Sort direction.

sort_field: NotRequired[Literal['createdAt', 'updatedAt'] | None]

Sort field.

class atproto_client.models.tools.ozone.inbox.list_reports.Response

Bases: ResponseModelBase

Output data model for tools.ozone.inbox.listReports.

field cursor: str | None = None

Cursor.

field reports: List[models.ToolsOzoneInboxListReports.ReportView] [Required]

Reports.

class atproto_client.models.tools.ozone.inbox.list_reports.ReportView

Bases: ModelBase

Definition model for tools.ozone.inbox.listReports.

field created_at: DateTime [Required]

Created at.

field id: int [Required]

Report ID (report table ID), used by getReport and Ozone’s report detail page.

field is_read: bool [Required]

Is read.

field last_action_taken: str | None = None
field reason: str | None = None

Reason.

Constraints:
  • max_length = 20000

field reason_type: str [Required]

The exact fully-qualified reason NSID submitted with and stored on the report.

field scope: Literal['network', 'app', 'labelOnly'] | str | None = None

Scope.

field src: Did [Required]

DID of the moderation service that received the report.

field status: Literal['pending', 'resolved'] | str [Required]

Status.

field subject: models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main | models.ChatBskyConvoDefs.MessageRef | models.ChatBskyConvoDefs.ConvoRef | DotDict [Required]

Subject.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 17

  • __doc__ = Annotation for open ref unions: an unrecognized $type falls back to DotDict. Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.

  • __get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ā€˜atproto_client.models.unknown_union.UnknownUnionFallback’>>

  • __static_attributes__ = ()

  • __dict__ = {ā€˜__module__’: ā€˜atproto_client.models.unknown_union’, ā€˜__firstlineno__’: 17, ā€˜__doc__’: ā€œAnnotation for open ref unions: an unrecognized $type falls back to DotDict.nnApplied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a $type thatnmatches no member, or a missing one, degrades to a DotDict.nā€, ā€˜__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x7bc6f7b3ccc0>)>, ā€˜__static_attributes__’: (), ā€˜__dict__’: <attribute ā€˜__dict__’ of ā€˜UnknownUnionFallback’ objects>, ā€˜__weakref__’: <attribute ā€˜__weakref__’ of ā€˜UnknownUnionFallback’ objects>}

  • __weakref__ = <attribute ā€˜__weakref__’ of ā€˜UnknownUnionFallback’ objects>

field updated_at: DateTime [Required]

Updated at.