Skip to main content
Platform tables show your workspace’s own data as tables. They are read-only and live: each query reads the current data, and only rows from the current workspace are included. Deleted flows, runs, agents and conversations are left out.
You can view, search, query and export them like your own tables. In the Tables tab, switch from Custom to Platform to see them. Every platform table has an id column. Columns marked reference hold the id of a row in another platform table, so you can join on them.

SQL name: platform_users. Members of the workspace.

SQL name: platform_flows.

SQL name: platform_runs.

SQL name: platform_agents.

SQL name: platform_conversations.

SQL name: platform_knowledge_bases.

SQL name: platform_triggers. One row per trigger of a flow.

SQL name: platform_kb_documents. One row per document added to a knowledge base.

SQL name: platform_run_tools. One row per run with what ran it: its agent, its knowledge base, or its flow. The id is the run’s.

SQL name: platform_workspaces. The workspace, or every workspace of the organisation, with its name, whether or not anything ran in it.

SQL name: platform_people. Everyone in the organisation, members of the workspace or not, so rows that name someone who has left still find their name.

SQL name: platform_usage. One row per model call, embedding, rerank or paid service call, with its tokens, what it cost in US dollars, and the person who made it, in user_id and user_email.

SQL name: platform_executions. One row per flow run and per agent turn, with its person in user_id and user_email.

SQL name: platform_steps. One row per node billing report of a run, and one per agent tool call. A node that runs long reports while it runs: those rows are running and hold the iterations done since the last report, and its last row has the node’s final status, so count the rows that are not running to count node runs. Each row has its person in user_id and user_email.

SQL name: platform_messages. One row per chat message, with the person who sent it in user_id and user_email. Holds no message content.

SQL name: platform_api_requests. One row per request to the public API, by route template, never the full URL.

SQL name: platform_activity. What people and the platform did, such as creating a flow or uploading files.

SQL name: platform_meters. Daily levels, such as seats, knowledge base documents and active triggers.

SQL name: platform_run_costs. One row per run with what its model calls cost, deleted runs included.

SQL name: platform_conversation_costs. One row per conversation with what it cost and how many messages it holds, most expensive first, deleted conversations included. Updated within a minute; cost covers the 13 months usage is kept.

SQL name: platform_nodes. The name of each node of a flow that model usage was recorded against, from the newest version of the flow that has it, refreshed hourly. A subflow’s nodes appear as outer::inner, as node_id does in the usage tables.

SQL name: platform_tag_members. One row per tagged flow, agent, knowledge base or table. Tags are current, so tagging a flow today counts its past usage toward the tag too.

Hourly and daily tables

The usage, run, step, message, API request and activity tables also come summed per hour, as platform_<name>_hourly, usage and runs per UTC day, and usage per UTC month. They keep every month, answer long ranges quickly and include the current hour as it happens. Every amount in US dollars (a _usd column) also comes in your billing currency, as cost, estimated and interrupted with a currency column, at the rate the dashboards use. The tables the dashboards read, calls, runs, AI operations and sent messages per hour, also carry what a dashboard filters by: the status, source and flow version of the run each row belongs to, the agent version and channel of its conversation, and its person, the call’s own or else its run’s or conversation’s; a run’s rows move to its new status when it changes.

Who can see which tables

Tables you can’t read are left out of the list. An API key reads what its permissions allow, and a flow’s Run Query node reads the tables in the first row. Each read of a table in the last row is itself recorded as activity, with the verb view_read and the table as its subject, so you can see who looked at costs and people.

Days

Daily, weekly and monthly tables split time in UTC, and the nx functions bound queries by period in UTC on the platform tables:

How long rows are kept

Example queries

Platform tables can’t be edited, referenced from your own tables’ reference columns, or attached to agents. Genie can still read them.