id column. Columns marked reference hold the id of a row in another platform table, so you can join on them.
Users
Users
SQL name: platform_users. Members of the workspace.
Flows
Flows
SQL name: platform_flows.
Runs
Runs
SQL name: platform_runs.
Agents
Agents
SQL name: platform_agents.
Conversations
Conversations
SQL name: platform_conversations.
Knowledge bases
Knowledge bases
SQL name: platform_knowledge_bases.
Triggers
Triggers
SQL name: platform_triggers. One row per trigger of a flow.
Knowledge base documents
Knowledge base documents
SQL name: platform_kb_documents. One row per document added to a knowledge base.
Run tools
Run tools
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.
Workspaces
Workspaces
SQL name: platform_workspaces. The workspace, or every workspace of the organisation, with its name, whether or not anything ran in it.
People
People
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.
Model and service usage
Model and service usage
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.
Runs and turns
Runs and turns
SQL name: platform_executions. One row per flow run and per agent turn, with its person in user_id and user_email.
Node steps and tool calls
Node steps and tool calls
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.
Messages
Messages
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.
API requests
API requests
SQL name: platform_api_requests. One row per request to the public API, by route template, never the full URL.
Activity
Activity
SQL name: platform_activity. What people and the platform did, such as creating a flow or uploading files.
Meters
Meters
SQL name: platform_meters. Daily levels, such as seats, knowledge base documents and active triggers.
Run costs
Run costs
SQL name: platform_run_costs. One row per run with what its model calls cost, deleted runs included.
Conversation costs
Conversation costs
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.
Flow nodes
Flow nodes
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.
Tag members
Tag members
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, asplatform_<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
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 thenx functions bound queries by period in UTC on the platform tables: