Skip to main content

/portal/info

Returns all information about Curator. Parameters: boolean ini Shows PHP ini settings boolean extensions Shows loaded PHP extensions Returns: array Example Response:

/portal/version

Returns version information about the Curator portal. Returns: array Example Response:

/portal/key

Returns key for the Curator portal. Returns: array Example Response:

/portal/setKey

Sets the Curator’s portal key. Returns: array Example Response:

/portal/upgrade

Upgrades Curator to the latest version. Returns: array Example Response:

/portal/cron

Runs the Curator Schedules. Returns: array Example Response:

/portal/queueBackup

Queues a full backup (database plus web root), the same as the Take New Backup button on the backend Settings > Curator > Backups page. The backup itself runs the next time Curator’s scheduled tasks run. Poll /portal/listBackups until the new archive appears with complete set to true and a status of Ready. While the backup runs, the queued row on /portal/listBackups shows the in-progress step in its status; the row is removed when the job ends. If the queued row disappears and no new archive appears, the backup failed; check the system log under storage/logs/ for the error. Pair this with /portal/export when automating a test environment refresh. Full backups are not available on Curator SaaS, where InterWorks manages backups. There the endpoint returns a Failure result. Returns: array Example Response:

/portal/listBackups

Lists the same rows the backend Backups page shows: completed full backup archives in the backup location, plus queued backup and restoration processes that are pending, running, or errored. Rows are sorted newest first. A completed archive has complete set to true and, when it includes a database dump, a status of Ready. An archive whose database dump failed is named full_backup_<timestamp>_NO_DATABASE.zip and reports Does not include a database export! instead. A queued process has complete set to false and carries the queued process status (for example Pending). The link value is a backend download URL and needs a backend session. Full backups are not available on Curator SaaS, where InterWorks manages backups. There the endpoint returns a Failure result. Returns: array Example Response:

/portal/migrations

Runs database migrations. Returns: array Example Response:

/portal/clearCache

Clears Curator cache. Returns: array Example Response:

/portal/flushAllCache

Flushes all Curator cache. Unlike /portal/clearCache and the backend Clear Cache button, this also releases the lock that stops two queue workers from running at once, so it can free a lock left behind by a queue worker that was killed. See Queued Processes. Returns: array Example Response:

/portal/phpinfo

Returns the PHP Information Page Returns: array

/portal/setPortalName

Sets the Curator portal name. Returns: array Example Response:

/portal/octoberUpgrade

Upgrades the underlying OctoberCMS. Returns: array Example Response:

/portal/export

Exports Curator portal data. Parameters: string models (optional) Comma separated list of models to export. Default: everything. Options include:
  • api_keys
  • attributes
  • commands
  • connections
  • dashboards
  • favorites
  • files
  • filter_categories
  • filters
  • fonts
  • frontend_groups
  • frontend_group_overrides
  • groups
  • items
  • interworks_authentication_settings
  • interworks_integration_settings
  • interworks_portal_settings
  • interworks_tableauviz_settings
  • interworks_usermgmt_samlsettings
  • keywords
  • loading_screens
  • navigation
  • notices
  • pages
  • parameters
  • powerbi_dashboards
  • powerbi_reports
  • scheduledreport
  • scripts
  • slideshows
  • themes
  • tos
  • tutorials
  • user_comments
boolean thumbnails (optional) Whether to include thumbnails in the export. Default: false. boolean tiles (optional) Whether the output data should use the tile information instead of export. Default: false. Returns: array

/portal/cacheInfo

Returns all cache information about Curator Parameters: boolean ini Shows PHP ini settings boolean extensions Shows loaded PHP extensions Returns: array Example Response:

/portal/setAnalyticsSettings

Sets the analytics tracking settings. Returns: array

/portal/setParameter

Sets a system parameter. Parameters: Returns: array

/portal/cleanSettings

Cleans up settings data, if there are duplicates. Returns: array

/portal/fixMenuNestedSet

Repairs corrupted nested-set values on the menu tree, then clears the framework cache so refreshed menu data is picked up immediately. Returns: array Example Response:

/portal/fixStoragePerms

Attempts to fix storage file permissions, recursively. Returns: array

/portal/checkSettings

Check settings items. Returns: array

/portal/downloadLog

Exports Curator’s system log data. Returns: array

/portal/cleanUploadDir

Cleans out old uploaded files. Returns: array

/portal/features

Returns information on features in use. Returns: array

/portal/stats

Returns stats on Curator. Returns: array

/portal/styles

Returns head insert and custom stylesheet from Portal Settings. Returns: array

/portal/reindexSearch

Triggers a Scout search index rebuild for one or all WinterSearchable models. Only relevant when using an external search engine (Typesense); the database driver queries live data and does not require a manual index rebuild. Parameters:
  • model (string, required) — Fully-qualified model class name to reindex (e.g. InterWorks\TableauViz\Models\Dashboard), or ALL to reindex every registered WinterSearchable model.
  • chunk_size (integer, optional, default: 100) — Number of records processed per batch. Must be between 1 and 1000.
Returns:
The response reports counts only. When records could not be indexed, when no external search engine is set up, or when the reindex could not run at all, msg ends with Check the Event Log for details. and the reason is recorded in the backend Event Log (Settings > Event Log) rather than in the response: