Skip to content

AdminAccountDetail

The details of an account.

object
id
required

The ID of a resource, a UUIDv7 in its canonical string form.

string format: uuid
account
required

Schema: Account

object
local
required

Whether the account is on this server.

boolean
state
required

The state of an account, the first that applies: deleted (deleted here or on its server), suspended (a suspend or ban), disabled (a disable_login), deactivated (by its owner), rejected and pending (the registration of a local account), limited (a limit), and active.

string
Allowed values: active pending rejected limited disabled deactivated suspended deleted
restrictions
required

What the account’s own actions take away now, in a fixed order. The domain actions on its domain are listed apart.

Array<string>
Allowed values: login post interact visibility_ceiling_private public_discovery unsolicited_reach media_sensitive profile_view federation
registration_state

Where the registration of a local account stands; a user made with the command line is approved. Omitted for a remote account.

string
Allowed values: pending approved rejected
registration
email_verified

Whether the primary email address of a local account is verified; omitted when it has none.

boolean
email_suppression

The suppression of the primary email address of a local account; omitted when it is not suppressed. A moderator lifts it with POST /admin/accounts/{id}/email_suppression/lift.

Schema: EmailSuppression

object
two_factor_enabled

Whether the user of a local account signs in with two-factor authentication; omitted for a remote account.

boolean
roles
required

The keys of the user’s roles, highest position first; empty for a remote account.

Array<string>
actions
required

The newest 20 actions on the account, newest first.

Array<object>

A moderation action on an account.

object
id
required

The ID of a resource, a UUIDv7 in its canonical string form.

string format: uuid
account_id
required

The account the action is on.

string format: uuid
kind
required

warn: a notice only. mark_statuses_sensitive and delete_statuses: actions on posts. force_sensitive: every attachment is shown as sensitive. limit: every post is followers-only and stays off the public timelines. restrict_posting: no posting. restrict_interaction: no following, favouriting, boosting, or replying. disable_login: no logging in. suspend: all of these, and the profile and posts are hidden. ban: a suspension that never ends, with the deletion of the account.

string
Allowed values: warn mark_statuses_sensitive delete_statuses force_sensitive limit restrict_posting restrict_interaction disable_login suspend ban
reason_category
required

The kind of reason for an action.

string
Allowed values: spam legal violation other
public_reason

The reason shown to the account; omitted when there is none.

string
private_note

The moderators’ note; omitted when there is none.

string
report_id

The report the action follows from; omitted when there is none.

string format: uuid
issuer
required

moderator: a moderator or the CLI.

string
Allowed values: moderator
issued_by_account_id

The account of the moderator who took the action; omitted for the CLI and the system.

string format: uuid
notify_target
required

Whether the account is told of the action.

boolean
state
required

active: in effect now. expired: it ended at expires_at. lifted: a moderator lifted it.

string
Allowed values: active expired lifted
issued_at
required
string format: date-time
expires_at

When the action ends by itself; omitted for one that lasts until lifted.

string format: date-time
lifted_at

When the action was lifted; omitted until it is.

string format: date-time
lift_reason

Why the action was lifted; omitted until it is or when no reason was given.

string
status_ids

The posts of the account that delete_statuses or mark_statuses_sensitive acts on, in ID order; omitted for the other kinds.

Array<string>
reports

The newest 20 reports of the account, newest first; omitted unless the viewer also has the manage_reports permission.

Array<object>

A report of an account to the moderators.

object
id
required

The ID of a resource, a UUIDv7 in its canonical string form.

string format: uuid
uri

The id of the Flag activity that another server sent; omitted for a report made on this server.

string
category
required

Why the account is reported. spam: spam or unwanted promotion. legal: content that is illegal. violation: it breaks the instance rules that rule_ids cite. other: anything else.

string
Allowed values: spam legal violation other
comment
required

The reporter’s comment as plain text, up to 5,000 characters.

