Endpoints
Data over time
Visits and pageviews
Charges
Counts and totals
Stats
Metrics
Custom events
Common exit pages
Events & properties
List
Property values
Field keys
Field values
Funnels
Funnel
Visitors
List
Find
Events
Most active
AI insight
Ingest data
Events
Field values
Get possible values for a specific custom event field with pagination and search. For example, all the values for a search-text field on a site: searched custom event. You can use the field keys endpoint first to discover available fields.
POST
https://api.seline.com/api/v1/field-values
Click anywhere to copy
Parameters
event
stringRequiredCustom event name to analyze. The exact name as it appears in your events list.
field
stringRequiredCustom event field (data key) to get values for. You can use the field keys endpoint first to discover available fields for an event.
period
stringRequired if no range is providedPredefined time period today, 1h, 24h, 7d, 30d, 6m, 12m, all_time, month_to_date, week_to_date, year_to_date. Either period or range is required.
range
objectRequired if no period is providedCustom date range object with from and to ISO 8601 datetime strings, e.g. 2025-09-10T00:00:00Z, both required.
Example - { from: "2025-09-10T00:00:00Z", to: "2025-09-11T00:00:00Z" }
search
stringSearch term to filter results. Case-insensitive.
page
numberPage number for pagination
Example request
curl -X POST 'https://api.seline.com/api/v1/field-values' \-H 'Authorization: Bearer API_TOKEN' \-H 'Content-Type: application/json' \-d '{"event": "site: searched","field": "search-text","range": {"from": "2025-06-10T00:00:00Z","to": "2025-09-10T00:00:00Z"},"page": 1}'
Click anywhere to copy
Response
{"items": [{ "value": "analytics", "count": 188 },{ "value": "pricing", "count": 76 },{ "value": "stripe integration", "count": 42 }],"hasMore": false}
Click anywhere to copy