Insights data catalog ​

Use this reference to choose and join tables, and interpret query results. Refer to the Developer API or Embedded API Insights pages for authentication, request formats, and query limits.

Discover the schema for your token ​

Complete the following steps to discover the tables and columns your API client can query:

1

Call List Insights schema tables on the Developer API or Embedded API to discover available catalogs and tables. Use ?catalog=workato_db or ?catalog=lcap to discover those tables.

2

Call Get Insights table columns on the Developer API or Embedded API with fully qualified names, such as workato_data.public.recipes. Check that the columns used in your query are present. The endpoint accepts up to 20 names per request.

3

Use the names returned by discovery in Execute Insights SQL query on the Developer API or Embedded API and apply a time window before joining or aggregating event data. Use a left join when every source row must remain in the result.

Tables and columns depend on enabled features and API client access. Use the exact case shown for string filter values. Example values can vary by workspace. Your billing contract determines the available usage metrics and their columns, so usage schemas can differ between workspaces. A table listed here may be unavailable to your token.

Workspace metadata ​

workato_data.public.environments ​

Environment metadata, including its type and workspace.

ColumnTypeNotes
idBIGINT
nameVARCHAR
typeVARCHARCase-sensitive codes: dev (Development), test (Test), prod (Production).
workspace_idBIGINT
workspace_nameVARCHAR
created_atTIMESTAMP
deleted_atTIMESTAMP

Relationships

workspace_id groups environments belonging to the same workspace. Joining another table on workspace ID alone can match several environments. Historical results can include deleted environments.

workato_data.public.projects ​

Project metadata used to label recipe and usage reports.

ColumnType
idBIGINT
nameVARCHAR
created_atTIMESTAMP
updated_atTIMESTAMP
environment_idBIGINT

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id

workato_data.public.folders ​

Folder metadata and project membership.

ColumnType
idBIGINT
project_idBIGINT
nameVARCHAR
pathVARCHAR

Relationships

The following joins are many-to-one:

  • project_id → workato_data.public.projects.id

workato_data.public.recipes ​

Recipe inventory, including activity status, type, tags, and applications.

ColumnTypeNotes
idBIGINT
nameVARCHAR
project_idBIGINT
folder_idBIGINT
environment_idBIGINT
is_activeBOOLEAN
recipe_typeVARCHARCase-sensitive examples: API Endpoint, App, Function, Workato Agent.
created_atTIMESTAMP
updated_atTIMESTAMP
tagsARRAY<VARCHAR>
applicationsARRAY<VARCHAR>
trigger_applicationVARCHAR

Relationships

The following joins are many-to-one:

  • project_id → workato_data.public.projects.id
  • folder_id → workato_data.public.folders.id
  • environment_id → workato_data.public.environments.id

workato_data.public.connections ​

Connection inventory and associated folders.

ColumnType
idBIGINT
folder_idBIGINT
nameVARCHAR
providerVARCHAR
typeVARCHAR
statusVARCHAR

Relationships

The following joins are many-to-one:

  • folder_id → workato_data.public.folders.id

workato_data.public.recipe_connections_mapping ​

Associations between recipes and the connections they reference.

ColumnType
recipe_idBIGINT
connection_idBIGINT

Relationships

The following joins are many-to-one:

  • recipe_id → workato_data.public.recipes.id
  • connection_id → workato_data.public.connections.id

Recipes and connections are many-to-many through this mapping.

Users and groups ​

End-user and group data depends on what is available in the workspace.

users.public.collaborators ​

Workato workspace collaborators.

ColumnType
idBIGINT
nameVARCHAR
emailVARCHAR

Relationships

See the tables that reference this table for join keys and cardinality.

users.public.end_users ​

End-user identities used by embedded or authenticated experiences.

ColumnType
idVARCHAR
emailVARCHAR
nameVARCHAR

Relationships

See the tables that reference this table for join keys and cardinality.

users.public.end_user_groups ​

Named end-user groups and their environments.

ColumnType
idVARCHAR
nameVARCHAR
environment_idBIGINT

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id

users.public.end_user_groups_mapping ​

Membership of end users in end-user groups.

ColumnType
end_user_idVARCHAR
end_user_group_idVARCHAR
environment_idBIGINT

Relationships

The following joins are many-to-one:

  • end_user_id → users.public.end_users.id
  • end_user_group_id → users.public.end_user_groups.id
  • environment_id → workato_data.public.environments.id

End users and groups are many-to-many through this mapping. Keep joins within the same workspace scope. A membership may lack a visible matching group or user.