string
forwarded
required

Whether the report was forwarded to the target’s server: when it was filed, because the reporter asked, or later by a moderator.

boolean
forwardable
required

Whether a moderator can forward the report to the target’s server now: it was filed on this server, its target is a remote account, it points at no voice chat room and no event, and it is not forwarded yet.

boolean
filed_at
required
string format: date-time
state
required

open reports await the moderators; resolved ones are handled.

string
Allowed values: open resolved
outcome

How the report was resolved, present only while it is resolved. actioned: a moderator took an action on the target. dismissed: there was nothing to act on.

string
Allowed values: actioned dismissed
state_changed_at
required

When the report entered its state (when it was filed, resolved, or reopened).

string format: date-time
assignee_account_id

The account of the moderator who handles the report; omitted when nobody does.

string format: uuid
reporter_account_id

The account that filed the report; omitted when the reader is the account reported, who never learns who reported them.

string format: uuid
reporter_account

The reporter, often the instance actor of a remote server; omitted when the account is gone, and when the reader is the account reported.

Schema: Account

object
target_account_id
required

The ID of a resource, a UUIDv7 in its canonical string form.

string format: uuid
target_account

The account reported, even when it is suspended or blocks the reporter; omitted when the account is gone.

Schema: Account

object
status_ids
required

The IDs of the target’s posts that the report points at.

Array<string>
voice_room_id

The voice chat room that the report points at, whose host is the target; omitted for none.

string format: uuid
event_id

The event that the report points at, whose organizer is the target; omitted for none.

string format: uuid
hook_origin
object
rule_ids
required

The IDs of the instance rules that the report cites, retired ones included; only a report of the violation category cites rules.

Array<string>

Example generated

{
"id": "01890a5d-ac96-774b-bcce-b302099a8057",
"account": {},
"local": true,
"state": "active",
"restrictions": [
"login"
],
"registration_state": "pending",
"registration": {},
"email_verified": true,
"email_suppression": {},
"two_factor_enabled": true,
"roles": [
"example"
],
"actions": [
{
"id": "01890a5d-ac96-774b-bcce-b302099a8057",
"account_id": "01890a5d-ac96-774b-bcce-b302099a8057",
"kind": "warn",
"reason_category": "spam",
"public_reason": "example",
"private_note": "example",
"report_id": "01890a5d-ac96-774b-bcce-b302099a8057",
"issuer": "moderator",
"issued_by_account_id": "01890a5d-ac96-774b-bcce-b302099a8057",
"notify_target": true,
"state": "active",
"issued_at": "2026-04-15T12:00:00Z",
"expires_at": "2026-04-15T12:00:00Z",
"lifted_at": "2026-04-15T12:00:00Z",
"lift_reason": "example",
"status_ids": [
"01890a5d-ac96-774b-bcce-b302099a8057"
]
}
],
"reports": [
{
"id": "01890a5d-ac96-774b-bcce-b302099a8057",
"uri": "example",
"category": "spam",
"comment": "example",
"forwarded": true,
"forwardable": true,
"filed_at": "2026-04-15T12:00:00Z",
"state": "open",
"outcome": "actioned",
"state_changed_at": "2026-04-15T12:00:00Z",
"assignee_account_id": "01890a5d-ac96-774b-bcce-b302099a8057",
"reporter_account_id": "01890a5d-ac96-774b-bcce-b302099a8057",
"reporter_account": {},
"target_account_id": "01890a5d-ac96-774b-bcce-b302099a8057",
"target_account": {},
"status_ids": [
"01890a5d-ac96-774b-bcce-b302099a8057"
],
"voice_room_id": "01890a5d-ac96-774b-bcce-b302099a8057",
"event_id": "01890a5d-ac96-774b-bcce-b302099a8057",
"hook_origin": {},
"rule_ids": [
"01890a5d-ac96-774b-bcce-b302099a8057"
]
}
]
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site