Tool
analytics_insight_update
Change fields of a saved insight of the current product.
Change fields of a saved insight of the current product. Only the fields supplied are changed; the rest keep their stored values. The slug cannot be changed — create a new insight instead.
Behavior
- HTTP
PATCH /analytics/insights/:id
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | • | The insight's uuid; slugs are not accepted here |
| kind | string | — | No description in the catalog. |
| name | string | — | No description in the catalog. |
| tags | array | — | No description in the catalog. |
| grain | string | — | No description in the catalog. |
| series | array | — | No description in the catalog. |
| target | object | — | No description in the catalog. |
| window | object | — | No description in the catalog. |
| display | string | — | No description in the catalog. |
| formula | string | — | No description in the catalog. |
| description | string | — | No description in the catalog. |
Response
| Field | Type | Always | Description |
|---|---|---|---|
| id | string | • | |
| kind | string | • | |
| name | string | • | |
| slug | string | • | |
| tags | array | — | |
| grain | string | — | |
| series | array | • | |
| target | object | — | |
| window | object | • | |
| display | string | — | |
| formula | string | — | |
| created_at | string | • | |
| created_by | string | • | |
| product_id | string | • | |
| updated_at | string | • | |
| description | string | — |
Try it
Change fields of a saved insight of the current product.