Usage and billing ​

Billing contract. Your billing contract determines the available metrics and their columns. Check the schema endpoint on the Developer API or Embedded API before querying a meter. A missing column or source is distinct from recorded zero consumption.

Multiple workspaces. Whether usage and billing data aggregates across a parent workspace and its child workspaces depends on which workspace's API client token you query with. Refer to Insights in Automation HQ and Embedded to learn which data aggregates and which stays scoped to the current workspace.

usage.public.billing_periods ​

Billing period boundaries, trial status, and the credit limit shared across a workspace's environments. Only current and future billing periods are returned, never past ones.

An Automation HQ admin workspace token includes the Automation HQ workspace and all its managed workspaces. An Embedded admin workspace token includes the admin workspace and all its customer workspaces. A standalone or child workspace token only returns its own workspace, with all of that workspace's billing periods.

ColumnTypeNotes
idVARCHAR
starts_atTIMESTAMP
ends_atTIMESTAMP
created_atTIMESTAMP
updated_atTIMESTAMP
is_currentBOOLEAN
workspace_idBIGINT
credit_limitBIGINTFor customers on task-based pricing, this column represents the task limit.
is_trialBOOLEAN

Relationships

workspace_id to workato_data.public.environments.workspace_id is a shared grouping value. A direct join can multiply periods by environments. Pair a workspace match with the relevant time window when attributing usage to a billing period.

usage.public.usage_by_plan ​

Metered consumption aggregated by time interval, environment, and available asset and usage dimensions. There isn't a unique key.

An Embedded admin workspace token aggregates this across the admin workspace and its customer workspaces. An Automation HQ admin workspace token aggregates it across managed workspaces only when insights.child_aggregation is enabled for that workspace. Otherwise, it returns only the Automation HQ workspace's own data.

ColumnTypeNotes
environment_idBIGINT
recipe_idBIGINTMay be empty or unmatched.
api_collection_idBIGINT
api_endpoint_idBIGINT
interval_startTIMESTAMPStart of the usage interval. All usage is aggregated to PST midnight.
tasksDOUBLEPlan-dependent.
usage_typeVARCHARCase-sensitive examples: TASKS, MCP_TOOL_CALLS, API_CALLS, GENIE_RUNS. Values depend on your plan and can differ from the corresponding metric column names.
api_sub_featureVARCHAR
api_callsBIGINT
idp_pages_processedBIGINT
rows_consumedBIGINT
events_processedBIGINT
agent_actionsBIGINT
creditsDOUBLEPlan-dependent.
business_actionsBIGINTPlan-dependent.
mcp_tool_callsBIGINTPlan-dependent.

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id
  • recipe_id → workato_data.public.recipes.id
  • api_collection_id → api_platform.public.api_collections.id
  • api_endpoint_id → api_platform.public.api_endpoints.id

Asset IDs can be empty or unmatched. Keep unmatched rows in a separate bucket when totaling usage. Avoid joining usage to individual job rows when summing credits.

Job history ​

job_history_all.public.job_history_all ​

Recipe job executions, including timing, success indicators, and available error details.

ColumnTypeNotes
job_handleVARCHAR
completed_atTIMESTAMP
recipe_idBIGINT
environment_idBIGINT
started_atTIMESTAMP
is_complete_successBOOLEAN
is_testBOOLEAN
error_typeVARCHAR
error_messageVARCHAR
error_applicationVARCHAR
durationBIGINTMilliseconds.

Relationships

The following joins are many-to-one:

  • recipe_id → workato_data.public.recipes.id
  • environment_id → workato_data.public.environments.id

For jobs by project or folder, join through the recipe. Recipe metadata can reflect its current assignment.

job_history.public.<recipe_id> ​

Job records for one recipe, with its available custom job report fields. The following table lists the standard fields. Use /schema to discover any recipe-specific fields.

ColumnType
job_handleVARCHAR
started_atTIMESTAMP
completed_atTIMESTAMP
is_complete_successBOOLEAN
test_jobBOOLEAN
error_typeVARCHAR
error_messageVARCHAR
error_applicationVARCHAR

Relationships

The recipe ID is part of the table name. Discover the table by name with /schema, and quote the numeric identifier in SQL.

Project access applies. Column names and types can vary by recipe.

API Platform ​

Availability depends on your workspace's API Platform configuration and the API client's access.

api_platform.public.api_collections ​

API collections and their metadata.

