Collected Data
gnosari_collected_dataList, fetch, or summarise data your agents have collected from conversations.
action='list': Browse collected records (leads, feedback, candidates, orders). Filter by agent, template, date range, status, or search text.
action='get': Fetch ONE record's full detail by entity_id, including the per-attribute provenance (which conversation message + verbatim quote each value came from) and a session_excerpt of the surrounding conversation messages. Use this after 'list' to drill into a record.
action='stats': Dashboard totals -- counts by template, status breakdown, trends. Use group_by_agent=True for per-agent breakdown.
Tip: call with action='stats' first to see the big picture, then action='list' to find records, then action='get' for a single record's evidence.
Tip: for a full, filter-aware CSV download of collected data (all matching records, not a single page), use the REST endpoint GET /api/v1/entities/export instead of paging this list action.
Args: action: 'list' to browse records, 'get' for one record's detail, 'stats' for dashboard totals. agent_id: Filter by a specific agent. entity_id: Id of the record to fetch (required for action='get'). template_name: Filter by template name (list only). days: Relative date filter in days. Omit for all-time (no cutoff). status: Filter by data status (list only). search: Search within collected data attributes, agent name, or data type name (list only). skip: Pagination offset (list only). limit: Pagination limit (list only). include_facets: Include filter-aware per-type and per-status facet counts on the response (list only). group_by_agent: Per-agent stats breakdown (stats only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Relative date filter in days (e.g. 1=today, 7=last week, 30=last month). Omit for all-time (no date cutoff). | |
| skip | No | Number of records to skip for pagination (list only) | |
| limit | No | Maximum records to return (list only, default: 10) | |
| action | No | Action: 'list' to browse records, 'get' to fetch one record's full detail (incl. per-attribute provenance), 'stats' for dashboard totals | list |
| search | No | Search within collected data attributes, the agent name, or the data type name (e.g. email, agent name, or 'leads'). List action only. | |
| status | No | Filter by data status. List action only. | |
| agent_id | No | Filter by a specific agent to see only its collected data | |
| entity_id | No | Id of a single collected record to fetch. Required for action='get'. | |
| template_name | No | Filter by template name (e.g. 'candidates', 'leads'). List action only. | |
| group_by_agent | No | When true with action='stats', returns per-agent breakdown instead of totals | |
| include_facets | No | Include per-type and per-status facet counts (list action only) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |