Skip to content

DataImportRequest

A CSV file to import, and how.

object
kind
required

What a CSV file lists: following (the accounts the user follows), followed_tags (the hashtags the user follows, followed_hashtags.csv: one hashtag per line without its #, a file of this server that Mastodon does not have), blocks (the accounts the user blocks), mutes (the accounts the user mutes), domain_mutes (the domains the user mutes; Mastodon’s blocked_domains.csv with the header #domain, which a Mastodon user’s blocked domains become here), or bookmarks (the posts the user bookmarked).

string
Allowed values: following followed_tags blocks mutes domain_mutes bookmarks
mode
required

merge adds the file’s entries and keeps what the user has; overwrite also removes what the user has that the file does not list.

string
Allowed values: merge overwrite
text
required

The content of the CSV file, in UTF-8.

string
<= 1000000 characters

Example generated

{
"kind": "following",
"mode": "merge",
"text": "example"
}

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

Analytics on this site