ColumnType
idBIGINT
nameVARCHAR
descriptionVARCHAR
typeVARCHAR
environment_idBIGINT
created_atTIMESTAMP

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id

api_platform.public.api_endpoints ​

API endpoints, including method and path.

ColumnType
idBIGINT
nameVARCHAR
methodVARCHAR
pathVARCHAR
activeBOOLEAN
environment_idBIGINT
api_collection_idBIGINT
created_atTIMESTAMP

Relationships

The following joins are many-to-one:

  • api_collection_id → api_platform.public.api_collections.id
  • environment_id → workato_data.public.environments.id

api_platform.public.api_clients ​

API Platform clients and their policy references.

ColumnType
idBIGINT
nameVARCHAR
emailVARCHAR
descriptionVARCHAR
api_policy_idBIGINT
environment_idBIGINT
deleted_atTIMESTAMP
created_atTIMESTAMP

Relationships

The following joins are many-to-one:

  • api_policy_id → api_platform.public.api_policies.id
  • environment_id → workato_data.public.environments.id

api_platform.public.api_keys ​

API key metadata and the collections associated with each key.

ColumnType
idBIGINT
nameVARCHAR
auth_typeVARCHAR
activeBOOLEAN
api_client_idBIGINT
api_policy_idBIGINT
environment_idBIGINT
api_collection_idsARRAY<BIGINT>
deleted_atTIMESTAMP
created_atTIMESTAMP

Relationships

The following joins are many-to-one:

  • api_client_id → api_platform.public.api_clients.id
  • api_policy_id → api_platform.public.api_policies.id
  • environment_id → workato_data.public.environments.id

api_collection_ids is an array of api_platform.public.api_collections.id values. This is a many-to-many relationship. Expand the array with CROSS JOIN UNNEST in a CTE or subquery. Join the expanded IDs to collections in the outer query. Each expanded row represents one key-collection association.

api_platform.public.api_policies ​

API policy metadata such as limits and CORS configuration.

ColumnType
idBIGINT
nameVARCHAR
rate_limitsVARCHAR
quotaVARCHAR
cors_enabledBOOLEAN
created_atTIMESTAMP

Relationships

See the tables that reference this table for join keys and cardinality.

api_platform.public.api_gateway_events ​

Recorded API gateway activity and request outcomes. Check request ID repetition before using event row counts as request counts.

ColumnType
created_at_dDATE
created_at_dtTIMESTAMP
event_typeVARCHAR
methodVARCHAR
pathVARCHAR
response_codeBIGINT
environment_idBIGINT
api_collection_idBIGINT
api_endpoint_idBIGINT
api_key_idBIGINT
api_client_idBIGINT
request_idVARCHAR
request_timeBIGINT
job_handleVARCHAR
initial_concurrencyBIGINT

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id
  • api_collection_id → api_platform.public.api_collections.id
  • api_endpoint_id → api_platform.public.api_endpoints.id
  • api_key_id → api_platform.public.api_keys.id
  • api_client_id → api_platform.public.api_clients.id

job_handle can match job_history_all.public.job_history_all.job_handle when available. This is a best-effort many-to-one link.

Enterprise MCP ​

Available tables depend on the workspace's access to Enterprise MCP data.

mcp.public.mcp_servers ​

Inventory of MCP servers.

ColumnType
idBIGINT
nameVARCHAR
handleVARCHAR
asset_typeVARCHAR
is_enabledBOOLEAN
environment_idBIGINT

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id

mcp.public.mcp_tools ​

Tools exposed by MCP servers, identified by the combination of server ID, tool ID, and tool type.

ColumnTypeNotes
mcp_server_idBIGINT
tool_idBIGINT
tool_typeVARCHARCase-sensitive examples: api_endpoint, api_proxy, function, skill.
tool_nameVARCHAR
is_activeBOOLEAN
vua_requiredBOOLEAN

Relationships

The following joins are many-to-one:

  • mcp_server_id → mcp.public.mcp_servers.id

tool_id can refer to different resources by tool type. For tool_type = 'api_endpoint', it can match api_platform.public.api_endpoints.id many-to-one.

mcp.public.mcp_gateway_events ​

Recorded MCP gateway activity. Use it to investigate traffic and outcomes.

ColumnType
event_timeTIMESTAMP
mcp_server_idVARCHAR
request_idVARCHAR
environment_idBIGINT
methodVARCHAR
event_typeVARCHAR
error_codeVARCHAR
latency_msBIGINT
request_sizeBIGINT
response_sizeBIGINT
end_user_idVARCHAR
auth_typeVARCHAR
ai_clientVARCHAR
token_nameVARCHAR
tool_nameVARCHAR
job_handleVARCHAR

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id
  • end_user_id → users.public.end_users.id
  • mcp_server_id → mcp.public.mcp_servers.id

