Source: apps/search_console_tools/models.py.
๐ฏ Purpose
CommandRequest is the main unit of work in the system.
๐งพ Key fields
commandโ string enumaccountโ FK toAccountpayloadโ JSON command parametersheadlessโ controls Playwright headless modecallback_urlโ optional; if set, a callback is sent after completionstatusโ NEW / IN_PROGRESS / COMPLETED / FAILEDresultโ text (usually JSON string)errorsโ textscreenshotโ file (local or S3)initiatorโ API / ADMIN / SCHEDULER / UNKNOWN
๐๏ธ Factory methods
The model contains helpers to create typed requests:
command_check_domain_safety_request(...)command_send_appeal_request(...)command_get_account_domains_request(...)