Data model: options, tables and post types

Where Aimogen Pro stores its data - the WordPress options it uses, its five custom tables, seventeen post types and three taxonomies.

Options#

Aimogen Pro stores configuration in the WordPress options table. Names retain the aiomatic prefix.

Settings groups#

OptionHolds
aiomatic_Main_SettingsThe main settings, roughly 460 keys, including all API credentials
aiomatic_Chatbot_SettingsChatbot configuration, roughly 290 keys
aiomatic_Spinner_SettingsAI Content Editor configuration, roughly 290 keys
aiomatic_Limit_SettingsUsage limits
aiomatic_Limit_RulesPer-role and per-plan limit rules
aiomatic_Menu_RulesMenu restriction rules
aiomatic_Editor_RulesAutomatic editing rules
aiomatic_mcp_settingsMCP server configuration

Registered settings groups: aiomatic_option_group through aiomatic_option_group5, plus aiomatic_mcp.

Rule lists#

OptionHolds
aiomatic_rules_listKeyword and title rules
aiomatic_youtube_listYouTube rules
aiomatic_amazon_listProduct roundup rules
aiomatic_review_listProduct review rules
aiomatic_csv_listCSV rules
aiomatic_listicle_listListicle rules
aiomatic_forum_listForum topic rules
aiomatic_reply_listTopic reply rules
aiomatic_omni_listOmniBlock workflows

Runtime state#

OptionHolds
aiomatic_running_listRules currently executing, used as the run lock
aiomatic_processed_keywordsConsumed keyword and title entries
aiomatic_last_time, aiomatic_schedule_timeScheduling state
aiomatic_last_activity_bulk, _edit, _article, _agentLast activity timestamps
aiomatic_posts_total, aiomatic_words_total, aiomatic_images_total, aiomatic_editing_totalCumulative counters
aiomatic_publishing_today, aiomatic_images_today, aiomatic_editing_todayDaily counters
aiomatic_minute_running_unlockedSet when the minute/hour switcher is active
aiomatic_do_post_uniqidDeduplication identifier

Cached provider data#

OptionHolds
aiomatic_openrouter_model_listFetched OpenRouter models
aiomatic_ollama_models, aiomatic_ollama_embedding_modelsDiscovered Ollama models
aiomatic_replicate_model_listReplicate models
aiomatic_huggingface_modelsYour registered Hugging Face models
aiomatic_custom_modelsManually added model IDs
aiomatic_elevenlabs, aiomatic_google_voicesFetched voice lists
aiomatic_deployments_listAzure deployments
aiomatic_wp_ai_connectors_modelsConnector model cache

Feature state#

OptionHolds
aiomatic_activation_statusLicence state notes
<plugin_slug>_registrationThe licence registration record
aiomatic_setup_wizard_ranWizard state: 0 not run, 1 skipped, 2 running, 3 complete
aiomatic_defaults_importedGuards the one-time starter content import
aiomatic_default_workspaceThe site default workspace
aiomatic_templates, aiomatic_loaded_template, aiomatic_dafault_omni_templateTemplates
aiomatic_rule_defaults_mapRule default mapping
aiomatic_assistant_listAssistant list
aiomatic_mcp_serversConfigured MCP servers
aiomatic_chat_page_id, aiomatic_realtime_chat_page_idChat page IDs
aiomatic_chatbot_stats_registryChatbot usage registry, from 2.8.8
aiomatic_installed_language_packsInstalled translations
aiomatic_super_pages_settings, aiomatic_super_pages_jobs_*AI Omni Pages
aimogen_snippets_db_version, aimogen_agents_db_versionSchema versions
aiomatic_wp_ai_connectors_modeConnectors integration mode

User-level state lives in user meta: aiomatic_workspace_menus and the notice-dismissal flags.

Database tables#

Five custom tables, all using the site table prefix. On multisite they are per-site.

{prefix}aiomatic_logs#

One row per AI request.

ColumnType
idBIGINT(20) auto-increment
userIdBIGINT(20)
ipVARCHAR(64)
sessionVARCHAR(64)
modelVARCHAR(256)
assistant_idVARCHAR(256)
modeVARCHAR(128)
unitsINT(11)
typeVARCHAR(64)
priceFLOAT
envVARCHAR(64)
tagsVARCHAR(128)
apiRefVARCHAR(256)
timeDATETIME

{prefix}aiomatic_logmeta#

Optional detail rows, written only when detailed usage tracking is enabled. Holds prompt and response text.

ColumnType
meta_idBIGINT(20) auto-increment
log_idBIGINT(20)
meta_keyVARCHAR(255)
meta_valueLONGTEXT

{prefix}aiomatic_agent_runs#

Step-by-step agent execution history.

ColumnType
idBIGINT(20) auto-increment
agent_idBIGINT(20)
stepINT
typeVARCHAR(50)
tool_nameVARCHAR(100)
prompt, response, params, resultLONGTEXT
created_atDATETIME

Indexed on (agent_id, step).

{prefix}aimogen_snippets#

ColumnType
idBIGINT auto-increment
titleVARCHAR(255)
typeVARCHAR(10)php, js, css, html
codeLONGTEXT
conditionsLONGTEXT JSON
ai_model, assistant_idVARCHAR(100)
priorityINT, default 10
active, has_errorTINYINT(1)
last_errorTEXT
created_atDATETIME

{prefix}aiomatict_shortcode_rez#

The [aicontent] result cache.

ColumnType
post_idBIGINT(20) auto-increment
post_hashTEXT
post_resultTEXT

Post types#

Seventeen internal post types, none publicly queryable, all using access_aiomatic_menu for their capabilities.

Post typeHolds
aiomatic_agentAI Agents
aiomatic_assistantsAI Assistants
aiomatic_personasChatbot personas
aiomatic_formsAI Forms
aiomatic_embeddingsEmbedding entries
aiomatic_batchesBatch requests
aiomatic_fileTraining datasets
aiomatic_convertConverted datasets
aiomatic_finetuneFine-tuning jobs
aiomatic_videoGenerated videos
aiomatic_remote_chatRemote chatbot instances
aiomatic_omni_tempOmniBlock templates
aiomatic_editor_tempAI Content Editor templates
aiomatic_omni_fileOmniBlock files
aiomatic_themesChatbot themes
aiomatic_user_dataStored conversations
aiomatic_leadCaptured leads

AIMOGEN_EXCEPTED_POST_TYPES_FROM_EDITING excludes these from the AI Content Editor, so the plugin never edits its own records.

Taxonomies#

TaxonomyApplies toPurpose
ai_template_categoriesaiomatic_omni_tempOrganising OmniBlock templates
ai_file_typeaiomatic_omni_fileFile location
coderevolution_post_sourceAll public post typesMarks posts the plugin created

Uninstall#

Deactivating clears cron events and the running list. Deleting the plugin removes the files but not the data — options, tables, post types and generated content remain, deliberately.

To remove data, use System & Logs › Maintenance before deleting the plugin. See Maintenance and cleanup.

Still stuck? Open a support ticket and include the diagnostics from Aimogen Pro › System & Logs › System Info.