job_handle can match job_history_all.public.job_history_all.job_handle many-to-one when present. A tool_name match is best effort. Include server ID and check for multiple matching tool records before aggregating.

Data pipelines ​

Available where the workspace has access to Data Pipelines data.

data_orchestration.public.data_pipelines ​

Pipeline inventory and its folder and environment metadata.

ColumnType
idBIGINT
handleVARCHAR
nameVARCHAR
folder_idBIGINT
environment_idBIGINT
is_activeBOOLEAN
created_atTIMESTAMP
updated_atTIMESTAMP
deleted_atTIMESTAMP

Relationships

The following joins are many-to-one:

  • folder_id → workato_data.public.folders.id
  • environment_id → workato_data.public.environments.id

Pipeline IDs use a separate namespace from recipe IDs.

data_orchestration.public.data_pipeline_runs_history_all ​

Recorded pipeline object runs, including status, timing, and available row counts.

ColumnTypeNotes
run_idVARCHAR
sync_idVARCHARGroups related run records.
object_nameVARCHAR
stateVARCHAR
run_typeVARCHAR
sync_typeVARCHAR
sync_is_completedBOOLEAN
pipeline_idVARCHARData pipeline handle.
started_atTIMESTAMP
completed_atTIMESTAMP
loaded_countBIGINT
updated_countBIGINT
inserted_countBIGINT

Relationships

The following joins are many-to-one:

  • pipeline_id → data_orchestration.public.data_pipelines.handle

pipeline_id contains the pipeline handle. sync_id identifies the sync and can group related run records.

Audit activity ​

Each row is one recorded event, not a single current record per actor or asset. This means that the same actor or asset can appear in several rows.

audit_log.public.invite_updates ​

Invitation-related activity.

ColumnType
event_timeTIMESTAMP
event_typeVARCHAR
environment_idBIGINT
actor_idBIGINT
emailVARCHAR
roleVARCHAR

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id
  • actor_id → users.public.collaborators.id

audit_log.public.membership_updates ​

Workspace membership activity.

ColumnType
event_timeTIMESTAMP
event_typeVARCHAR
environment_idBIGINT
actor_idBIGINT
member_idBIGINT

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id
  • actor_id → users.public.collaborators.id
  • member_id → users.public.collaborators.id

audit_log.public.role_updates ​

Role assignment changes.

ColumnType
event_timeTIMESTAMP
event_typeVARCHAR
environment_idBIGINT
actor_idBIGINT
member_idBIGINT
new_roleVARCHAR
previous_roleVARCHAR

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id
  • actor_id → users.public.collaborators.id
  • member_id → users.public.collaborators.id

audit_log.public.logins ​

Recorded login activity.

ColumnType
event_timeTIMESTAMP
event_typeVARCHAR
environment_idBIGINT
actor_idBIGINT

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id
  • actor_id → users.public.collaborators.id

audit_log.public.connection_updates ​

Recorded connection activity.

ColumnType
event_timeTIMESTAMP
event_typeVARCHAR
environment_idBIGINT
actor_idBIGINT
connection_idBIGINT

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id
  • actor_id → users.public.collaborators.id
  • connection_id → workato_data.public.connections.id

audit_log.public.recipe_updates ​

Recorded recipe lifecycle and change activity.

ColumnType
event_timeTIMESTAMP
event_typeVARCHAR
environment_idBIGINT
actor_idBIGINT
recipe_idBIGINT

Relationships

The following joins are many-to-one:

  • environment_id → workato_data.public.environments.id
  • actor_id → users.public.collaborators.id
  • recipe_id → workato_data.public.recipes.id

Data tables and Workflow apps ​

workato_db.public.<table_uuid> ​

Rows from a workspace data table.

Columns. Use the schema endpoint on the Developer API or Embedded API to discover the columns and types for the selected table.

Relationships

Relationships are defined by your data. Use ?catalog=workato_db to look up the UUID by label. Quote the UUID in SQL.

Project access applies.

lcap.public.<app_uuid> ​

Rows exposed by a Workflow app table. The data represented by each row depends on the app.

Columns. Use the schema endpoint on the Developer API or Embedded API to discover the columns and types for the selected table.

Relationships

Discover table names with ?catalog=lcap. Relationships depend on the app.

Last updated: