/api/projects/{project_id}/dashboards/{dashboard_id}/collaborators
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| dashboard_id | path | required | integer | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/dashboards/{dashboard_id}/collaborators
/api/projects/{project_id}/dashboards/{dashboard_id}/collaborators
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| dashboard_id | path | required | integer | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
DashboardCollaborator
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | required |
| added_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| dashboard_id | integer | required |
multipart/form-data
DashboardCollaborator
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | required |
| added_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| dashboard_id | integer | required |
application/x-www-form-urlencoded
DashboardCollaborator
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | required |
| added_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| dashboard_id | integer | required |
POST /api/projects/{project_id}/dashboards/{dashboard_id}/collaborators
/api/projects/{project_id}/dashboards/{dashboard_id}/collaborators/{user__uuid}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| dashboard_id | path | required | integer | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
| user__uuid | path | required | string | — |
No response body
DELETE /api/projects/{project_id}/dashboards/{dashboard_id}/collaborators/{user__uuid}
/api/projects/{project_id}/dashboards/{dashboard_id}/sharing
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| dashboard_id | path | required | integer | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/dashboards/{dashboard_id}/sharing
/api/projects/{project_id}/dashboards/{id}
Hard delete of this model is not allowed. Use a patch API call to set “deleted” to true
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this dashboard. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
DELETE /api/projects/{project_id}/dashboards/{id}
/api/projects/{project_id}/dashboards/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this dashboard. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/dashboards/{id}
/api/projects/{project_id}/dashboards/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this dashboard. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PatchedDashboard
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| tags | array | optional |
| tiles | array | optional |
| pinned | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| is_shared | boolean | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| description | string | optional |
| use_template | string | optional |
| creation_mode | string | optional |
| use_dashboard | integer | optional |
| delete_insights | boolean | optional |
| restriction_level | integer | optional |
| effective_privilege_level | integer | optional |
| effective_restriction_level | integer | optional |
multipart/form-data
PatchedDashboard
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| tags | array | optional |
| tiles | array | optional |
| pinned | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| is_shared | boolean | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| description | string | optional |
| use_template | string | optional |
| creation_mode | string | optional |
| use_dashboard | integer | optional |
| delete_insights | boolean | optional |
| restriction_level | integer | optional |
| effective_privilege_level | integer | optional |
| effective_restriction_level | integer | optional |
application/x-www-form-urlencoded
PatchedDashboard
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| tags | array | optional |
| tiles | array | optional |
| pinned | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| is_shared | boolean | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| description | string | optional |
| use_template | string | optional |
| creation_mode | string | optional |
| use_dashboard | integer | optional |
| delete_insights | boolean | optional |
| restriction_level | integer | optional |
| effective_privilege_level | integer | optional |
| effective_restriction_level | integer | optional |
PATCH /api/projects/{project_id}/dashboards/{id}
/api/projects/{project_id}/dashboards/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this dashboard. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
Dashboard
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| tags | array | optional |
| tiles | array | required |
| pinned | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| is_shared | boolean | required |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| description | string | optional |
| use_template | string | optional |
| creation_mode | string | required |
| use_dashboard | integer | optional |
| delete_insights | boolean | optional |
| restriction_level | integer | optional |
| effective_privilege_level | integer | required |
| effective_restriction_level | integer | required |
multipart/form-data
Dashboard
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| tags | array | optional |
| tiles | array | required |
| pinned | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| is_shared | boolean | required |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| description | string | optional |
| use_template | string | optional |
| creation_mode | string | required |
| use_dashboard | integer | optional |
| delete_insights | boolean | optional |
| restriction_level | integer | optional |
| effective_privilege_level | integer | required |
| effective_restriction_level | integer | required |
application/x-www-form-urlencoded
Dashboard
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| tags | array | optional |
| tiles | array | required |
| pinned | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| is_shared | boolean | required |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| description | string | optional |
| use_template | string | optional |
| creation_mode | string | required |
| use_dashboard | integer | optional |
| delete_insights | boolean | optional |
| restriction_level | integer | optional |
| effective_privilege_level | integer | required |
| effective_restriction_level | integer | required |
PUT /api/projects/{project_id}/dashboards/{id}
/api/projects/{project_id}/dashboards/{id}/move_tile
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this dashboard. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PatchedDashboard
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| tags | array | optional |
| tiles | array | optional |
| pinned | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| is_shared | boolean | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| description | string | optional |
| use_template | string | optional |
| creation_mode | string | optional |
| use_dashboard | integer | optional |
| delete_insights | boolean | optional |
| restriction_level | integer | optional |
| effective_privilege_level | integer | optional |
| effective_restriction_level | integer | optional |
multipart/form-data
PatchedDashboard
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| tags | array | optional |
| tiles | array | optional |
| pinned | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| is_shared | boolean | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| description | string | optional |
| use_template | string | optional |
| creation_mode | string | optional |
| use_dashboard | integer | optional |
| delete_insights | boolean | optional |
| restriction_level | integer | optional |
| effective_privilege_level | integer | optional |
| effective_restriction_level | integer | optional |
application/x-www-form-urlencoded
PatchedDashboard
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| tags | array | optional |
| tiles | array | optional |
| pinned | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| is_shared | boolean | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| description | string | optional |
| use_template | string | optional |
| creation_mode | string | optional |
| use_dashboard | integer | optional |
| delete_insights | boolean | optional |
| restriction_level | integer | optional |
| effective_privilege_level | integer | optional |
| effective_restriction_level | integer | optional |
PATCH /api/projects/{project_id}/dashboards/{id}/move_tile
/api/projects/{project_id}/early_access_feature
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | integer | Number of results to return per page. |
| offset | query | optional | integer | The initial index from which to return the results. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/early_access_feature
/api/projects/{project_id}/early_access_feature
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
EarlyAccessFeatureSerializerCreateOnly
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| stage | string | required |
| created_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_id | integer | optional |
| documentation_url | string | optional |
multipart/form-data
EarlyAccessFeatureSerializerCreateOnly
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| stage | string | required |
| created_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_id | integer | optional |
| documentation_url | string | optional |
application/x-www-form-urlencoded
EarlyAccessFeatureSerializerCreateOnly
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| stage | string | required |
| created_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_id | integer | optional |
| documentation_url | string | optional |
POST /api/projects/{project_id}/early_access_feature
/api/projects/{project_id}/early_access_feature/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | A UUID string identifying this early access feature. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
DELETE /api/projects/{project_id}/early_access_feature/{id}
/api/projects/{project_id}/early_access_feature/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | A UUID string identifying this early access feature. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/early_access_feature/{id}
/api/projects/{project_id}/early_access_feature/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | A UUID string identifying this early access feature. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PatchedEarlyAccessFeature
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| stage | string | optional |
| created_at | string | optional |
| description | string | optional |
| feature_flag | object | optional |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| documentation_url | string | optional |
multipart/form-data
PatchedEarlyAccessFeature
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| stage | string | optional |
| created_at | string | optional |
| description | string | optional |
| feature_flag | object | optional |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| documentation_url | string | optional |
application/x-www-form-urlencoded
PatchedEarlyAccessFeature
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| stage | string | optional |
| created_at | string | optional |
| description | string | optional |
| feature_flag | object | optional |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| documentation_url | string | optional |
PATCH /api/projects/{project_id}/early_access_feature/{id}
/api/projects/{project_id}/early_access_feature/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | A UUID string identifying this early access feature. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
EarlyAccessFeature
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| stage | string | required |
| created_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| documentation_url | string | optional |
multipart/form-data
EarlyAccessFeature
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| stage | string | required |
| created_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| documentation_url | string | optional |
application/x-www-form-urlencoded
EarlyAccessFeature
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| stage | string | required |
| created_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| documentation_url | string | optional |
PUT /api/projects/{project_id}/early_access_feature/{id}
/api/projects/{project_id}/event_definitions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
GET /api/projects/{project_id}/event_definitions
/api/projects/{project_id}/event_definitions/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
DELETE /api/projects/{project_id}/event_definitions/{id}
/api/projects/{project_id}/event_definitions/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
GET /api/projects/{project_id}/event_definitions/{id}
/api/projects/{project_id}/event_definitions/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
PATCH /api/projects/{project_id}/event_definitions/{id}
/api/projects/{project_id}/event_definitions/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
PUT /api/projects/{project_id}/event_definitions/{id}
/api/projects/{project_id}/events
This endpoint allows you to list and filter events.
It is effectively deprecated and is kept only for backwards compatibility.
If you ever ask about it you will be advised to not use it...
If you want to ad-hoc list or aggregate events, use the Query endpoint instead.
If you want to export all events or many pages of events you should use our CDP/Batch Exports products instead.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| after | query | optional | string | Only return events with a timestamp after this time. |
| before | query | optional | string | Only return events with a timestamp before this time. |
| distinct_id | query | optional | integer | Filter list by distinct id. |
| event | query | optional | string | Filter list by event. For example |
| format | query | optional | string | — |
| limit | query | optional | integer | The maximum number of results to return |
| offset | query | optional | integer | The initial index from which to return the results. |
| person_id | query | optional | integer | Filter list by person id. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
| properties | query | optional | array | Filter events by event property, person property, cohort, groups and more. |
| select | query | optional | array | (Experimental) JSON-serialized array of HogQL expressions to return |
| where | query | optional | array | (Experimental) JSON-serialized array of HogQL expressions that must pass |
GET /api/projects/{project_id}/events
/api/projects/{project_id}/events/values
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/events/values
/api/projects/{project_id}/events/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| id | path | required | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/events/{id}
/api/projects/{project_id}/experiments
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | integer | Number of results to return per page. |
| offset | query | optional | integer | The initial index from which to return the results. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/experiments
/api/projects/{project_id}/experiments
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
Experiment
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| filters | object | optional |
| archived | boolean | optional |
| end_date | string | optional |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| parameters | object | optional |
| start_date | string | optional |
| updated_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_key | string | required |
| secondary_metrics | object | optional |
multipart/form-data
Experiment
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| filters | object | optional |
| archived | boolean | optional |
| end_date | string | optional |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| parameters | object | optional |
| start_date | string | optional |
| updated_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_key | string | required |
| secondary_metrics | object | optional |
application/x-www-form-urlencoded
Experiment
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| filters | object | optional |
| archived | boolean | optional |
| end_date | string | optional |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| parameters | object | optional |
| start_date | string | optional |
| updated_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_key | string | required |
| secondary_metrics | object | optional |
POST /api/projects/{project_id}/experiments
/api/projects/{project_id}/experiments/requires_flag_implementation
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/experiments/requires_flag_implementation
/api/projects/{project_id}/experiments/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this experiment. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
DELETE /api/projects/{project_id}/experiments/{id}
/api/projects/{project_id}/experiments/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this experiment. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/experiments/{id}
/api/projects/{project_id}/experiments/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this experiment. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PatchedExperiment
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| filters | object | optional |
| archived | boolean | optional |
| end_date | string | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| parameters | object | optional |
| start_date | string | optional |
| updated_at | string | optional |
| description | string | optional |
| feature_flag | object | optional |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_key | string | optional |
| secondary_metrics | object | optional |
multipart/form-data
PatchedExperiment
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| filters | object | optional |
| archived | boolean | optional |
| end_date | string | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| parameters | object | optional |
| start_date | string | optional |
| updated_at | string | optional |
| description | string | optional |
| feature_flag | object | optional |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_key | string | optional |
| secondary_metrics | object | optional |
application/x-www-form-urlencoded
PatchedExperiment
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| filters | object | optional |
| archived | boolean | optional |
| end_date | string | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| parameters | object | optional |
| start_date | string | optional |
| updated_at | string | optional |
| description | string | optional |
| feature_flag | object | optional |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_key | string | optional |
| secondary_metrics | object | optional |
PATCH /api/projects/{project_id}/experiments/{id}
/api/projects/{project_id}/experiments/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this experiment. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
Experiment
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| filters | object | optional |
| archived | boolean | optional |
| end_date | string | optional |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| parameters | object | optional |
| start_date | string | optional |
| updated_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_key | string | required |
| secondary_metrics | object | optional |
multipart/form-data
Experiment
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| filters | object | optional |
| archived | boolean | optional |
| end_date | string | optional |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| parameters | object | optional |
| start_date | string | optional |
| updated_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_key | string | required |
| secondary_metrics | object | optional |
application/x-www-form-urlencoded
Experiment
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| filters | object | optional |
| archived | boolean | optional |
| end_date | string | optional |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| parameters | object | optional |
| start_date | string | optional |
| updated_at | string | required |
| description | string | optional |
| feature_flag | object | required |
| └ id | integer | required |
| └ key | string | required |
| └ name | string | optional |
| └ active | boolean | optional |
| └ deleted | boolean | optional |
| └ filters | object | optional |
| └ team_id | integer | required |
| └ ensure_experience_continuity | boolean | optional |
| feature_flag_key | string | required |
| secondary_metrics | object | optional |
PUT /api/projects/{project_id}/experiments/{id}
/api/projects/{project_id}/experiments/{id}/results
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this experiment. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/experiments/{id}/results
/api/projects/{project_id}/experiments/{id}/secondary_results
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this experiment. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/experiments/{id}/secondary_results
/api/projects/{project_id}/explicit_members
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/explicit_members
/api/projects/{project_id}/explicit_members
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
ExplicitTeamMember
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | optional |
| joined_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| parent_level | integer | required |
| effective_level | integer | required |
| parent_membership_id | string | required |
multipart/form-data
ExplicitTeamMember
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | optional |
| joined_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| parent_level | integer | required |
| effective_level | integer | required |
| parent_membership_id | string | required |
application/x-www-form-urlencoded
ExplicitTeamMember
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | optional |
| joined_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| parent_level | integer | required |
| effective_level | integer | required |
| parent_membership_id | string | required |
POST /api/projects/{project_id}/explicit_members
/api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| parent_membership__user__uuid | path | required | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
DELETE /api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
/api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| parent_membership__user__uuid | path | required | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
/api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| parent_membership__user__uuid | path | required | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PatchedExplicitTeamMember
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| user | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | optional |
| joined_at | string | optional |
| user_uuid | string | optional |
| updated_at | string | optional |
| parent_level | integer | optional |
| effective_level | integer | optional |
| parent_membership_id | string | optional |
multipart/form-data
PatchedExplicitTeamMember
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| user | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | optional |
| joined_at | string | optional |
| user_uuid | string | optional |
| updated_at | string | optional |
| parent_level | integer | optional |
| effective_level | integer | optional |
| parent_membership_id | string | optional |
application/x-www-form-urlencoded
PatchedExplicitTeamMember
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| user | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | optional |
| joined_at | string | optional |
| user_uuid | string | optional |
| updated_at | string | optional |
| parent_level | integer | optional |
| effective_level | integer | optional |
| parent_membership_id | string | optional |
PATCH /api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
/api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| parent_membership__user__uuid | path | required | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
ExplicitTeamMember
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | optional |
| joined_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| parent_level | integer | required |
| effective_level | integer | required |
| parent_membership_id | string | required |
multipart/form-data
ExplicitTeamMember
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | optional |
| joined_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| parent_level | integer | required |
| effective_level | integer | required |
| parent_membership_id | string | required |
application/x-www-form-urlencoded
ExplicitTeamMember
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| level | integer | optional |
| joined_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| parent_level | integer | required |
| effective_level | integer | required |
| parent_membership_id | string | required |
PUT /api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
/api/projects/{project_id}/exports
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | integer | Number of results to return per page. |
| offset | query | optional | integer | The initial index from which to return the results. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/exports
/api/projects/{project_id}/exports
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
ExportedAsset
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| insight | integer | optional |
| filename | string | required |
| dashboard | integer | optional |
| created_at | string | required |
| has_content | string | required |
| expires_after | string | optional |
| export_format | string | required |
| export_context | object | optional |
multipart/form-data
ExportedAsset
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| insight | integer | optional |
| filename | string | required |
| dashboard | integer | optional |
| created_at | string | required |
| has_content | string | required |
| expires_after | string | optional |
| export_format | string | required |
| export_context | object | optional |
application/x-www-form-urlencoded
ExportedAsset
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| insight | integer | optional |
| filename | string | required |
| dashboard | integer | optional |
| created_at | string | required |
| has_content | string | required |
| expires_after | string | optional |
| export_format | string | required |
| export_context | object | optional |
POST /api/projects/{project_id}/exports
/api/projects/{project_id}/exports/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this exported asset. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/exports/{id}
/api/projects/{project_id}/exports/{id}/content
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this exported asset. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/exports/{id}/content
/api/projects/{project_id}/feature_flags
Create, read, update and delete feature flags. See docs for more information on feature flags.
If you’re looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | integer | Number of results to return per page. |
| offset | query | optional | integer | The initial index from which to return the results. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/feature_flags
/api/projects/{project_id}/feature_flags
Create, read, update and delete feature flags. See docs for more information on feature flags.
If you’re looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
FeatureFlag
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| key | string | required |
| name | string | optional |
| tags | array | optional |
| active | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| surveys | object | required |
| can_edit | boolean | required |
| features | object | required |
| created_at | string | optional |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| experiment_set | array | required |
| is_simple_flag | boolean | required |
| usage_dashboard | integer | required |
| performed_rollback | boolean | optional |
| rollout_percentage | integer | required |
| rollback_conditions | object | optional |
| analytics_dashboards | array | optional |
| has_enriched_analytics | boolean | optional |
| …1 more | object | optional |
multipart/form-data
FeatureFlag
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| key | string | required |
| name | string | optional |
| tags | array | optional |
| active | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| surveys | object | required |
| can_edit | boolean | required |
| features | object | required |
| created_at | string | optional |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| experiment_set | array | required |
| is_simple_flag | boolean | required |
| usage_dashboard | integer | required |
| performed_rollback | boolean | optional |
| rollout_percentage | integer | required |
| rollback_conditions | object | optional |
| analytics_dashboards | array | optional |
| has_enriched_analytics | boolean | optional |
| …1 more | object | optional |
application/x-www-form-urlencoded
FeatureFlag
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| key | string | required |
| name | string | optional |
| tags | array | optional |
| active | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| surveys | object | required |
| can_edit | boolean | required |
| features | object | required |
| created_at | string | optional |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| experiment_set | array | required |
| is_simple_flag | boolean | required |
| usage_dashboard | integer | required |
| performed_rollback | boolean | optional |
| rollout_percentage | integer | required |
| rollback_conditions | object | optional |
| analytics_dashboards | array | optional |
| has_enriched_analytics | boolean | optional |
| …1 more | object | optional |
POST /api/projects/{project_id}/feature_flags
/api/projects/{project_id}/feature_flags/activity
Create, read, update and delete feature flags. See docs for more information on feature flags.
If you’re looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/feature_flags/activity
/api/projects/{project_id}/feature_flags/evaluation_reasons
Create, read, update and delete feature flags. See docs for more information on feature flags.
If you’re looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/feature_flags/evaluation_reasons
/api/projects/{project_id}/feature_flags/local_evaluation
Create, read, update and delete feature flags. See docs for more information on feature flags.
If you’re looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/feature_flags/local_evaluation
/api/projects/{project_id}/feature_flags/my_flags
Create, read, update and delete feature flags. See docs for more information on feature flags.
If you’re looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/feature_flags/my_flags
/api/projects/{project_id}/feature_flags/user_blast_radius
Create, read, update and delete feature flags. See docs for more information on feature flags.
If you’re looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
FeatureFlag
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| key | string | required |
| name | string | optional |
| tags | array | optional |
| active | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| surveys | object | required |
| can_edit | boolean | required |
| features | object | required |
| created_at | string | optional |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| experiment_set | array | required |
| is_simple_flag | boolean | required |
| usage_dashboard | integer | required |
| performed_rollback | boolean | optional |
| rollout_percentage | integer | required |
| rollback_conditions | object | optional |
| analytics_dashboards | array | optional |
| has_enriched_analytics | boolean | optional |
| …1 more | object | optional |
multipart/form-data
FeatureFlag
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| key | string | required |
| name | string | optional |
| tags | array | optional |
| active | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| surveys | object | required |
| can_edit | boolean | required |
| features | object | required |
| created_at | string | optional |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| experiment_set | array | required |
| is_simple_flag | boolean | required |
| usage_dashboard | integer | required |
| performed_rollback | boolean | optional |
| rollout_percentage | integer | required |
| rollback_conditions | object | optional |
| analytics_dashboards | array | optional |
| has_enriched_analytics | boolean | optional |
| …1 more | object | optional |
application/x-www-form-urlencoded
FeatureFlag
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| key | string | required |
| name | string | optional |
| tags | array | optional |
| active | boolean | optional |
| deleted | boolean | optional |
| filters | object | optional |
| surveys | object | required |
| can_edit | boolean | required |
| features | object | required |
| created_at | string | optional |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| experiment_set | array | required |
| is_simple_flag | boolean | required |
| usage_dashboard | integer | required |
| performed_rollback | boolean | optional |
| rollout_percentage | integer | required |
| rollback_conditions | object | optional |
| analytics_dashboards | array | optional |
| has_enriched_analytics | boolean | optional |
| …1 more | object | optional |
POST /api/projects/{project_id}/feature_flags/user_blast_radius
/api/projects/{project_id}/feature_flags/{feature_flag_id}/role_access
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| feature_flag_id | path | required | integer | — |
| limit | query | optional | integer | Number of results to return per page. |
| offset | query | optional | integer | The initial index from which to return the results. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/feature_flags/{feature_flag_id}/role_access