An analytics record is one piece of agent work in the organization: a root task, a sub-agent task or a dispatch run, with its cost, outcome and feedback. These are the reads behind the app's Tasks list, with its filters, overview charts and export. An organization admin, or a person with analytics access, reads every record; a workspace admin reads the records in the workspaces they administer, and another member with Evals access reads the ones they created or their own agents ran.
List analytics records
Paginated analytics records (root tasks, sub-agent tasks, and dispatch runs), with filters.
query Parameters
agentIdsSend a JSON list in one value (agentIds=["a","b"]) or repeat the key (agentIds=a&agentIds=b). A single plain value (agentIds=a) is refused with 400.
workspaceIdsSend a JSON list in one value (workspaceIds=["a","b"]) or repeat the key (workspaceIds=a&workspaceIds=b). A single plain value (workspaceIds=a) is refused with 400.
workspaceTagIdsSend a JSON list in one value (workspaceTagIds=["a","b"]) or repeat the key (workspaceTagIds=a&workspaceTagIds=b). A single plain value (workspaceTagIds=a) is refused with 400.
sourceTypeStarted from: keep only records that started on this source (a task source type, or subagent for tasks started by another task).
usedFromUsed from: keep only tasks a person acted on through ANY of these interfaces (a turn sent from the app, a run driven by a paired machine, or where the task started). Send a JSON list in one value (usedFrom=["a","b"]) or repeat the key (usedFrom=a&usedFrom=b). A single plain value (usedFrom=a) is refused with 400.
viewedFromViewed from: keep only records a person opened the conversation of on ANY of these surfaces, as the record's own view summary reports them (task_view.source). A record with no recorded view on any chosen surface is dropped, including one whose views were never measured. Send a JSON list in one value (viewedFrom=["a","b"]) or repeat the key (viewedFrom=a&viewedFrom=b). A single plain value (viewedFrom=a) is refused with 400.
userIdsSend a JSON list in one value (userIds=["a","b"]) or repeat the key (userIds=a&userIds=b). A single plain value (userIds=a) is refused with 400.
emailCase-insensitive substring matched against the owning user's email, to narrow results to one person.
countriesSend a JSON list in one value (countries=["a","b"]) or repeat the key (countries=a&countries=b). A single plain value (countries=a) is refused with 400.
taskOpencodeBranchIdskillIdsSend a JSON list in one value (skillIds=["a","b"]) or repeat the key (skillIds=a&skillIds=b). A single plain value (skillIds=a) is refused with 400.
workflowIdsWorkflow ids. A record matches when its chat is classified into any of them. Send a JSON list in one value (workflowIds=["a","b"]) or repeat the key (workflowIds=a&workflowIds=b). A single plain value (workflowIds=a) is refused with 400.
errorMessageCase-insensitive substring matched against the error messages of calls in the record's own chat (the same filter the app's Traces view offers). A record with no chat never matches.
fromtominRatingmaxRatinghasFeedbacksearchCase-insensitive substring matched against the task title (a dispatch run matches on its task's title, otherwise its prompt). A task with no title of its own matches on its latest dispatch run's title or prompt, the same fallback the list shows.
statusesKeep only records whose current status (as shown in the status breakdown) is ANY of these. Send a JSON list in one value (statuses=["a","b"]) or repeat the key (statuses=a&statuses=b). A single plain value (statuses=a) is refused with 400.
originsKeep only records started by ANY of these kinds of work: production, evaluation-run, judge, or skill-learning-replay. The origin comes from the record's root task: whether an evaluation started it, then whether it runs as the organization's judge agent. Omit to keep every origin. Send a JSON list in one value (origins=["a","b"]) or repeat the key (origins=a&origins=b). A single plain value (origins=a) is refused with 400.
cursorCursor from the previous page's pageInfo.nextCursor; stop when pageInfo.hasNextPage is false.
limitMaximum number of top-level records to return. Sub-agent rows shown under those records can make data.length larger.
List analytics records › Responses
Successful response
Cursor pagination state
Get the analytics overview
Summary cards plus chart series for the records matching the filters.
query Parameters
agentIdsSend a JSON list in one value (agentIds=["a","b"]) or repeat the key (agentIds=a&agentIds=b). A single plain value (agentIds=a) is refused with 400.
workspaceIdsSend a JSON list in one value (workspaceIds=["a","b"]) or repeat the key (workspaceIds=a&workspaceIds=b). A single plain value (workspaceIds=a) is refused with 400.
workspaceTagIdsSend a JSON list in one value (workspaceTagIds=["a","b"]) or repeat the key (workspaceTagIds=a&workspaceTagIds=b). A single plain value (workspaceTagIds=a) is refused with 400.
sourceTypeStarted from: keep only records that started on this source (a task source type, or subagent for tasks started by another task).
usedFromUsed from: keep only tasks a person acted on through ANY of these interfaces (a turn sent from the app, a run driven by a paired machine, or where the task started). Send a JSON list in one value (usedFrom=["a","b"]) or repeat the key (usedFrom=a&usedFrom=b). A single plain value (usedFrom=a) is refused with 400.
viewedFromViewed from: keep only records a person opened the conversation of on ANY of these surfaces, as the record's own view summary reports them (task_view.source). A record with no recorded view on any chosen surface is dropped, including one whose views were never measured. Send a JSON list in one value (viewedFrom=["a","b"]) or repeat the key (viewedFrom=a&viewedFrom=b). A single plain value (viewedFrom=a) is refused with 400.
userIdsSend a JSON list in one value (userIds=["a","b"]) or repeat the key (userIds=a&userIds=b). A single plain value (userIds=a) is refused with 400.
emailCase-insensitive substring matched against the owning user's email, to narrow results to one person.
countriesSend a JSON list in one value (countries=["a","b"]) or repeat the key (countries=a&countries=b). A single plain value (countries=a) is refused with 400.
taskOpencodeBranchIdskillIdsSend a JSON list in one value (skillIds=["a","b"]) or repeat the key (skillIds=a&skillIds=b). A single plain value (skillIds=a) is refused with 400.
workflowIdsWorkflow ids. A record matches when its chat is classified into any of them. Send a JSON list in one value (workflowIds=["a","b"]) or repeat the key (workflowIds=a&workflowIds=b). A single plain value (workflowIds=a) is refused with 400.
errorMessageCase-insensitive substring matched against the error messages of calls in the record's own chat (the same filter the app's Traces view offers). A record with no chat never matches.
fromtominRatingmaxRatinghasFeedbacksearchCase-insensitive substring matched against the task title (a dispatch run matches on its task's title, otherwise its prompt). A task with no title of its own matches on its latest dispatch run's title or prompt, the same fallback the list shows.
statusesKeep only records whose current status (as shown in the status breakdown) is ANY of these. Send a JSON list in one value (statuses=["a","b"]) or repeat the key (statuses=a&statuses=b). A single plain value (statuses=a) is refused with 400.
originsKeep only records started by ANY of these kinds of work: production, evaluation-run, judge, or skill-learning-replay. The origin comes from the record's root task: whether an evaluation started it, then whether it runs as the organization's judge agent. Omit to keep every origin. Send a JSON list in one value (origins=["a","b"]) or repeat the key (origins=a&origins=b). A single plain value (origins=a) is refused with 400.
Get the analytics overview › Responses
Successful response
All overview chart series for the full set of records matching the filters
List analytics filter values
Values for the analytics filters.
List analytics filter values › Responses
Successful response
Started from: the sources present in the organization's records, with labels
Used from: every interface a task can be used from, with labels, in the same order as the export's usedFrom. This list is fixed: it includes every interface whether or not the organization has records from it.
First page of the organization's workspaces, ordered by name and capped (see workspacesTruncated). To find others, search for workspaces in the app.
workspacesTruncatedTrue when the organization has more workspaces than this list holds, so the list is incomplete.
Export analytics records
Streams every analytics record matching the filters as line-delimited JSON (application/x-ndjson). When includeFeedback=true (default), each row has a feedback array with one entry per scorecard, holding aggregated criterion responses and free-text comments. Numeric criteria become their average, boolean criteria combine to Yes/No, and multi-valued text criteria are comma-joined. Comments are newline-joined per scorecard in submission order. The app's CSV download uses the same data, with one column per scorecard and criterion pair plus 'Feedback Comments: limit to fetch a sample; omit it to stream the full filtered set.
query Parameters
agentIdsSend a JSON list in one value (agentIds=["a","b"]) or repeat the key (agentIds=a&agentIds=b). A single plain value (agentIds=a) is refused with 400.
workspaceIdsSend a JSON list in one value (workspaceIds=["a","b"]) or repeat the key (workspaceIds=a&workspaceIds=b). A single plain value (workspaceIds=a) is refused with 400.
workspaceTagIdsSend a JSON list in one value (workspaceTagIds=["a","b"]) or repeat the key (workspaceTagIds=a&workspaceTagIds=b). A single plain value (workspaceTagIds=a) is refused with 400.
sourceTypeStarted from: keep only records that started on this source (a task source type, or subagent for tasks started by another task).
usedFromUsed from: keep only tasks a person acted on through ANY of these interfaces (a turn sent from the app, a run driven by a paired machine, or where the task started). Send a JSON list in one value (usedFrom=["a","b"]) or repeat the key (usedFrom=a&usedFrom=b). A single plain value (usedFrom=a) is refused with 400.
viewedFromViewed from: keep only records a person opened the conversation of on ANY of these surfaces, as the record's own view summary reports them (task_view.source). A record with no recorded view on any chosen surface is dropped, including one whose views were never measured. Send a JSON list in one value (viewedFrom=["a","b"]) or repeat the key (viewedFrom=a&viewedFrom=b). A single plain value (viewedFrom=a) is refused with 400.
userIdsSend a JSON list in one value (userIds=["a","b"]) or repeat the key (userIds=a&userIds=b). A single plain value (userIds=a) is refused with 400.
emailCase-insensitive substring matched against the owning user's email, to narrow results to one person.
countriesSend a JSON list in one value (countries=["a","b"]) or repeat the key (countries=a&countries=b). A single plain value (countries=a) is refused with 400.
taskOpencodeBranchIdskillIdsSend a JSON list in one value (skillIds=["a","b"]) or repeat the key (skillIds=a&skillIds=b). A single plain value (skillIds=a) is refused with 400.
workflowIdsWorkflow ids. A record matches when its chat is classified into any of them. Send a JSON list in one value (workflowIds=["a","b"]) or repeat the key (workflowIds=a&workflowIds=b). A single plain value (workflowIds=a) is refused with 400.
errorMessageCase-insensitive substring matched against the error messages of calls in the record's own chat (the same filter the app's Traces view offers). A record with no chat never matches.
fromtominRatingmaxRatinghasFeedbacksearchCase-insensitive substring matched against the task title (a dispatch run matches on its task's title, otherwise its prompt). A task with no title of its own matches on its latest dispatch run's title or prompt, the same fallback the list shows.
statusesKeep only records whose current status (as shown in the status breakdown) is ANY of these. Send a JSON list in one value (statuses=["a","b"]) or repeat the key (statuses=a&statuses=b). A single plain value (statuses=a) is refused with 400.
originsKeep only records started by ANY of these kinds of work: production, evaluation-run, judge, or skill-learning-replay. The origin comes from the record's root task: whether an evaluation started it, then whether it runs as the organization's judge agent. Omit to keep every origin. Send a JSON list in one value (origins=["a","b"]) or repeat the key (origins=a&origins=b). A single plain value (origins=a) is refused with 400.
includeFeedbackWhen true (default), each row includes aggregated feedback per scorecard in the feedback array. When false, the feedback array is always empty and the export skips feedback work.
limitOptional row limit, useful for fetching a small sample. When omitted, every matching record is streamed.
columnsOptional list of CSV column headers to include. Applies only to the app's CSV download; the JSONL stream always includes every key. When omitted, all columns are included. Send a JSON list in one value (columns=["a","b"]) or repeat the key (columns=a&columns=b). A single plain value (columns=a) is refused with 400.
Export analytics records › Responses
Line-delimited JSON: one AnalyticsExportJsonRow per line, each ending in a newline, then one final line {"recordType":"end","rowCount":<n>}. A body without that final line was cut off after its last complete row. Rows arrive page by page in the Tasks list's order (newest first, sub-agents under their parent), so you can read them as they arrive.
recordIdStable analytics record identifier; always present, so exported rows can be matched back to their records
recordTypeKind of record: rootTask, subAgent, or dispatchRun
taskIdTask ID when the record is a task; null for standalone dispatch runs
parentTaskIdParent task ID when this row is a sub-agent task; null for root tasks and standalone dispatch runs
runIdRun ID when the record is a dispatch run; null for tasks
taskOpencodeBranchIdChat ID when available; the preferred identifier for building project URLs
sourceTypeStarted from: the one source the record started on. The CSV shows it as a label (manual → Web, local-device → CLI, internal-api → Automation).
usedFromUsed from: every interface a person acted on this record through, in a fixed order (web, mobile, cli, api, excel, word, powerpoint), based on the record's turns, its runs on paired machines, and where it started. Empty for records no interface touched (scheduled, started ahead of use, or a sub-agent with no turns of its own). api means started through the Task API with your own key. excel, word and powerpoint mean a prompt was sent from the Context add-in's pane in that Office application (recorded from November 2026; earlier Office use reads as web). The platform's own automation (the scheduler, applets, judges, replays) shows as Started from: Automation, with no interface. Known limits: a task started with POST /api/v1/tasks/prompt using a service-account key reads as automation, and a task later continued through the API is not detected. Replaces the removed interfacesUsed map.
taskApiKeyNameName of the task API key that started this task, taken from the task's first dispatch (later continuations are ignored). Null for tasks and runs not started with a key (for example a task started in the web app, or an automated flow that uses no key, such as an agent judge). When the scheduler started the task, this is internal-scheduler.
taskApiKeyPrincipalTypeType of account behind the originating key (same dispatch as taskApiKeyName): user for a person's own key, agentServiceAccount for a service key the platform created. Null when the record was not started with a key.
taskApiKeyNamespaceNamespace of the originating key (same dispatch as taskApiKeyName). A reserved namespace means an automated flow, not a person's key, dispatched the record. Null when the record was not started with a key.
invokedByWho invoked the record: the dispatching key's name for records started by a service key or by platform automation (or the record's agent for automated flows that use no key, such as an agent judge); otherwise the owning user's display name.
titleReadable title of the task or run
createdAtCreation time in ISO 8601; the CSV formats it for display
taskStatuslatestRunStatusdisplayStatusStatus label combining the task status and its latest run's status
workspaceworkspaceTagmessageCountNumber of archived messages; null until it is computed
userMessageCountNumber of archived user-written messages; null until it is computed. The CSV shows null as an empty cell, not 0.
Skills the record used. The CSV shows a comma-separated list of labels.
Skills this record's task created. Always empty for dispatch-run records (they have no task). The CSV shows a comma-separated list of labels.
tokenUsageBilled tokens split by type; the parts add up to metrics.totalTokens. Null (not 0) when no usage was reported.
View summary. Tasks match views by task ID; standalone dispatch runs match by chat. viewCount is null (with unmeasuredReason set) when the record could not be measured: a run with no chat, or a record created before views were recorded. The CSV shows that as an empty cell, not 0.
Feedback counts and ratings across all feedback on this record. Always present.
projectUrlAbsolute URL of the project or chat in the app; null when the record has no chat to link to or the deployment has no app address configured
isEditorSharedWhether the project has an active editor-mode share. Null when the record has no shareable root task or the share state could not be read.
Aggregated feedback for this record, one entry per scorecard. Empty when the record has no feedback or the request set includeFeedback=false.
Get an analytics record
One analytics record plus its latest run and feedback entries.
path Parameters
recordIdStable analytics record identifier
Stable analytics record identifier
Get an analytics record › Responses
Successful response
recordThe record; null (with a 200) when the ID is unknown or outside what the key can read.
latestRun