viakite
Dashboard

API/Goals and settings/The project's goals

The project's goals

GET/v1/projects/{project}/goals
Secret keyus.api.vk.viabio.me

Path parameters

projectstringrequired
The project's id (prj_…).

Query parameters

limitinteger1–200default 50
How many rows to return, 1 to 200.
cursorstring
The next_cursor of the previous page. Opaque.

Responses

A page, oldest first.

dataAnalyticsGoal[]required
A page (exact or with * for any part) or an event a visitor can reach.
Show 9 fields
idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
project_idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
namestringrequired
kindstringrequired
A page visit or a custom event.
pageevent
page_pathstring
With kind page: /signup, /docs/*.
event_namestring
With kind event.
conditionsPropertyCondition[]required
With kind event, tests on its properties; empty for a page.
Show 3 fields
propertystringrequiredup to 255 chars
operatorstringrequired
isis_notcontainsstarts_with
valuestringrequiredup to 255 chars
created_atstring · date-timerequired
A time in UTC, ISO 8601.
updated_atstring · date-timerequired
A time in UTC, ISO 8601.
next_cursorstring
Example response
1{
2 "data": [
3 {
4 "id": "id_01JD8Q2M4W9XK3T7B5",
5 "project_id": "prj_01JD8Q2M4W9XK3T7B5",
6 "name": "Production",
7 "kind": "page",
8 "page_path": "string",
9 "event_name": "string",
10 "conditions": [
11 {
12 "property": "plan",
13 "operator": "is",
14 "value": "pro"
15 }
16 ],
17 "created_at": "2026-11-21T09:30:00Z",
18 "updated_at": "2026-11-21T09:30:00Z"
19 }
20 ],
21 "next_cursor": "string"
22}