posthog
v1.0.5Capture analytics events, evaluate feature flags, and manage projects
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_conversations List Conversations
Retrieve a paginated list of conversations for a specific project. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the conversations. Obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of conversation records to return in a single response page. Omit or set to default for standard page size. |
offset | integer | Zero-based starting position for results, used in conjunction with limit to paginate through the conversation list. |
send_conversation_message Send Conversation Message
Send a message to a conversation or stream results from an existing conversation. Provide a message to start new conversation processing, or omit it to stream from an existing conversation.
| Parameter | Type | Description |
|---|---|---|
conversation * | string | The unique identifier of the conversation to send the message to or stream from. Must be a valid UUID. |
project_id * | string | The unique identifier of the project. Retrieve this ID by calling the /api/projects/ endpoint if needed. |
trace_id * | string | A unique identifier for tracing this request. Must be a valid UUID. |
agent_mode | string | The operational mode or agent type for this conversation. Determines how the conversation is processed and what capabilities are available. |
billing_context | Optional billing context information associated with this conversation. | |
content | string | The message content to send. Maximum length is 40,000 characters. |
contextual_tools | object | Optional tools and configurations available for the conversation to use during processing. |
ui_context | Optional UI context information to pass along with the conversation request. |
get_conversation Get Conversation
Retrieve a specific conversation by its UUID within a project. Use this to fetch detailed information about a single conversation.
| Parameter | Type | Description |
|---|---|---|
conversation * | string | The unique identifier (UUID) of the conversation to retrieve. |
project_id * | string | The unique identifier of the project containing the conversation. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_customer_profile_configs List Customer Profile Configs
Retrieve a paginated list of customer profile configurations for a specific project. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project whose customer profile configurations you want to retrieve. You can obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of customer profile configurations to return in a single page of results. Omit to use the API's default page size. |
offset | integer | The zero-based starting position for results, used to paginate through large result sets. Omit to start from the beginning. |
get_customer_profile_config Get Customer Profile Config
Retrieve a specific customer profile configuration by its unique identifier within a project. Use this to fetch detailed settings and properties for a customer profile config.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the customer profile config to retrieve. |
project_id * | string | The project ID that contains the customer profile config. Find your project ID by calling the /api/projects/ endpoint. |
list_dashboard_collaborators List Dashboard Collaborators
Retrieve the list of collaborators who have access to a specific dashboard within a project. This shows all users with whom the dashboard is shared and their access permissions.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | integer | The unique identifier of the dashboard whose collaborators you want to list. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
remove_dashboard_collaborator Remove Dashboard Collaborator
Remove a collaborator from a dashboard by their user UUID. This revokes the specified user's access to the dashboard.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | integer | The unique identifier of the dashboard from which to remove the collaborator. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve your project ID by calling /api/projects/. |
user__uuid * | string | The UUID of the user to remove as a collaborator from the dashboard. Must be a valid UUID format. |
list_desktop_recordings List Desktop Recordings
Retrieve a paginated list of desktop meeting recordings for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the desktop recordings. Obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of recording results to return in a single page of results. |
offset | integer | Zero-based index position from which to start returning results, used for pagination. |
create_desktop_recording Create Desktop Recording
Initiate a new desktop recording session and obtain an upload token for the Recall.ai desktop SDK to use during the recording.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the recording will be created. You can retrieve your project ID by calling the /api/projects/ endpoint. |
get_desktop_recording Get Desktop Recording
Retrieve a specific desktop meeting recording by its unique identifier within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the desktop recording to retrieve. |
project_id * | string | The unique identifier of the project containing the desktop recording. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_desktop_recording Update Desktop Recording
Update metadata and processing status for a desktop meeting recording, including transcript segments, extracted tasks, and participant information.
| Parameter | Type | Description |
|---|---|---|
id * | string | Unique identifier (UUID) of the desktop recording to update. |
platform * | string | Meeting platform source: zoom, teams (Microsoft Teams), meet (Google Meet), desktop_audio, or slack (Slack huddle). |
project_id * | string | Project ID that owns this recording. Retrieve available project IDs from /api/projects/. |
completed_at | string | ISO 8601 timestamp indicating when the recording and processing completed. |
duration_seconds | integer | Total recording duration in seconds. |
error_message | string | Error description if status is 'error', explaining why processing failed. |
extracted_tasks | array | Array of actionable tasks extracted from the transcript by AI analysis. |
meeting_title | string | Human-readable title of the meeting, up to 255 characters. |
meeting_url | string | URL to the original meeting, up to 200 characters. Must be a valid URI. |
notes | string | Optional user notes or metadata about the recording. |
participants | array | Array of participant names who attended the meeting. |
recall_recording_id | string | Optional UUID identifier linking to an external recall recording system. |
started_at | string | ISO 8601 timestamp indicating when the recording started. |
status | string | Current processing state: recording (in progress), uploading (to storage), processing (AI analysis), ready (complete), or error (failed). |
summary | string | AI-generated summary of the meeting content. |
transcript_segments | array | Array of transcript segments, each containing text and timestamp information in chronological order. |
video_url | string | URL to the processed video file, up to 200 characters. Must be a valid URI. |
update_desktop_recording_partial Update Desktop Recording
Partially update a desktop recording's metadata, status, and extracted content. Use this to modify recording details, track processing status, store transcripts and tasks, or mark recordings as ready or failed.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the desktop recording to update. |
project_id * | string | The project ID that owns this recording. Retrieve available project IDs from the /api/projects/ endpoint. |
completed_at | string | The timestamp when the recording completed, in ISO 8601 format. |
duration_seconds | integer | The total duration of the recording in seconds. Accepts any 32-bit integer value. |
error_message | string | Error details if the recording failed to process. Typically populated when status is 'error'. |
extracted_tasks | array | An ordered list of actionable tasks extracted from the transcript by AI analysis. |
meeting_title | string | The title or name of the meeting. Maximum 255 characters. |
meeting_url | string | The URL where the meeting took place. Must be a valid URI, maximum 200 characters. |
notes | string | Additional notes or metadata about the recording. |
participants | array | An ordered list of participant names who attended the meeting. |
recall_recording_id | string | The unique identifier (UUID) of the associated Recall recording, if applicable. |
started_at | string | The timestamp when the recording started, in ISO 8601 format. |
status | string | The current processing state of the recording: recording (actively capturing), uploading (being transferred), processing (being analyzed), ready (available for use), or error (failed). |
summary | string | A text summary of the meeting content, typically generated by AI analysis. |
transcript_segments | array | An ordered array of transcript segments, each containing speaker text and associated timestamps. Order reflects chronological sequence in the recording. |
video_url | string | The URL where the processed video file is stored. Must be a valid URI, maximum 200 characters. |
delete_desktop_recording Delete Desktop Recording
Permanently delete a desktop meeting recording by its ID. This operation removes the recording and all associated data from the specified project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the desktop recording to delete. |
project_id * | string | The unique identifier of the project containing the desktop recording. You can retrieve your project ID by calling the /api/projects/ endpoint. |
append_segments_to_desktop_recording Append Segments to Desktop Recording
Append transcript segments to a desktop recording, supporting batched real-time streaming for continuous transcription updates.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID identifier of the desktop recording to append segments to. |
project_id * | string | The unique identifier of the project containing the desktop recording. Retrieve available project IDs from the /api/projects/ endpoint. |
segments * | array | An array of transcript segments to append to the recording. Must contain at least one segment. Segments are processed in the order provided. |
list_error_tracking_assignment_rules List Error Tracking Assignment Rules
Retrieve a paginated list of error tracking assignment rules configured for a project. Assignment rules determine how errors are automatically routed to team members.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of assignment rules to return in a single page of results. Defaults to the API's standard page size if not specified. |
offset | integer | Zero-based index position from which to start returning results, used for pagination alongside the limit parameter. |
get_error_tracking_assignment_rule Get Error Tracking Assignment Rule
Retrieve a specific error tracking assignment rule by its unique identifier. This rule defines how errors are automatically assigned within your project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking assignment rule to retrieve. |
project_id * | string | The unique identifier of the project containing the assignment rule. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_error_tracking_assignment_rule Update Error Tracking Assignment Rule
Update an error tracking assignment rule for a project, including its filters, ordering, assignee, and enabled/disabled status.
| Parameter | Type | Description |
|---|---|---|
filters * | The filter criteria that determine which errors this rule applies to. Specifies the conditions for matching errors. | |
id * | string | The UUID identifier of the error tracking assignment rule to update. |
order_key * | integer | The sort order for this rule relative to other assignment rules. Must be an integer between -2,147,483,648 and 2,147,483,647; lower values are evaluated first. |
project_id * | string | The unique identifier of the project containing the assignment rule. Retrieve project IDs from the /api/projects/ endpoint. |
assigneeId | string | The ID of the user or team to assign errors to. Accepts either a string UUID or an integer identifier. |
disabled_data | Configuration for disabling or enabling specific aspects of this assignment rule. |
update_error_tracking_assignment_rule_partial Update Error Tracking Assignment Rule
Partially update an error tracking assignment rule for a project. Allows modification of assignee, filters, ordering, and enabled/disabled status.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking assignment rule to update. |
project_id * | string | The unique identifier of the project containing the assignment rule. Retrieve project IDs from the /api/projects/ endpoint. |
assigneeId | string | The ID of the user or team to assign errors to. Accepts either a string UUID or an integer identifier. |
disabled_data | Configuration for disabling or enabling this assignment rule without deletion. | |
filters | Criteria for matching errors to this assignment rule. Defines which errors should be assigned based on specified conditions. | |
order_key | integer | The sort order position for this rule among other assignment rules. Determines rule evaluation priority, with valid values ranging from -2,147,483,648 to 2,147,483,647. |
delete_error_tracking_assignment_rule Delete Error Tracking Assignment Rule
Delete a specific error tracking assignment rule from a project. This removes the rule and stops it from being applied to new error assignments.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking assignment rule to delete. |
project_id * | string | The unique identifier of the project containing the assignment rule. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_error_tracking_fingerprints List Error Tracking Fingerprints
Retrieve a paginated list of error fingerprints for a specific project. Fingerprints group similar errors together to help identify recurring issues.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of fingerprints to return in a single page of results. Use with offset for pagination. |
offset | integer | The starting position for results, enabling pagination through large result sets. Combine with limit to navigate pages. |
get_error_fingerprint Get Error Fingerprint
Retrieve a specific error tracking fingerprint by its unique identifier within a project. Fingerprints group similar errors together for consolidated tracking and analysis.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking fingerprint to retrieve. |
project_id * | string | The unique identifier of the project containing the error fingerprint. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_error_tracking_grouping_rules List Error Tracking Grouping Rules
Retrieve the error tracking grouping rules configured for a project. Grouping rules determine how errors are automatically grouped and deduplicated in error tracking.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of grouping rules to return in a single response page. Use with offset for pagination. |
offset | integer | Zero-based index position to start returning results from. Use with limit to paginate through the full list of grouping rules. |
get_error_tracking_grouping_rule Get Error Tracking Grouping Rule
Retrieve a specific error tracking grouping rule by its unique identifier. Grouping rules define how errors are automatically grouped and categorized within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking grouping rule to retrieve. |
project_id * | string | The unique identifier of the project containing the grouping rule. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_error_tracking_grouping_rule Update Error Tracking Grouping Rule
Update an error tracking grouping rule for a project. Modify how errors are grouped together by specifying filters, ordering, and optional assignee information.
| Parameter | Type | Description |
|---|---|---|
filters * | The filtering criteria that determine which errors are matched by this grouping rule. | |
id * | string | The unique identifier (UUID) of the error tracking grouping rule to update. |
order_key * | integer | The sort order position for this grouping rule. Must be an integer between -2,147,483,648 and 2,147,483,647. |
project_id * | string | The unique identifier of the project containing the grouping rule. Retrieve available project IDs from the /api/projects/ endpoint. |
assigneeId | string | The ID of the user to assign to this grouping rule. Accepts either a string or integer identifier. |
disabled_data | Optional data specifying which fields or settings should be disabled for this grouping rule. |
update_error_tracking_grouping_rule_partial Update Error Tracking Grouping Rule
Partially update an error tracking grouping rule for a project. Allows modification of rule configuration including filters, ordering, assignee, and enabled/disabled status.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking grouping rule to update. |
project_id * | string | The unique identifier of the project containing the grouping rule. Retrieve available project IDs from the /api/projects/ endpoint. |
assigneeId | string | The ID of the user or team to assign to this grouping rule. Accepts either a string or integer identifier. |
disabled_data | Configuration for disabling or controlling the active state of this grouping rule. | |
filters | Filter criteria used to match errors for this grouping rule. Defines which errors are grouped together based on specified conditions. | |
order_key | integer | The sort order position for this grouping rule. Must be an integer within the range of a 32-bit signed integer. |
delete_error_tracking_grouping_rule Delete Error Tracking Grouping Rule
Permanently delete an error tracking grouping rule from a project. This removes the rule and stops it from being applied to future error grouping operations.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking grouping rule to delete. |
project_id * | string | The unique identifier of the project containing the grouping rule. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_error_tracking_issues List Error Tracking Issues
Retrieve a paginated list of error tracking issues for a specific project. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of issues to return in a single page of results. Controls the page size for pagination. |
offset | integer | The starting position (zero-indexed) from which to return results. Use this with limit to paginate through the issue list. |
create_error_tracking_issue Create Error Tracking Issue
Create a new error tracking issue in a project. Requires specifying the assignee, initial status, and when the error was first detected.
| Parameter | Type | Description |
|---|---|---|
assigneeId * | string | The ID of the user to assign this issue to. Accepts either a string or integer identifier. |
external_issues * | array | An array of external issue references (e.g., links to bug trackers, support tickets) associated with this error. |
first_seen * | string | The timestamp when this error was first observed, formatted as an ISO 8601 date-time string. |
project_id * | string | The unique identifier of the project where the error tracking issue will be created. Retrieve this ID from the /api/projects/ endpoint. |
cohortId | integer | Optional cohort identifier to group this issue with related errors. |
description | string | Additional context or details about the error, such as reproduction steps or impact assessment. |
name | string | A descriptive name or title for the error tracking issue. |
status | string | The initial status of the issue. Must be one of: active (currently occurring), resolved (fixed), archived (no longer relevant), pending_release (fix awaiting deployment), or suppressed (intentionally… |
get_error_tracking_issue Get Error Tracking Issue
Retrieve detailed information about a specific error tracking issue within a project, including its status, occurrences, and metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking issue to retrieve. |
project_id * | string | The unique identifier of the project containing the error tracking issue. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_error_tracking_issue Update Error Tracking Issue
Update an error tracking issue's status, assignment, cohort, and metadata. Modify issue details such as name, description, and linked external issues.
| Parameter | Type | Description |
|---|---|---|
assigneeId * | string | The ID of the user or team to assign this issue to. Accepts either a string or integer identifier. |
external_issues * | array | An array of external issue references (e.g., Jira tickets, GitHub issues) linked to this error for cross-system tracking. |
first_seen * | string | The timestamp when this error was first observed, formatted as an ISO 8601 date-time string. |
id * | string | The unique identifier (UUID) of the error tracking issue to update. |
project_id * | string | The unique identifier of the project containing this error tracking issue. Retrieve project IDs from the /api/projects/ endpoint. |
cohortId | integer | The ID of the cohort to associate with this issue for grouping and analysis. |
description | string | Detailed description or notes about the error, its cause, or resolution steps. |
name | string | A human-readable name or title for the error tracking issue. |
status | string | The current status of the issue. Valid statuses are: archived (no longer tracked), active (ongoing), resolved (fixed), pending_release (awaiting deployment), or suppressed (intentionally hidden). |
update_error_tracking_issue_partial Update Error Tracking Issue
Partially update an error tracking issue, allowing you to modify its status, assignee, name, description, and linked external issues.
| Parameter | Type | Description |
|---|---|---|
assigneeId * | string | The ID of the user to assign this issue to. Accepts either a string or integer identifier. |
id * | string | The unique identifier (UUID) of the error tracking issue to update. |
project_id * | string | The unique identifier of the project containing this error tracking issue. Retrieve project IDs via the /api/projects/ endpoint. |
description | string | A detailed description or notes about this error tracking issue. |
external_issues | array | An array of external issue references linked to this error tracking issue, such as tickets in external bug tracking systems. |
name | string | The display name or title for this error tracking issue. |
status | string | The current status of the issue. Valid statuses are: archived, active, resolved, pending_release, or suppressed. |
get_error_tracking_issue_activity Get Error Tracking Issue Activity
Retrieve the activity history for a specific error tracking issue, including all events and changes associated with that issue.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking issue whose activity you want to retrieve. |
project_id * | string | The unique identifier of the project containing the error tracking issue. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_error_tracking_issues_activity List Error Tracking Issues Activity
Retrieve the activity log for error tracking issues within a specific project. This endpoint returns a timeline of events and changes related to tracked errors.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_error_tracking_releases List Error Tracking Releases
Retrieve a paginated list of releases for error tracking in a specific project. Use this to view all tracked releases and their associated error data.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this value from the /api/projects/ endpoint if you don't have it. |
limit | integer | Maximum number of releases to return in a single response page. Defaults to the API's standard page size if not specified. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_error_tracking_release Create Error Tracking Release
Create a new release entry for error tracking in a specified project. This registers a release version with associated metadata for tracking errors across different application versions.
| Parameter | Type | Description |
|---|---|---|
hash_id * | string | A unique hash identifier for the release, used to distinguish this release from others in the error tracking system. |
project * | string | The project identifier or name associated with this release for organizational and tracking purposes. |
project_id * | string | The unique identifier of the project where the release will be tracked. Retrieve this ID from the /api/projects/ endpoint if needed. |
version * | string | The version string or number identifying this release (e.g., semantic version format like '1.2.3' or any custom versioning scheme). |
metadata | Optional metadata object containing additional information about the release, such as build details, deployment information, or custom tags. |
get_error_tracking_release Get Error Tracking Release
Retrieve detailed information about a specific error tracking release for a project, including its metadata and associated error data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking release to retrieve. |
project_id * | string | The unique identifier of the project containing the error tracking release. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_error_tracking_release Update Error Tracking Release
Update an error tracking release for a project, including its version, hash identifier, and associated metadata.
| Parameter | Type | Description |
|---|---|---|
hash_id * | string | A unique hash identifier for the release, used to distinguish different release versions. |
id * | string | The unique identifier (UUID) of the error tracking release to update. |
project * | string | The project identifier or slug associated with this error tracking release. |
project_id * | string | The project ID that contains the error tracking release. Find your project ID by calling the /api/projects/ endpoint. |
version * | string | The version string for the release (e.g., semantic version, build number, or commit hash). |
metadata | Optional metadata object containing additional information about the release, such as build details, deployment info, or custom tags. |
update_error_tracking_release_partial Update Error Tracking Release
Partially update an error tracking release for a project. Use this to modify specific fields of an existing release without affecting other attributes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking release to update. |
project_id * | string | The unique identifier of the project containing the error tracking release. Retrieve project IDs from the /api/projects/ endpoint. |
hash_id | string | An optional identifier hash for the release, used for alternative reference or deduplication purposes. |
metadata | Optional metadata object to attach or update custom data associated with the release. | |
project | string | Optional project identifier or reference to associate or reassign the release to a different project. |
delete_error_tracking_release Delete Error Tracking Release
Permanently delete an error tracking release from a project. This removes the release and all associated error tracking data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking release to delete. |
project_id * | string | The unique identifier of the project containing the error tracking release. You can retrieve your project ID by calling the /api/projects/ endpoint. |
get_error_tracking_release_by_hash Get Error Tracking Release by Hash
Retrieve detailed information about a specific error tracking release using its hash identifier. This operation fetches release metadata and associated error tracking data for a given project.
| Parameter | Type | Description |
|---|---|---|
hash_id * | string | The unique hash identifier of the release to retrieve. This identifier is used to look up the specific release record in the error tracking system. |
project_id * | string | The unique identifier of the project containing the release. You can obtain the project ID by calling the /api/projects/ endpoint. |
list_error_tracking_spike_events List Error Tracking Spike Events
Retrieve a paginated list of error tracking spike events for a specific project. Spike events represent sudden increases in error occurrences that warrant attention.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this value from the /api/projects/ endpoint if needed. |
limit | integer | Maximum number of spike events to return in a single response page. Controls pagination size. |
offset | integer | Zero-based index position from which to start returning results. Use with limit for pagination. |
list_error_tracking_suppression_rules List Error Tracking Suppression Rules
Retrieve a paginated list of error tracking suppression rules configured for a specific project. Suppression rules allow you to filter out or ignore certain errors from being tracked.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of suppression rules to return in a single page of results. Use with offset for pagination. |
offset | integer | The starting position for returning results, enabling pagination through large result sets. Use with limit to control which page of results is returned. |
get_error_tracking_suppression_rule Get Error Tracking Suppression Rule
Retrieve a specific error tracking suppression rule by its ID. Use this to fetch details about an existing suppression rule configured for your project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking suppression rule to retrieve. |
project_id * | string | The unique identifier of the project containing the suppression rule. Find your project ID by calling the /api/projects/ endpoint. |
update_error_tracking_suppression_rule Update Error Tracking Suppression Rule
Update an existing error tracking suppression rule for a project. Modify filtering criteria, ordering, and sampling behavior to control which errors are suppressed.
| Parameter | Type | Description |
|---|---|---|
filters * | Filter conditions that determine which errors this rule applies to. Specifies the matching criteria for error suppression. | |
id * | string | The unique identifier (UUID) of the suppression rule to update. |
order_key * | integer | The priority order for this rule relative to other suppression rules. Must be an integer value; lower values indicate higher priority. |
project_id * | string | The project ID containing the suppression rule. Find your project ID by calling the /api/projects/ endpoint. |
disabled_data | Optional flag to disable this suppression rule without deleting it. When set, the rule will not be applied to incoming errors. | |
sampling_rate | number | Optional sampling rate for suppressed errors, expressed as a decimal between 0 and 1. Controls what percentage of matching errors are actually suppressed. |
update_error_tracking_suppression_rule_partial Update Error Tracking Suppression Rule
Partially update an error tracking suppression rule for a project. Allows modification of filtering criteria, ordering, disabled status, and sampling configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking suppression rule to update. |
project_id * | string | The unique identifier of the project containing the suppression rule. Retrieve project IDs from the /api/projects/ endpoint. |
disabled_data | Configuration for disabling the suppression rule. When set, the rule will not be applied to incoming errors. | |
filters | Filter criteria to apply for error suppression. Defines which errors match this suppression rule. | |
order_key | integer | Numeric ordering key to control the sequence in which suppression rules are evaluated. Accepts any 32-bit integer value. |
sampling_rate | number | Sampling rate as a decimal value between 0 and 1, controlling what percentage of matching errors are suppressed (e.g., 0.5 suppresses 50% of matches). |
delete_error_tracking_suppression_rule Delete Error Tracking Suppression Rule
Permanently delete an error tracking suppression rule from a project. This removes the rule and stops it from suppressing matching errors.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking suppression rule to delete. |
project_id * | string | The unique identifier of the project containing the suppression rule. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_error_tracking_symbol_sets List Error Tracking Symbol Sets
Retrieve a paginated list of symbol sets for error tracking in a specific project. Symbol sets are used to map obfuscated stack traces back to original source code.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of symbol sets to return in a single page of results. Use with offset for pagination. |
offset | integer | The starting position for results, allowing you to paginate through large result sets. Use with limit to control pagination. |
get_error_tracking_symbol_set Get Error Tracking Symbol Set
Retrieve a specific error tracking symbol set by its unique identifier. Symbol sets contain debug information used to map obfuscated stack traces back to original source code.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking symbol set to retrieve. |
project_id * | string | The unique identifier of the project containing the symbol set. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_error_tracking_symbol_set Update Error Tracking Symbol Set
Update an error tracking symbol set for a project. Symbol sets are used to map obfuscated or minified code back to original source for better error tracking and debugging.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking symbol set to update. |
project_id * | string | The unique identifier of the project containing the symbol set. You can retrieve your project ID by calling the /api/projects/ endpoint. |
ref * | string | A reference identifier or version marker for the symbol set update. This typically indicates which version or release of symbols is being updated. |
delete_error_tracking_symbol_set Delete Error Tracking Symbol Set
Permanently delete an error tracking symbol set from a project. This removes the symbol set and all associated symbol data used for error tracking.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking symbol set to delete. |
project_id * | string | The unique identifier of the project containing the symbol set. You can retrieve your project ID by calling the /api/projects/ endpoint. |
finish_symbol_set_bulk_upload Finish Symbol Set Bulk Upload
Completes a bulk symbol set upload for error tracking in a project. This finalizes the upload process after all symbol files have been transferred.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the symbol set upload is being finalized. Retrieve this ID from the /api/projects/ endpoint. |
ref * | string | A reference identifier for the bulk upload session being completed. This reference is typically provided when the upload was initiated. |
start_symbol_sets_bulk_upload Start Symbol Sets Bulk Upload
Initiate a bulk upload process for error tracking symbol sets. This operation prepares the system to receive multiple symbol set files and returns upload credentials or a session reference for subsequent file uploads.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where symbol sets will be uploaded. Retrieve this ID from the /api/projects/ endpoint if needed. |
ref * | string | A reference identifier or token that associates this bulk upload session with a specific upload batch or transaction, enabling tracking and management of the upload process. |
list_evaluations List Evaluations
Retrieve a paginated list of evaluations for a specific project, with optional filtering by enabled status, evaluation IDs, and sorting capabilities.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the evaluations. Obtain this ID by calling the /api/projects/ endpoint. |
enabled | boolean | Filter results to show only enabled or disabled evaluations. |
id__in | array | Filter results to include only evaluations with IDs matching the provided list. Separate multiple IDs with commas. |
limit | integer | Maximum number of evaluations to return in a single page of results. |
offset | integer | Zero-based index position to start returning results from, used for pagination. |
order_by | array | Sort results by one or more fields. Prefix field names with a hyphen to sort in descending order. Available fields: created_at, updated_at, and name. |
create_evaluation Create Evaluation
Create a new evaluation for a project to assess model outputs or behaviors. Evaluations can use LLM-based judging or Hog-based analysis and return boolean pass/fail results.
| Parameter | Type | Description |
|---|---|---|
evaluation_type * | string | The evaluation methodology to use. Choose 'llm_judge' to use an LLM as a judge, or 'hog' for Hog-based evaluation. |
name * | string | A descriptive name for the evaluation. Maximum length is 400 characters. |
output_type * | string | The format of the evaluation result. Currently only 'boolean' is supported, returning a pass/fail outcome. |
project_id * | string | The unique identifier of the project where the evaluation will be created. Retrieve project IDs by calling the /api/projects/ endpoint. |
conditions | Optional conditions or rules that determine when the evaluation should be triggered or how results should be interpreted. | |
description | string | An optional detailed description explaining the purpose and scope of the evaluation. |
enabled | boolean | Optional flag to enable or disable the evaluation. When disabled, the evaluation will not be executed. |
evaluation_config | Optional configuration object specific to the selected evaluation type, containing parameters that customize how the evaluation is performed. | |
model_configuration | object | Optional configuration for the language model used in LLM-based evaluations, including model selection and inference parameters. |
output_config | Optional configuration object that defines how the evaluation output is processed, formatted, or mapped to the output type. |
get_evaluation Get Evaluation
Retrieve a specific evaluation by its ID within a project. Returns detailed information about the evaluation including its configuration, results, and metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the evaluation to retrieve. |
project_id * | string | The unique identifier of the project containing the evaluation. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_evaluation Update Evaluation
Update an existing evaluation configuration within a project. Modify evaluation criteria, type, output settings, and associated conditions to refine how responses are assessed.
| Parameter | Type | Description |
|---|---|---|
evaluation_type * | string | The evaluation methodology: 'llm_judge' uses an LLM to assess responses, 'hog' uses the Hog algorithm. |
id * | string | The unique identifier (UUID) of the evaluation to update. |
name * | string | The name of the evaluation. Must not exceed 400 characters. |
output_type * | string | The format of evaluation results. Currently supports 'boolean' for pass/fail outcomes. |
project_id * | string | The project ID containing the evaluation. Retrieve available project IDs from the /api/projects/ endpoint. |
conditions | Optional array of conditions that determine when the evaluation should be applied or how results are interpreted. | |
description | string | Optional detailed description of the evaluation's purpose and scope. |
enabled | boolean | Optional flag to enable or disable the evaluation without deleting it. |
evaluation_config | Optional configuration object specific to the selected evaluation_type, containing type-specific parameters and settings. | |
model_configuration | object | Optional configuration object for LLM model selection and parameters when using 'llm_judge' evaluation type. |
output_config | Optional configuration object that defines how evaluation results are formatted and processed. |
update_evaluation_partial Partially Update Evaluation
Partially update an evaluation configuration within a project. Allows modification of evaluation settings such as type, enabled status, description, and associated configurations.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the evaluation to update. |
project_id * | string | The unique identifier of the project containing the evaluation. Retrieve available project IDs from the /api/projects/ endpoint. |
conditions | Conditional logic or rules that determine when and how the evaluation should be applied. | |
description | string | A human-readable description of the evaluation's purpose or details. |
enabled | boolean | Whether the evaluation is active and should be executed. Set to true to enable or false to disable. |
evaluation_config | Configuration object specific to the selected evaluation type, defining how the evaluation should be executed. | |
evaluation_type | string | The evaluation methodology to use. Choose 'llm_judge' to use an LLM as a judge, or 'hog' for Hog-based evaluation. |
model_configuration | object | Configuration settings for the language model used in the evaluation, including model selection and parameters. |
output_config | Configuration object that defines how the evaluation output should be formatted and processed. | |
output_type | string | The format of the evaluation output. Currently supports 'boolean' for pass/fail results. |
list_health_issues List Health Issues
Retrieve a paginated list of health issues for a specific project. Health issues represent potential problems or warnings detected in the project's environment.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of health issues to return in a single page of results. Use with offset for pagination. |
offset | integer | The starting position for retrieving results, enabling pagination through large result sets. Use with limit to control which page of results is returned. |
get_health_issue Get Health Issue
Retrieve a specific health issue by its unique identifier within a project. Returns detailed information about the health issue including its status, severity, and related metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the health issue to retrieve. |
project_id * | string | The unique identifier of the project containing the health issue. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_health_issue Update Health Issue
Partially update a health issue within a project, allowing you to modify specific fields such as the dismissed status without affecting other properties.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the health issue to update. |
project_id * | string | The unique identifier of the project containing the health issue. Retrieve available project IDs by calling the /api/projects/ endpoint. |
dismissed | boolean | Mark the health issue as dismissed (true) or active (false) to track resolution status. |
list_clustering_jobs List Clustering Jobs
Retrieve a paginated list of LLM analytics clustering job configurations for a project. Each team can maintain up to 5 clustering job configurations.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of clustering jobs to return in a single page of results. Use with offset for pagination. |
offset | integer | Zero-based index from which to start returning results. Use with limit to paginate through the job list. |
create_llm_analytics_clustering_job Create LLM Analytics Clustering Job
Create a new clustering job configuration for LLM analytics. Each team can have a maximum of 5 active clustering jobs.
| Parameter | Type | Description |
|---|---|---|
analysis_level * | string | The granularity level at which clustering analysis will be performed. Choose either 'trace' for trace-level analysis or 'generation' for generation-level analysis. |
name * | string | A descriptive name for the clustering job. Must not exceed 100 characters. |
project_id * | string | The unique identifier of the project where the clustering job will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
enabled | boolean | Optional flag to enable or disable the clustering job. When enabled, the job will actively process and cluster data according to its configuration. |
event_filters | Optional filters to refine which events are included in the clustering analysis. Specify filter criteria as needed to target relevant data. |
get_clustering_job Get Clustering Job
Retrieve a specific LLM analytics clustering job configuration by its unique identifier. Each team can maintain up to 5 clustering job configurations.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the clustering job to retrieve. |
project_id * | string | The project ID that owns the clustering job. Find your project ID by calling the /api/projects/ endpoint. |
update_clustering_job Update Clustering Job
Update an existing LLM analytics clustering job configuration. Each team can maintain up to 5 clustering jobs for analyzing trace or generation-level data.
| Parameter | Type | Description |
|---|---|---|
analysis_level * | string | The granularity level for clustering analysis: 'trace' for full trace-level clustering or 'generation' for individual generation-level clustering. |
id * | string | The unique identifier (UUID) of the clustering job to update. |
name * | string | A human-readable name for the clustering job, up to 100 characters. |
project_id * | string | The project ID containing this clustering job. Retrieve available project IDs from the /api/projects/ endpoint. |
enabled | boolean | Optional flag to enable or disable this clustering job without deleting it. |
event_filters | Optional filters to apply to events included in the clustering analysis. Specify as a structured filter object. |
update_clustering_job_partial Update Clustering Job
Partially update an LLM analytics clustering job configuration. Allows modification of analysis level, event filters, and enabled status for an existing clustering job within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the clustering job to update. |
project_id * | string | The project ID containing the clustering job. Retrieve available project IDs from the /api/projects/ endpoint. |
analysis_level | string | The granularity level for clustering analysis: either 'trace' for trace-level clustering or 'generation' for generation-level clustering. |
enabled | boolean | Whether the clustering job is active. Set to true to enable the job or false to disable it. |
event_filters | Filters to apply when selecting events for clustering analysis. Specify filter criteria to narrow the dataset used in the clustering job. |
delete_clustering_job Delete Clustering Job
Delete a clustering job configuration. Each team can maintain a maximum of 5 clustering jobs; removing one frees capacity for new configurations.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the clustering job to delete. |
project_id * | string | The project ID that contains the clustering job. Retrieve available project IDs by calling the /api/projects/ endpoint. |
get_llm_analytics_evaluation_config Get LLM Analytics Evaluation Config
Retrieve the LLM analytics evaluation configuration for a specific project, which defines how evaluation metrics and criteria are applied to LLM outputs.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project whose evaluation configuration you want to retrieve. You can obtain this ID by calling the /api/projects/ endpoint. |
generate_llm_evaluation_summary Generate LLM Evaluation Summary
Generate an AI-powered analysis of evaluation results that identifies patterns in passing and failing evaluations and provides actionable recommendations for improving LLM response quality.
| Parameter | Type | Description |
|---|---|---|
evaluation_id * | string | The UUID of the evaluation configuration to analyze and summarize. |
project_id * | string | The unique identifier of the project containing the evaluation. You can retrieve your project ID by calling the /api/projects/ endpoint. |
filter | string | Filter the evaluation results to analyze: 'all' includes all results, 'pass' includes only passing evaluations, 'fail' includes only failing evaluations, and 'na' includes results with no applicable s… |
generation_ids | array | Optional list of specific generation IDs to include in the summary analysis. If provided, the summary will focus only on these generations. Maximum of 250 IDs allowed. |
list_llm_analytics_provider_keys List LLM Analytics Provider Keys
Retrieve a paginated list of LLM analytics provider API keys configured for a specific project. Use this to view all provider credentials and their configurations.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this value from the /api/projects/ endpoint if you don't have it. |
limit | integer | Maximum number of provider keys to return in a single page of results. Omit to use the default page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
get_llm_provider_key Get LLM Provider Key
Retrieve a specific LLM provider key configuration by its unique identifier within a project. This returns the details of a single provider key used for LLM analytics.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the LLM provider key to retrieve. |
project_id * | string | The project ID that contains the provider key. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_llm_provider_key Update LLM Provider Key
Update an LLM provider API key configuration for analytics tracking. Modify the provider type and display name for an existing key credential.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the LLM provider key to update. |
name * | string | A display name for this provider key configuration. Maximum 255 characters. |
project_id * | string | The project ID that owns this LLM provider key. Retrieve available project IDs from the /api/projects/ endpoint. |
provider * | string | The LLM provider type for this key. Must be one of: openai, anthropic, gemini, openrouter, or fireworks. |
update_llm_provider_key_partial Update LLM Provider Key
Partially update an LLM provider API key configuration for a specific project. Allows modification of the provider type or other key attributes without replacing the entire configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the LLM provider key to update. |
project_id * | string | The unique identifier of the project containing the provider key. Retrieve available project IDs from the /api/projects/ endpoint. |
provider | string | The LLM provider type for this key. Must be one of: openai, anthropic, gemini, openrouter, or fireworks. |
delete_llm_provider_key Delete LLM Provider Key
Permanently delete an LLM provider API key from a project. This removes the stored credentials and disables any analytics collection using this key.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the LLM provider key to delete. |
project_id * | string | The unique identifier of the project containing the provider key. Find your project ID by calling the /api/projects/ endpoint. |
list_dependent_configs_for_provider_key List Dependent Configs for Provider Key
Retrieve all evaluations and configurations that depend on a specific LLM provider key, along with alternative keys that can be used as replacements.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the LLM provider key to retrieve dependent configurations for. |
project_id * | string | The unique identifier of the project containing the provider key. You can retrieve your project ID by calling the /api/projects/ endpoint. |
validate_llm_provider_key Validate LLM Provider Key
Validate an LLM provider API key to ensure it is correctly configured and has proper permissions. This operation tests the key's authenticity and functionality with the specified provider.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the LLM provider key to validate. |
name * | string | A descriptive name for the provider key. Maximum length is 255 characters. |
project_id * | string | The unique identifier of the project containing the provider key. Retrieve this ID from the /api/projects/ endpoint if needed. |
provider * | string | The LLM provider associated with the key. Must be one of: openai, anthropic, gemini, openrouter, or fireworks. |
list_review_queue_items List Review Queue Items
Retrieve a paginated list of items in LLM analytics review queues for a specific project, with optional filtering and sorting capabilities.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the review queue items. Obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of items to return in a single page of results. Use with offset for pagination. |
offset | integer | Zero-based index from which to start returning results. Use with limit to paginate through large result sets. |
order_by | string | Sort results by creation or modification timestamp. Use '-created_at' for newest first or 'created_at' for oldest first; similarly for 'updated_at'. |
queue_id | string | Filter results to a specific review queue by its UUID identifier. |
add_trace_to_review_queue Add Trace to Review Queue
Add a trace to an LLM analytics review queue for manual inspection and evaluation. This operation associates a specific trace with a review queue to enable team review workflows.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the review queue. Retrieve this ID from the /api/projects/ endpoint if needed. |
queue_id * | string | The unique identifier (UUID format) of the review queue that will own this trace. |
trace_id * | string | The unique identifier of the trace to add to the review queue. Must be 255 characters or fewer. |
get_review_queue_item Get Review Queue Item
Retrieve a specific LLM analytics review queue item by its unique identifier within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the review queue item to retrieve. |
project_id * | string | The project ID that contains the review queue item. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_review_queue_item Update Review Queue Item
Partially update a review queue item by reassigning it to a different review queue or modifying its metadata. Use this to move pending traces between queues or update queue ownership.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the review queue item to update. |
project_id * | string | The project ID that owns the review queue item. Find your project ID by calling the /api/projects/ endpoint. |
queue_id | string | The UUID of the review queue that should own this pending trace. Omit to keep the current queue assignment. |
delete_llm_analytics_review_queue_item Delete LLM Analytics Review Queue Item
Permanently delete a specific review queue item from LLM analytics. This removes the item and its associated data from the review queue.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the review queue item to delete. |
project_id * | string | The unique identifier of the project containing the review queue item. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_llm_analytics_review_queues List LLM Analytics Review Queues
Retrieve a paginated list of LLM analytics review queues for a specific project. Results can be sorted by name, creation date, or last update time.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this value from the /api/projects/ endpoint if needed. |
limit | integer | Maximum number of review queues to return in a single page of results. |
offset | integer | Zero-based index position to start returning results from, used for pagination. |
order_by | string | Sort the results by queue name (alphabetical), creation timestamp, or last update timestamp. |
create_llm_analytics_review_queue Create LLM Analytics Review Queue
Create a new review queue for LLM analytics within a specified project. Review queues organize and manage items for human review in the LLM analytics pipeline.
| Parameter | Type | Description |
|---|---|---|
name * | string | A human-readable name for the review queue. Must be 255 characters or fewer. |
project_id * | string | The unique identifier of the project where the review queue will be created. You can retrieve your project ID by calling the /api/projects/ endpoint. |
get_review_queue Get Review Queue
Retrieve a specific LLM analytics review queue by its unique identifier within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the review queue to retrieve. |
project_id * | string | The unique identifier of the project containing the review queue. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_review_queue Update Review Queue
Partially update an LLM analytics review queue configuration within a specific project. Use this to modify queue settings, filters, or other properties without replacing the entire queue.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the review queue to update. |
project_id * | string | The unique identifier of the project containing the review queue. You can retrieve your project ID by calling the /api/projects/ endpoint. |
delete_review_queue Delete Review Queue
Permanently delete a specific LLM analytics review queue from a project. This operation removes the queue and all associated data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the review queue to delete. |
project_id * | string | The unique identifier of the project containing the review queue. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_llm_analytics_score_definitions List LLM Analytics Score Definitions
Retrieve a paginated list of LLM analytics score definitions for a project, with optional filtering by scorer kind and sorting capabilities.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this value from the /api/projects/ endpoint if needed. |
kind | string | Filter results to include only score definitions of a specific scorer kind, such as 'categorical' for categorical scorers. |
limit | integer | Maximum number of results to return in a single page of results. |
offset | integer | Zero-based index position to start returning results from, used for pagination. |
order_by | string | Sort results by one of: name, kind, created_at, updated_at, or current_version. |
create_llm_analytics_score_definition Create LLM Analytics Score Definition
Create a new LLM analytics score definition for evaluating model outputs. Score definitions are immutable after creation and define how responses will be scored using categorical, numeric, or boolean metrics.
| Parameter | Type | Description |
|---|---|---|
config * | The initial configuration for the scorer, which defines its behavior and cannot be modified after creation. Configuration structure depends on the selected scorer kind. | |
kind * | string | The type of scoring metric: categorical (discrete categories), numeric (continuous values), or boolean (true/false). This cannot be changed after the score definition is created. |
name * | string | A human-readable name for the scorer, up to 255 characters. This name identifies the score definition in analytics dashboards and reports. |
project_id * | string | The unique identifier of the project where the score definition will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
description | string | An optional human-readable explanation of what this scorer measures and how it should be applied. |
get_llm_analytics_score_definition Get LLM Analytics Score Definition
Retrieve a specific LLM analytics score definition by its unique identifier within a project. Use this to fetch configuration and metadata for a particular scoring metric.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the score definition to retrieve. |
project_id * | string | The project ID that contains the score definition. Find your project ID by calling the /api/projects/ endpoint. |
update_llm_analytics_score_definition Update LLM Analytics Score Definition
Partially update an LLM analytics score definition within a project. Allows modification of scorer metadata such as description while preserving other configuration details.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the score definition to update. |
project_id * | string | The project ID that contains the score definition. Retrieve available project IDs by calling the /api/projects/ endpoint. |
description | string | Updated text description for the scorer, providing context about its purpose or behavior. |
analyze_sentiment_for_llm_outputs Analyze Sentiment for LLM Outputs
Analyze sentiment for one or more LLM outputs within a project. Performs sentiment analysis on the specified outputs at the requested analysis level (defaults to trace-level detail).
| Parameter | Type | Description |
|---|---|---|
ids * | array | Array of output IDs to analyze for sentiment. Must contain between 1 and 5 IDs. Order is preserved in the analysis results. |
project_id * | string | The unique identifier of the project containing the LLM outputs to analyze. Retrieve your project ID from the /api/projects/ endpoint. |
analysis_level | string | Granularity level for sentiment analysis results. Defaults to trace-level analysis if not specified. |
list_trace_reviews List Trace Reviews
Retrieve a paginated list of LLM trace reviews for a project, optionally filtered by scorer definition and sorted by creation or update time.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the trace reviews. Obtain this ID by calling the /api/projects/ endpoint. |
definition_id | string | Filter results to only include trace reviews associated with a specific scorer definition, specified as a UUID. |
limit | integer | Maximum number of results to return in a single page of results. |
offset | integer | Zero-based index position from which to begin returning results, used for pagination. |
order_by | string | Sort results by either creation time or last update time. Use `-updated_at` for newest first or `updated_at` for oldest first; similarly for `created_at`. |
create_trace_review Create Trace Review
Create a review for an LLM trace, recording human feedback, scores, and optional reasoning. Only one active review can exist per trace and team.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the trace. Retrieve this ID from the /api/projects/ endpoint. |
trace_id * | string | The unique identifier of the trace being reviewed. Must be 255 characters or fewer. Only one active review per trace and team is permitted. |
comment | string | Optional human-readable comment or reasoning explaining the review decision. |
queue_id | string | Optional UUID of the review queue this review belongs to. When provided, the corresponding pending queue item is automatically cleared after the review is saved. If omitted, any pending queue item for… |
scores | array | Optional array of score objects for this review. Include only the scorers you want to populate; omit any you wish to leave blank. Order and format depend on your scoring schema. |
get_trace_review Get Trace Review
Retrieve a specific trace review by its unique identifier within a project. Use this to fetch detailed information about a single LLM analytics trace review.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the trace review to retrieve. |
project_id * | string | The unique identifier of the project containing the trace review. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_trace_review Update Trace Review
Partially update a trace review with new scores, comments, or queue context. Clears associated pending queue items upon save.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the trace review to update. |
project_id * | string | The project ID containing the trace review. Retrieve available project IDs from the /api/projects/ endpoint. |
comment | string | Optional human-readable comment or reasoning documenting the review decision. |
queue_id | string | Optional review queue ID (UUID format) to associate this review with a specific queue context. When provided, the matching pending queue item is cleared after the review is saved. If omitted, any pend… |
scores | array | Optional array of score objects representing the complete desired score set for this review. Omit any scorers you want to leave unchanged or blank. Array order and item structure should match the API'… |
delete_trace_review Delete Trace Review
Permanently delete a specific trace review from an LLM analytics project. This operation removes the trace review record and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the trace review to delete. |
project_id * | string | The unique identifier of the project containing the trace review. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_llm_prompts List LLM Prompts
Retrieve a paginated list of LLM prompts for a specific project. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the LLM prompts. Obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of results to return in a single page of results. Omit or set to default for standard pagination. |
offset | integer | Zero-based starting position for results. Use this with limit to paginate through large result sets. |
create_llm_prompt Create LLM Prompt
Create a new LLM prompt in a project. The prompt can be defined as either a JSON object or string data and must have a unique name within the project.
| Parameter | Type | Description |
|---|---|---|
name * | string | A unique name for the prompt using only letters, numbers, hyphens, and underscores. Maximum length is 255 characters. |
project_id * | string | The unique identifier of the project where the prompt will be created. You can retrieve your project ID by calling the /api/projects/ endpoint. |
prompt * | The prompt content provided as either a JSON object or string. This defines the actual prompt template or instructions for the LLM. |
get_llm_prompt_by_name Get LLM Prompt by Name
Retrieve a specific LLM prompt configuration by its name within a project. Use this to fetch prompt details for execution or inspection.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the LLM prompt. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
prompt_name * | string | The name of the LLM prompt to retrieve. The name cannot contain forward slashes and must be a valid prompt identifier within the project. |
archive_llm_prompt_by_name Archive LLM Prompt by Name
Archive an LLM prompt by its name within a specific project. This operation creates an archived version of the prompt, preserving it for historical reference while removing it from active use.
| Parameter | Type | Description |
|---|---|---|
name * | string | The unique identifier for the prompt using only letters, numbers, hyphens, and underscores. Maximum length is 255 characters. |
project_id * | string | The unique identifier of the project containing the prompt. Retrieve this ID by calling the /api/projects/ endpoint. |
prompt * | The prompt content and configuration as a JSON object or string. This payload defines the prompt's behavior and parameters. | |
prompt_name * | string | The name of the prompt to archive. Must not contain forward slashes. |
duplicate_llm_prompt Duplicate LLM Prompt
Creates a duplicate copy of an existing LLM prompt with a new unique name. The duplicated prompt retains all configuration and settings from the original.
| Parameter | Type | Description |
|---|---|---|
new_name * | string | The name for the new duplicated prompt. Must be unique within the project and contain only letters, numbers, hyphens, and underscores. Maximum length is 255 characters. |
project_id * | string | The unique identifier of the project containing the prompt to duplicate. You can retrieve your project ID by calling the /api/projects/ endpoint. |
prompt_name * | string | The name of the existing LLM prompt to duplicate. The name cannot contain forward slashes. |
get_llm_prompt_by_name_resolved Get LLM Prompt by Resolved Name
Retrieve a specific LLM prompt by name within a project, with support for version history pagination. Returns the prompt definition and metadata, optionally filtered to a specific version range.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the LLM prompt. Obtain this ID by calling the projects endpoint. |
prompt_name * | string | The name of the LLM prompt to retrieve. Must not contain forward slashes. |
before_version | integer | Retrieve only prompt versions older than this version number (must be 1 or greater). Cannot be used together with offset for pagination. |
limit | integer | Maximum number of versions to return per page. Accepts values between 1 and 100, defaults to 50 if not specified. |
offset | integer | Zero-based position in the version history for pagination. Cannot be used together with before_version. Useful for iterating through large version histories. |
explain_log_with_ai Explain Log with AI
Generate an AI-powered explanation for a specific log entry to help understand its content and context.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the log entry. Retrieve this ID from the /api/projects/ endpoint if needed. |
timestamp * | string | The timestamp when the log entry was created, formatted as an ISO 8601 date-time string. This enables efficient lookup of the log entry. |
uuid * | string | The unique identifier (UUID) of the log entry you want to explain. |
list_log_views List Log Views
Retrieve a paginated list of log views configured for a specific project. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this value by calling the /api/projects/ endpoint if you don't have it. |
limit | integer | Maximum number of log views to return in a single response page. Omit to use the API's default page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_logs_view Create Logs View
Create a new logs view for a project with optional filtering criteria and pinning. Views allow you to save and organize log queries with custom filters and display preferences.
| Parameter | Type | Description |
|---|---|---|
name * | string | The display name for the logs view. Must be 400 characters or fewer. |
project_id * | string | The unique identifier of the project where the logs view will be created. You can retrieve your project ID by calling the /api/projects/ endpoint. |
filters | object | Optional filter criteria to apply to the logs view. Can include severity levels, service names, search terms, filter groups, date ranges, and other filtering options supported by the logs viewer. |
pinned | boolean | Optional flag to pin this logs view for quick access. When set to true, the view will be highlighted or prioritized in the view list. |
get_log_view Get Log View
Retrieve a specific log view configuration by its short identifier within a project. This returns the details and settings for a saved log view.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the log view. You can retrieve your project ID by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the log view to retrieve. |
update_logs_view Update Logs View
Update an existing logs view configuration for a project, including its name, filter criteria, and pinned status.
| Parameter | Type | Description |
|---|---|---|
name * | string | The display name for the logs view. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project containing the logs view. Retrieve available project IDs by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the logs view to update. |
filters | object | Filter criteria to apply to the logs view. Supports severityLevels, serviceNames, searchTerm, filterGroup, dateRange, and other filter properties to narrow log results. |
pinned | boolean | Whether to pin this logs view for quick access. When true, the view appears in a pinned section for easy reference. |
update_logs_view_partial Update Logs View
Partially update a logs view configuration for a project, allowing you to modify filter criteria and pinned status without replacing the entire view.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the logs view. Retrieve this ID from the /api/projects/ endpoint. |
short_id * | string | The short identifier of the logs view to update. |
filters | object | Filter criteria to apply to the logs view. May include severityLevels, serviceNames, searchTerm, filterGroup, dateRange, and other filter keys to narrow down displayed logs. |
pinned | boolean | Whether to pin this logs view for quick access. Set to true to pin or false to unpin. |
delete_log_view Delete Log View
Permanently delete a log view from a project. This operation removes the specified log view and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the log view. You can retrieve your project ID by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the log view to delete. |
list_user_interviews List User Interviews
Retrieve a paginated list of user interviews for a specific project. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the user interviews. Obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of interview records to return in a single response page. Omit to use the API's default page size. |
offset | integer | Zero-based starting position for results, used in conjunction with limit to paginate through the interview list. |
get_user_interview Get User Interview
Retrieve a specific user interview by its unique identifier within a project. Returns the full details of the requested user interview.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the user interview to retrieve. |
project_id * | string | The unique identifier of the project containing the user interview. Use the /api/projects/ endpoint to discover available project IDs. |
update_user_interview Update User Interview
Update an existing user interview record with new metadata, interviewee information, or audio content. Requires a valid interview ID and project context.
| Parameter | Type | Description |
|---|---|---|
audio * | string | A URI pointing to the audio file or recording of the user interview. |
id * | string | The unique identifier (UUID) of the user interview to update. |
project_id * | string | The project ID that contains this user interview. Find your project ID by calling the /api/projects/ endpoint. |
interviewee_emails | array | Email addresses of the interviewees involved in this interview. Provide as an array of email strings. |
summary | string | A text summary or notes about the user interview content and key findings. |
update_user_interview_partial Partially Update User Interview
Partially update a user interview record, allowing you to modify interviewee emails and summary information for a specific interview within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the user interview to update. |
project_id * | string | The unique identifier of the project containing the user interview. Retrieve available project IDs from the /api/projects/ endpoint. |
interviewee_emails | array | A list of email addresses for the interviewees associated with this interview. Order and format should match standard email address conventions. |
summary | string | A text summary or notes describing the key points, findings, or outcomes from the user interview. |
delete_user_interview Delete User Interview
Permanently delete a user interview from a project. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the user interview to delete. |
project_id * | string | The unique identifier of the project containing the user interview. You can retrieve your project ID by calling the /api/projects/ endpoint. |
get_web_vitals_for_pathname Get Web Vitals for Pathname
Retrieve Core Web Vitals metrics for a specific pathname within a project. Use this to analyze performance data for individual pages or routes.
| Parameter | Type | Description |
|---|---|---|
pathname * | string | The URL pathname to filter web vitals data by (e.g., '/home', '/products/details'). Only metrics for this specific pathname will be returned. |
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the /api/projects/ endpoint. |
list_organizations List Organizations
Retrieve a paginated list of organizations. Use limit and offset parameters to control pagination and navigate through results.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of organizations to return in a single response page. Controls the size of each paginated result set. |
offset | integer | Zero-based index position from which to start returning results. Use with limit to navigate through paginated results. |
create_organization Create Organization
Create a new organization with configurable security, member management, and experiment analysis settings. The organization name is required and will serve as the primary identifier.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the organization. Must be 64 characters or fewer. |
allow_publicly_shared_resources | boolean | Whether resources within this organization can be shared publicly outside the organization. |
default_anonymize_ips | boolean | Whether to automatically discard client IP address data by default for new projects created in this organization. |
default_experiment_stats_method | The default statistical method for analyzing experiment results in new projects. Choose between Bayesian or Frequentist approaches. | |
default_role_id | string | The role ID to automatically assign to new members when they join the organization, establishing their default permissions. |
enforce_2fa | boolean | Whether to require two-factor authentication for all organization members. |
is_ai_data_processing_approved | boolean | Whether the organization has approved AI-based data processing for its projects and experiments. |
is_member_join_email_enabled | boolean | Whether to send email notifications when new members join the organization. |
logo_media_id | string | UUID of a media asset to use as the organization's logo. |
members_can_invite | boolean | Whether organization members are permitted to invite other users to join. |
members_can_use_personal_api_keys | boolean | Whether organization members can create and use personal API keys for authentication. |
get_organization Get Organization
Retrieve detailed information about a specific organization by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the organization, provided as a UUID string. |
update_organization Update Organization
Update an organization's settings, including branding, security policies, member permissions, and default configurations for experiments and projects.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the organization to update. |
name * | string | The organization's display name. Must not exceed 64 characters. |
allow_publicly_shared_resources | boolean | Whether resources can be shared publicly outside the organization. |
default_anonymize_ips | boolean | Whether to discard client IP addresses by default for new projects created in this organization. |
default_experiment_stats_method | The default statistical method (Bayesian or Frequentist) to use for analyzing new experiments created in this organization. | |
default_role_id | string | UUID of the role to automatically assign to new members when they join the organization. |
enforce_2fa | boolean | Whether to require two-factor authentication for all organization members. |
is_ai_data_processing_approved | boolean | Whether the organization has approved AI data processing for analytics and insights. |
is_member_join_email_enabled | boolean | Whether to send email notifications when new members join the organization. |
logo_media_id | string | UUID identifier of the media asset to use as the organization's logo. |
members_can_invite | boolean | Whether organization members can invite other users to join. |
members_can_use_personal_api_keys | boolean | Whether organization members can create and use personal API keys. |
update_organization_partial Partially Update Organization
Partially update organization settings including security policies, member permissions, experiment defaults, and role assignments.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the organization to update. |
allow_publicly_shared_resources | boolean | Allow resources within the organization to be shared publicly outside the organization. |
default_anonymize_ips | boolean | Default setting for whether to discard client IP addresses in data collection for new projects created in this organization. |
default_experiment_stats_method | Default statistical method for analyzing experiment results in new experiments. Choose between Bayesian or Frequentist approaches. | |
default_role_id | string | ID of the default role to automatically assign to new members when they join the organization. |
enforce_2fa | boolean | Require all organization members to use two-factor authentication for account access. |
is_ai_data_processing_approved | boolean | Confirm that the organization approves AI-based data processing for analytics and insights. |
is_member_join_email_enabled | boolean | Enable or disable email notifications when new members join the organization. |
logo_media_id | string | UUID of the media asset to use as the organization's logo. |
members_can_invite | boolean | Allow organization members to invite other users to join. |
members_can_use_personal_api_keys | boolean | Allow organization members to create and use personal API keys for authentication. |
delete_organization Delete Organization
Permanently delete an organization and all associated data. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the organization to delete, provided as a UUID string. |
list_batch_exports List Batch Exports
Retrieve a paginated list of batch export jobs for the specified organization. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization whose batch exports should be retrieved. |
limit | integer | Maximum number of batch export records to return in a single page of results. Controls pagination size. |
offset | integer | Zero-based index position from which to start returning results. Use with limit to paginate through large result sets. |
get_batch_export Get Batch Export
Retrieve a specific batch export by its unique identifier within an organization. Use this to check the status, details, and results of a previously created batch export job.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the batch export to retrieve. |
organization_id * | string | The unique identifier of the organization that owns the batch export. |
update_batch_export Update Batch Export
Update an existing batch export configuration, including its schedule, destination type, data model, and filtering criteria. Changes take effect on the next scheduled run.
update_batch_export_partial Partially Update Batch Export
Partially update a batch export configuration for an organization. Modify export settings such as destination type, schedule, filters, and timing constraints.
delete_batch_export Delete Batch Export
Permanently delete a batch export job from an organization. This operation removes the batch export record and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the batch export to delete, provided as a UUID string. |
organization_id * | string | The organization ID that owns the batch export being deleted. |
pause_batch_export Pause Batch Export
Pause an active batch export job, temporarily halting scheduled data exports without deleting the configuration. The batch export can be resumed later.
create_batch_export_test_run Create Batch Export Test Run
Execute a test run for a batch export configuration to validate the export settings and destination connectivity before scheduling production runs.
unpause_batch_export Unpause Batch Export
Resume a paused batch export job, allowing it to continue running on its configured schedule. The batch export will resume exporting data according to its interval and timezone settings.
create_batch_export_test_run_new Create Batch Export Test Run
Create and test a new batch export configuration for a specified organization. This operation validates the export settings by running a test step before full deployment.
list_domains List Domains
Retrieve a paginated list of all domains associated with a specific organization.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization whose domains should be retrieved. |
limit | integer | Maximum number of domain records to return in a single page of results. Use with offset for pagination. |
offset | integer | Zero-based index position from which to start returning results. Use with limit to paginate through the domain list. |
create_domain Create Domain
Create a new domain for an organization to enable SSO, SCIM provisioning, and identity management. This configures SAML authentication settings and user provisioning policies for the domain.
| Parameter | Type | Description |
|---|---|---|
domain * | string | The domain name to register (e.g., example.com). Maximum 128 characters. |
organization_id * | string | The unique identifier of the organization that will own this domain. |
jit_provisioning_enabled | boolean | Enable just-in-time user provisioning, allowing users to be automatically created on first SSO login. |
saml_acs_url | string | SAML Assertion Consumer Service (ACS) URL where the IdP will send authentication responses. Maximum 512 characters. |
saml_entity_id | string | SAML identity provider entity ID for this domain. Maximum 512 characters. Used to identify the IdP in SAML authentication flows. |
saml_x509_cert | string | SAML X.509 certificate in PEM format from your identity provider. Used to validate signed SAML assertions. |
scim_enabled | boolean | Enable SCIM 2.0 provisioning for automated user and group management from your identity provider. |
sso_enforcement | string | SSO enforcement policy for this domain. Maximum 28 characters. Controls whether SSO is optional or required for users in this domain. |
get_domain Get Domain
Retrieve a specific domain by its ID within an organization. Returns detailed information about the domain configuration and settings.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the domain to retrieve, formatted as a UUID. |
organization_id * | string | The unique identifier of the organization that owns the domain, formatted as a UUID. |
update_domain Update Domain
Update domain configuration settings including SSO enforcement, SAML authentication, and SCIM provisioning for an organization.
| Parameter | Type | Description |
|---|---|---|
domain * | string | The domain name, up to 128 characters. |
id * | string | The unique identifier (UUID) of the domain to update. |
organization_id * | string | The organization that owns this domain. |
jit_provisioning_enabled | boolean | Enable or disable just-in-time user provisioning for this domain. |
saml_acs_url | string | SAML Assertion Consumer Service URL, up to 512 characters. The endpoint where the identity provider sends SAML responses. |
saml_entity_id | string | SAML entity identifier URL, up to 512 characters. Used to identify the service provider in SAML authentication flows. |
saml_x509_cert | string | SAML X.509 certificate in PEM format for validating SAML assertions from the identity provider. |
scim_enabled | boolean | Enable or disable SCIM (System for Cross-domain Identity Management) for automated user provisioning and deprovisioning. |
sso_enforcement | string | SSO enforcement policy for the domain, up to 28 characters (e.g., 'required', 'optional'). |
update_domain_partial Update Domain (Partial)
Partially update domain configuration settings for an organization, including SAML authentication, SSO enforcement, and SCIM provisioning options.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the domain to update. |
organization_id * | string | The unique identifier of the organization that owns this domain. |
domain | string | The domain name. Must not exceed 128 characters. |
jit_provisioning_enabled | boolean | Enable or disable just-in-time user provisioning for this domain. |
saml_acs_url | string | SAML Assertion Consumer Service (ACS) URL endpoint. Must not exceed 512 characters. |
saml_entity_id | string | SAML entity identifier for this domain. Must not exceed 512 characters. |
saml_x509_cert | string | SAML X.509 certificate for validating SAML assertions from the identity provider. |
scim_enabled | boolean | Enable or disable SCIM (System for Cross-domain Identity Management) provisioning for this domain. |
sso_enforcement | string | SSO enforcement policy for the domain. Must not exceed 28 characters. |
delete_domain Delete Domain
Permanently delete a domain from an organization. This operation removes the domain and all associated configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the domain to delete, provided as a UUID string. |
organization_id * | string | The unique identifier of the organization that owns the domain, provided as a UUID string. |
list_organization_integrations List Organization Integrations
Retrieve a paginated list of organization-level integrations (such as Vercel, AWS Marketplace) that are scoped to the entire organization. This is read-only access; creation occurs through integration installation flows and deletion requires support contact due to billing implications.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization whose integrations you want to retrieve. |
limit | integer | Maximum number of integration results to return in a single page of results. |
offset | integer | The zero-based index position from which to start returning results, used for pagination. |
get_organization_integration Get Organization Integration
Retrieve a specific organization-level integration by ID. Returns read-only details about integrations scoped to the entire organization, such as Vercel or AWS Marketplace integrations.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the organization integration to retrieve, formatted as a UUID. |
organization_id * | string | The unique identifier of the organization that owns the integration, formatted as a UUID. |
list_organization_invites List Organization Invites
Retrieve a paginated list of pending invitations for an organization. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization whose invitations you want to retrieve. |
limit | integer | Maximum number of invitation records to return in a single response. Controls page size for pagination. |
offset | integer | Zero-based index position from which to start returning results. Use with limit to paginate through large result sets. |
send_organization_invite Send Organization Invite
Send an invitation to join an organization to a specified email address, with optional role assignment and private project access configuration.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization to which the user is being invited. |
target_email * | string | The email address of the invitee. Must be a valid email format with a maximum length of 254 characters. |
combine_pending_invites | boolean | If true, combines this invitation with any existing pending invitations for the same email address. Defaults to false. |
first_name | string | The first name of the invitee. Maximum length is 30 characters. |
level | integer | The access level or role for the invitee within the organization. Must be a value between 0 and 32767. |
message | string | An optional custom message to include in the invitation sent to the recipient. |
private_project_access | A mapping of team IDs to access levels that grants the invitee access to specific private projects within the organization. |
delete_organization_invite Delete Organization Invite
Revoke or delete a pending organization invite by its UUID. This removes the invitation and prevents the recipient from joining the organization using this invite.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the organization invite to delete. |
organization_id * | string | The unique identifier of the organization that owns the invite. |
list_organization_members List Organization Members
Retrieve a paginated list of members belonging to a specific organization. Use limit and offset parameters to control pagination through the member roster.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization whose members you want to retrieve. |
limit | integer | Maximum number of member records to return in a single response page. Controls pagination size. |
offset | integer | Zero-based index position from which to start returning results. Use with limit to paginate through the member list. |
update_organization_member Update Organization Member
Update a member's access level within an organization. Modifies the permission level for a specific user in the organization.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization containing the member to update. |
user__uuid * | string | The UUID of the user whose membership level should be updated. |
level | integer | The access level to assign to the member, ranging from 0 to 32767 where higher values indicate greater permissions. |
update_organization_member_level Update Organization Member Level
Partially update a member's information within an organization, such as their access level or role permissions.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization containing the member to update. |
user__uuid * | string | The UUID of the user whose membership details should be updated. |
level | integer | The access or permission level for the member, represented as a numeric value between 0 and 32767. |
remove_member_from_organization Remove Member from Organization
Remove a member from an organization by deleting their user account association. This operation permanently revokes the user's access to the organization.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization from which the member will be removed. |
user__uuid * | string | The UUID of the user to be removed from the organization. Must be a valid UUID format. |
list_oauth_applications List OAuth Applications
Retrieve a paginated list of OAuth applications configured for the specified organization. This is a read-only operation that returns all OAuth applications associated with the organization.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization whose OAuth applications you want to retrieve. |
limit | integer | The maximum number of OAuth applications to return in a single page of results. Use this to control pagination size. |
offset | integer | The zero-based index position from which to start returning results. Use this with the limit parameter to paginate through large result sets. |
list_projects_for_organization List Projects for Organization
Retrieve a paginated list of projects belonging to the specified organization.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization whose projects should be retrieved. |
limit | integer | Maximum number of projects to return in a single response page. Use with offset for pagination. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_project Create Project
Create a new project within an organization. Configure analytics, session recording, surveys, and other project-level settings during creation.
get_project Get Project
Retrieve a specific project by ID within the current organization. Returns detailed project information including metadata and configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the project to retrieve. Must be a valid 64-bit integer. |
organization_id * | string | The organization ID that owns the project. Used to scope the project lookup to the correct organization context. |
update_project Update Project
Update configuration settings for a project within an organization, including product details, tracking preferences, session recording, and feature flags.
update_project_settings Update Project Settings
Partially update project configuration settings for the specified organization. Allows modification of product metadata, tracking preferences, session recording, integrations, and UI customization options.
delete_project Delete Project
Permanently delete a project from the organization. This action cannot be undone and will remove all associated project data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the project to delete. Must be a valid 64-bit integer. |
organization_id * | string | The unique identifier of the organization that owns the project. |
list_proxy_records List Proxy Records
Retrieve all reverse proxy configurations for an organization, including details about each proxy record and the maximum number of proxies allowed under the current plan.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization whose proxy records should be retrieved. |
create_proxy_record Create Proxy Record
Create a new managed reverse proxy for a custom domain. After creation, you'll receive a CNAME target to add to your DNS records. The proxy will be automatically verified and provisioned once the DNS configuration is in place.
| Parameter | Type | Description |
|---|---|---|
domain * | string | The custom subdomain to proxy through (e.g., 'e.example.com'). Must be a valid subdomain that you control. |
organization_id * | string | The unique identifier of the organization that will own this proxy record. |
get_proxy_record Get Proxy Record
Retrieve the complete configuration details of a specific reverse proxy record, including its domain, CNAME target, and current provisioning status.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the proxy record to retrieve. |
organization_id * | string | The unique identifier (UUID) of the organization that owns the proxy record. |
delete_proxy_record Delete Proxy Record
Delete a reverse proxy record. For proxies in waiting, erroring, or timed-out status, the record is deleted immediately. For active proxies, a deletion workflow is initiated to safely clean up provisioned infrastructure.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the proxy record to delete. |
organization_id * | string | The unique identifier (UUID) of the organization that owns the proxy record. |
get_role Get Role
Retrieve a specific role within an organization by its unique identifier. Returns the role's details including permissions and metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the role to retrieve. |
organization_id * | string | The unique identifier of the organization that contains the role. |
update_role Update Role
Partially update a role within an organization. Allows modification of specific role properties without requiring all fields to be provided.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the role to update, formatted as a UUID string. |
organization_id * | string | The unique identifier of the organization that contains the role. |
delete_role Delete Role
Permanently delete a role from an organization. This operation removes the specified role and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the role to delete, provided as a UUID string. |
organization_id * | string | The unique identifier of the organization that contains the role, provided as a UUID string. |
list_role_memberships List Role Memberships
Retrieve all members assigned to a specific role within an organization. Returns a paginated list of role memberships for the given role.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization containing the role. |
role_id * | string | The unique identifier (UUID format) of the role whose memberships you want to retrieve. |
limit | integer | Maximum number of results to return per page. Use with offset for pagination. |
offset | integer | The starting position (zero-indexed) from which to return results. Use with limit for pagination. |
add_user_to_role Add User to Role
Adds a user to a role within an organization, granting them the permissions and responsibilities associated with that role.
| Parameter | Type | Description |
|---|---|---|
organization_id * | string | The unique identifier of the organization where the role membership is being created. |
role_id * | string | The unique identifier (UUID format) of the role to which the user is being added. |
user_uuid * | string | The unique identifier (UUID format) of the user to be added to the role. |
get_role_membership Get Role Membership
Retrieve a specific role membership by its unique identifier within an organization and role context.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the role membership to retrieve. |
organization_id * | string | The unique identifier of the organization that contains the role and role membership. |
role_id * | string | The unique identifier (UUID) of the role that contains the role membership. |
remove_role_membership Remove Role Membership
Remove a user or entity from a role within an organization. This operation deletes the specified role membership, effectively revoking the associated role assignment.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the role membership to remove. |
organization_id * | string | The unique identifier of the organization containing the role. |
role_id * | string | The unique identifier (UUID) of the role from which the membership will be removed. |
list_actions List Actions
Retrieve a paginated list of actions for a specific project. Use pagination parameters to control the number of results and navigate through large result sets.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of actions to return in a single response page. Defaults to the API's standard page size if not specified. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_action Create Action
Create a new action in a project that triggers automated workflows based on event matching. Actions can send Slack notifications and execute defined steps when specified conditions are met.
get_action Get Action
Retrieve a specific action by its ID within a project. Use this to fetch detailed information about a single action.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the action to retrieve. |
project_id * | string | The unique identifier of the project containing the action. You can obtain project IDs by calling the projects list endpoint. |
update_action Update Action
Update an action's configuration, including its description, trigger steps, Slack notifications, and pinned status within a project.
update_action_partial Partially Update Action
Partially update an action's configuration, including its description, trigger steps, Slack notifications, and pinned status within a specific project.
list_action_references List Action References
Retrieve all references to a specific action within a project. References indicate where and how the action is being used or linked throughout the project.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the action whose references you want to retrieve. |
project_id * | string | The unique identifier of the project containing the action. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_activity_logs List Activity Logs
Retrieve activity logs for a project, with optional filtering by resource and activity scope. Results are paginated and ordered by most recent first.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
item_id | string | Filter activity logs to only those affecting a specific resource by its ID. Must be at least 1 character long. |
page | integer | The page number for pagination, starting from 1. Use this to navigate through paginated results ordered by most recent activity first. |
page_size | integer | The number of results to return per page. Defaults to 100 if not specified. Maximum allowed is 1000 results per page. |
scopes | array | Filter activity logs by one or more activity scopes using comma-separated valid ActivityScope enum values (e.g., FeatureFlag,Insight). Only logs matching the specified scopes will be returned. |
list_advanced_activity_logs List Advanced Activity Logs
Retrieve a list of advanced activity logs for a specific project, providing detailed records of project activities and events.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project for which to retrieve activity logs. You can obtain the project ID by calling the /api/projects/ endpoint. |
list_alerts List Alerts
Retrieve a paginated list of alerts for a specific project. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of alerts to return in a single response page. Controls pagination size. |
offset | integer | Zero-based starting position for results. Use with limit to paginate through alerts. |
create_alert Create Alert
Create a new alert for an insight that monitors a metric against a threshold and notifies subscribed users when the condition is met.
get_alert Get Alert
Retrieve a specific alert configuration by ID, optionally including historical check results within a specified time window.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the alert configuration to retrieve. |
project_id * | string | The ID of the project containing the alert. Use /api/projects/ to discover available project IDs. |
checks_date_from | string | Optional relative date string marking the start of the check history window (e.g., '-24h', '-7d', '-14d'). Returns checks created after this time. Historical data is retained for a maximum of 14 days. |
checks_date_to | string | Optional relative date string marking the end of the check history window (e.g., '-1h', '-1d'). Defaults to the current time if not specified. |
checks_limit | integer | Optional maximum number of check results to return, applied after date filtering. Defaults to 5 with a maximum of 500. |
update_alert Update Alert
Update an alert configuration for a specific insight, including threshold settings, subscribed users, and evaluation parameters.
update_alert_configuration Update Alert Configuration
Partially update an alert configuration for a specific project. Modify alert settings such as enabled status, notification subscribers, evaluation frequency, and snooze state.
delete_alert Delete Alert
Delete a specific alert configuration from a project. This permanently removes the alert and its associated settings.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the alert configuration to delete, provided as a UUID string. |
project_id * | string | The unique identifier of the project containing the alert. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
simulate_detector_on_insight Simulate Detector on Insight
Test a detector configuration against historical data from an insight without creating any alert records. Useful for validating detector behavior before deployment.
list_annotations List Annotations
Retrieve a paginated list of annotations for a specific project. Annotations are used to mark and document important events or changes in your project's data.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of annotations to return per page. Use this to control pagination size. |
offset | integer | The starting position for results (zero-indexed). Use this with limit to paginate through annotations. |
create_annotation Create Annotation
Create a new annotation to mark important events or insights on your PostHog charts and dashboards. Annotations help you correlate product changes with metrics and share context with your team.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where you want to create the annotation. You can retrieve your project ID by calling the /api/projects/ endpoint. |
dashboard_id | integer | The ID of a dashboard to attach this annotation to. Use this to associate the annotation with an entire dashboard rather than a specific item. |
dashboard_item | integer | The ID of a specific dashboard item (chart or insight) to attach this annotation to. Use this to associate the annotation with a particular visualization. |
date_marker | string | The timestamp when this annotation occurred, formatted as an ISO 8601 datetime string. This positions the annotation on your charts at the correct point in time. |
get_annotation Get Annotation
Retrieve a specific annotation by its ID from a PostHog project. Annotations are used to mark and document important events or changes in your data.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the annotation to retrieve. This is a positive integer assigned by PostHog when the annotation was created. |
project_id * | string | The unique identifier of the PostHog project containing the annotation. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_annotation Update Annotation
Update an existing annotation in a project, including its timestamp and optional dashboard associations. Use this to modify when an annotation occurred or which dashboard it's linked to.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the annotation to update. |
project_id * | string | The unique identifier of the project containing the annotation. Retrieve available project IDs from the /api/projects/ endpoint. |
dashboard_id | integer | The ID of a dashboard to associate this annotation with. |
dashboard_item | integer | The ID of a specific dashboard item (chart or visualization) to associate this annotation with. |
date_marker | string | The date and time when this annotation occurred, formatted as an ISO 8601 timestamp. This positions the annotation on charts and timelines. |
update_annotation_partial Partially Update Annotation
Partially update an annotation in a project. Modify annotation metadata such as the date marker, or reassign it to a different dashboard or dashboard item.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the annotation to update. |
project_id * | string | The unique identifier of the project containing the annotation. Retrieve available project IDs from the /api/projects/ endpoint. |
dashboard_id | integer | The unique identifier of the dashboard to associate this annotation with. |
dashboard_item | integer | The unique identifier of the dashboard item (e.g., chart or graph) to associate this annotation with. |
date_marker | string | The timestamp when this annotation occurred, formatted as an ISO 8601 datetime string. Used to position the annotation on charts. |
get_app_metrics Get App Metrics
Retrieve detailed metrics for a specific app configuration within a project. Use this to fetch performance, usage, or diagnostic data associated with a particular app metrics record.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the app metrics record to retrieve. This is a positive integer that uniquely identifies the metrics configuration within the project. |
project_id * | string | The unique identifier of the project containing the app metrics. Retrieve available project IDs by calling the /api/projects/ endpoint. |
list_app_metrics_historical_exports List App Metrics Historical Exports
Retrieve historical export records for app metrics associated with a specific plugin configuration within a project. Use this to access previously generated metric exports and their metadata.
| Parameter | Type | Description |
|---|---|---|
plugin_config_id * | integer | The unique identifier of the plugin configuration whose historical metric exports you want to retrieve. This ID specifies which plugin's metrics to query. |
project_id * | string | The unique identifier of the project containing the plugin configuration. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
get_historical_export Get Historical Export
Retrieve a specific historical export record for app metrics within a project. This operation fetches details about a previously generated metrics export by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the historical export record to retrieve. |
plugin_config_id * | integer | The plugin configuration ID associated with the app metrics for which the export was generated. |
project_id * | string | The unique identifier of the project containing the app metrics. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_batch_exports_project List Batch Exports
Retrieve a paginated list of batch exports for a specific project. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of batch exports to return in a single page of results. Omit to use the API's default page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
list_backfills_for_batch_export List Backfills for Batch Export
Retrieve all backfills associated with a specific batch export. Backfills allow you to reprocess historical data for a batch export job.
| Parameter | Type | Description |
|---|---|---|
batch_export_id * | string | The unique identifier (UUID) of the batch export that contains the backfills you want to retrieve. |
project_id * | string | The unique identifier of the project containing the batch export. You can retrieve your project ID by calling the /api/projects/ endpoint. |
ordering | string | The field name to sort results by. Specify which backfill attribute should be used to order the returned list. |
create_backfill_for_batch_export Create Backfill for Batch Export
Create a new backfill for a BatchExport to reprocess data over a specified time interval. Specify the data interval boundaries and desired backfill status.
| Parameter | Type | Description |
|---|---|---|
batch_export * | string | The unique identifier (UUID) of the BatchExport this backfill belongs to. Must match the batch_export_id parameter. |
batch_export_id * | string | The unique identifier (UUID) of the BatchExport this backfill belongs to. |
project_id * | string | The unique identifier of the project containing the BatchExport. Retrieve available project IDs from the /api/projects/ endpoint. |
status * | string | The initial status of the backfill. Valid values are: Cancelled, Completed, ContinuedAsNew, Failed, FailedRetryable, Terminated, TimedOut, Running, or Starting. |
team * | integer | The numeric identifier of the team that owns this backfill. |
end_at | string | The end of the data interval to backfill, specified as an ISO 8601 datetime. If omitted, defaults to the current time. |
start_at | string | The start of the data interval to backfill, specified as an ISO 8601 datetime. If omitted, defaults to the beginning of available data. |
get_batch_export_backfill Get Batch Export Backfill
Retrieve a specific backfill record for a batch export. Backfills allow you to re-export historical data for a given batch export configuration.
| Parameter | Type | Description |
|---|---|---|
batch_export_id * | string | The unique identifier (UUID) of the batch export that contains this backfill. |
id * | string | The unique identifier (UUID) of the batch export backfill to retrieve. |
project_id * | string | The unique identifier of the project containing the batch export. You can retrieve your project ID by calling the /api/projects/ endpoint. |
cancel_batch_export_backfill Cancel Batch Export Backfill
Cancel an in-progress batch export backfill for a specific project. This operation terminates the backfill task and updates its status to Cancelled.
| Parameter | Type | Description |
|---|---|---|
batch_export * | string | The unique identifier (UUID) of the batch export this backfill belongs to. |
batch_export_id * | string | The unique identifier (UUID) of the batch export that contains the backfill to cancel. |
id * | string | The unique identifier (UUID) of the batch export backfill to cancel. |
project_id * | string | The unique identifier of the project containing the batch export backfill. |
status * | string | The current status of the backfill. Must be one of: Cancelled, Completed, ContinuedAsNew, Failed, FailedRetryable, Terminated, TimedOut, Running, or Starting. |
team * | integer | The numeric identifier of the team that owns this backfill. |
end_at | string | The end of the data interval for the backfill, specified as an ISO 8601 datetime. Optional; if provided, helps identify the specific backfill period. |
start_at | string | The start of the data interval for the backfill, specified as an ISO 8601 datetime. Optional; if provided, helps identify the specific backfill period. |
list_batch_export_runs List Batch Export Runs
Retrieve all runs associated with a specific batch export job. Use this to monitor the execution history and status of individual runs within a batch export.
| Parameter | Type | Description |
|---|---|---|
batch_export_id * | string | The unique identifier (UUID format) of the batch export job whose runs you want to retrieve. |
project_id * | string | The unique identifier of the project containing the batch export. You can retrieve your project ID by calling the /api/projects/ endpoint. |
ordering | string | The field name to sort results by. Specify which attribute of the runs should be used for ordering the returned list. |
get_batch_export_run Get Batch Export Run
Retrieve details of a specific batch export run within a project. Returns the status, configuration, and results of the identified batch export run.
| Parameter | Type | Description |
|---|---|---|
batch_export_id * | string | The unique identifier (UUID) of the batch export that contains the run you want to retrieve. |
id * | string | The unique identifier (UUID) of the specific batch export run to retrieve. |
project_id * | string | The unique identifier of the project containing the batch export. You can retrieve your project ID by calling the /api/projects/ endpoint. |
cancel_batch_export_run Cancel Batch Export Run
Cancel an active or pending batch export run. The run must belong to the specified batch export and project.
| Parameter | Type | Description |
|---|---|---|
batch_export_id * | string | The unique identifier (UUID) of the batch export that contains the run to cancel. |
data_interval_end * | string | The end timestamp of the data interval for this batch export run, specified in ISO 8601 date-time format. |
id * | string | The unique identifier (UUID) of the batch export run to cancel. |
project_id * | string | The unique identifier of the project containing the batch export. Retrieve project IDs by calling the /api/projects/ endpoint. |
status * | string | The current status of the batch export run. Valid statuses include: Cancelled, Completed, ContinuedAsNew, Failed, FailedRetryable, FailedBilling, Terminated, TimedOut, Running, or Starting. |
retry_batch_export_run Retry Batch Export Run
Retry a failed batch export run by reprocessing the same data interval. This operation uses the same mechanism as backfilling, allowing you to re-execute a single run that previously failed.
| Parameter | Type | Description |
|---|---|---|
batch_export_id * | string | The UUID of the batch export that contains the run to retry. |
data_interval_end * | string | The end timestamp of the data interval to reprocess, specified in ISO 8601 date-time format. |
id * | string | The UUID of the specific batch export run to retry. |
project_id * | string | The UUID of the project containing the batch export. You can retrieve your project ID by calling the /api/projects/ endpoint. |
status * | string | The current status of the batch export run. Must be one of: Cancelled, Completed, ContinuedAsNew, Failed, FailedRetryable, FailedBilling, Terminated, TimedOut, Running, or Starting. |
get_batch_export_project Get Batch Export
Retrieve details of a specific batch export job by its ID within a project. Use this to check the status, configuration, and results of a previously created batch export.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the batch export to retrieve. |
project_id * | string | The unique identifier of the project containing the batch export. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_batch_export_project Update Batch Export
Update an existing batch export configuration for a project. Modify the export destination, schedule, filters, and other settings for continuous data exports.
update_batch_export_project_partial Update Batch Export (Partial)
Partially update a batch export configuration for a project. Modify export destination, schedule, filters, or other settings for an existing batch export job.
delete_batch_export_project Delete Batch Export
Permanently delete a batch export job from a project. This operation removes the batch export record and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the batch export to delete. |
project_id * | string | The unique identifier of the project containing the batch export. You can retrieve your project ID by calling the /api/projects/ endpoint. |
pause_batch_export_project Pause Batch Export
Pause an active BatchExport to temporarily stop scheduled data exports without deleting the configuration. The export can be resumed later.
run_batch_export_test_step Run Batch Export Test Step
Execute a test run of a batch export configuration to validate the export settings and destination connectivity before scheduling production runs.
list_cohorts List Cohorts
Retrieve a paginated list of cohorts for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the cohorts. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of cohorts to return in a single response page. Omit or set to default for standard page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_cohort Create Cohort
Create a new cohort within a project to segment users based on filters, properties, or behavioral criteria. Cohorts can be static, dynamic, or real-time depending on the specified type.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the cohort will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
cohort_type | Optional classification of the cohort type based on filter complexity and update frequency. Choose from: static (fixed membership), person_property (based on user attributes), behavioral (based on use… | |
description | string | Optional text description of the cohort's purpose or definition. Limited to 1000 characters. |
filters | Optional filter criteria to define which users or persons are included in the cohort based on their attributes or behavior. | |
groups | Optional array defining logical groupings of filters that determine cohort membership. Groups are combined using OR logic, while filters within a group use AND logic. | |
query | Optional query object for advanced cohort definition, typically used for complex analytical or behavioral segmentation. |
get_cohort Get Cohort
Retrieve a specific cohort by its ID within a project. Returns detailed information about the cohort including its configuration and metadata.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the cohort to retrieve. This is a positive integer that uniquely identifies the cohort within the project. |
project_id * | string | The unique identifier of the project containing the cohort. You can obtain project IDs by calling the projects list endpoint. |
update_cohort Update Cohort
Update an existing cohort within a project, including its description, filters, grouping logic, and cohort type classification.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the cohort to update. |
project_id * | string | The unique identifier of the project containing the cohort. Retrieve available project IDs from the /api/projects/ endpoint. |
cohort_type | Classification of the cohort based on filter complexity: static (fixed membership), person_property (based on user attributes), behavioral (based on user actions), realtime (dynamically evaluated), or… | |
description | string | A text description of the cohort's purpose or definition. Maximum 1000 characters. |
filters | Filter criteria that determine which users or entities are included in the cohort. | |
groups | Grouping configuration that defines how cohort members are organized or segmented. | |
query | A query expression that defines the cohort membership logic. |
update_cohort_partial Partially Update Cohort
Partially update an existing cohort within a project. Allows modification of cohort properties such as description, filters, groups, query logic, and cohort type classification.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the cohort to update. |
project_id * | string | The unique identifier of the project containing the cohort. Retrieve available project IDs from the /api/projects/ endpoint. |
cohort_type | Classification of the cohort based on filter complexity. Options include: static (fixed membership), person_property (based on user attributes), behavioral (based on user actions), realtime (dynamical… | |
description | string | A text description of the cohort's purpose or definition. Maximum 1000 characters. |
filters | Filter criteria that determine which users or entities are included in the cohort. | |
groups | Grouping configuration that defines how cohort members are organized or segmented. | |
query | Query logic or expression that defines the cohort membership rules. |
get_cohort_activity Get Cohort Activity
Retrieve the activity history and events for a specific cohort within a project. This provides insights into cohort-related actions and changes over time.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the cohort whose activity you want to retrieve. This must be a positive integer. |
project_id * | string | The unique identifier of the project containing the cohort. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
add_persons_to_static_cohort Add Persons to Static Cohort
Add one or more persons to an existing static cohort by their unique identifiers. This operation allows bulk addition of individuals to a cohort for segmentation and analysis purposes.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the cohort to which persons will be added. |
project_id * | string | The unique identifier of the project containing the cohort. Retrieve available project IDs by calling the /api/projects/ endpoint. |
person_ids | array | An array of person UUIDs to add to the cohort. Each UUID must be a valid identifier for an existing person in the project. |
get_cohort_calculation_history Get Cohort Calculation History
Retrieve the calculation history for a specific cohort, including details about past computations and their results.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the cohort whose calculation history you want to retrieve. |
project_id * | string | The unique identifier of the project containing the cohort. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_cohort_persons List Cohort Persons
Retrieve all persons belonging to a specific cohort within a project. Returns a list of individuals who are members of the cohort.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the cohort whose members you want to retrieve. This must be a valid integer ID for a cohort that exists within the specified project. |
project_id * | string | The unique identifier of the project containing the cohort. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
remove_person_from_static_cohort Remove Person from Static Cohort
Remove a person from a static cohort within a project. This operation modifies the cohort membership by excluding the specified individual.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the cohort to modify. This must be a positive integer that corresponds to an existing static cohort in the project. |
project_id * | string | The unique identifier of the project containing the cohort. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_cohorts_activity List Cohorts Activity
Retrieve activity data for cohorts within a specific project. This endpoint provides insights into cohort engagement and interactions.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the cohorts. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_conversation_tickets List Conversation Tickets
Retrieve a paginated list of conversation tickets with associated person data for a specific project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of tickets to return in a single page of results. Use with offset for pagination. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_conversation_ticket Create Conversation Ticket
Create a new support ticket within a project's conversation system. Allows you to initialize tickets with optional metadata including status, priority, resolution state, and SLA tracking.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the ticket will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
ai_resolved | boolean | Boolean flag indicating whether the ticket has been resolved by an AI system. |
anonymous_traits | Anonymous user characteristics or traits associated with the ticket requester. | |
escalation_reason | string | The reason or explanation for escalating the ticket if applicable. |
priority | The priority level assigned to the ticket for triage and routing purposes. | |
sla_due_at | string | The date and time when the ticket's service level agreement (SLA) is due. Must be provided in ISO 8601 date-time format. |
status | string | The initial status of the ticket. Must be one of: new, open, pending, on_hold, or resolved. Defaults to new if not specified. |
tags | array | An array of tags for categorizing and organizing the ticket. Tags help with filtering and searching related tickets. |
get_ticket Get Ticket
Retrieve a single ticket by ID and automatically mark it as read by the team.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the ticket, provided as a UUID string. |
project_id * | string | The unique identifier of the project containing the ticket. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
update_ticket Update Ticket
Update a support ticket's properties including status, priority, assignment, and SLA tracking. Supports marking tickets as AI-resolved and adding escalation context.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the ticket to update. |
project_id * | string | The project ID containing this ticket. Retrieve available project IDs from the /api/projects/ endpoint. |
ai_resolved | boolean | Boolean flag indicating whether the ticket was resolved by an AI system. |
anonymous_traits | Anonymous visitor attributes or traits associated with the ticket. | |
escalation_reason | string | Reason or context for escalating the ticket to higher-tier support. |
priority | The ticket's priority level for triage and response ordering. | |
sla_due_at | string | The deadline for SLA compliance, specified as an ISO 8601 date-time string. |
status | string | The ticket's current workflow status: new (unreviewed), open (in progress), pending (awaiting response), on_hold (blocked), or resolved (completed). |
tags | array | Array of tag strings for categorizing and organizing the ticket. |
update_conversation_ticket Update Conversation Ticket
Partially update a conversation ticket's properties such as status, priority, resolution state, and metadata. Use this to modify ticket details without replacing the entire resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the ticket to update. |
project_id * | string | The unique identifier of the project containing the ticket. Retrieve available project IDs from the /api/projects/ endpoint. |
ai_resolved | boolean | Boolean flag indicating whether the ticket was resolved by an AI system rather than manual intervention. |
anonymous_traits | Custom attributes or traits associated with anonymous users related to this ticket. | |
escalation_reason | string | Reason or context for escalating the ticket to higher-level support or review. |
priority | The ticket's priority level for handling and response urgency. | |
sla_due_at | string | The deadline for resolving the ticket, specified in ISO 8601 date-time format. |
status | string | The ticket's current workflow state: new (unreviewed), open (active), pending (awaiting response), on_hold (paused), or resolved (completed). |
tags | array | Labels or tags for categorizing and organizing the ticket. Provide as an array of tag values. |
delete_conversation_ticket Delete Conversation Ticket
Permanently delete a conversation ticket from a project. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the ticket to delete. |
project_id * | string | The unique identifier of the project containing the ticket. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_dashboard_templates List Dashboard Templates
Retrieve a paginated list of dashboard templates for a specific project, with optional filtering by featured status and sorting capabilities.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this value from the /api/projects/ endpoint if needed. |
is_featured | boolean | Filter templates by their featured status. Omit this parameter to retrieve all templates regardless of featured status. |
limit | integer | Maximum number of templates to return in a single page of results. |
offset | integer | Zero-based index position to start returning results from, used for pagination. |
ordering | string | Sort templates alphabetically by name. Use 'template_name' for ascending (A–Z) or '-template_name' for descending (Z–A) order. This parameter is ignored when using search functionality, which main… |
get_dashboard_template Get Dashboard Template
Retrieve a specific dashboard template by its ID within a project. Returns the complete template configuration for the specified dashboard.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the dashboard template to retrieve. |
project_id * | string | The unique identifier of the project containing the dashboard template. Use the /api/projects/ endpoint to discover available project IDs. |
update_dashboard_template Update Dashboard Template
Update an existing dashboard template within a project. Modify the template's name, description, layout, filters, variables, and visibility settings.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the dashboard template to update. |
project_id * | string | The unique identifier of the project containing the dashboard template. Retrieve available project IDs from the /api/projects/ endpoint. |
availability_contexts | array | Contexts or environments where this template is available. Provided as an array of context identifiers. |
dashboard_description | string | A description of the dashboard template's purpose and contents. Maximum 400 characters. |
dashboard_filters | Filter configurations applied to the dashboard. Defines which data is displayed and how it can be filtered by users. | |
image_url | string | URL to a preview or thumbnail image representing the dashboard template. Maximum 8201 characters. |
is_featured | boolean | Whether this template is manually curated and highlighted in the UI. Set to true to feature the template prominently. |
tags | array | Labels or keywords for organizing and categorizing the dashboard template. Provided as an array of tag values. |
template_name | string | The display name for the dashboard template. Maximum 400 characters. |
tiles | The dashboard layout and visualization components. Defines the tiles, charts, and widgets displayed on the dashboard. | |
variables | Template variables that can be parameterized for dynamic dashboard behavior. Allows users to customize dashboard content at runtime. |
update_dashboard_template_partial Update Dashboard Template
Partially update a dashboard template within a project. Allows modification of template metadata, layout, filters, variables, and visibility settings.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the dashboard template to update. |
project_id * | string | The unique identifier of the project containing the dashboard template. Retrieve available project IDs from the /api/projects/ endpoint. |
availability_contexts | array | An array of availability contexts specifying where and to whom this template is accessible. |
dashboard_description | string | A description of the dashboard template's purpose and contents. Maximum 400 characters. |
dashboard_filters | Filter configuration for the dashboard, defining which data is displayed and how it can be filtered by users. | |
image_url | string | A URL pointing to a preview or thumbnail image of the dashboard template. Maximum 8201 characters. |
is_featured | boolean | A boolean flag indicating whether this template is manually curated and should be highlighted in the UI. |
tags | array | An array of tags for categorizing and organizing the dashboard template. |
template_name | string | The display name for the dashboard template. Maximum 400 characters. |
tiles | An array of dashboard tiles defining the layout and visualization components displayed in the template. | |
variables | An object defining template variables that can be customized when instantiating or using the dashboard. |
soft_delete_dashboard_template Soft Delete Dashboard Template
Mark a dashboard template as deleted without permanently removing it. Use a PATCH request to set the 'deleted' field to true instead of this endpoint, as hard deletion is not permitted.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the dashboard template to delete. |
project_id * | string | The unique identifier of the project containing the dashboard template. Retrieve available project IDs by calling /api/projects/. |
list_dashboards List Dashboards
Retrieve a paginated list of dashboards for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the dashboards. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of dashboard results to return in a single page. Omit or adjust to control result set size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_dashboard Create Dashboard
Create a new dashboard within a project to visualize and organize data with customizable layouts, filters, and styling.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the dashboard will be created. Retrieve project IDs by calling the /api/projects/ endpoint. |
breakdown_colors | Optional custom color mapping that defines how breakdown values are visually represented in charts and visualizations. | |
data_color_theme_id | integer | Optional identifier of a predefined color theme to apply to all chart visualizations on the dashboard. |
description | string | Optional text description of the dashboard's purpose or contents. |
pinned | boolean | Optional flag to pin the dashboard for quick access in the project's dashboard list. |
quick_filter_ids | array | Optional list of quick filter IDs to attach to the dashboard, enabling users to quickly filter data across visualizations. |
restriction_level | integer | Optional access restriction level for the dashboard, ranging from 0 (least restrictive) to 32767 (most restrictive). |
tags | array | Optional list of tags for organizing and categorizing the dashboard. |
list_dashboard_collaborators_project List Dashboard Collaborators
Retrieve the list of collaborators who have access to a specific dashboard within a project. This shows all users with whom the dashboard is shared and their access permissions.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | integer | The unique identifier of the dashboard whose collaborators you want to list. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
add_collaborator_to_dashboard_project Add Collaborator to Dashboard
Grant a user access to a specific dashboard within a project by adding them as a collaborator with a specified permission level.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | integer | The unique identifier of the dashboard to which the collaborator will be added. |
level * | integer | The permission level to grant the collaborator, represented as an integer between 0 and 32767 (inclusive). Higher values typically indicate greater permissions. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve project IDs by calling /api/projects/. |
user_uuid * | string | The UUID of the user to add as a collaborator to the dashboard. |
remove_dashboard_collaborator_project Remove Dashboard Collaborator
Remove a collaborator from a dashboard by their user UUID. This revokes the specified user's access to the dashboard within the project.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | integer | The unique identifier of the dashboard from which to remove the collaborator. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve project IDs by calling /api/projects/. |
user__uuid * | string | The UUID of the user to remove as a collaborator from the dashboard. Must be a valid UUID format. |
list_dashboard_sharing List Dashboard Sharing
Retrieve the list of users and teams with whom a dashboard has been shared, including their access permissions and sharing details.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | integer | The unique identifier of the dashboard whose sharing settings you want to retrieve. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
create_dashboard_sharing_password Create Dashboard Sharing Password
Create a new password for dashboard sharing configuration. This enables password-protected access to shared dashboards with customizable security settings.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | integer | The unique identifier of the dashboard for which to create a sharing password. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
enabled | boolean | Whether the password protection is enabled for this sharing configuration. |
password_required | boolean | Whether a password is required for users to access the shared dashboard. |
settings | Additional security or access control settings for the password-protected sharing configuration. |
delete_dashboard_sharing_password Delete Dashboard Sharing Password
Remove a specific password from a dashboard's sharing configuration, preventing further access via that credential.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | integer | The unique identifier of the dashboard from which the sharing password will be removed. |
password_id * | string | The unique identifier of the password credential to delete from the dashboard's sharing configuration. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve your project ID by calling the /api/projects/ endpoint. |
refresh_dashboard_sharing Refresh Dashboard Sharing
Refresh and update the sharing configuration for a dashboard, allowing you to enable/disable sharing, modify sharing settings, and manage password protection.
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | integer | The unique identifier of the dashboard whose sharing settings you want to refresh. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve project IDs by calling the /api/projects/ endpoint. |
enabled | boolean | Whether sharing is enabled for this dashboard. When true, the dashboard can be shared with others according to the configured settings. |
password_required | boolean | Whether a password is required for accessing the shared dashboard. When enabled, viewers must provide a password to view the dashboard. |
settings | Configuration object containing advanced sharing options and preferences for how the dashboard is shared. |
get_dashboard Get Dashboard
Retrieve a specific dashboard by its ID within a project. Returns the dashboard configuration and metadata.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the dashboard to retrieve. |
project_id * | string | The unique identifier of the project containing the dashboard. Use the /api/projects/ endpoint to discover available project IDs. |
update_dashboard Update Dashboard
Update an existing dashboard's configuration, including its description, visual settings, filters, and access restrictions within a specific project.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the dashboard to update. |
project_id * | string | The unique identifier of the project containing the dashboard. Retrieve available project IDs from the /api/projects/ endpoint. |
breakdown_colors | A mapping of custom colors to breakdown values for chart visualizations. | |
data_color_theme_id | integer | The identifier of the color theme applied to all chart visualizations on this dashboard. |
description | string | A text description of the dashboard's purpose or content. |
pinned | boolean | Whether the dashboard is pinned for quick access. |
quick_filter_ids | array | An ordered list of quick filter identifiers to associate with this dashboard for filtering data. |
restriction_level | integer | Access restriction level for the dashboard, ranging from 0 (least restrictive) to 32767 (most restrictive). |
tags | array | Labels or tags for organizing and categorizing the dashboard. |
update_dashboard_partial Update Dashboard
Partially update a dashboard's configuration, including its metadata, visual styling, filters, and access restrictions. Only the fields provided in the request will be modified.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the dashboard to update. |
project_id * | string | The unique identifier of the project containing the dashboard. Retrieve available project IDs from the /api/projects/ endpoint. |
breakdown_colors | A mapping of breakdown dimension values to custom colors for consistent visualization across charts. | |
data_color_theme_id | integer | The ID of the color theme applied to all chart visualizations on this dashboard. |
description | string | A text description of the dashboard's purpose or contents. |
pinned | boolean | Whether the dashboard is pinned for quick access in the project. |
quick_filter_ids | array | An ordered list of quick filter IDs to associate with this dashboard, enabling users to quickly filter dashboard data. |
restriction_level | integer | Access control level for the dashboard, ranging from 0 (most restrictive) to 32767 (least restrictive). |
tags | array | Labels or keywords for organizing and categorizing the dashboard. Provided as an array of tag values. |
soft_delete_dashboard Soft Delete Dashboard
Soft-delete a dashboard by marking it as deleted. Sends PATCH with {deleted: true} body — the underlying DELETE endpoint is not supported by the API.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the dashboard to be soft deleted. |
project_id * | string | The unique identifier of the project containing the dashboard. Retrieve available project IDs by calling the /api/projects/ endpoint. |
copy_tile_to_dashboard Copy Tile to Dashboard
Copy a dashboard tile (insight or text card) from one dashboard to another, creating a new tile row in the destination dashboard.
| Parameter | Type | Description |
|---|---|---|
fromDashboardId * | integer | The dashboard ID where the tile currently exists and will be copied from. |
id * | integer | The unique identifier of the destination dashboard where the tile will be copied to. |
project_id * | string | The project ID containing both the source and destination dashboards. Find your project ID by calling /api/projects/. |
tileId * | integer | The unique identifier of the specific tile to copy from the source dashboard. |
generate_dashboard_metadata Generate Dashboard Metadata
Generate AI-suggested name and description for a dashboard by analyzing its tiles. This operation uses the dashboard's content to automatically create meaningful metadata.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the dashboard for which to generate metadata. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
reorder_dashboard_tiles Reorder Dashboard Tiles
Reorder the tiles displayed on a dashboard by specifying their desired sequence. Tiles are arranged top to bottom, left to right based on the provided order.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the dashboard to reorder. This is a positive integer that uniquely identifies the dashboard within the project. |
project_id * | string | The unique identifier of the project containing the dashboard. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
tile_order * | array | An ordered array of tile IDs representing the desired display sequence from top to bottom, left to right. Must contain at least one tile ID. The order in this array determines how tiles appear on the… |
list_data_color_themes List Data Color Themes
Retrieve a paginated list of data color themes available for a specific project. Use pagination parameters to control the number of results and starting position.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of color themes to return in a single response page. Omit to use the default page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_data_color_theme Create Data Color Theme
Create a new data color theme for a project. Color themes define custom color palettes used for data visualization within the project.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the color theme. Must be 100 characters or fewer. |
project_id * | string | The unique identifier of the project where the color theme will be created. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
colors | An optional collection of colors that define the theme's palette. Specify the color values and their order as needed for your visualization requirements. |
get_data_color_theme Get Data Color Theme
Retrieve a specific data color theme configuration for a project. Use this to fetch styling and color palette details for a particular theme within your project.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the data color theme to retrieve. This is a positive integer that uniquely identifies the theme within the project. |
project_id * | string | The unique identifier of the project containing the data color theme. You can obtain project IDs by calling the /api/projects/ endpoint. |
update_data_color_theme Update Data Color Theme
Partially update a data color theme configuration for a specific project. Allows modification of color settings without replacing the entire theme.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the data color theme to update. Must be a positive integer. |
project_id * | string | The unique identifier of the project containing the data color theme. Retrieve available project IDs from the /api/projects/ endpoint. |
colors | Color configuration settings for the theme. Accepts a structured object defining color values and their assignments. |
delete_data_color_theme Delete Data Color Theme
Permanently delete a data color theme from a project. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the data color theme to delete. This is a positive integer value. |
project_id * | string | The unique identifier of the project containing the data color theme. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_dataset_items List Dataset Items
Retrieve a paginated list of dataset items for a specific project, with optional filtering by dataset ID.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the dataset items. Obtain this ID by calling the /api/projects/ endpoint. |
dataset | string | Filter results to include only items from a specific dataset by providing its unique identifier. |
limit | integer | Maximum number of results to return in a single page of results. |
offset | integer | Zero-based index position from which to start returning results, used for pagination. |
create_dataset_item Create Dataset Item
Create a new item in a dataset within a project. Items can include input data, expected output, and associated metadata for training or evaluation purposes.
| Parameter | Type | Description |
|---|---|---|
dataset * | string | The unique identifier (UUID format) of the dataset where the item will be created. |
project_id * | string | The unique identifier of the project containing the dataset. Retrieve available project IDs by calling the /api/projects/ endpoint. |
input | The input data for the dataset item. Structure and format depend on your dataset's schema. | |
metadata | Additional metadata associated with the dataset item, such as tags, annotations, or custom properties. | |
output | The expected output or ground truth for the dataset item. Structure and format depend on your dataset's schema. |
get_dataset_item Get Dataset Item
Retrieve a specific dataset item by its unique identifier within a project. Returns the full details of the dataset item including its metadata and content.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the dataset item to retrieve. |
project_id * | string | The unique identifier of the project containing the dataset item. You can obtain the project ID by calling the list projects endpoint. |
update_dataset_item Update Dataset Item
Update a specific dataset item within a project, allowing modification of its input data, output data, and associated metadata.
| Parameter | Type | Description |
|---|---|---|
dataset * | string | The unique identifier (UUID) of the dataset that contains this item. |
id * | string | The unique identifier (UUID) of the dataset item to update. |
project_id * | string | The unique identifier of the project containing the dataset item. Retrieve available project IDs by calling the /api/projects/ endpoint. |
input | The input data for the dataset item. Structure and format depend on your dataset schema. | |
metadata | Additional metadata associated with the dataset item, such as tags, labels, or custom properties. | |
output | The output data for the dataset item. Structure and format depend on your dataset schema. |
update_dataset_item_partial Update Dataset Item
Partially update a dataset item within a project. Allows modification of the dataset association, input data, output data, and metadata fields.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the dataset item to update. |
project_id * | string | The unique identifier of the project containing the dataset item. Retrieve available project IDs from the /api/projects/ endpoint. |
dataset | string | Optional UUID of the dataset to associate with this item. |
input | Optional input data for the dataset item. Structure depends on your dataset schema. | |
metadata | Optional metadata object for storing additional information about the dataset item. | |
output | Optional output data for the dataset item. Structure depends on your dataset schema. |
list_datasets List Datasets
Retrieve a paginated list of datasets within a specific project. Use filtering, sorting, and pagination parameters to customize the results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the datasets. Obtain this ID by calling the projects list endpoint. |
id__in | array | Filter results to include only datasets with IDs matching the provided list. Specify multiple IDs as a comma-separated array. |
limit | integer | Maximum number of datasets to return in a single response page. Use with offset for pagination. |
offset | integer | Zero-based index position to start returning results from. Use with limit to paginate through large result sets. |
order_by | array | Sort results by creation or modification timestamp. Prefix with hyphen (e.g., `-created_at`) for descending order. Specify as a comma-separated array for multiple sort criteria. |
create_dataset Create Dataset
Create a new dataset within a specified project. Datasets serve as containers for organizing and managing data collections.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the dataset. Must be 400 characters or fewer. |
project_id * | string | The unique identifier of the project where the dataset will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
description | string | An optional description providing additional context or details about the dataset's purpose and contents. |
metadata | Optional metadata object for storing additional structured information or custom attributes associated with the dataset. |
get_dataset Get Dataset
Retrieve a specific dataset by its ID within a project. Returns the dataset's metadata and configuration details.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the dataset to retrieve. |
project_id * | string | The unique identifier of the project containing the dataset. Use the /api/projects/ endpoint to discover available project IDs. |
update_dataset Update Dataset
Update an existing dataset within a project, including its name, description, and custom metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the dataset to update. |
name * | string | The name of the dataset. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project containing the dataset. Retrieve available project IDs by calling the /api/projects/ endpoint. |
description | string | An optional description providing additional context or details about the dataset. |
metadata | Optional custom metadata object for storing additional structured information about the dataset. |
update_dataset_partial Partially Update Dataset
Partially update a dataset within a project by modifying its description and/or metadata. Only the fields provided in the request will be updated.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the dataset to update. |
project_id * | string | The unique identifier of the project containing the dataset. Retrieve available project IDs by calling the /api/projects/ endpoint. |
description | string | A text description of the dataset. Optional field that can be updated independently of other dataset properties. |
metadata | Custom metadata associated with the dataset. Structure and content are flexible and depend on your use case. Optional field that can be updated independently of other dataset properties. |
list_early_access_features List Early Access Features
Retrieve a paginated list of early access features available for a specific project. Use pagination parameters to control the number of results and starting position.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain this ID by calling the /api/projects/ endpoint to list available projects. |
limit | integer | Maximum number of results to return in a single page of the response. Omit to use the API's default page size. |
offset | integer | Zero-based index position from which to start returning results, used for pagination alongside the limit parameter. |
create_early_access_feature Create Early Access Feature
Create a new early access feature for a project to manage feature rollout across different lifecycle stages. The feature can be toggled through opt-in UI and progressed from draft through general availability.
| Parameter | Type | Description |
|---|---|---|
name * | string | The display name of the early access feature, up to 200 characters. This is shown to users in the opt-in interface. |
project_id * | string | The unique identifier of the project where the early access feature will be created. Retrieve available project IDs from the /api/projects/ endpoint. |
stage * | string | The lifecycle stage of the feature, which determines availability to opted-in users. Choose from: draft (development), concept (planning), alpha (early testing), beta (wider testing), general-availabi… |
description | string | An optional longer description explaining what the feature does and its benefits, displayed to users in the opt-in UI. |
documentation_url | string | An optional URI pointing to external documentation for this feature, up to 800 characters. This link is displayed to users in the opt-in UI. |
payload | Optional arbitrary JSON metadata to associate with this feature for custom tracking, configuration, or integration purposes. |
get_early_access_feature Get Early Access Feature
Retrieve details of a specific early access feature within a project. Use this to fetch configuration, status, and metadata for a feature identified by its UUID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the early access feature to retrieve. |
project_id * | string | The unique identifier of the project containing the early access feature. You can obtain project IDs by calling the list projects endpoint. |
update_early_access_feature Update Early Access Feature
Update an early access feature's metadata, including its name, description, lifecycle stage, and documentation URL. Transitioning to an active stage (alpha, beta, or general-availability) enables the feature flag for opted-in users.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the early access feature to update. |
name * | string | The name of the early access feature, up to 200 characters. |
project_id * | string | The ID of the project containing this early access feature. Retrieve available project IDs from the /api/projects/ endpoint. |
stage * | string | The lifecycle stage of the feature. Valid stages are: draft, concept, alpha, beta, general-availability, or archived. Moving to an active stage (alpha, beta, or general-availability) enables the featu… |
description | string | A longer description explaining what this early access feature does, displayed to users in the opt-in UI. |
documentation_url | string | A URL pointing to external documentation for this feature, shown to users in the opt-in UI. Must be a valid URI, up to 800 characters. |
update_early_access_feature_partial Update Early Access Feature
Partially update an early access feature's metadata, including its description, lifecycle stage, and documentation URL. Use this to manage feature visibility and progression through development stages.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the early access feature to update. |
project_id * | string | The unique identifier of the project containing this feature. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | A detailed description of the feature's functionality, displayed to users in the opt-in interface. |
documentation_url | string | A URI pointing to external documentation for this feature, displayed in the opt-in UI. Must be a valid URL with a maximum length of 800 characters. |
stage | string | The feature's lifecycle stage, which controls availability to opted-in users. Valid stages are: draft (work in progress), concept (early planning), alpha (initial testing), beta (broader testing), gen… |
delete_early_access_feature Delete Early Access Feature
Permanently delete an early access feature from a project. This operation removes the feature and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the early access feature to delete. |
project_id * | string | The unique identifier of the project containing the early access feature. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_elements List Elements
Retrieve a paginated list of elements within a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the elements. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of elements to return in a single response page. Omit or set to default for standard page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_element Create Element
Create a new DOM element within a project. This operation allows you to define page elements with CSS selectors, attributes, and structural positioning for web automation or testing purposes.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the element will be created. Retrieve available project IDs by calling the projects list endpoint. |
attr_class | array | An array of CSS class names to assign to the element. Order may be significant for styling precedence. |
attr_id | string | The id attribute value for the element, up to 10,000 characters. Must be unique within the project. |
attributes | A flexible object containing additional HTML attributes and their values for the element. | |
href | string | The href attribute value for link elements, up to 10,000 characters. |
nth_child | integer | The position of the element among its siblings (nth-child selector). Use negative values or zero for special positioning logic. |
nth_of_type | integer | The position of the element among siblings of the same type (nth-of-type selector). Use negative values or zero for special positioning logic. |
order | integer | The display order or z-index priority of the element within the project's element hierarchy. |
tag_name | string | The HTML tag name of the element (e.g., 'div', 'button', 'span'), up to 1,000 characters. |
text | string | The text content of the element, up to 10,000 characters. |
get_element Get Element
Retrieve a specific element from a project by its unique identifier. Use this to fetch detailed information about an individual element within your project.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the element to retrieve. |
project_id * | string | The unique identifier of the project containing the element. You can obtain project IDs by calling the projects list endpoint. |
update_element Update Element
Update an element within a project, modifying its HTML properties, attributes, text content, and positioning. Use this to change element metadata, styling classes, links, identifiers, and DOM hierarchy information.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the element to update. |
project_id * | string | The project ID containing the element. Retrieve available project IDs from the /api/projects/ endpoint. |
attr_class | array | An array of CSS class names to apply to the element. Order may be significant for styling precedence. |
attr_id | string | The id attribute value for the element. Maximum 10,000 characters. |
attributes | Additional custom HTML attributes as key-value pairs. Format and structure depend on the attribute types being set. | |
href | string | The href attribute value for link elements. Maximum 10,000 characters. |
nth_child | integer | The nth-child position of the element among its siblings. Accepts any 32-bit integer value. |
nth_of_type | integer | The nth-of-type position of the element among siblings of the same tag type. Accepts any 32-bit integer value. |
order | integer | The display order or z-index of the element. Accepts any 32-bit integer value. |
tag_name | string | The HTML tag name of the element (e.g., 'div', 'span', 'button'). Maximum 1,000 characters. |
text | string | The text content of the element. Maximum 10,000 characters. |
update_element_partial Update Element
Partially update an element within a project by modifying its properties such as text content, HTML tag, attributes, and positioning. Only the fields provided will be updated.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the element to update. |
project_id * | string | The unique identifier of the project containing the element. Retrieve available project IDs from the /api/projects/ endpoint. |
attr_class | array | An array of CSS class names to assign to the element. |
attr_id | string | The HTML id attribute value for the element, up to 10,000 characters. |
attributes | A collection of custom HTML attributes to apply to the element. | |
href | string | The href URL for link elements, up to 10,000 characters. |
nth_child | integer | The nth-child position of the element among its siblings (integer value). |
nth_of_type | integer | The nth-of-type position of the element among siblings of the same tag type (integer value). |
order | integer | The display order or sequence position of the element (integer value). |
tag_name | string | The HTML tag name for this element, up to 1,000 characters (e.g., 'div', 'span', 'p'). |
text | string | The text content of the element, up to 10,000 characters. |
delete_element Delete Element
Permanently delete a specific element from a project. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the element to delete. |
project_id * | string | The unique identifier of the project containing the element. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
get_element_stats Get Element Stats
Retrieve statistics for elements in a project, supporting multiple element types including autocapture, rage clicks, and dead clicks. By default returns only autocapture elements unless specific types are requested via query parameters.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project for which to retrieve element statistics. You can obtain this ID by calling the /api/projects/ endpoint. |
list_element_values List Element Values
Retrieve all element values for a specific project. This operation returns the values associated with elements within the project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain the project ID by calling the /api/projects/ endpoint to list available projects. |
list_endpoints List Endpoints
Retrieve all endpoints configured for a specific project. Use pagination parameters to control result size and offset.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
is_active | boolean | Filter endpoints by their active status. When true, returns only active endpoints; when false, returns only inactive endpoints. Omit to retrieve all endpoints regardless of status. |
limit | integer | Maximum number of endpoints to return in a single response. Use with offset for pagination. |
offset | integer | Zero-based index position to start returning results from. Use with limit to paginate through large result sets. |
get_endpoint Get Endpoint
Retrieve a specific endpoint configuration by name, optionally specifying a particular version. Use the version query parameter to access historical versions of the endpoint.
| Parameter | Type | Description |
|---|---|---|
name * | string | The URL-safe identifier for the endpoint. This name must match the endpoint's registered name in the project. |
project_id * | string | The unique identifier of the project containing the endpoint. Retrieve available project IDs by calling the projects list endpoint. |
update_endpoint Update Endpoint
Update an existing API endpoint configuration. All parameters are optional; pass version in the request body or as a query parameter to target a specific version for updates.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project ID containing the endpoint. Retrieve available project IDs by calling the /api/projects/ endpoint. |
bucket_overrides | object | Column-specific bucket configuration overrides for range variable materialization. Keys are column names; values are bucket identifiers. |
cache_age_seconds | number | Cache time-to-live in seconds. Must be between 60 and 86400 seconds (1 minute to 24 hours). |
derived_from_insight | string | Short ID of the insight from which this endpoint was derived, if applicable. |
description | string | Human-readable description explaining what data or results this endpoint returns. |
is_active | boolean | Whether this endpoint is currently available for execution via the API. |
is_materialized | boolean | Whether query results are persisted to S3 for materialized views. |
name | string | New URL-safe name for the endpoint. Must start with a letter, contain only letters, numbers, hyphens, and underscores, and not exceed 128 characters. |
query | HogQL or insight query that this endpoint executes. Modifying this query automatically creates a new endpoint version. | |
sync_frequency | string | Refresh frequency for materialized query results (e.g., 'every_hour', 'every_day'). |
update_endpoint_partial Update Endpoint
Partially update an endpoint configuration within a project. Use this to modify specific endpoint properties without replacing the entire resource.
| Parameter | Type | Description |
|---|---|---|
name * | string | The URL-safe identifier for the endpoint being updated. Must be a valid endpoint name within the specified project. |
project_id * | string | The unique identifier of the project containing the endpoint. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
delete_endpoint Delete Endpoint
Delete an endpoint and clean up its associated materialized query. This operation permanently removes the endpoint configuration from the project.
| Parameter | Type | Description |
|---|---|---|
name * | string | The URL-safe name identifier for the endpoint to delete. Must match the exact name of an existing endpoint in the project. |
project_id * | string | The unique identifier of the project containing the endpoint. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
preview_endpoint_materialization Preview Endpoint Materialization
Preview how an endpoint's query will be transformed after materialization, including automatic range pair detection and bucket function application. Use this to validate materialization behavior before deployment.
| Parameter | Type | Description |
|---|---|---|
name * | string | The URL-safe identifier for the endpoint whose materialization transform you want to preview. |
project_id * | string | The unique identifier of the project containing the endpoint. Retrieve available project IDs by calling the list projects endpoint. |
bucket_overrides | object | Optional per-column overrides for bucket functions, specified as a mapping of column names to bucket function names (e.g., {"timestamp": "hour"}). Overrides the default bucketing strategy for specifie… |
get_endpoint_materialization_status Get Endpoint Materialization Status
Retrieve the materialization status for a specific endpoint within a project. Optionally specify a version number using the ?version=N query parameter to check status for a particular endpoint version.
| Parameter | Type | Description |
|---|---|---|
name * | string | The URL-safe name identifier for the endpoint whose materialization status you want to retrieve. |
project_id * | string | The unique identifier of the project containing the endpoint. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
run_endpoint Run Endpoint
Execute an endpoint and retrieve its results, optionally materializing the output. Runs the latest version of the endpoint unless a specific version is provided.
| Parameter | Type | Description |
|---|---|---|
name * | string | The URL-safe name identifier for the endpoint to execute. |
project_id * | string | The unique identifier of the project containing the endpoint. Retrieve available project IDs by calling the list projects endpoint. |
run_endpoint_materialized Run Endpoint Materialized
Execute an endpoint with optional materialization and filtering. Automatically runs the latest version unless a specific version is provided via variables.
list_endpoint_versions List Endpoint Versions
Retrieve all versions for a specific endpoint within a project. Use optional filters to narrow results by active status and pagination parameters.
| Parameter | Type | Description |
|---|---|---|
name * | string | The URL-safe identifier for the endpoint whose versions you want to list. |
project_id * | string | The unique identifier of the project containing the endpoint. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
is_active | boolean | Filter results to show only active versions when set to true, or only inactive versions when set to false. Omit to retrieve all versions regardless of status. |
limit | integer | Maximum number of results to return in a single page of results. Use with offset for pagination. |
offset | integer | The starting position for results, allowing you to paginate through large result sets. Use with limit to control pagination. |
list_error_tracking_releases_project List Error Tracking Releases
Retrieve a paginated list of error tracking releases for a specific project. Use pagination parameters to control the number of results and starting position.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of releases to return in a single response page. Controls pagination size. |
offset | integer | Zero-based starting position for results. Use with limit to paginate through releases. |
create_error_tracking_release_project Create Error Tracking Release
Create a new release entry in error tracking for a project. This registers a release version with associated metadata to track errors across different versions.
| Parameter | Type | Description |
|---|---|---|
hash_id * | string | A unique hash identifier for the release, used to distinguish this release from others in the error tracking system. |
project * | string | The project identifier or name associated with this release in the error tracking system. |
project_id * | string | The unique identifier of the project. Retrieve this by calling the /api/projects/ endpoint if you don't have it. |
version * | string | The version string or number for this release (e.g., semantic version format like '1.2.3' or any custom versioning scheme). |
metadata | Optional metadata object containing additional information about the release, such as build details, deployment info, or custom tags. |
get_error_tracking_release_project Get Error Tracking Release
Retrieve details for a specific error tracking release within a project. Returns metadata and information about the release for monitoring and analysis purposes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking release to retrieve. |
project_id * | string | The unique identifier of the project containing the error tracking release. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_error_tracking_release_project Update Error Tracking Release
Update an error tracking release for a project with new version information, hash identifier, and optional metadata.
| Parameter | Type | Description |
|---|---|---|
hash_id * | string | A hash identifier for the release, used to uniquely identify the release artifact or build. |
id * | string | The unique identifier (UUID) of the error tracking release to update. |
project * | string | The project identifier or slug associated with this error tracking release. |
project_id * | string | The unique identifier of the project containing the error tracking release. Retrieve available project IDs from the /api/projects/ endpoint. |
version * | string | The version string for the release (e.g., semantic version format like '1.2.3'). |
metadata | Optional metadata object to attach additional context or custom data to the release. |
update_error_tracking_release_project_partial Update Error Tracking Release
Partially update an error tracking release for a project. Use this to modify specific fields like hash_id, metadata, or project association without replacing the entire release record.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking release to update. |
project_id * | string | The unique identifier of the project containing the error tracking release. Find your project ID by calling the /api/projects/ endpoint. |
hash_id | string | An optional hash identifier for the release, typically used to track specific build or version hashes. |
metadata | Optional metadata object to store additional information about the release, such as build details, environment variables, or custom tags. | |
project | string | Optional project identifier to reassign the error tracking release to a different project. |
delete_error_tracking_release_project Delete Error Tracking Release
Permanently delete an error tracking release from a project. This removes the release and all associated error tracking data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking release to delete. |
project_id * | string | The unique identifier of the project containing the error tracking release. You can retrieve project IDs by calling the /api/projects/ endpoint. |
get_error_tracking_release_by_hash_project Get Error Tracking Release by Hash
Retrieve detailed information about a specific error tracking release using its hash identifier. This operation fetches release metadata and associated error tracking data for a given project.
| Parameter | Type | Description |
|---|---|---|
hash_id * | string | The unique hash identifier of the release to retrieve. This identifier is used to look up the specific release record in the error tracking system. |
project_id * | string | The unique identifier of the project containing the release. You can obtain the project ID by calling the /api/projects/ endpoint. |
list_error_tracking_symbol_sets_project List Error Tracking Symbol Sets
Retrieve a paginated list of symbol sets for error tracking in a specific project. Symbol sets are used to map obfuscated or minified code back to original source for better error analysis.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of symbol sets to return in a single page of results. Use with offset for pagination. |
offset | integer | The starting position for results, allowing you to paginate through large result sets. Use with limit to control which page of results is returned. |
get_error_tracking_symbol_set_project Get Error Tracking Symbol Set
Retrieve a specific error tracking symbol set by its unique identifier. Symbol sets contain debug information used to map obfuscated stack traces back to original source code.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking symbol set to retrieve. |
project_id * | string | The unique identifier of the project containing the symbol set. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_error_tracking_symbol_set_project_partial Update Error Tracking Symbol Set
Partially update an error tracking symbol set for a project. Use this to modify specific fields of an existing symbol set without replacing the entire resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking symbol set to update. |
project_id * | string | The unique identifier of the project containing the symbol set. Find your project ID by calling the /api/projects/ endpoint. |
ref | string | Optional reference parameter for tracking or filtering purposes. |
delete_error_tracking_symbol_set_project Delete Error Tracking Symbol Set
Permanently delete an error tracking symbol set from a project. This removes the symbol set and all associated symbol data used for error tracking.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the error tracking symbol set to delete. |
project_id * | string | The unique identifier of the project containing the symbol set. You can retrieve your project ID by calling the /api/projects/ endpoint. |
finish_symbol_set_bulk_upload_project Finish Symbol Set Bulk Upload
Completes a bulk symbol set upload for error tracking by finalizing the upload session identified by the provided reference.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the symbol set upload is being finalized. Retrieve this ID from the /api/projects/ endpoint. |
ref * | string | The reference identifier for the bulk upload session being completed. This reference was provided when the upload was initiated. |
start_symbol_sets_bulk_upload_project Start Symbol Sets Bulk Upload
Initiate a bulk upload process for error tracking symbol sets in a project. This operation prepares the project to receive multiple symbol set files and returns upload credentials or session information.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where symbol sets will be uploaded. Retrieve this ID from the /api/projects/ endpoint if needed. |
ref * | string | A reference identifier or version tag for this bulk upload session, used to track and organize the uploaded symbol sets. |
list_event_definitions List Event Definitions
Retrieve a paginated list of event definitions for a specific project. Use this to discover available events and their configurations within your project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this value by calling the projects list endpoint if you don't have it. |
limit | integer | Maximum number of event definitions to return in a single page of results. Omit to use the API's default page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_event_definition Create Event Definition
Create a new event definition within a project to track and manage custom events. Event definitions establish the schema and behavior for events that can be captured and analyzed.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the event definition. Must be 400 characters or fewer. |
project_id * | string | The unique identifier of the project where the event definition will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
default_columns | array | An ordered list of column names that should be displayed by default when viewing data for this event definition. |
description | string | A detailed explanation of what this event definition tracks and its purpose. |
enforcement_mode | string | Controls how the system handles events matching this definition. Use 'allow' to accept matching events or 'reject' to block them. |
hidden | boolean | Whether this event definition should be hidden from standard views and listings. |
owner | integer | The user ID of the person responsible for owning and maintaining this event definition. |
post_to_slack | boolean | Whether to automatically post notifications about this event to Slack. Defaults to false. |
tags | array | A list of labels or keywords for categorizing and organizing the event definition. |
verified | boolean | Whether this event definition has been validated and approved for use. |
get_event_definition Get Event Definition
Retrieve a specific event definition by its UUID within a project. Use this to fetch detailed information about a single event definition.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID identifier of the event definition to retrieve. |
project_id * | string | The UUID of the project containing the event definition. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
update_event_definition Update Event Definition
Update an event definition within a project. Modify event metadata, ownership, visibility, enforcement rules, and notification settings.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the event definition to update. |
name * | string | The name of the event definition. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project containing the event definition. Retrieve available project IDs from the /api/projects/ endpoint. |
default_columns | array | An array specifying which columns should be displayed by default when viewing events of this type. |
description | string | A detailed description of the event definition and its purpose. |
enforcement_mode | string | The enforcement mode for this event definition. Use 'allow' to permit the event or 'reject' to block it. |
hidden | boolean | Whether this event definition should be hidden from standard views and listings. |
owner | integer | The numeric ID of the user who owns this event definition. |
post_to_slack | boolean | Whether to post notifications about this event to Slack. Defaults to false if not specified. |
tags | array | A list of tags for categorizing and organizing the event definition. |
verified | boolean | Whether this event definition has been verified as accurate and reliable. |
update_event_definition_partial Update Event Definition
Partially update an event definition within a project. Allows modification of metadata, verification status, enforcement rules, and notification settings for a specific event definition.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the event definition to update. |
project_id * | string | The unique identifier of the project containing the event definition. Retrieve available project IDs from the /api/projects/ endpoint. |
default_columns | array | An array specifying which columns should be displayed by default when viewing event data. |
description | string | A text description of the event definition's purpose and details. |
enforcement_mode | string | The enforcement mode for the event definition. Use 'allow' to permit the event or 'reject' to block it. |
hidden | boolean | Boolean flag to hide the event definition from standard listings and views. |
owner | integer | The user ID of the event definition owner. |
post_to_slack | boolean | Boolean flag to enable posting event notifications to Slack. Defaults to false if not specified. |
tags | array | An array of tag strings for categorizing and organizing the event definition. |
verified | boolean | Boolean flag indicating whether the event definition has been verified as accurate and production-ready. |
delete_event_definition Delete Event Definition
Permanently delete an event definition from a project. This operation removes the event definition and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the event definition to delete. |
project_id * | string | The unique identifier of the project containing the event definition. You can retrieve your project ID by calling the /api/projects/ endpoint. |
get_event_definition_by_name Get Event Definition by Name
Retrieve a specific event definition by its exact name within a project. Use this to look up event schema and configuration details for a known event name.
| Parameter | Type | Description |
|---|---|---|
name * | string | The exact name of the event definition to retrieve. The lookup is case-sensitive and requires a complete match. |
project_id * | string | The unique identifier of the project containing the event definition. You can retrieve available project IDs by calling the projects list endpoint. |
list_event_definitions_golang List Event Definitions for Go
Retrieve all Go event definitions configured for a specific project. This returns the event schema and metadata used for Go-based event tracking within the project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_event_definitions_python List Event Definitions for Python
Retrieve all Python event definitions configured for a specific project. This returns the event schemas and metadata used for tracking Python-related events in your project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain this ID by calling the /api/projects/ endpoint to list all available projects. |
get_event_definitions_typescript Get Event Definitions TypeScript
Retrieve TypeScript event definitions for a specific project. Returns the event schema and type definitions used for tracking events in TypeScript applications.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain this ID by calling the /api/projects/ endpoint to list available projects. |
list_event_schemas List Event Schemas
Retrieve a paginated list of event schemas for a specific project. Use this to discover available event schemas and their configurations.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this value from the /api/projects/ endpoint if you don't have it. |
limit | integer | Maximum number of event schemas to return in a single page of results. Defaults to the API's standard page size if not specified. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
update_event_schema Update Event Schema
Update an event schema within a project by associating it with a specific event definition and property group. This operation modifies the schema configuration for event tracking.
| Parameter | Type | Description |
|---|---|---|
event_definition * | string | The unique identifier (UUID) of the event definition to associate with this schema. |
id * | string | The unique identifier (UUID) of the event schema to update. |
project_id * | string | The unique identifier of the project containing the event schema. Retrieve available project IDs by calling the /api/projects/ endpoint. |
property_group_id * | string | The unique identifier (UUID) of the property group to associate with this schema. |
update_event_schema_partial Partially Update Event Schema
Partially update an event schema within a project. Allows modification of specific fields such as the associated event definition without replacing the entire schema.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the event schema to update. |
project_id * | string | The unique identifier of the project containing the event schema. Retrieve available project IDs by calling the /api/projects/ endpoint. |
event_definition | string | The UUID of the event definition to associate with this event schema. Must be a valid UUID format if provided. |
delete_event_schema Delete Event Schema
Permanently delete an event schema from a project. This operation removes the schema definition and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the event schema to delete, provided as a UUID string. |
project_id * | string | The unique identifier of the project containing the event schema. You can retrieve your project ID by calling the /api/projects/ endpoint. |
get_event Get Event
Retrieve a specific event by its ID within a project. Returns detailed information about the event including its metadata and associated data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the event to retrieve. |
project_id * | string | The unique identifier of the project containing the event. You can obtain the project ID by calling the /api/projects/ endpoint. |
list_experiment_holdouts List Experiment Holdouts
Retrieve a paginated list of experiment holdouts for a specific project. Holdouts are control groups or segments excluded from experiment treatment.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the experiment holdouts. Retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of holdout records to return in a single page of results. Use with offset for pagination. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
get_experiment_holdout Get Experiment Holdout
Retrieve a specific experiment holdout by its unique identifier within a project. Use this to fetch detailed information about a single holdout configuration.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the experiment holdout to retrieve. |
project_id * | string | The unique identifier of the project containing the experiment holdout. You can obtain project IDs by calling the projects list endpoint. |
update_experiment_holdout Update Experiment Holdout
Update an experiment holdout configuration within a project, including its name, description, and filter criteria.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the experiment holdout to update. |
name * | string | The name of the experiment holdout. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project containing the experiment holdout. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | An optional description of the experiment holdout. Must not exceed 400 characters if provided. |
filters | Optional filter criteria to define which entities are included in the holdout. Specify as a structured filter object. |
update_experiment_holdout_partial Update Experiment Holdout
Partially update an experiment holdout configuration within a project, allowing you to modify its description and/or filter criteria.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the experiment holdout to update. |
project_id * | string | The unique identifier of the project containing the experiment holdout. Retrieve available project IDs by calling /api/projects/. |
description | string | A text description of the experiment holdout, up to 400 characters in length. |
filters | Filter criteria defining the holdout population. Specify the filter configuration as a structured object. |
delete_experiment_holdout Delete Experiment Holdout
Permanently delete a specific experiment holdout from a project. This removes the holdout configuration and its associated data.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the experiment holdout to delete. This is a positive integer that uniquely identifies the holdout within the project. |
project_id * | string | The unique identifier of the project containing the experiment holdout. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_experiment_saved_metrics List Experiment Saved Metrics
Retrieve a paginated list of saved metrics for experiments within a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the experiment metrics. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of results to return in a single page of results. Omit or set to default for standard pagination. |
offset | integer | Zero-based index position from which to start returning results, used for pagination control. |
create_experiment_saved_metric Create Experiment Saved Metric
Create a new saved metric for an experiment in a project. Saved metrics allow you to define and reuse custom metric calculations across experiments.
| Parameter | Type | Description |
|---|---|---|
name * | string | A descriptive name for the saved metric. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project containing the experiment. Retrieve available project IDs by calling the /api/projects/ endpoint. |
query * | The metric query definition that specifies how the metric should be calculated. This defines the computation logic for the saved metric. | |
description | string | An optional detailed explanation of what this metric measures or how it's calculated. Must not exceed 400 characters if provided. |
tags | array | An optional list of tags for organizing and categorizing the saved metric. Tags help with filtering and discovery of metrics. |
get_experiment_saved_metric Get Experiment Saved Metric
Retrieve a specific saved metric from an experiment by its unique identifier. Use this to fetch detailed information about a previously saved metric within a project.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the experiment saved metric to retrieve. |
project_id * | string | The unique identifier of the project containing the experiment saved metric. You can obtain project IDs by calling the list projects endpoint. |
update_experiment_saved_metric Update Experiment Saved Metric
Update an existing saved metric configuration for an experiment, including its name, description, query definition, and associated tags.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the experiment saved metric to update. |
name * | string | The name of the saved metric. Must not exceed 400 characters. |
project_id * | string | The project ID containing the experiment. Retrieve available project IDs from the /api/projects/ endpoint. |
query * | The query definition that specifies how the metric is calculated or retrieved. | |
description | string | An optional description of the saved metric's purpose or details. Must not exceed 400 characters if provided. |
tags | array | An optional list of tags for organizing and categorizing the saved metric. |
update_experiment_saved_metric_partial Update Experiment Saved Metric
Partially update an experiment saved metric within a project, allowing you to modify its description, query, and tags.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the experiment saved metric to update. |
project_id * | string | The unique identifier of the project containing the experiment saved metric. Retrieve available project IDs by calling /api/projects/. |
description | string | A text description of the saved metric, up to 400 characters in length. |
query | The query definition or configuration for the saved metric. | |
tags | array | An array of tags to categorize or label the saved metric. |
delete_experiment_saved_metric Delete Experiment Saved Metric
Permanently delete a saved metric from an experiment. This removes the metric configuration and all associated data for the specified experiment.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the experiment saved metric to delete. This is a positive integer that uniquely identifies the metric within the project. |
project_id * | string | The unique identifier of the project containing the experiment saved metric. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_experiments List Experiments
Retrieve a paginated list of experiments for a specific project, with support for filtering by status and archival state.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the experiments. You can retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of experiment records to return in a single page of results. Use with offset for pagination. |
offset | integer | The starting position in the result set for pagination. Use with limit to retrieve subsequent pages of results. |
create_experiment Create Experiment
Create a new experiment in draft status for a project with optional configuration for metrics, scheduling, and statistical analysis.
| Parameter | Type | Description |
|---|---|---|
feature_flag_key * | string | The feature flag key that controls the experiment's treatment assignment and rollout. |
name * | string | The name of the experiment. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project where the experiment will be created. Retrieve project IDs by calling the /api/projects/ endpoint. |
conclusion | Optional conclusion details summarizing the experiment results and findings. | |
conclusion_comment | string | Optional comment providing additional context or notes about the experiment conclusion. |
description | string | Optional description of the experiment's purpose or details. Must not exceed 400 characters if provided. |
end_date | string | Optional end date and time for the experiment in ISO 8601 format. |
exposure_criteria | Optional criteria for determining user exposure to the experiment. | |
exposure_preaggregation_enabled | boolean | Optional flag to enable pre-aggregation of exposure data for improved performance. |
filters | Optional filters to define the user population eligible for the experiment. | |
holdout_id | integer | Optional identifier for a holdout group to exclude from the experiment. |
only_count_matured_users | boolean | Optional flag to count only users who have matured (met stability criteria) in the analysis. |
parameters | Optional experiment parameters for configuring treatment variations and allocation rules. | |
saved_metrics_ids | array | Optional array of saved metric IDs to include in the experiment analysis. |
scheduling_config | Optional scheduling configuration for automated experiment start and end times. | |
secondary_metrics | Optional secondary metrics to track alongside primary metrics for deeper analysis. | |
start_date | string | Optional start date and time for the experiment in ISO 8601 format. |
stats_config | Optional statistical configuration for hypothesis testing and result analysis. |
get_experiment Get Experiment
Retrieve a single experiment by its ID, including its current status, metrics, feature flag configuration, and results metadata.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the experiment to retrieve. |
project_id * | string | The unique identifier of the project containing the experiment. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_experiment Update Experiment
Update an experiment configuration within a project. This operation supports approval workflows for changes requiring authorization, returning a 409 Conflict response if approval is required.
| Parameter | Type | Description |
|---|---|---|
feature_flag_key * | string | The feature flag key associated with this experiment. |
id * | integer | The unique integer identifier of the experiment to update. |
name * | string | The experiment name. Maximum length is 400 characters. |
project_id * | string | The unique identifier of the project containing the experiment. Retrieve available project IDs from the /api/projects/ endpoint. |
conclusion | Optional conclusion details for a completed experiment. | |
conclusion_comment | string | Optional comment documenting the experiment conclusion or decision rationale. |
description | string | Optional description of the experiment. Maximum length is 400 characters. |
end_date | string | Optional experiment end date and time in ISO 8601 format. |
exposure_criteria | Optional exposure criteria configuration for determining user eligibility. | |
exposure_preaggregation_enabled | boolean | Optional flag to enable pre-aggregation of exposure data for improved performance. |
filters | Optional filters to define the experiment population or segments. | |
holdout_id | integer | Optional identifier for a holdout group to exclude from the experiment. |
only_count_matured_users | boolean | Optional flag to count only users who have matured (met stability criteria) in analysis. |
parameters | Optional experiment parameters configuration. | |
saved_metrics_ids | array | Optional array of saved metric identifiers to include in the experiment analysis. |
scheduling_config | Optional scheduling configuration for experiment timing and rollout. | |
secondary_metrics | Optional secondary metrics to track alongside primary metrics. | |
start_date | string | Optional experiment start date and time in ISO 8601 format. |
stats_config | Optional statistical analysis configuration for the experiment. |
update_experiment_partial Update Experiment
Partially update an experiment's properties including name, description, metrics, variants, configuration, and scheduling. Supports modifying experiment timing, feature flag associations, statistical settings, and conclusion status.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the experiment to update. |
project_id * | string | The unique identifier of the project containing the experiment. Retrieve available project IDs from the /api/projects/ endpoint. |
conclusion | The conclusion status or outcome determination for the experiment. | |
conclusion_comment | string | Additional notes or reasoning documenting the experiment's conclusion. |
description | string | A brief text description of the experiment. Maximum 400 characters. |
end_date | string | The experiment end date and time in ISO 8601 format. |
exposure_criteria | Criteria for determining user exposure to experiment variants. | |
exposure_preaggregation_enabled | boolean | Enable pre-aggregation of exposure events for improved performance with high-volume experiments. |
feature_flag_key | string | The feature flag key associated with this experiment for controlling variant assignment. |
filters | Audience filters and targeting criteria that define which users are eligible for the experiment. | |
holdout_id | integer | The unique identifier of a holdout group to exclude from the experiment. |
only_count_matured_users | boolean | When enabled, only count users who have matured (met stability criteria) in the analysis. |
parameters | Configuration parameters for the experiment variants and their allocation rules. | |
saved_metrics_ids | array | Array of saved metric IDs to include in the experiment analysis. |
scheduling_config | Scheduling configuration for automated experiment start, end, or ramp-up behavior. | |
secondary_metrics | Secondary metrics to track alongside the primary metric for additional analysis. | |
start_date | string | The experiment start date and time in ISO 8601 format. |
stats_config | Statistical configuration including significance levels, power, and analysis methodology. |
mark_experiment_deleted Mark Experiment Deleted
Soft-delete an experiment by marking it as deleted. Sends PATCH with {deleted: true} body — the underlying DELETE endpoint is not supported by the API.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the experiment to mark as deleted. |
project_id * | string | The unique identifier of the project containing the experiment. Retrieve available project IDs by calling the /api/projects/ endpoint. |
archive_experiment Archive Experiment
Archive a completed experiment to hide it from the default list view. Archived experiments can be restored at any time by setting archived=false. The experiment must have ended and not already be archived.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the experiment to archive. |
project_id * | string | The unique identifier of the project containing the experiment. You can retrieve project IDs by calling the /api/projects/ endpoint. |
create_exposure_cohort_for_experiment Create Exposure Cohort for Experiment
Create an exposure cohort for an experiment to define the population and measurement criteria. This operation may require approval if the experiment configuration triggers approval gates.
| Parameter | Type | Description |
|---|---|---|
feature_flag_key * | string | The feature flag key that controls exposure for this experiment. |
id * | integer | The unique identifier of the experiment within the project. |
name * | string | The name of the exposure cohort. Maximum 400 characters. |
project_id * | string | The unique identifier of the project containing the experiment. Retrieve available project IDs from the /api/projects/ endpoint. |
conclusion | Optional conclusion details for the experiment results. | |
conclusion_comment | string | Optional comment summarizing the experiment conclusion or findings. |
description | string | Optional description of the exposure cohort's purpose or details. Maximum 400 characters. |
end_date | string | Optional end date and time for the cohort in ISO 8601 format. |
exposure_criteria | Optional criteria defining how user exposure is determined. | |
exposure_preaggregation_enabled | boolean | Optional flag to enable pre-aggregation of exposure data for improved performance. |
filters | Optional filtering criteria to define the cohort population. | |
holdout_id | integer | Optional identifier of a holdout group to exclude from the experiment. |
only_count_matured_users | boolean | Optional flag to count only users who have reached maturity in the experiment. |
parameters | Optional configuration parameters for the exposure cohort. | |
saved_metrics_ids | array | Optional array of saved metric identifiers to include in the experiment analysis. |
scheduling_config | Optional scheduling configuration for automated experiment execution. | |
secondary_metrics | Optional array of secondary metrics to track alongside primary metrics. | |
start_date | string | Optional start date and time for the cohort in ISO 8601 format. |
stats_config | Optional statistical configuration for analysis and significance testing. |
duplicate_experiment Duplicate Experiment
Creates a duplicate copy of an existing experiment with customizable settings. The duplicated experiment can have modified configuration while preserving or overriding the original experiment's parameters, metrics, and scheduling.
| Parameter | Type | Description |
|---|---|---|
feature_flag_key * | string | The feature flag key that controls this experiment's rollout and variant assignment. |
id * | integer | The unique identifier of the experiment to duplicate. This is a positive integer value. |
name * | string | Display name for the duplicated experiment. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project containing the experiment. Retrieve available project IDs by calling the /api/projects/ endpoint. |
conclusion | Optional conclusion details as a structured object containing the experiment's final outcome and decision. | |
conclusion_comment | string | Optional comment explaining the experiment's conclusion or final decision. Typically used to document reasoning for stopping or completing the experiment. |
description | string | Optional detailed description of the duplicated experiment. Must not exceed 400 characters if provided. |
end_date | string | Optional experiment end date and time in ISO 8601 format (e.g., 2024-02-15T10:30:00Z). |
exposure_criteria | Optional exposure criteria as a structured object defining which users are eligible for experiment exposure. | |
exposure_preaggregation_enabled | boolean | Optional boolean flag to enable pre-aggregation of exposure data for improved performance in large-scale experiments. |
filters | Optional filtering criteria as a structured object to segment the experiment audience based on user attributes or events. | |
holdout_id | integer | Optional identifier for a holdout group to exclude from the experiment. |
only_count_matured_users | boolean | Optional boolean flag to count only users who have reached maturity in the experiment, excluding early-stage participants from analysis. |
parameters | Optional experiment parameters as a structured object, typically containing configuration values for the experiment variants. | |
saved_metrics_ids | array | Optional array of saved metric identifiers to include in the experiment's analysis. |
scheduling_config | Optional scheduling configuration as a structured object defining experiment timing, ramp-up schedules, or other temporal settings. | |
secondary_metrics | Optional array of secondary metrics to track alongside the primary metric, used for monitoring additional experiment outcomes. | |
start_date | string | Optional experiment start date and time in ISO 8601 format (e.g., 2024-01-15T10:30:00Z). |
stats_config | Optional statistical configuration as a structured object specifying analysis methods, significance levels, and other statistical parameters. |
end_experiment End Experiment
End a running experiment and freeze its results window without modifying the feature flag or user variant assignments. Users continue to see their assigned variants and exposure events are still recorded, but only data up to the end date is included in experiment results.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the experiment to end. |
project_id * | string | The unique identifier of the project containing the experiment. Find your project ID by calling /api/projects/. |
conclusion | string | The outcome classification of the experiment: won, lost, inconclusive, stopped_early, or invalid. |
conclusion_comment | string | An optional note explaining the reasoning behind the experiment conclusion. |
launch_experiment Launch Experiment
Activate and start a draft experiment by validating its state, enabling its linked feature flag, and transitioning it to running status. The experiment must be in draft state and have a valid feature flag configuration with a control variant and at least 2 total variants.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the experiment to launch. Must reference an experiment in draft state within the specified project. |
project_id * | string | The unique identifier of the project containing the experiment. Use the /api/projects/ endpoint to retrieve available project IDs. |
pause_experiment Pause Experiment
Pause a running experiment by deactivating its linked feature flag. Users will no longer receive the experiment variant and will fall back to the application default experience, with no new exposure events recorded.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the experiment to pause. Must be a positive integer. |
project_id * | string | The unique identifier of the project containing the experiment. Can be retrieved from the /api/projects/ endpoint. |
reset_experiment_to_draft Reset Experiment to Draft
Reset an experiment to draft state, clearing its start/end dates, conclusion, and archived status. Previously collected events remain in the system but won't be included in results until the experiment is re-launched with a new start date.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the experiment to reset. |
project_id * | string | The unique identifier of the project containing the experiment. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
resume_experiment Resume Experiment
Resume a paused experiment by reactivating its linked feature flag. Users are deterministically re-bucketed into their previous variant assignments and exposure tracking resumes. The experiment must be in a paused state; returns an error if the experiment is not paused or not currently running.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the experiment to resume. |
project_id * | string | The unique identifier of the project containing the experiment. You can retrieve your project ID by calling the /api/projects/ endpoint. |
ship_experiment_variant Ship Experiment Variant
Deploy a winning experiment variant to 100% of users and optionally conclude the experiment. Preserves existing release conditions for easy rollback and supports both immediate shipping and deferred shipping after experiment completion.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the experiment to ship. Must be an integer. |
project_id * | string | The ID of the project containing the experiment. Find your project ID by calling /api/projects/. |
variant_key * | string | The key identifier of the variant to serve to all users. Must match an existing variant on the linked feature flag. |
conclusion | string | The outcome classification for the experiment: won, lost, inconclusive, stopped_early, or invalid. Optional; use to document why the variant is being shipped. |
conclusion_comment | string | Optional narrative explanation of the experiment's conclusion, such as statistical significance, business rationale, or reasons for early stopping. |
list_eligible_feature_flags_for_experiments List Eligible Feature Flags for Experiments
Retrieve a paginated list of feature flags that are eligible for use in experiments. Eligible flags must be multivariate with at least 2 variants and have 'control' as the first variant key.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_experiments_requiring_flag_implementation List Experiments Requiring Flag Implementation
Retrieve a list of experiments within a project that require flag implementation. This operation helps identify experiments that need feature flag setup before they can be deployed.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the experiments. You can obtain the project ID by calling the /api/projects/ endpoint. |
get_experiments_stats Get Experiments Stats
Retrieve aggregated statistics and metrics for all experiments within a specific project. This provides an overview of experiment performance and status across the project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project for which to retrieve experiment statistics. You can obtain the project ID by calling the /api/projects/ endpoint. |
list_exports List Exports
Retrieve a paginated list of exports for a specific project. Use pagination parameters to control the number of results and starting position.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of export records to return in a single response page. Defaults to the API's standard page size if not specified. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_export Create Export
Create an export of a dashboard or insight in the specified format. Supports multiple output formats including images, documents, videos, and data files.
| Parameter | Type | Description |
|---|---|---|
export_format * | string | The desired output format for the export. Supported formats include PNG and GIF images, PDF documents, CSV and Excel spreadsheets, MP4 and WebM videos, and JSON data. |
project_id * | string | The unique identifier of the project containing the dashboard or insight to export. Retrieve project IDs by calling the /api/projects/ endpoint. |
dashboard | integer | The ID of the dashboard to export. Either dashboard or insight must be specified, but not both. |
export_context | Additional context or configuration options for the export operation, such as rendering parameters or export-specific settings. | |
insight | integer | The ID of the insight to export. Either insight or dashboard must be specified, but not both. |
get_export Get Export
Retrieve a specific exported asset by its ID from a project. Use this to fetch details about a previously created export.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the exported asset you want to retrieve. This is a positive integer assigned when the export was created. |
project_id * | string | The unique identifier of the project containing the export. You can retrieve your project IDs by calling the projects list endpoint. |
get_export_content Get Export Content
Retrieve the content of a specific exported asset from a project. This operation fetches the actual exported data associated with a previously created export.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the exported asset to retrieve. This is a positive integer assigned when the export was created. |
project_id * | string | The unique identifier of the project containing the export. You can retrieve available project IDs by calling the projects list endpoint. |
list_external_data_sources List External Data Sources
Retrieve a paginated list of external data sources configured for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the external data sources. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of results to return in a single page of results. Omit or set to default for standard pagination. |
offset | integer | Zero-based index position from which to start returning results, used for pagination offset. |
get_external_data_source Get External Data Source
Retrieve a specific external data source by its unique identifier within a project. Use this to fetch configuration and metadata for an external data source.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the external data source to retrieve. |
project_id * | string | The unique identifier of the project containing the external data source. Obtain this by calling the projects list endpoint if needed. |
update_external_data_source Update External Data Source
Update an existing external data source configuration for a project, including authentication credentials and optional metadata like description and job input parameters.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The account identifier associated with the external data source connection. |
client_secret * | string | The client secret credential required to authenticate with the external data source. |
id * | string | The unique identifier (UUID) of the external data source to update. |
project_id * | string | The unique identifier of the project containing this external data source. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | An optional description of the external data source's purpose or configuration, up to 400 characters. |
job_inputs | Optional job input parameters that define how data should be processed or retrieved from the external source. | |
prefix | string | An optional prefix label for the external data source, up to 100 characters. |
update_external_data_source_partial Partially Update External Data Source
Partially update an external data source configuration within a project. Allows modification of metadata, description, and job input settings for an existing external data source.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the external data source to update. |
project_id * | string | The unique identifier of the project containing the external data source. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | A detailed description of the external data source's purpose or contents, up to 400 characters. |
job_inputs | Configuration object defining input parameters and mappings for data source job execution. | |
prefix | string | A short identifier or label for the external data source, up to 100 characters. |
delete_external_data_source Delete External Data Source
Permanently delete an external data source from a project. This operation removes the data source and all associated configurations.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the external data source to delete. |
project_id * | string | The unique identifier of the project containing the external data source. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
create_webhook_for_external_data_source Create Webhook for External Data Source
Create a webhook for an external data source to enable real-time event notifications. The webhook will be configured with authentication credentials and optional metadata for routing and processing incoming events.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The account identifier associated with the external data source for webhook authentication and routing. |
client_secret * | string | The secret key used to authenticate and sign webhook requests from the external data source. |
id * | string | The unique identifier (UUID) of the external data source for which the webhook is being created. |
project_id * | string | The unique identifier of the project containing the external data source. Retrieve this from the /api/projects/ endpoint if needed. |
description | string | An optional human-readable description of the webhook's purpose or configuration. Maximum length is 400 characters. |
job_inputs | An optional object containing input parameters or configuration data for webhook job processing. | |
prefix | string | An optional prefix to namespace or categorize the webhook events. Maximum length is 100 characters. |
create_external_data_source_delete_webhook Create External Data Source Delete Webhook
Register a webhook endpoint that will be triggered when an external data source is deleted. This allows you to receive notifications and perform cleanup operations when a data source is removed from your project.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The account identifier associated with the webhook configuration. This links the webhook to a specific account context. |
client_secret * | string | A secret key used to authenticate and validate webhook requests from the API. This should be stored securely and used to verify the authenticity of incoming webhook payloads. |
id * | string | The unique identifier (UUID) of the external data source for which you want to create the delete webhook. |
project_id * | string | The unique identifier of the project containing the external data source. You can retrieve your project ID by calling the /api/projects/ endpoint. |
description | string | An optional human-readable description of the webhook's purpose or configuration. Maximum length is 400 characters. |
job_inputs | Optional input parameters or configuration data for the webhook job execution. Format and structure depend on your specific webhook implementation requirements. | |
prefix | string | An optional prefix to namespace or categorize the webhook. Maximum length is 100 characters. |
list_external_data_source_jobs List External Data Source Jobs
Retrieve all jobs associated with a specific external data source. This allows you to monitor and track the status of data synchronization and processing tasks for that source.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the external data source whose jobs you want to retrieve. |
project_id * | string | The unique identifier of the project containing the external data source. You can retrieve your project ID by calling the /api/projects/ endpoint. |
refresh_external_data_source_schemas Refresh External Data Source Schemas
Discover and synchronize the current schema and table structure from an external data source, creating new ExternalDataSchema records for any newly detected tables without syncing actual data.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | Account identifier for the external data source connection. |
client_secret * | string | Authentication credential required to access the external data source. |
id * | string | The unique identifier (UUID) of the external data source to refresh schemas for. |
project_id * | string | The unique identifier of the project containing the external data source. Retrieve this from the /api/projects/ endpoint if needed. |
description | string | Optional description for the schema refresh operation. Maximum 400 characters. |
job_inputs | Optional configuration object containing additional inputs for the schema refresh job. | |
prefix | string | Optional prefix to apply to discovered schema names. Maximum 100 characters. |
reload_external_data_source Reload External Data Source
Trigger a reload of an external data source to refresh its data within a project. This operation refreshes the connection and synchronizes data from the configured external source.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The account identifier associated with the external data source connection. |
client_secret * | string | The client secret credential required to authenticate the reload operation with the external data source. |
id * | string | The unique identifier (UUID) of the external data source to reload. |
project_id * | string | The unique identifier of the project containing the external data source. Retrieve available project IDs by calling the /api/projects/ endpoint. |
description | string | An optional description or notes about the reload operation. Maximum length is 400 characters. |
job_inputs | Optional configuration inputs for the reload job, specifying how the external data should be processed or transformed. | |
prefix | string | An optional prefix to apply to the reloaded data. Maximum length is 100 characters. |
update_external_data_source_revenue_analytics_config Update External Data Source Revenue Analytics Config
Partially update the revenue analytics configuration for an external data source and retrieve the complete updated external data source object.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the external data source to update. |
project_id * | string | The unique identifier of the project containing the external data source. Retrieve available project IDs by calling the /api/projects/ endpoint. |
description | string | An optional description of the revenue analytics configuration, up to 400 characters. |
job_inputs | Optional input parameters for the revenue analytics job configuration. | |
prefix | string | An optional prefix label for the revenue analytics configuration, up to 100 characters. |
create_external_data_source_webhook_inputs Create External Data Source Webhook Inputs
Configure webhook input parameters for an external data source, enabling automated data synchronization through webhook triggers. This operation sets up authentication credentials and input mappings for the webhook endpoint.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The account identifier associated with the external data source for authentication and access control. |
client_secret * | string | The client secret credential used to authenticate webhook requests from the external data source. |
id * | string | The unique identifier (UUID) of the external data source to configure. |
project_id * | string | The project ID containing the external data source. Retrieve available project IDs by calling the /api/projects/ endpoint. |
description | string | An optional description of the webhook input configuration, limited to 400 characters. |
job_inputs | Optional mapping of input fields from the webhook payload to job parameters. Structure and format depend on the external data source type. | |
prefix | string | An optional prefix to namespace or identify webhook inputs, limited to 100 characters. |
get_external_data_source_webhook_info Get External Data Source Webhook Info
Retrieve webhook configuration and status information for a specific external data source. This includes details about how the data source is connected via webhooks to your project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the external data source whose webhook information you want to retrieve. |
project_id * | string | The unique identifier of the project containing the external data source. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_feature_flags List Feature Flags
Retrieve a paginated list of feature flags for a project with optional filtering by status, runtime, tags, and other criteria.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the feature flags. Obtain this ID by calling the /api/projects/ endpoint. |
active | string | Filter by feature flag status: 'true' for active flags, 'false' for inactive flags, or 'STALE' for flags that haven't been evaluated recently. |
created_by_id | string | Filter feature flags by the user ID of the person who created them. |
evaluation_runtime | string | Filter by where the feature flag is evaluated: 'client' for client-side evaluation, 'server' for server-side evaluation, or 'both' for flags supporting both runtimes. |
excluded_properties | string | A JSON-encoded list of feature flag keys to exclude from the results. Specify as a JSON array of strings. |
has_evaluation_contexts | string | Filter by evaluation context presence: 'true' returns only flags with at least one evaluation context defined, 'false' returns only flags without evaluation contexts. |
limit | integer | Maximum number of results to return per page. Use with offset for pagination. |
offset | integer | The starting index for results, used for pagination. Combine with limit to retrieve subsequent pages. |
tags | string | A JSON-encoded list of tag names to filter feature flags by. Only flags tagged with all specified tags will be returned. Specify as a JSON array of strings. |
create_feature_flag Create Feature Flag
Create a new feature flag in a project with targeting configuration, activation status, and organizational tags. Feature flags enable controlled rollout and A/B testing of features.
get_feature_flag Get Feature Flag
Retrieve a specific feature flag by its ID within a project. Use this to fetch detailed configuration and status information for a feature flag.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the feature flag to retrieve. This is a positive integer assigned by the system. |
project_id * | string | The unique identifier of the project containing the feature flag. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_feature_flag Update Feature Flag
Update an existing feature flag configuration, including its targeting rules, rollout strategy, and evaluation settings. Allows modification of flag state, filters, variants, and deployment parameters.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the feature flag to update. |
key * | string | A unique key identifier for the feature flag, up to 400 characters. Used to reference the flag in your application code. |
project_id * | string | The project ID containing the feature flag. Retrieve available project IDs from the /api/projects/ endpoint. |
active | boolean | Whether the feature flag is currently active and should be evaluated. Inactive flags are not applied to users. |
analytics_dashboards | array | Analytics dashboards associated with this feature flag for monitoring performance and user impact. Array of dashboard identifiers. |
bucketing_identifier | The user attribute used to consistently assign users to flag variants. Choose between distinct_id (user ID, default) or device_id for device-based bucketing. | |
ensure_experience_continuity | boolean | When enabled, ensures users see consistent flag variants across sessions by persisting their assignment, preventing experience disruption. |
evaluation_runtime | Specifies where the feature flag logic is evaluated: on the server (backend), client (frontend), or both. Determines deployment architecture. | |
filters | object | Targeting rules and conditions that determine which users or groups receive this feature flag. Defines the audience segmentation logic. |
performed_rollback | boolean | Indicates whether a rollback has been executed for this feature flag. |
rollback_conditions | Conditions that trigger an automatic rollback of the feature flag if specified metrics or thresholds are breached. | |
tags | array | Labels or categories for organizing and filtering feature flags. Supports multiple tags as an array of strings. |
update_feature_flag_partial Update Feature Flag
Partially update a feature flag's configuration, including its active status, targeting rules, key, and organizational tags.
get_feature_flag_activity Get Feature Flag Activity
Retrieve the activity history for a specific feature flag, including all changes and events. Results are paginated to allow browsing through activity records.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the feature flag whose activity you want to retrieve. |
project_id * | string | The unique identifier of the project containing the feature flag. You can obtain this by calling the /api/projects/ endpoint. |
limit | integer | The number of activity records to return per page. Must be at least 1, defaults to 10 records per page. |
page | integer | The page number of results to retrieve, starting from 1. Use this to navigate through paginated activity records. |
list_dependent_flags List Dependent Flags
Retrieve all active feature flags that depend on the specified flag. This helps identify downstream impacts when modifying or disabling a flag.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the feature flag to check for dependents. |
project_id * | string | The unique identifier of the project containing the feature flag. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
get_feature_flag_remote_config Get Feature Flag Remote Config
Retrieve the remote configuration settings for a specific feature flag. This returns the configuration data associated with the feature flag that can be used to control its behavior across your application.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the feature flag. This is a positive integer that uniquely identifies the feature flag within the project. |
project_id * | string | The unique identifier of the project containing the feature flag. You can retrieve your project ID by calling the /api/projects/ endpoint. |
get_feature_flag_status Get Feature Flag Status
Retrieve the current status and configuration of a specific feature flag within a project. Use this to check if a feature flag is enabled, its rollout percentage, and other active settings.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the feature flag you want to retrieve status for. This is a positive integer assigned by the system. |
project_id * | string | The unique identifier of the project containing the feature flag. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_feature_flags_activity List Feature Flags Activity
Retrieve a paginated list of feature flag activity events for a project. Use this to audit changes and track the history of feature flag modifications.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of activity records to return per page. Must be at least 1; defaults to 10 if not specified. |
page | integer | The page number to retrieve, starting from 1. Defaults to the first page if not specified. |
get_feature_flag_evaluation_reasons Get Feature Flag Evaluation Reasons
Retrieve the evaluation reasons for feature flags for a specific user, optionally considering group memberships. This helps understand why a feature flag was enabled or disabled for that user.
| Parameter | Type | Description |
|---|---|---|
distinct_id * | string | The unique identifier for the user whose feature flag evaluation reasons you want to retrieve. Must be at least 1 character long. |
project_id * | string | The unique identifier of the project containing the feature flags. You can retrieve your project ID by calling the /api/projects/ endpoint. |
groups | string | Optional group memberships for the user, provided as a JSON object string. Used to evaluate feature flags that target specific groups. Defaults to an empty object if not provided. |
get_feature_flags_for_local_evaluation Get Feature Flags for Local Evaluation
Retrieve feature flags configured for local evaluation within a project. This endpoint returns flag definitions optimized for client-side evaluation, with optional cohort data inclusion.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the feature flags. You can retrieve your project ID by calling the /api/projects/ endpoint. |
send_cohorts | boolean | When enabled, includes cohort definitions in the response to support flag rules that reference cohorts. Defaults to false if not specified. |
list_feature_flag_ids_by_filters List Feature Flag IDs by Filters
Retrieve IDs of all feature flags in a project that match the current filter criteria. Only returns IDs for flags the user has permission to edit, using the same filtering logic as the standard feature flags list endpoint.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the feature flags. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_feature_flags_for_user List Feature Flags for User
Retrieve feature flags applicable to the current user or specified groups. Use this to evaluate which feature flags are enabled for a given user context, typically before making application decisions.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the feature flags. Obtain this by calling the /api/projects/ endpoint if you don't have it. |
groups | string | Optional groups for feature flag evaluation, provided as a JSON object string. Defaults to an empty object if not specified. |
evaluate_feature_flag_user_blast_radius Evaluate Feature Flag User Blast Radius
Evaluate the blast radius (impact scope) of a feature flag for a specific user by testing a release condition. This determines which users would be affected by the flag's rollout.
| Parameter | Type | Description |
|---|---|---|
condition * | object | The release condition logic to evaluate against the user. This defines the targeting rules and rollout percentage that determine flag eligibility. |
project_id * | string | The unique identifier of the project containing the feature flag. Retrieve this ID from the /api/projects/ endpoint if unknown. |
group_type_index | integer | The group type index for evaluating group-based feature flags. Omit this for person-based flags, or provide the index when evaluating flags that target user groups. |
list_file_system_shortcuts List File System Shortcuts
Retrieve a paginated list of file system shortcuts configured for a specific project. Use pagination parameters to control result set size and offset.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of shortcuts to return in a single response page. Omit to use the API's default page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_file_system_shortcut Create File System Shortcut
Creates a file system shortcut within a project, enabling quick access to a specific file path with optional reference and hyperlink metadata.
| Parameter | Type | Description |
|---|---|---|
path * | string | The file system path that the shortcut points to. This is the target location the shortcut will reference. |
project_id * | string | The unique identifier of the project where the shortcut will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
href | string | An optional hyperlink or URL associated with the shortcut, providing additional context or navigation information. |
ref | string | An optional reference identifier for the shortcut, limited to 100 characters maximum. Use this to tag or categorize the shortcut for organizational purposes. |
get_file_system_shortcut Get File System Shortcut
Retrieve a specific file system shortcut by its unique identifier within a project. Use this to access details about a saved shortcut path or alias.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the file system shortcut to retrieve. |
project_id * | string | The unique identifier of the project containing the file system shortcut. You can obtain the project ID by calling the list projects endpoint. |
update_file_system_shortcut Update File System Shortcut
Update an existing file system shortcut within a project. Modify the path, reference, or href properties of the shortcut to reflect changes in your file system configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the file system shortcut to update. |
path * | string | The file system path that the shortcut points to or represents. |
project_id * | string | The unique identifier of the project containing the file system shortcut. Retrieve available project IDs from the /api/projects/ endpoint. |
href | string | An optional hyperlink reference or URL associated with the shortcut. |
ref | string | An optional reference identifier for the shortcut, up to 100 characters in length. |
update_file_system_shortcut_partial Update File System Shortcut
Partially update a file system shortcut within a project. Allows modification of the shortcut's path, reference, or href properties.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the file system shortcut to update. |
project_id * | string | The unique identifier of the project containing the file system shortcut. Retrieve available project IDs from the /api/projects/ endpoint. |
href | string | The hyperlink reference or URL associated with the shortcut. |
path | string | The file system path that the shortcut points to. |
ref | string | A reference identifier for the shortcut, up to 100 characters in length. |
delete_file_system_shortcut Delete File System Shortcut
Permanently delete a file system shortcut from a project. This operation removes the shortcut configuration and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the file system shortcut to delete. |
project_id * | string | The unique identifier of the project containing the file system shortcut. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_groups_by_type List Groups by Type
Retrieve all groups of a specified type within a project. Requires a valid group type index; use the groups_types endpoint to discover available group types for your project.
| Parameter | Type | Description |
|---|---|---|
group_type_index * | integer | The numeric index identifying which group type to list. Must correspond to a valid group type for the project; call the groups_types endpoint to see all available options. |
project_id * | string | The unique identifier of the project containing the groups. Retrieve available project IDs by calling the projects endpoint. |
search * | string | Filter groups by name using a search term. Matches group names containing the provided search string. |
create_group Create Group
Create a new group within a project. Groups are organizational units that can be configured with specific types and properties.
| Parameter | Type | Description |
|---|---|---|
group_key * | string | A unique identifier or name for the group. Must not exceed 400 characters in length. |
group_type_index * | integer | The type index that determines the group's classification or behavior. Must be a valid 32-bit integer. |
project_id * | string | The unique identifier of the project where the group will be created. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
group_properties | Optional configuration object containing additional properties or metadata for the group. Structure and valid properties depend on the group type. |
list_user_group_activity List User Group Activity
Retrieve activity records for a specific user within a project group. Returns activity data filtered by the specified group type and user ID.
| Parameter | Type | Description |
|---|---|---|
group_type_index * | integer | The numeric index identifying the group type to filter activity results by. This determines which category of groups to retrieve activity for. |
id * | string | The unique identifier of the user whose group activity should be retrieved. |
project_id * | string | The unique identifier of the project. Obtain this by calling the /api/projects/ endpoint to list available projects. |
get_group_by_key_and_type Get Group by Key and Type
Retrieve a specific group within a project by its key and type index. Use this to look up an individual group's details when you know its identifier and type classification.
| Parameter | Type | Description |
|---|---|---|
group_key * | string | The unique key that identifies the group within the project. |
group_type_index * | integer | The numeric index representing the group's type classification within the project. |
project_id * | string | The unique identifier of the project containing the group. Retrieve available project IDs by calling the projects list endpoint. |
list_group_property_definitions List Group Property Definitions
Retrieve all property definitions for groups within a specific project. Property definitions define the custom fields and attributes available for group objects.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain this ID by calling the /api/projects/ endpoint to list available projects. |
list_group_types List Group Types
Retrieve all available group types for a specific project. Group types define the categories or classifications that can be applied to groups within the project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain this ID by calling the /api/projects/ endpoint to list all available projects. |
delete_group_type Delete Group Type
Delete a specific group type from a project. This operation removes the group type configuration identified by its index within the specified project.
| Parameter | Type | Description |
|---|---|---|
group_type_index * | integer | The index identifier of the group type to delete. Must be a valid 32-bit integer. |
project_id * | string | The unique identifier of the project containing the group type. Retrieve available project IDs by calling the /api/projects/ endpoint. |
list_metrics_for_group_type List Metrics for Group Type
Retrieve metrics associated with a specific group type within a project. Results are paginated and can be filtered by limit and offset parameters.
| Parameter | Type | Description |
|---|---|---|
group_type_index * | integer | The index identifier for the group type within the project. Must be a valid 32-bit integer. |
project_id * | string | The unique identifier of the project containing the group type. Obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of metric results to return in a single page of results. Controls pagination size. |
offset | integer | Zero-based starting position for returning results. Use with limit to paginate through large result sets. |
create_group_type_metric Create Group Type Metric
Create a new metric for a specific group type within a project. Metrics track quantitative data over time with configurable display formats and filtering options.
| Parameter | Type | Description |
|---|---|---|
filters * | Filter criteria to determine which data points are included in the metric calculation. Specify as a structured filter object. | |
group_type_index * | integer | The index identifier of the group type within the project. Must be a valid 32-bit integer. |
name * | string | The display name for the metric. Must not exceed 255 characters. |
project_id * | string | The unique identifier of the project containing the group type. Retrieve available project IDs by calling the /api/projects/ endpoint. |
display | string | The visual representation format for the metric. Choose 'number' for a single numeric value or 'sparkline' for a compact trend visualization. |
interval | integer | The time interval for metric aggregation, specified in days. Must be a valid 32-bit integer. |
get_group_type_metric Get Group Type Metric
Retrieve a specific usage metric for a group type within a project. Returns detailed metric information identified by its UUID.
| Parameter | Type | Description |
|---|---|---|
group_type_index * | integer | The index identifying the group type within the project. Must be a valid 32-bit integer. |
id * | string | The unique identifier (UUID) of the group usage metric to retrieve. |
project_id * | string | The unique identifier of the project containing the group type. Obtain this ID by calling the projects list endpoint. |
update_group_type_metric Update Group Type Metric
Update a specific metric configuration for a group type within a project. Allows modification of metric display settings, aggregation intervals, and filtering criteria.
| Parameter | Type | Description |
|---|---|---|
filters * | Filter criteria applied to the metric data. Defines which data points are included in the metric calculation. | |
group_type_index * | integer | The index position of the group type within the project's group type collection. |
id * | string | The unique identifier (UUID) of the metric to update. |
name * | string | The display name for the metric. Maximum 255 characters. |
project_id * | string | The unique identifier of the project containing the group type and metric. |
display | string | The visualization format for displaying the metric: either 'number' for a single numeric value or 'sparkline' for a trend visualization. |
interval | integer | The aggregation interval for the metric measurement, specified in days. |
update_group_type_metric_partial Update Group Type Metric
Partially update a group type metric configuration, allowing you to modify display settings, time interval, and filters for a specific metric within a project.
| Parameter | Type | Description |
|---|---|---|
group_type_index * | integer | The index identifying the group type within the project. Must be a valid 32-bit integer. |
id * | string | The unique identifier (UUID) of the group usage metric to update. |
project_id * | string | The unique identifier of the project containing the metric. Retrieve available project IDs from the /api/projects/ endpoint. |
display | string | The display format for the metric: either 'number' for numeric display or 'sparkline' for a compact trend visualization. |
filters | Filter criteria to apply to the metric data. Specify as a structured object matching the API's filter schema. | |
interval | integer | The time interval for metric aggregation, specified in days. Must be a valid 32-bit integer. |
delete_group_type_metric Delete Group Type Metric
Delete a specific usage metric associated with a group type within a project. This removes the metric record permanently.
| Parameter | Type | Description |
|---|---|---|
group_type_index * | integer | The index identifier for the group type within the project. Must be a valid 32-bit integer. |
id * | string | The unique identifier (UUID) of the group usage metric to delete. |
project_id * | string | The unique identifier of the project containing the group type and metric. Retrieve available project IDs from the /api/projects/ endpoint. |
get_heatmap_screenshot_content Get Heatmap Screenshot Content
Retrieve the content of a saved heatmap screenshot for a specific project. Returns the heatmap image or data associated with the given screenshot ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the heatmap screenshot whose content you want to retrieve. |
project_id * | string | The unique identifier of the project containing the heatmap screenshot. You can obtain project IDs by calling the /api/projects/ endpoint. |
list_heatmaps List Heatmaps
Retrieve a paginated list of heatmaps for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the heatmaps. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of heatmap records to return in a single response page. |
offset | integer | Zero-based index position from which to start returning results, used for pagination. |
list_hog_flows List Hog Flows
Retrieve a paginated list of HOG (HogQL) flows for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the HOG flows. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of HOG flows to return in a single response page. Omit or set to default for standard page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_hog_flow Create Hog Flow
Create a new Hog flow within a project to define automated workflows with triggers, actions, and conversion tracking. Flows can be saved as drafts, activated, or archived.
| Parameter | Type | Description |
|---|---|---|
actions * | array | Required array of actions to execute within the flow. Actions are performed in sequence when flow conditions are met. |
project_id * | string | The unique identifier of the project where the flow will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
conversion | The goal event that marks successful completion of the flow. | |
description | string | Optional text description of the flow's purpose and behavior. |
edges | Connections between flow nodes defining the execution path. Order and structure determine flow logic. | |
exit_condition | string | Determines when users exit the flow: on conversion completion, when trigger conditions fail, on either condition, or only at the flow's end. |
status | string | The operational status of the flow: draft (not yet active), active (currently running), or archived (disabled and hidden). |
trigger | The event or condition that initiates the flow execution. | |
variables | array | Optional array of variables available for use throughout the flow for dynamic behavior and data passing. |
get_hog_flow Get Hog Flow
Retrieve a specific Hog flow by its unique identifier within a project. Returns the complete configuration and metadata for the requested Hog flow.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the Hog flow to retrieve. |
project_id * | string | The unique identifier of the project containing the Hog flow. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_hog_flow Update Hog Flow
Update an existing Hog flow configuration, including its trigger conditions, conversion criteria, exit logic, and associated actions. Allows modification of flow status, description, and workflow structure.
| Parameter | Type | Description |
|---|---|---|
actions * | array | An ordered list of operations or tasks to execute within the flow. Each action represents a step in the workflow. |
id * | string | The unique identifier (UUID) of the Hog flow to update. |
project_id * | string | The unique identifier of the project containing this Hog flow. Retrieve available project IDs from the /api/projects/ endpoint. |
conversion | The target event or outcome that marks successful completion of the flow. | |
description | string | A human-readable description of the Hog flow's purpose and behavior. |
edges | The connections and transitions between workflow steps, defining the flow's logical path. | |
exit_condition | string | Determines when users exit the flow: on conversion completion, when trigger conditions are no longer met, on either condition, or only at the workflow's final step. |
status | string | The operational status of the flow: draft (not yet active), active (currently running), or archived (no longer in use). |
trigger | The event or condition that initiates the Hog flow execution. | |
variables | array | An ordered list of data variables available for use throughout the flow, supporting dynamic behavior and conditional logic. |
update_hog_flow_partial Update Hog Flow
Partially update a Hog flow configuration within a project. Modify workflow properties such as status, triggers, conversions, exit conditions, edges, actions, and variables.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the Hog flow to update. |
project_id * | string | The unique identifier of the project containing the Hog flow. Retrieve available project IDs from the /api/projects/ endpoint. |
actions | array | An ordered list of operations or tasks executed as part of the Hog flow. Order determines execution sequence. |
conversion | The goal or outcome event that marks successful completion of the Hog flow. | |
description | string | A text description of the Hog flow's purpose or behavior. |
edges | The connections between workflow nodes that define the flow's logical path and transitions. | |
exit_condition | string | Determines when the Hog flow terminates: on conversion, when trigger conditions aren't met, on either condition, or only at the workflow's end. |
status | string | The operational status of the Hog flow: draft (not yet active), active (currently running), or archived (no longer in use). |
trigger | The event or condition that initiates the Hog flow execution. | |
variables | array | An ordered list of data variables available throughout the Hog flow for use in conditions and actions. |
delete_hog_flow Delete Hog Flow
Permanently delete a specific Hog flow from a project. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the Hog flow to delete. |
project_id * | string | The unique identifier of the project containing the Hog flow. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_hog_function_templates List Hog Function Templates
Retrieve a paginated list of Hog function templates available for a project, optionally filtered by template type. Use this to discover available templates for creating Hog functions.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this value from the /api/projects/ endpoint if needed. |
limit | integer | Maximum number of templates to return per page. Controls pagination size for the result set. |
offset | integer | Zero-based index position to start returning results from. Use with limit to paginate through templates. |
types | string | Filter templates by one or more types using a comma-separated list (e.g., destination, email, sms_provider). Only templates matching the specified types will be returned. |
get_hog_function_template Get Hog Function Template
Retrieve a specific Hog function template by its ID. Hog function templates are reusable function definitions within a project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the template. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
template_id * | string | The unique identifier of the Hog function template to retrieve. |
list_hog_functions List Hog Functions
Retrieve a paginated list of Hog functions for a specific project, with optional filtering by enabled status.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
enabled | boolean | Filter results to return only enabled or disabled Hog functions. Omit to return all functions regardless of status. |
limit | integer | Maximum number of results to return per page. Use with offset for pagination. |
offset | integer | The starting position for results, enabling pagination through large result sets. Use with limit to control which page of results is returned. |
create_hog_function Create Hog Function
Create a new Hog function to process events with custom logic, transformations, or integrations. Functions can filter events, mask PII, transform data, or route to destinations.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where this function will be created. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | A human-readable explanation of the function's purpose and behavior. |
enabled | boolean | Whether this function is active and will process incoming events. Disabled functions are not executed. |
execution_order | integer | The execution priority for transformation functions, where lower values execute first. Must be between 0 and 32767 inclusive. |
filters | object | Event filtering criteria that determine which events trigger this function. Only matching events will be processed. |
hog | string | The function implementation code written in Hog language (for most function types) or TypeScript (for site_destination and site_app types). |
icon_url | string | A URL pointing to an icon image displayed in the UI to visually represent this function. |
inputs | object | An object containing the actual values for each input parameter defined in inputs_schema, keyed by parameter name. |
inputs_schema | array | An array defining the configurable input parameters users can set when using this function. Each schema item specifies the parameter name, type, and validation rules. |
mappings | array | An array of field mappings that transform event data to destination-specific formats. Required and used only for destination and site_destination function types. |
masking | object | Configuration for personally identifiable information (PII) masking, including time-to-live, detection threshold, and hash expression rules. |
get_hog_function Get Hog Function
Retrieve a specific Hog function by its ID within a project. Returns the complete configuration and metadata for the requested Hog function.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the Hog function to retrieve. |
project_id * | string | The unique identifier of the project containing the Hog function. You can retrieve your project ID by calling the projects list endpoint. |
update_hog_function Update Hog Function
Update a Hog function's configuration, including its source code, inputs, filters, and execution settings. Changes take effect immediately for active functions.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the Hog function to update. |
project_id * | string | The project ID containing this Hog function. Find your project ID by calling the projects list endpoint. |
description | string | A human-readable description explaining what this function does and its purpose. |
enabled | boolean | Toggle whether this function is active and processing events. Disabled functions are not executed. |
execution_order | integer | Execution priority for transformation functions, where lower values execute first. Must be between 0 and 32767. |
filters | object | Event filtering rules that determine which events trigger this function's execution. |
hog | string | The function's source code written in Hog language (or TypeScript for site_destination and site_app types). |
icon_url | string | A URL pointing to an icon image displayed in the UI to represent this function visually. |
inputs | object | An object containing the actual values for each input parameter defined in inputs_schema, keyed by parameter name. |
inputs_schema | array | An array defining the configurable input parameters this function accepts. Each schema entry specifies parameter name, type, and validation rules. |
mappings | array | An array of field mappings between event properties and destination fields. Required and used only for destination and site_destination function types. |
masking | object | Configuration for personally identifiable information (PII) masking, including time-to-live, detection threshold, and hash expression rules. |
update_hog_function_partial Update Hog Function
Partially update a Hog function's configuration, including its code, inputs, filters, and execution settings. Changes take effect immediately for enabled functions.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the Hog function to update. |
project_id * | string | The unique identifier of the project containing this Hog function. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | A human-readable description explaining the function's purpose and behavior. |
enabled | boolean | Toggle whether this function is active and processing events. Disabled functions are not executed. |
execution_order | integer | Execution priority for transformation functions, where lower values execute first. Must be between 0 and 32767 inclusive. |
filters | object | Event filtering rules that determine which events trigger this function. Supports complex filter expressions to target specific event types and properties. |
hog | string | The function's source code written in Hog language (for most function types) or TypeScript (for site_destination and site_app types). |
icon_url | string | A URL pointing to an icon image displayed in the UI to visually represent this function. |
inputs | object | An object containing the actual values for each input parameter defined in inputs_schema. Keys must match the input names defined in the schema. |
inputs_schema | array | An array defining the configurable input parameters this function accepts. Each schema entry specifies parameter name, type, and validation rules. |
mappings | array | An array of field mappings that transform event data to destination-specific formats. Only applicable for destination and site_destination function types. Order matters for sequential transformations. |
masking | object | Configuration for personally identifiable information (PII) masking, including time-to-live (TTL), detection threshold, and hash expression rules. |
test_hog_function_invocation Test Hog Function Invocation
Test a Hog function by executing it with mock data and configuration. This operation allows you to validate function behavior before deployment by simulating ClickHouse events and global variables.
update_hog_functions_execution_order Update Hog Functions Execution Order
Reorder the execution sequence of multiple HogFunctions within a project by specifying new execution order values for each function.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the HogFunctions to reorder. You can retrieve your project ID by calling the /api/projects/ endpoint. |
orders | object | A mapping of HogFunction UUIDs to their desired execution_order values. Each entry specifies which position a function should occupy in the execution sequence. |
list_insight_variables List Insight Variables
Retrieve a paginated list of insight variables for a specific project. Use this to discover available variables that can be used in project insights and analytics.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve your project ID by calling the /api/projects/ endpoint if you don't have it available. |
page | integer | The page number to retrieve from the paginated result set. Omit to get the first page. |
create_insight_variable Create Insight Variable
Create a new insight variable in a project to define custom data types and values for use in project insights and analytics.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the insight variable. Must be a string with a maximum length of 400 characters. |
project_id * | string | The unique identifier of the project where the insight variable will be created. Retrieve project IDs by calling the /api/projects/ endpoint. |
type * | string | The data type of the insight variable. Must be one of: String, Number, Boolean, List, or Date. |
default_value | The default value assigned to the insight variable when no explicit value is provided. The format should match the specified type. | |
values | A collection of predefined values for the insight variable. Typically used with List or enumerated types to constrain valid options. |
get_insight_variable Get Insight Variable
Retrieve a specific insight variable by its ID within a project. Returns the configuration and metadata for the requested insight variable.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the insight variable to retrieve. |
project_id * | string | The unique identifier of the project containing the insight variable. Use the /api/projects/ endpoint to discover available project IDs. |
update_insight_variable Update Insight Variable
Update an existing insight variable within a project. Modify the variable's name, type, default value, and allowed values.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the insight variable to update. |
name * | string | The name of the insight variable. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project containing the insight variable. Retrieve available project IDs from the /api/projects/ endpoint. |
type * | string | The data type of the insight variable. Must be one of: String, Number, Boolean, List, or Date. |
default_value | The default value assigned to the insight variable when no explicit value is provided. The format should match the specified type. | |
values | A collection of allowed values for the insight variable. The format depends on the specified type (e.g., array of strings for String type, array of numbers for Number type). |
update_insight_variable_partial Partially Update Insight Variable
Partially update an insight variable within a project. Allows modification of specific fields like default values or value options without replacing the entire resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the insight variable to update. |
project_id * | string | The unique identifier of the project containing the insight variable. Retrieve available project IDs from the /api/projects/ endpoint. |
default_value | The default value assigned to this insight variable when no explicit value is provided. | |
values | A collection of valid values or options that this insight variable can accept. |
delete_insight_variable Delete Insight Variable
Permanently delete a specific insight variable from a project. This operation removes the insight variable and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the insight variable to delete. |
project_id * | string | The unique identifier of the project containing the insight variable. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_insights List Insights
Retrieve a paginated list of insights for a project with flexible caching and refresh strategies. Results are gated behind permission checks, and cached responses are validated before being returned to the requester.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
basic | boolean | When enabled, returns only basic insight metadata without computed results, providing faster response times. |
limit | integer | Maximum number of insights to return in a single page of results. |
offset | integer | Zero-based index position from which to begin returning results for pagination. |
refresh | string | Controls how insights are refreshed and whether calculations happen synchronously or asynchronously. Use 'force_cache' for immediate cached results, 'blocking' for synchronous calculation with cache p… |
short_id | string | Optional short identifier for filtering or referencing a specific insight. |
create_insight Create Insight
Create a new insight for a project. The insight will be stored with optional metadata including query parameters, display order, description, and tags for organization and discovery.
list_insight_sharing List Insight Sharing
Retrieve all sharing configurations and permissions for a specific insight within a project. This shows who has access to the insight and what level of access they have.
| Parameter | Type | Description |
|---|---|---|
insight_id * | integer | The unique identifier of the insight whose sharing settings you want to retrieve. |
project_id * | string | The unique identifier of the project containing the insight. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
create_insight_sharing_password Create Insight Sharing Password
Create a new password-based access control for sharing an insight. This allows you to protect shared insights with password authentication.
| Parameter | Type | Description |
|---|---|---|
insight_id * | integer | The unique identifier of the insight for which you want to create a sharing password. |
project_id * | string | The unique identifier of the project containing the insight. You can retrieve your project ID by calling the /api/projects/ endpoint. |
enabled | boolean | Whether password protection is enabled for this sharing configuration. |
password_required | boolean | Whether a password is required for accessing the shared insight. |
settings | Additional configuration settings for the password sharing behavior and constraints. |
delete_insight_sharing_password Delete Insight Sharing Password
Remove a specific password from an insight's sharing configuration, preventing further access via that password.
| Parameter | Type | Description |
|---|---|---|
insight_id * | integer | The unique identifier of the insight whose sharing password you want to delete. |
password_id * | string | The unique identifier of the password to remove from the insight's sharing configuration. |
project_id * | string | The unique identifier of the project containing the insight. You can retrieve your project ID by calling the /api/projects/ endpoint. |
refresh_insight_sharing Refresh Insight Sharing
Refresh or update the sharing configuration for an insight, allowing you to modify access settings, enable/disable sharing, and manage password protection.
| Parameter | Type | Description |
|---|---|---|
insight_id * | integer | The unique identifier of the insight whose sharing settings you want to refresh or update. |
project_id * | string | The unique identifier of the project containing the insight. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
enabled | boolean | Whether sharing is enabled for this insight. When true, the insight can be accessed by others according to the sharing settings. |
password_required | boolean | Whether a password is required to access the shared insight. When true, viewers must provide the configured password to view the insight. |
settings | Configuration object containing additional sharing parameters such as access levels, expiration settings, or recipient details. |
list_insight_thresholds List Insight Thresholds
Retrieve a paginated list of thresholds configured for a specific insight within a project. Thresholds define the alert conditions and limits for the insight's metrics.
| Parameter | Type | Description |
|---|---|---|
insight_id * | integer | The unique identifier of the insight for which to retrieve thresholds. |
project_id * | string | The unique identifier of the project containing the insight. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of threshold records to return in a single page of results. Use with offset for pagination. |
offset | integer | The zero-based starting position for results. Use with limit to paginate through threshold records. |
get_insight_threshold Get Insight Threshold
Retrieve a specific threshold configuration for an insight within a project. Thresholds define alert or metric boundaries for monitoring insight data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the threshold to retrieve. |
insight_id * | integer | The numeric identifier of the insight that contains the threshold. |
project_id * | string | The unique identifier of the project containing the insight. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
get_insight Get Insight
Retrieve a specific insight with permission validation. Supports cached responses via middleware while ensuring authorization, and allows control over data freshness through configurable refresh strategies.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the insight to retrieve. |
project_id * | string | The project ID containing the insight. Find your project ID by calling the /api/projects/ endpoint. |
from_dashboard | integer | Optional dashboard ID to apply that dashboard's filters and date range overrides when loading the insight. |
refresh | string | Controls data freshness and calculation strategy: use 'force_cache' for immediate cached results, 'blocking' for synchronous calculation unless fresh cache exists, 'async' for background calculation u… |
update_insight Update Insight
Update an insight within a project. Requires proper authorization; cached responses are validated against permissions before being returned.
update_insight_partial Update Insight
Partially update an insight within a project. This operation supports permission-gated access to cached responses, ensuring authorization before returning coalesced data.
mark_insight_deleted Mark Insight Deleted
Soft-delete an insight by marking it as deleted. Sends PATCH with {deleted: true} body — the underlying DELETE endpoint is not supported by the API.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the insight to be marked as deleted. |
project_id * | string | The unique identifier of the project containing the insight. Retrieve available project IDs by calling the /api/projects/ endpoint. |
get_insight_activity Get Insight Activity
Retrieve the activity history for a specific insight within a project. Returns cached activity data after verifying the requester has permission to access the insight.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the insight whose activity you want to retrieve. |
project_id * | string | The unique identifier of the project containing the insight. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
get_project_activity_insights Get Project Activity Insights
Retrieve activity insights for a specific project. Returns cached coalesced response data after verifying the request is authorized through authentication, permissions, and throttling checks.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project for which to retrieve activity insights. You can obtain the project ID by calling the /api/projects/ endpoint. |
generate_insight_metadata Generate Insight Metadata
Generate AI-suggested name and description for an insight based on its query configuration and metadata. Use this to automatically populate insight titles and descriptions from query parameters.
list_integrations List Integrations
Retrieve a paginated list of integrations configured for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of integration records to return in a single response page. Defaults to API's standard page size if not specified. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
get_integration Get Integration
Retrieve details for a specific integration within a project. Use this to fetch configuration, status, and metadata for an integration by its ID.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the integration to retrieve. This is a positive integer assigned when the integration was created. |
project_id * | string | The unique identifier of the project containing the integration. You can retrieve available project IDs by calling the projects list endpoint. |
delete_integration Delete Integration
Permanently removes an integration from a project. This action cannot be undone and will disconnect the integration from all workflows.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the integration to delete. This must be a positive integer value. |
project_id * | string | The unique identifier of the project containing the integration. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_github_branches List GitHub Branches
Retrieve a list of branches from a GitHub repository that is integrated with your project. This operation requires the repository to be specified in owner/repo format.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the GitHub integration within your project. |
project_id * | string | The unique identifier of the project containing the GitHub integration. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
repo * | string | The GitHub repository identifier in owner/repo format (e.g., octocat/Hello-World). Must be at least 1 character long. |
list_github_repos_for_integration List GitHub Repos for Integration
Retrieve the list of GitHub repositories available through a GitHub integration for a specific project. This allows you to see which repositories are connected and accessible via the integration.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the GitHub integration within the project. This must be a positive integer value. |
project_id * | string | The unique identifier of the project containing the integration. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_live_debugger_breakpoints List Live Debugger Breakpoints
Retrieve a list of breakpoints configured for live debugging in a project. Supports filtering by filename and repository, with pagination support.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
filename | string | Filter breakpoints by source filename to narrow results to a specific file. |
limit | integer | Maximum number of breakpoints to return in a single response page. |
offset | integer | Zero-based index position to start returning results from, used for pagination. |
repository | string | Filter breakpoints by repository to scope results to a specific codebase. |
create_live_debugger_breakpoint Create Live Debugger Breakpoint
Create a breakpoint for live debugging in a specific file and line of your project. Breakpoints can be conditionally triggered and enabled or disabled as needed.
| Parameter | Type | Description |
|---|---|---|
filename * | string | The file path or name where the breakpoint will be set. |
line_number * | integer | The line number where the breakpoint will be triggered. Must be a non-negative integer. |
project_id * | string | The unique identifier of the project where you want to create the breakpoint. You can retrieve your project ID by calling the /api/projects/ endpoint. |
condition | string | An optional conditional expression that must evaluate to true for the breakpoint to trigger. If not specified, the breakpoint triggers unconditionally. |
enabled | boolean | Whether the breakpoint is active. When disabled, the breakpoint will not trigger even if conditions are met. |
repository | string | The repository name or identifier where the file containing the breakpoint is located. |
get_live_debugger_breakpoint Get Live Debugger Breakpoint
Retrieve a specific live debugger breakpoint by its ID. Use this to fetch detailed information about a configured breakpoint for debugging purposes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the live debugger breakpoint to retrieve. |
project_id * | string | The unique identifier of the project containing the breakpoint. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
update_live_debugger_breakpoint Update Live Debugger Breakpoint
Update an existing breakpoint configuration for live debugging, including its location, enabled state, and conditional logic.
| Parameter | Type | Description |
|---|---|---|
filename * | string | The source file path where the breakpoint is set. |
id * | string | The unique identifier (UUID) of the breakpoint to update. |
line_number * | integer | The line number in the source file where the breakpoint applies. Must be a non-negative integer. |
project_id * | string | The unique identifier of the project containing the breakpoint. Retrieve available project IDs from the /api/projects/ endpoint. |
condition | string | An optional conditional expression that must evaluate to true for the breakpoint to trigger. |
enabled | boolean | Whether the breakpoint is currently active and will trigger during execution. |
repository | string | The repository where the breakpoint is located. |
update_live_debugger_breakpoint_partial Update Live Debugger Breakpoint
Partially update a live debugger breakpoint configuration, allowing you to modify its location, enabled status, or conditional logic without replacing the entire breakpoint.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the breakpoint to update. |
project_id * | string | The ID of the project containing the breakpoint. Retrieve available project IDs from the /api/projects/ endpoint. |
condition | string | An optional conditional expression that must evaluate to true for the breakpoint to trigger. |
enabled | boolean | Whether the breakpoint is currently active and will trigger during debugging. |
filename | string | The source file path where the breakpoint is located. |
line_number | integer | The line number in the source file where the breakpoint is set. Must be a non-negative integer. |
repository | string | The repository path or identifier where the breakpoint is set. |
delete_live_debugger_breakpoint Delete Live Debugger Breakpoint
Remove a breakpoint from live debugging for a specific project. This operation permanently deletes the breakpoint configuration and stops any associated debugging at that location.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the breakpoint to delete. |
project_id * | string | The unique identifier of the project containing the breakpoint. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_active_breakpoints List Active Breakpoints
Retrieve the list of active breakpoints for a project using a Project API Key. External client applications can use this endpoint to fetch breakpoints and instrument their code accordingly.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
enabled | boolean | When set to true, only return breakpoints that are currently enabled. Omit to return all active breakpoints regardless of enabled status. |
filename | string | Filter results to return only breakpoints set in a specific file. Provide the filename or file path as it appears in your repository. |
repository | string | Filter results to return only breakpoints in a specific repository. Use the repository identifier in the format 'owner/repository' (e.g., 'PostHog/posthog'). |
list_breakpoint_hits List Breakpoint Hits
Retrieve breakpoint hit events from your application's runtime, including stack traces, local variables, and execution context. Results can be filtered by specific breakpoints and paginated.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
breakpoint_ids | string | Filter results to only include hits from specific breakpoints by providing one or more breakpoint IDs. Repeat this parameter for each breakpoint ID you want to include. |
limit | integer | Maximum number of hit events to return in a single response. Defaults to 100 and cannot exceed 1000. |
offset | integer | Number of results to skip before returning hits, useful for pagination through large result sets. Defaults to 0. |
list_logs_attributes List Logs Attributes
Retrieve all available attributes for logs within a specific project. This operation returns the metadata about what attributes can be used to filter, search, or analyze logs in the project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain the project ID by calling the /api/projects/ endpoint to list all accessible projects. |
check_project_has_logs Check Project Has Logs
Check whether a project contains any logs. This operation determines if the specified project has log data available.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project to check for logs. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_notebooks List Notebooks
Retrieve a paginated list of notebooks for a specific project. Supports filtering by recording status or specific recording IDs, and pagination control.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the notebooks. Obtain this ID by calling the /api/projects/ endpoint. |
contains | string | Filter notebooks by specific criteria using colon-separated key-value pairs. Supports filtering by recording status (true/false) or a specific recording ID. Multiple filters can be combined using spac… |
limit | integer | Maximum number of notebook results to return in a single page of results. |
offset | integer | Zero-based index position from which to start returning results, used for pagination. |
create_notebook Create Notebook
Create a new notebook within a specified project. This feature is in early access and the API may change without notice.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the notebook will be created. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
title | string | The display name for the notebook. Must not exceed 256 characters. |
get_notebook Get Notebook
Retrieve a specific notebook by its short ID within a project. This feature is in early access and the API may change without notice.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the notebook. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the notebook to retrieve within the specified project. |
update_notebook Update Notebook
Update the title or other properties of an existing notebook within a project. This feature is in early access and the API may change without notice.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the notebook. You can retrieve your project ID by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the notebook to update. |
title | string | The new title for the notebook. Must be 256 characters or fewer. |
update_notebook_partial Update Notebook
Partially update a notebook's metadata within a project. Currently in early access; the API may have breaking changes without notice.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the notebook. Retrieve available project IDs by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the notebook to update. |
title | string | The new title for the notebook. Must not exceed 256 characters. |
soft_delete_notebook Soft Delete Notebook
Soft-delete a notebook by marking it as deleted. Sends PATCH with {deleted: true} body — the underlying DELETE endpoint is not supported by the API.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the notebook. Retrieve available project IDs by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the notebook to be marked as deleted. |
get_notebook_activity Get Notebook Activity
Retrieve the activity history for a specific notebook, including changes and interactions. This feature is in early access and the API may change without notice.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the notebook. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the notebook whose activity history you want to retrieve. |
list_object_media_previews List Object Media Previews
Retrieve a paginated list of media previews for objects within a specific project. Use pagination parameters to control the number of results and starting position.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the media previews. Retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of results to return in a single page of results. Omit to use the API's default page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
get_object_media_preview Get Object Media Preview
Retrieve a specific object media preview by its unique identifier within a project. This operation fetches metadata and preview information for a single media asset.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the object media preview to retrieve. |
project_id * | string | The unique identifier of the project containing the media preview. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_object_media_preview Update Object Media Preview
Update an object media preview for a specific project. Modify preview settings or metadata associated with a media preview resource identified by its UUID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the object media preview to update. |
project_id * | string | The unique identifier of the project containing the media preview. Retrieve available project IDs by calling the /api/projects/ endpoint. |
metadata | Additional metadata or configuration properties to apply to the media preview. |
update_object_media_preview_partial Update Object Media Preview
Partially update an object media preview within a project. Use this to modify specific fields of an existing media preview without replacing the entire resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the object media preview to update. |
project_id * | string | The unique identifier of the project containing the object media preview. Retrieve available project IDs by calling the /api/projects/ endpoint. |
metadata | Optional metadata object containing the fields to update for this object media preview. |
delete_object_media_preview Delete Object Media Preview
Permanently delete a specific object media preview from a project. This operation removes the preview resource identified by its UUID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the object media preview to delete. |
project_id * | string | The unique identifier of the project containing the object media preview. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_persisted_folders List Persisted Folders
Retrieve a paginated list of persisted folders for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of results to return in a single page. Omit or set to default for standard page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_persisted_folder Create Persisted Folder
Create a new persisted folder within a project. Persisted folders organize content by type (home, pinned, or custom products) and can optionally specify a protocol and path for storage or access configuration.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the persisted folder will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
type * | string | The folder type that determines its purpose and behavior: 'home' for the default home folder, 'pinned' for frequently accessed items, or 'custom_products' for custom product collections. |
path | string | Optional path specification for the folder's location or resource reference within the project structure. |
protocol | string | Optional protocol identifier for the folder's storage or access mechanism, up to 64 characters in length. |
get_persisted_folder Get Persisted Folder
Retrieve a specific persisted folder by its unique identifier within a project. Returns the folder's metadata and configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the persisted folder to retrieve. |
project_id * | string | The unique identifier of the project containing the persisted folder. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_persisted_folder Update Persisted Folder
Update the configuration of a persisted folder within a project, including its type classification and storage protocol settings.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the persisted folder to update. |
project_id * | string | The unique identifier of the project containing the persisted folder. Retrieve available project IDs by calling the /api/projects/ endpoint. |
type * | string | The classification type for the persisted folder: 'home' for the home directory, 'pinned' for pinned folders, or 'custom_products' for custom product folders. |
path | string | The file system path or location identifier for the persisted folder within the specified protocol. |
protocol | string | The storage protocol to use for the persisted folder (e.g., 's3', 'gcs', 'azure'). Maximum 64 characters. |
update_persisted_folder_partial Update Persisted Folder
Partially update a persisted folder's configuration within a project. Allows modification of protocol and path settings for an existing persisted folder.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the persisted folder to update. |
project_id * | string | The unique identifier of the project containing the persisted folder. Retrieve available project IDs from the /api/projects/ endpoint. |
path | string | The file system path or location associated with the persisted folder. |
protocol | string | The protocol type for the persisted folder connection, up to 64 characters in length. |
delete_persisted_folder Delete Persisted Folder
Permanently delete a persisted folder from a project. This operation removes the folder and all its associated data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the persisted folder to delete. |
project_id * | string | The unique identifier of the project containing the persisted folder. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_persons List Persons
Retrieve a paginated list of persons in a project. This endpoint supports filtering by person properties and is read-only; to create or update persons, use the capture API, property operations ($set/$unset), or SDKs.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of results to return in a single page of results. |
offset | integer | The starting position (zero-indexed) from which to return results, used for pagination. |
properties | array | Filter results by person properties. Provide an array of property conditions to narrow the list of returned persons. |
get_person Get Person
Retrieve detailed information about a specific person in a project. This endpoint supports reading person data by numeric ID or UUID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the person to retrieve. Can be either a numeric ID or a UUID format. |
project_id * | string | The unique identifier of the project containing the person. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_person_properties Update Person Properties
Update specific properties on a person record. Only the properties provided in the request will be updated; existing properties not included will remain unchanged. To remove properties, use the delete_property endpoint instead.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the person to update. Accepts either a numeric ID or UUID format. |
project_id * | string | The ID of the project containing the person. Retrieve available project IDs by calling the /api/projects/ endpoint. |
properties | A key-value map of person properties to update. Only the properties specified will be modified using set operations; omitted properties are unaffected. |
get_person_activity Get Person Activity
Retrieve the activity history for a specific person in a project. This endpoint provides read-only access to person activity data; to create or update person information, use the capture API, user properties ($set/$unset), or one of the PostHog SDKs.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the person whose activity you want to retrieve. |
project_id * | string | The unique identifier of the project containing the person. You can retrieve your project ID by calling the /api/projects/ endpoint. |
remove_person_property Remove Person Property
Remove a specific property from a person record. This operation deletes a property key and its value from the person's profile.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the person. Can be either a numeric ID or a UUID format. |
project_id * | string | The ID of the project containing the person. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
unset * | string | The property key to remove from the person's profile. Specify the exact property name you want to delete. |
split_person Split Person
Split a person record into separate identities. This operation divides a single person's data into multiple distinct person records, useful for resolving incorrectly merged user identities.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the person record to split. Must be a positive integer. |
project_id * | string | The unique identifier of the project containing the person. Retrieve available project IDs from the /api/projects/ endpoint. |
properties | Optional key-value mapping of person properties to assign to the split identity. Properties should correspond to valid person property keys defined in your project. |
set_person_property Set Person Property
Set or update a single property on a person. This endpoint modifies individual person properties; for bulk person creation or updates, use the capture API, $set/$unset properties, or SDKs instead.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the person to update. Accepts either a numeric ID or UUID format. |
key * | string | The property key name to set on the person. Use snake_case or camelCase naming conventions. |
project_id * | string | The ID of the project containing the person. Retrieve available project IDs by calling /api/projects/. |
value * | The value to assign to the property. Accepts strings, numbers, booleans, or objects. |
list_persons_activity List Persons Activity
Retrieve activity records for persons in a project. This endpoint supports reading and filtering person activity data; for creating or updating person information, use the capture API, user properties ($set/$unset), or PostHog SDKs.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_cohorts_for_person List Cohorts for Person
Retrieve all cohorts that a specific person belongs to within a project. This is a read-only operation; to modify person data, use the capture API or property operations.
| Parameter | Type | Description |
|---|---|---|
person_id * | string | The unique identifier or UUID of the person whose cohort memberships you want to retrieve. |
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_person_property_values List Person Property Values
Retrieve all distinct values for a specific person property across your project, with optional filtering. Useful for understanding the range of values users have for properties like email, plan, or role.
| Parameter | Type | Description |
|---|---|---|
key * | string | The person property key to retrieve values for (e.g., 'email', 'plan', 'role'). This identifies which user property you want to inspect. |
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
value | string | Optional search filter to narrow results to values containing this substring. The search is case-insensitive and matches any part of the value. |
list_plugin_config_logs List Plugin Config Logs
Retrieve execution logs for a specific plugin configuration within a project. Logs are paginated and can be filtered by offset and limit parameters.
| Parameter | Type | Description |
|---|---|---|
plugin_config_id * | integer | The unique identifier of the plugin configuration whose logs you want to retrieve. |
project_id * | string | The unique identifier of the project containing the plugin configuration. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of log entries to return in a single response page. Use with offset for pagination. |
offset | integer | The starting position in the result set from which to return logs. Use with limit to paginate through results. |
list_product_tours List Product Tours
Retrieve a paginated list of product tours for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the product tours. Obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of product tours to return in a single response page. Omit or adjust to control result set size. |
offset | integer | Zero-based starting position for results. Use with limit to paginate through large result sets. |
create_product_tour Create Product Tour
Create a new product tour for a project. Product tours guide users through features with interactive steps and can be scheduled to launch automatically within a specified date range.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the product tour. Must be 400 characters or fewer. |
project_id * | string | The unique identifier of the project where the product tour will be created. Retrieve project IDs by calling the /api/projects/ endpoint. |
auto_launch | boolean | Optional flag to enable automatic launching of the tour. When enabled, the tour will launch automatically if within the scheduled date range. |
description | string | Optional detailed description of the product tour's purpose and content. |
end_date | string | Optional end date and time for when the tour stops being active. Use ISO 8601 format (e.g., 2024-02-15T10:30:00Z). |
start_date | string | Optional start date and time for when the tour becomes active. Use ISO 8601 format (e.g., 2024-01-15T10:30:00Z). |
get_product_tour Get Product Tour
Retrieve a specific product tour by its ID within a project. Returns detailed information about the product tour configuration and content.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the product tour, provided as a UUID string. |
project_id * | string | The unique identifier of the project containing the product tour. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_product_tour Update Product Tour
Update an existing product tour within a project. Modify tour details such as name, description, launch behavior, and scheduling dates.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the product tour to update. |
name * | string | The name of the product tour. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project containing the product tour. Retrieve available project IDs from the /api/projects/ endpoint. |
auto_launch | boolean | Whether the product tour should launch automatically when conditions are met. |
description | string | A detailed description of the product tour's purpose and content. |
end_date | string | The date and time when the product tour expires or becomes inactive. Use ISO 8601 format. |
start_date | string | The date and time when the product tour becomes active. Use ISO 8601 format. |
update_product_tour_partial Update Product Tour (Partial)
Partially update a product tour's configuration, including its description, auto-launch settings, and scheduling dates. Only the fields provided will be updated.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the product tour to update. |
project_id * | string | The unique identifier of the project containing the product tour. Retrieve available project IDs from the /api/projects/ endpoint. |
auto_launch | boolean | Whether the product tour should launch automatically when conditions are met. |
description | string | The product tour's description text. |
end_date | string | The date and time when the product tour stops being active, specified in ISO 8601 format. |
start_date | string | The date and time when the product tour becomes active, specified in ISO 8601 format. |
delete_product_tour Delete Product Tour
Permanently delete a product tour from a project. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the product tour to delete. |
project_id * | string | The unique identifier of the project containing the product tour. You can retrieve your project ID by calling the /api/projects/ endpoint. |
delete_product_tour_draft Delete Product Tour Draft
Discard and remove draft content for a product tour, reverting any unsaved changes within the specified project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the product tour whose draft should be discarded. |
project_id * | string | The unique identifier of the project containing the product tour. Retrieve available project IDs by calling the /api/projects/ endpoint. |
update_product_tour_draft Update Product Tour Draft
Partially update draft content for a product tour with server-side merge. Changes are saved as draft without triggering any side effects or publishing.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the product tour to update. |
project_id * | string | The unique identifier of the project containing the product tour. Find your project ID by calling /api/projects/. |
auto_launch | boolean | Whether the product tour should automatically launch when conditions are met. |
description | string | The description text for the product tour. |
end_date | string | The date and time when the product tour expires or becomes inactive, in ISO 8601 format. |
start_date | string | The date and time when the product tour becomes active, in ISO 8601 format. |
get_product_tour_draft_status Get Product Tour Draft Status
Poll the draft status of a product tour to detect changes. This lightweight endpoint is designed for efficient change detection without retrieving the full tour data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the product tour whose draft status you want to check. |
project_id * | string | The unique identifier of the project containing the product tour. You can retrieve your project ID by calling the /api/projects/ endpoint. |
publish_product_tour_draft Publish Product Tour Draft
Publish a product tour draft to live, applying full validation and triggering associated side effects. Optionally merge changes into the draft before publishing to save and publish in a single request.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID identifier of the product tour to publish. |
name * | string | The name of the product tour. Maximum 400 characters. |
project_id * | string | The project ID containing the product tour. Retrieve available project IDs from the /api/projects/ endpoint. |
auto_launch | boolean | An optional boolean flag to enable automatic launch of the product tour. |
description | string | An optional description providing additional context about the product tour. |
end_date | string | An optional end date and time in ISO 8601 format when the product tour expires or becomes inactive. |
start_date | string | An optional start date and time in ISO 8601 format when the product tour becomes active. |
get_project_secret_api_key Get Project Secret API Key
Retrieve a specific secret API key for a project by its unique identifier. This operation returns the full details of the requested API key.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the project secret API key to retrieve. |
project_id * | string | The unique identifier of the project containing the API key. You can obtain the project ID by calling the list projects endpoint. |
update_project_secret_api_key Update Project Secret API Key
Update an existing secret API key for a project, including its label and permission scopes. This allows you to modify the configuration of an already-created API key.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the secret API key to update. |
label * | string | A human-readable label for the API key, up to 40 characters long. Use descriptive names to identify the key's purpose. |
project_id * | string | The project ID containing the secret API key. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
scopes * | array | An array of permission scopes that define what actions this API key is authorized to perform. Scopes control the key's access level and capabilities. |
update_project_secret_api_key_partial Update Project Secret API Key
Partially update a project secret API key's metadata, such as its label or assigned scopes. Only the fields provided in the request will be modified.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the project secret API key to update. |
project_id * | string | The unique identifier of the project containing the secret API key. You can retrieve your project ID by calling the /api/projects/ endpoint. |
label | string | A human-readable label for the API key, up to 40 characters long. Use this to identify the key's purpose or associated application. |
scopes | array | An array of permission scopes to assign to this API key. Each scope defines what actions the key is authorized to perform. |
delete_project_secret_api_key Delete Project Secret API Key
Permanently delete a secret API key from a project. This operation removes the specified API key and revokes any access it provided.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the project secret API key to delete. |
project_id * | string | The unique identifier of the project containing the API key. You can retrieve your project ID by calling the list projects endpoint. |
list_property_definitions List Property Definitions
Retrieve property definitions for a project with optional filtering by event names, property types, and verification status. Use this to discover available properties and their metadata for analytics and tracking.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve this from the /api/projects/ endpoint if unknown. |
event_names | string | JSON-encoded list of event names to filter property visibility. When provided, the response will indicate which properties appear in these events. |
exclude_core_properties | boolean | Set to true to exclude built-in core properties from the results. |
exclude_hidden | boolean | Set to true to exclude properties marked as hidden. |
excluded_properties | string | JSON-encoded list of property names to exclude from the results. |
filter_by_event_names | boolean | Set to true to return only properties that appear in the events specified by event_names. |
group_type_index | integer | The group type index for group-type properties. Only use this parameter when filtering for group properties. |
is_feature_flag | boolean | Set to true to return only feature flag properties, or false to exclude them. |
is_numerical | boolean | Set to true to return only numerical properties, or false to exclude them. |
limit | integer | Maximum number of results to return per page for pagination. |
offset | integer | Zero-based starting index for pagination to retrieve subsequent result pages. |
properties | string | Comma-separated list of specific property names to retrieve. |
verified | boolean | Filter by verification status: true returns only verified properties, false returns only unverified properties. |
get_property_definition Get Property Definition
Retrieve a specific property definition by its UUID within a project. Property definitions define custom fields and their configurations for project resources.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the property definition to retrieve. |
project_id * | string | The unique identifier of the project containing the property definition. You can retrieve your project ID by calling the list projects endpoint. |
update_property_definition Update Property Definition
Update an existing property definition within a project. Modify metadata such as description, tags, type, verification status, and visibility.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the property definition to update. |
project_id * | string | The unique identifier of the project containing the property definition. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | A text description of the property definition's purpose and usage. |
hidden | boolean | A boolean flag indicating whether this property definition should be hidden from standard views or listings. |
property_type | The data type or category of this property (e.g., string, number, boolean, date). Consult your API documentation for valid property type values. | |
tags | array | An array of tags for categorizing and organizing the property definition. Order and format depend on your tagging system. |
verified | boolean | A boolean flag indicating whether this property definition has been verified or validated. |
update_property_definition_partial Update Property Definition
Partially update a property definition within a project. Allows modification of metadata such as description, tags, property type, and visibility settings.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the property definition to update. |
project_id * | string | The unique identifier of the project containing the property definition. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | A text description providing context or details about the property definition. |
hidden | boolean | A boolean flag indicating whether the property definition should be hidden from standard views or listings. |
property_type | The data type or category of the property (e.g., string, number, boolean, date). Consult API documentation for valid property type values. | |
tags | array | An array of tags for categorizing or labeling the property definition. Order and format depend on the API's tag system. |
verified | boolean | A boolean flag indicating whether the property definition has been verified or validated. |
delete_property_definition Delete Property Definition
Permanently delete a property definition from a project. This removes the property definition and any associated metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the property definition to delete. |
project_id * | string | The unique identifier of the project containing the property definition. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
query_create Create Query
Execute a data analysis query against a PostHog project. Supports HogQL queries with configurable caching and execution modes (sync/async). Responses are gated behind permission checks and may be served from cache if available.
get_query Get Query
Retrieve a specific saved query by its ID within a project. This operation allows you to fetch the details and configuration of a previously created query.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the query to retrieve. |
project_id * | string | The unique identifier of the project containing the query. You can obtain the project ID by calling the /api/projects/ endpoint. |
delete_query Delete Query
Permanently delete a saved query from a project. This operation removes the query and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the query to delete. |
project_id * | string | The unique identifier of the project containing the query. You can retrieve your project ID by calling the /api/projects/ endpoint. |
get_sandbox_environment Get Sandbox Environment
Retrieve a specific sandbox environment configuration that controls network access policies for task runs within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the sandbox environment to retrieve. |
project_id * | string | The unique identifier of the project containing the sandbox environment. Use the /api/projects/ endpoint to discover available project IDs. |
update_sandbox_environment Update Sandbox Environment
Partially update a sandbox environment's network access configuration and visibility settings. Allows modification of network access levels, allowed domains, repository associations, and team visibility.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the sandbox environment to update. |
project_id * | string | The unique identifier of the project containing this sandbox environment. Retrieve available project IDs from the /api/projects/ endpoint. |
allowed_domains | array | A list of domain names to allow network access to when using 'custom' network access level. Each domain should be specified as a fully qualified domain name. |
include_default_domains | boolean | When true, includes default trusted domains (GitHub, npm, PyPI) in addition to any custom allowed domains. Only applicable with 'custom' network access level. |
network_access_level | string | The network access level for the sandbox: 'trusted' for restricted access to default domains, 'full' for unrestricted network access, or 'custom' for a curated list of allowed domains. |
private | boolean | When true, restricts visibility to only the creator; when false, makes the environment visible to all team members. |
repositories | array | A list of repositories this sandbox environment applies to, specified in 'organization/repository' format. Controls which repositories can use this environment configuration. |
delete_sandbox_environment Delete Sandbox Environment
Permanently removes a sandbox environment from a project, disabling network access controls for any associated task runs.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the sandbox environment to delete. |
project_id * | string | The unique identifier of the project containing the sandbox environment. Retrieve available project IDs by calling the list projects endpoint. |
list_saved_items List Saved Items
Retrieve a paginated list of saved items for a specific project. Use pagination parameters to control the number of results and starting position.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of results to return in a single page of results. Omit to use the default page size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_saved_url Create Saved URL
Save a URL to a project for later reference. The URL is stored as a saved item within the specified project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the URL will be saved. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
url * | string | A valid URI to save. The URL must be properly formatted and cannot exceed 2000 characters in length. |
get_saved_item Get Saved Item
Retrieve a specific saved item from a project using its short identifier. This operation fetches a previously saved resource within the context of a given project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the saved item. You can retrieve available project IDs by calling the projects list endpoint. |
short_id * | string | The short identifier of the saved item to retrieve within the specified project. |
update_saved_partial Update Saved Item
Partially update a saved item within a project by modifying specific fields. Use this to update individual properties of a saved resource without replacing the entire object.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the saved item. Retrieve available project IDs by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the saved item to update within the specified project. |
url | string | An optional URI to associate with or update for the saved item. Must be a valid URI format and not exceed 2000 characters in length. |
mark_saved_deleted Mark Saved Deleted
Soft-delete a saved query by marking it as deleted. Sends PATCH with {deleted: true} body — the underlying DELETE endpoint is not supported by the API.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the saved item. Retrieve available project IDs by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the saved item to be marked as deleted. |
list_schema_property_groups List Schema Property Groups
Retrieve a paginated list of schema property groups for a specific project. Schema property groups organize custom properties used in your project's schema.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of results to return in a single page of results. Use with offset for pagination. |
offset | integer | The starting position (zero-indexed) from which to return results. Use with limit to paginate through large result sets. |
create_schema_property_group Create Schema Property Group
Create a new schema property group within a project to organize and manage related schema properties. Property groups help structure schema definitions for better organization and reusability.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the property group. Must be 400 characters or fewer. |
project_id * | string | The unique identifier of the project where the property group will be created. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
description | string | An optional description providing additional context or details about the purpose and usage of this property group. |
properties | array | An optional array of properties to include in this group. Properties define the schema fields and their configurations within the group. |
get_schema_property_group Get Schema Property Group
Retrieve a specific schema property group by its unique identifier within a project. Use this to fetch detailed configuration and metadata for a property group.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the schema property group to retrieve. |
project_id * | string | The unique identifier of the project containing the schema property group. Find your project ID by calling the projects list endpoint. |
update_schema_property_group Update Schema Property Group
Update an existing schema property group within a project. Modify the group's name, description, and associated properties.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the schema property group to update. |
name * | string | The name of the schema property group. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project containing the schema property group. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | An optional description providing additional context or details about the schema property group. |
properties | array | An optional array of properties to associate with this schema property group. Order and format depend on the API's property schema requirements. |
update_schema_property_group_partial Partially Update Schema Property Group
Partially update a schema property group within a project. Allows modification of the group's description and properties without replacing the entire resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the schema property group to update. |
project_id * | string | The unique identifier of the project containing the schema property group. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | A text description for the schema property group. Provides context about the group's purpose or usage. |
properties | array | An ordered array of properties belonging to this schema property group. Each item defines a property within the group. |
delete_schema_property_group Delete Schema Property Group
Permanently delete a schema property group from a project. This operation removes the property group and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the schema property group to delete. |
project_id * | string | The unique identifier of the project containing the schema property group. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_session_group_summaries List Session Group Summaries
Retrieve a paginated list of stored group session summaries for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the session group summaries. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of results to return in a single page of results. Omit or set to default for standard pagination. |
offset | integer | Zero-based index position from which to start returning results, used for pagination offset. |
get_session_group_summary Get Session Group Summary
Retrieve a stored session group summary by its unique identifier within a specific project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the session group summary to retrieve. |
project_id * | string | The project ID that contains the session group summary. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_session_group_summary Update Session Group Summary
Update an existing session group summary for a specific project. Modify stored group session summary data by providing the summary ID and project context.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the session group summary to update. |
project_id * | string | The unique identifier of the project containing the session group summary. Retrieve available project IDs from the /api/projects/ endpoint. |
update_session_group_summary_partial Update Session Group Summary
Partially update a stored group session summary within a project. Use this to modify specific fields of an existing session group summary without replacing the entire resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the session group summary to update. |
project_id * | string | The unique identifier of the project containing the session group summary. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
delete_session_group_summary Delete Session Group Summary
Permanently delete a stored group session summary from a project. This operation removes the summary record and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the session group summary to delete. |
project_id * | string | The unique identifier of the project containing the session group summary. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_session_recording_playlists List Session Recording Playlists
Retrieve a list of session recording playlists for a project, including both user-created and synthetic playlists. Results are paginated and can be filtered by playlist short ID.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of playlists to return per page. Use with offset for pagination. |
offset | integer | The starting position for results, enabling pagination through large result sets. |
short_id | string | Filter results by the short identifier of a specific playlist. |
get_session_recording_playlist Get Session Recording Playlist
Retrieve a specific session recording playlist by its short ID within a project. This returns the playlist details and configuration for the given project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the session recording playlist. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
short_id * | string | The short ID of the session recording playlist to retrieve. This is a unique identifier for the playlist within the project. |
update_session_recording_playlist Update Session Recording Playlist
Update an existing session recording playlist, including its description, pinned status, and filtering criteria.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the playlist. Retrieve project IDs by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the session recording playlist to update. |
description | string | A text description for the playlist to help identify its purpose or contents. |
filters | Filter criteria to define which session recordings are included in this playlist. | |
pinned | boolean | Whether to pin this playlist for quick access or visibility in the project. |
update_session_recording_playlist_partial Update Session Recording Playlist
Partially update a session recording playlist by modifying its metadata, description, pinned status, or filtering criteria within a specific project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the playlist. Retrieve available project IDs by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the session recording playlist to update. |
description | string | A text description for the playlist, providing context about its purpose or contents. |
filters | Filter criteria to define which session recordings are included in the playlist. Specify as a structured filter object. | |
pinned | boolean | A boolean flag indicating whether the playlist should be pinned for quick access (true) or unpinned (false). |
list_recordings_in_playlist List Recordings in Playlist
Retrieve all recordings contained within a specific session recording playlist. This allows you to view the list of recordings that have been organized into a playlist for a given project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the playlist. You can retrieve your project ID by calling the /api/projects/ endpoint. |
short_id * | string | The short identifier of the session recording playlist from which to retrieve recordings. |
list_session_recordings List Session Recordings
Retrieve a paginated list of session recordings for a specific project. Use limit and offset parameters to control pagination through the results.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the session recordings. Obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of session recordings to return in a single response page. Controls pagination size. |
offset | integer | Zero-based index position from which to start returning results. Use with limit to paginate through large result sets. |
get_session_recording Get Session Recording
Retrieve a specific session recording by its unique identifier within a project. Returns detailed metadata and content for the requested recording.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the session recording to retrieve. |
project_id * | string | The unique identifier of the project containing the session recording. You can retrieve your project ID by calling the /api/projects/ endpoint. |
update_session_recording Update Session Recording
Update metadata and properties for a specific session recording within a project. Use this to modify recording attributes such as person properties via $set and $set_once operations.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the session recording to update, provided as a UUID string. |
project_id * | string | The unique identifier of the project containing the session recording. Retrieve available project IDs by calling the /api/projects/ endpoint. |
properties | A key-value map of person properties to set or update on the session recording. Supports $set operations for standard updates and $set_once operations for values that should only be set if not already… |
update_session_recording_partial Update Session Recording
Partially update a session recording within a project. Use this to modify specific properties of an existing session recording without affecting other fields.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the session recording to update. |
project_id * | string | The unique identifier of the project containing the session recording. Retrieve available project IDs by calling the /api/projects/ endpoint. |
properties | A key-value map of properties to update on the session recording. Supports $set operations to assign values and $set_once operations to set values only if not previously set. |
delete_session_recording Delete Session Recording
Permanently delete a specific session recording from a project. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the session recording to delete. |
project_id * | string | The unique identifier of the project containing the session recording. You can retrieve your project ID by calling the /api/projects/ endpoint. |
create_session_recording_sharing_password Create Session Recording Sharing Password
Create a new password for session recording sharing configuration. This enables password-protected access to shared session recordings.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the session recording. Retrieve available project IDs by calling the /api/projects/ endpoint. |
recording_id * | string | The unique identifier of the session recording for which to create a sharing password. |
enabled | boolean | Whether the password protection is enabled for this sharing configuration. |
password_required | boolean | Whether a password is required to access the shared session recording. |
settings | Additional configuration settings for the password sharing behavior and constraints. |
refresh_session_recording_sharing Refresh Session Recording Sharing
Refresh or update the sharing configuration for a session recording, allowing you to regenerate sharing links and modify access settings like password protection and enablement status.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the session recording. Retrieve available project IDs by calling the /api/projects/ endpoint. |
recording_id * | string | The unique identifier of the session recording whose sharing configuration should be refreshed. |
enabled | boolean | Whether the sharing link for this recording should be enabled or disabled. When enabled, the recording can be accessed via the sharing link; when disabled, access is revoked. |
password_required | boolean | Whether a password is required to access the shared recording. When enabled, viewers must provide the correct password to view the session. |
settings | Additional configuration settings for the sharing link, such as expiration policies, access restrictions, or other sharing preferences. |
list_session_property_definitions List Session Property Definitions
Retrieve all property definitions available for sessions within a specific project. Property definitions define the custom attributes and metadata that can be attached to session records.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain the project ID by calling the /api/projects/ endpoint to list available projects. |
list_signal_source_configs List Signal Source Configs
Retrieve a paginated list of signal source configurations for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the signal source configurations. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of results to return in a single page of results. Omit or set to default for standard pagination. |
offset | integer | Zero-based index position from which to start returning results, used for pagination offset. |
create_signal_source_config Create Signal Source Config
Create a new signal source configuration for a project to integrate external data sources like session replay, LLM analytics, GitHub, Linear, Zendesk, or error tracking systems.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the signal source configuration will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
source_product * | string | The external product or service to integrate with: session_replay, llm_analytics, github, linear, zendesk, or error_tracking. |
source_type * | string | The type of data or event to capture from the source product. Valid types include session_analysis_cluster, evaluation, issue, ticket, issue_created, issue_reopened, and issue_spiking. The available t… |
enabled | boolean | Whether this signal source configuration is active and should process incoming data. Defaults to false if not specified. |
get_signal_source_config Get Signal Source Config
Retrieve a specific signal source configuration by its unique identifier within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the signal source config to retrieve. |
project_id * | string | The unique identifier of the project containing the signal source config. Use the /api/projects/ endpoint to discover available project IDs. |
update_signal_source_config Update Signal Source Config
Update the configuration for a signal source integration, including its enabled status and source type mapping. This allows you to modify how data from external sources (like session replay, GitHub, or error tracking) is processed and categorized within your project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the signal source configuration to update. |
project_id * | string | The unique identifier of the project containing this signal source configuration. Retrieve available project IDs from the /api/projects/ endpoint. |
source_product * | string | The external product or service providing the signal data: session_replay, llm_analytics, github, linear, zendesk, or error_tracking. |
source_type * | string | The classification type for how this signal source data is categorized: session_analysis_cluster, evaluation, issue, ticket, issue_created, issue_reopened, or issue_spiking. |
enabled | boolean | Whether this signal source configuration is active and processing data. When enabled, the configuration will be used to ingest and process signals from the specified source. |
update_signal_source_config_partial Partially Update Signal Source Config
Partially update a signal source configuration for a project. Allows modification of the source product, source type, and enabled status of an existing signal source config.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the signal source config to update. |
project_id * | string | The unique identifier of the project containing the signal source config. Retrieve available project IDs from the /api/projects/ endpoint. |
enabled | boolean | Whether the signal source config is active and enabled for use. |
source_product | string | The product category for the signal source. Choose from: session_replay, llm_analytics, github, linear, zendesk, or error_tracking. |
source_type | string | The type of signal source within the product. Choose from: session_analysis_cluster, evaluation, issue, ticket, issue_created, issue_reopened, or issue_spiking. |
delete_signal_source_config Delete Signal Source Config
Permanently delete a signal source configuration from a project. This operation removes the specified signal source config and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the signal source config to delete. |
project_id * | string | The unique identifier of the project containing the signal source config. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
create_subscription Create Subscription
Create a new subscription to receive automated reports or notifications for a project dashboard. Subscriptions can be delivered via email, Slack, or webhook at specified intervals.
| Parameter | Type | Description |
|---|---|---|
frequency * | string | How often the subscription is delivered: daily, weekly, monthly, or yearly. |
project_id * | string | The unique identifier of the project. Retrieve this from the /api/projects/ endpoint if unknown. |
start_date * | string | The date and time when the subscription begins, in ISO 8601 format. |
target_type * | string | The delivery channel for the subscription: email, Slack, or webhook. |
target_value * | string | The destination address or URL where the subscription will be delivered (email address, Slack channel, or webhook URL). |
bysetpos | integer | The position within the recurrence pattern (e.g., 1 for first occurrence, -1 for last occurrence in the period). |
byweekday | array | Array of weekday numbers (0-6, where 0 is Monday) to specify which days of the week the subscription should be sent. |
count | integer | The maximum number of times the subscription will be sent before it automatically stops. |
dashboard | integer | The ID of the dashboard to subscribe to for updates. |
dashboard_export_insights | array | Array of insight IDs to export and include in dashboard subscription deliveries. |
insight | integer | The ID of the insight to include in the subscription. |
interval | integer | The interval multiplier for the frequency (e.g., interval=2 with frequency=weekly means every 2 weeks). |
invite_message | string | An optional message to include in the subscription delivery to provide context or instructions to recipients. |
title | string | A display name for the subscription (maximum 100 characters). |
until_date | string | The date and time when the subscription ends and stops being sent, in ISO 8601 format. If omitted, the subscription continues indefinitely. |
get_subscription Get Subscription
Retrieve a specific subscription by its ID within a project. Returns detailed information about the subscription including its configuration and status.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the subscription to retrieve. Must be a positive integer. |
project_id * | string | The unique identifier of the project containing the subscription. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
update_subscription Update Subscription
Update an existing subscription for automated reports or notifications. Modify delivery settings, frequency, scheduling, and content preferences for a specific subscription within a project.
| Parameter | Type | Description |
|---|---|---|
frequency * | string | How often the subscription is delivered: daily, weekly, monthly, or yearly. |
id * | integer | The unique identifier of the subscription to update. |
project_id * | string | The project ID containing the subscription. Retrieve available project IDs from the /api/projects/ endpoint. |
start_date * | string | The date and time when the subscription should begin, in ISO 8601 format. |
target_type * | string | The delivery channel for the subscription: email, Slack, or webhook. |
target_value * | string | The destination address or identifier for the subscription (email address, Slack channel/user ID, or webhook URL). |
bysetpos | integer | The position within a recurrence pattern (e.g., 1 for first occurrence, -1 for last occurrence in the period). |
byweekday | array | An array of weekday numbers (0-6, where 0 is Monday) to specify which days of the week the subscription should be sent. |
count | integer | The maximum number of times the subscription should be delivered before stopping. |
dashboard | integer | The ID of the dashboard to associate with this subscription. |
dashboard_export_insights | array | An array of dashboard export insight IDs to include in the subscription delivery. |
insight | integer | The ID of the insight to associate with this subscription. |
interval | integer | The interval multiplier for the frequency (e.g., interval=2 with frequency=weekly means every 2 weeks). |
invite_message | string | An optional message to include when inviting recipients to the subscription. |
title | string | A human-readable title for the subscription, up to 100 characters. |
until_date | string | The date and time when the subscription should end, in ISO 8601 format. If not specified, the subscription continues indefinitely. |
update_subscription_partial Partially Update Subscription
Partially update a subscription for a project, allowing modification of delivery settings, scheduling, and notification preferences.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the subscription to update. |
project_id * | string | The unique identifier of the project containing the subscription. Retrieve project IDs from the /api/projects/ endpoint. |
bysetpos | integer | The position within the recurrence pattern (e.g., last occurrence of the month). Must be a valid 32-bit integer. |
byweekday | array | An array of weekdays (0-6, where 0 is Monday) on which the subscription should recur when using weekly frequency. |
count | integer | The maximum number of times the subscription should recur. Must be a valid 32-bit integer. |
dashboard | integer | The ID of the dashboard associated with this subscription. |
dashboard_export_insights | array | An array of dashboard export insight IDs to include in this subscription. |
frequency | string | The recurrence frequency for the subscription: daily, weekly, monthly, or yearly. |
insight | integer | The ID of the insight associated with this subscription. |
interval | integer | The interval between recurrences (e.g., every 2 weeks). Must be a valid 32-bit integer. |
invite_message | string | An optional message to include when inviting recipients to the subscription. |
start_date | string | The date and time when the subscription should begin (ISO 8601 format). |
target_type | string | The delivery channel for the subscription: email, Slack, or webhook. |
target_value | string | The destination address or URL where the subscription will be delivered (email address, Slack channel, or webhook URL). |
title | string | A descriptive title for the subscription (up to 100 characters). |
until_date | string | The date and time when the subscription should end (ISO 8601 format). |
soft_delete_subscription Soft Delete Subscription
Mark a subscription as deleted without permanently removing it from the database. Use this operation to soft-delete subscriptions; hard deletion is not supported.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique integer identifier of the subscription to be soft-deleted. |
project_id * | string | The unique identifier of the project containing the subscription. Retrieve available project IDs by calling the projects list endpoint. |
list_surveys List Surveys
Retrieve a paginated list of surveys for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the surveys. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of survey results to return in a single page. Use with offset for pagination control. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_survey Create Survey
Create a new survey within a project. Surveys can be configured with multiple question types, scheduling behavior, targeting conditions, and appearance customization to collect user feedback.
get_survey Get Survey
Retrieve a specific survey by its ID within a project. Returns the survey's configuration, questions, and metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the survey to retrieve. |
project_id * | string | The unique identifier of the project containing the survey. Use the /api/projects/ endpoint to discover available project IDs. |
update_survey Update Survey
Update an existing survey with new configuration, questions, appearance settings, and scheduling options. Allows modification of survey type, questions with branching logic, display settings, and response collection parameters.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the survey to update. |
name * | string | The display name of the survey. Maximum 400 characters. |
project_id * | string | The unique identifier of the project containing the survey. Retrieve available project IDs from the /api/projects/ endpoint. |
type * | string | The survey delivery method: popover (inline popup), widget (embedded component), external_survey (hosted externally), or api (programmatic access). |
appearance | Optional visual and behavioral appearance settings for the survey interface. | |
description | string | Optional detailed description or context for the survey. |
enable_iframe_embedding | boolean | Optional flag to enable embedding the survey in an iframe on external websites. |
enable_partial_responses | boolean | Optional flag to allow respondents to submit incomplete surveys without answering all questions. |
end_date | string | Optional survey end date and time in ISO 8601 format. Survey will not be active after this date. |
iteration_count | integer | Optional number of times to repeat the survey. Must be between 0 and 500 iterations. |
iteration_frequency_days | integer | Optional number of days between survey iterations. Must be a non-negative integer. |
questions | Array of survey questions in any combination of types: open-ended (open), link-based (link), rating scales (rating), or choice-based (single_choice/multiple_choice). Each question supports optional br… | |
response_sampling_interval | integer | Optional sampling interval value. Must be a non-negative integer up to 2,147,483,647. Meaning depends on the sampling interval type. |
response_sampling_interval_type | Optional sampling strategy type for response collection (e.g., every nth response, percentage-based). | |
response_sampling_limit | integer | Optional maximum number of responses to collect when using response sampling. Must be a non-negative integer up to 2,147,483,647. |
responses_limit | integer | Optional maximum number of responses to collect. Must be a non-negative integer up to 2,147,483,647. |
schedule | string | Optional scheduling configuration for survey deployment and timing. |
start_date | string | Optional survey start date and time in ISO 8601 format. Survey will not be active before this date. |
translations | Optional translations object mapping language codes to translated survey content and labels. |
update_survey_partial Partially Update Survey
Partially update a survey's configuration, including questions, scheduling, display conditions, and appearance settings. Use this to modify any aspect of an existing survey without replacing the entire resource.
delete_survey Delete Survey
Permanently delete a survey from a project. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the survey to delete. |
project_id * | string | The unique identifier of the project containing the survey. You can retrieve your project ID by calling the /api/projects/ endpoint. |
get_survey_activity Get Survey Activity
Retrieve the activity history for a specific survey within a project. This shows all actions and changes that have occurred on the survey.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the survey whose activity you want to retrieve. |
project_id * | string | The unique identifier of the project containing the survey. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_archived_response_uuids_for_survey List Archived Response UUIDs for Survey
Retrieve a list of archived response UUIDs for a specific survey. Use these UUIDs to filter out archived responses when constructing HogQL queries on the frontend.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID of the survey for which to retrieve archived response identifiers. |
project_id * | string | The unique identifier of the project containing the survey. Find your project ID by calling the /api/projects/ endpoint. |
archive_survey_response Archive Survey Response
Archive a single survey response by its UUID. This operation marks the response as archived within the specified survey and project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID of the survey containing the response to archive. Must be a valid UUID format. |
name * | string | The name of the survey. Maximum length is 400 characters. |
project_id * | string | The unique identifier of the project. Retrieve available project IDs from the /api/projects/ endpoint. |
response_uuid * | string | The UUID of the specific survey response to archive. Must not contain forward slashes. |
type * | string | The survey delivery type. Choose from: popover (embedded popup), widget (embedded component), external_survey (hosted externally), or api (programmatic access). |
appearance | Optional appearance configuration controlling visual styling, colors, fonts, and layout of the survey. | |
conditions | Optional conditions that control survey display and targeting logic. | |
description | string | Optional description providing additional context about the survey. |
enable_iframe_embedding | boolean | Optional boolean flag to enable embedding the survey within an iframe on external websites. |
enable_partial_responses | boolean | Optional boolean flag to allow survey responses to be saved and resumed before completion. |
end_date | string | Optional survey end date and time in ISO 8601 format. Survey will not display after this date. |
iteration_count | integer | Optional number of survey iterations or cycles to run. Must be between 0 and 500. |
iteration_frequency_days | integer | Optional interval in days between survey iterations. Must be a non-negative integer up to 2,147,483,647. |
questions | Array of survey questions. Each question must be one of four types: Basic (open-ended), Link (with URL), Rating (with scale), or Multiple Choice (single or multiple selection). Questions support branc… | |
response_sampling_interval | integer | Optional sampling interval value defining the frequency or rate of response sampling. Must be a non-negative integer up to 2,147,483,647. |
response_sampling_interval_type | Optional sampling strategy type for response collection (e.g., random, sequential, or time-based). | |
response_sampling_limit | integer | Optional maximum number of responses to collect via sampling. Must be a non-negative integer up to 2,147,483,647. |
responses_limit | integer | Optional maximum number of responses to collect. Must be a non-negative integer up to 2,147,483,647. |
schedule | string | Optional scheduling configuration for survey deployment timing and frequency. |
start_date | string | Optional survey start date and time in ISO 8601 format. Survey will not display before this date. |
translations | Optional translations object mapping language codes to translated survey content fields for multi-language support. |
unarchive_survey_response Unarchive Survey Response
Restore a previously archived survey response to active status. This operation moves a single response back into the main response collection for the specified survey.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID of the survey containing the response to unarchive. |
name * | string | The name of the survey. Maximum 400 characters. |
project_id * | string | The unique identifier of the project containing the survey. Retrieve this from the /api/projects/ endpoint if needed. |
response_uuid * | string | The UUID of the specific survey response to unarchive. |
type * | string | The survey delivery method: popover (embedded modal), widget (embedded form), external_survey (hosted externally), or api (programmatic). |
appearance | Optional appearance configuration controlling survey styling, layout, and visual presentation. | |
conditions | Optional conditions that control survey visibility and targeting logic. | |
description | string | Optional description providing additional context about the survey. |
enable_iframe_embedding | boolean | Optional flag to enable embedding the survey within an iframe on external websites. |
enable_partial_responses | boolean | Optional flag to allow survey responses to be saved and resumed later without completing all questions. |
end_date | string | Optional end date and time for survey deactivation in ISO 8601 format. |
iteration_count | integer | Optional number of survey iterations or cycles to run. Must be between 0 and 500. |
iteration_frequency_days | integer | Optional interval in days between survey iterations. Must be between 0 and 2,147,483,647. |
questions | Array of survey questions in any combination of types: Basic (open-ended), Link (with URL), Rating (scale-based, optionally NPS), or Multiple Choice (single or multiple selection). Each question suppo… | |
response_sampling_interval | integer | Optional sampling interval value controlling response collection frequency. Must be between 0 and 2,147,483,647. |
response_sampling_interval_type | Optional sampling strategy type for response collection (e.g., random, systematic). | |
response_sampling_limit | integer | Optional maximum number of responses to collect via sampling. Must be between 0 and 2,147,483,647. |
responses_limit | integer | Optional maximum number of responses to collect. Must be between 0 and 2,147,483,647. |
schedule | string | Optional scheduling configuration for survey deployment timing. |
start_date | string | Optional start date and time for survey activation in ISO 8601 format. |
translations | Optional object mapping language codes to translated survey content, allowing multi-language support for questions, descriptions, labels, and other text fields. |
get_survey_statistics Get Survey Statistics
Retrieve aggregated response statistics for a survey, including event counts, unique respondent metrics, and conversion rates. Optionally filter by date range and archived response status.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID identifier of the survey for which to retrieve statistics. |
project_id * | string | The UUID identifier of the project containing the survey. Use /api/projects/ to discover available project IDs. |
create_survey_summary_headline Create Survey Summary Headline
Create a summary headline for a survey within a project. This configures the survey's display type, questions, scheduling, and response collection settings.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the survey to create a summary headline for. |
name * | string | The display name for the survey headline. Maximum 400 characters. |
project_id * | string | The unique identifier of the project containing the survey. Retrieve available project IDs from the /api/projects/ endpoint. |
type * | string | The survey delivery method: popover (inline popup), widget (embedded component), external_survey (standalone link), or api (programmatic access). |
appearance | Optional styling and presentation settings including colors, fonts, positioning, and visual theme customization. | |
conditions | Optional conditional logic rules that determine when the survey should be displayed or which questions should appear based on user attributes or responses. | |
description | string | Optional detailed description providing additional context about the survey. |
enable_iframe_embedding | boolean | Optional flag to enable embedding the survey within an iframe on external websites. |
enable_partial_responses | boolean | Optional flag to allow users to submit incomplete surveys with unanswered questions. |
end_date | string | Optional end date and time (ISO 8601 format) for when the survey stops collecting responses. |
iteration_count | integer | Optional number of survey iterations or cycles to run. Must be between 0 and 500. |
iteration_frequency_days | integer | Optional interval in days between survey iterations. Must be a non-negative integer. |
questions | Array of survey questions in any combination of four types: Basic (open-ended), Link (with URL), Rating (scale-based, optionally NPS), or Multiple Choice (single or multiple selection). Each question… | |
response_sampling_interval | integer | Optional sampling interval value used with the sampling strategy type. Must be a non-negative integer. |
response_sampling_interval_type | Optional sampling strategy type that determines how responses are selected for collection (e.g., every nth response, random sampling). | |
response_sampling_limit | integer | Optional maximum number of responses to collect when using response sampling. Must be a non-negative integer. |
responses_limit | integer | Optional maximum number of responses to collect before closing the survey. Must be a non-negative integer. |
schedule | string | Optional scheduling configuration for when the survey should be displayed or active. |
start_date | string | Optional start date and time (ISO 8601 format) for when the survey becomes active. |
translations | Optional object mapping language codes to translated versions of survey fields (name, description, and question content), enabling multi-language survey delivery. |
list_surveys_activity List Surveys Activity
Retrieve activity records for surveys within a specific project. This endpoint provides insights into survey-related events and interactions for the given project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can obtain this ID by calling the /api/projects/ endpoint to list available projects. |
get_survey_response_counts Get Survey Response Counts
Retrieve the total number of responses for all surveys in a project, with optional filtering by survey IDs and archived status.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve your project ID by calling the /api/projects/ endpoint. |
get_surveys_stats Get Surveys Stats
Retrieve aggregated response statistics across all surveys in a project, with optional filtering by date range.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_tasks List Tasks
Retrieve a paginated list of tasks for a project with optional filtering by origin product, stage, organization, repository, and creator. Use filtering parameters to narrow results to specific task categories or sources.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the projects list endpoint. |
internal | boolean | Filter tasks by internal status. When not specified, internal tasks are excluded by default. |
limit | integer | Maximum number of tasks to return per page for pagination. |
offset | integer | Zero-based index position to start returning results from, used for pagination. |
organization | string | Filter tasks by the repository organization name. Must be at least 1 character. |
origin_product | string | Filter tasks by their origin product. Must be at least 1 character. |
repository | string | Filter tasks by repository name, optionally in organization/repository format. Must be at least 1 character. |
stage | string | Filter tasks by their current run stage. Must be at least 1 character. |
create_task Create Task
Create a new task within a project. Tasks represent discrete units of work that can be assigned to agents for execution.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the task will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
title * | string | The name or title of the task. This is the primary identifier displayed to users and agents. |
assignee | string | The identifier of the agent or user responsible for completing this task. If not specified, the task remains unassigned. |
description | string | A detailed explanation of the task's purpose, requirements, or context. Provides additional information beyond the title to guide task execution. |
get_task Get Task
Retrieve a specific task within a project by its unique identifier. Returns detailed information about the task including its status, assignments, and metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the task to retrieve, formatted as a UUID. |
project_id * | string | The unique identifier of the project containing the task. You can retrieve available project IDs by calling the projects list endpoint. |
update_task Update Task
Update an existing task within a project, including its title, description, and assignee. Requires the task ID and project ID to identify the specific task to modify.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the task to update, provided as a UUID string. |
project_id * | string | The unique identifier of the project containing the task. Retrieve available project IDs by calling the /api/projects/ endpoint. |
title * | string | The title of the task. This is the primary label for the task and should be descriptive. |
assignee | string | The identifier of the agent or user assigned to perform this task. |
description | string | A detailed description of the task, including context, requirements, or instructions for completion. |
update_task_partial Partially Update Task
Partially update a task within a project. Allows modification of task properties such as title, description, origin source, and associated metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the task to update. |
project_id * | string | The unique identifier of the project containing the task. Retrieve available project IDs from the /api/projects/ endpoint. |
description | string | A detailed description of the task and its requirements. |
github_integration | integer | The ID of the GitHub integration configured for this task, enabling automated GitHub interactions. |
internal | boolean | If true, marks this task as internal-only and excludes it from exposure to end users. |
json_schema | A JSON schema that defines the structure and validation rules for task outputs. Used to validate the task's execution results. | |
origin_product | string | The source system that originated this task. Valid sources include error tracking systems, evaluation clusters, user-created tasks, Slack, support queues, session summaries, and signal reports. |
repository | string | The code repository associated with this task. Maximum 255 characters. |
signal_report | string | The unique identifier (UUID) of the signal report associated with this task, if applicable. |
title | string | The task title. Maximum 255 characters. |
title_manually_set | boolean | Whether the task title was manually set by a user (as opposed to auto-generated). |
delete_task Delete Task
Permanently delete a task from a project. This operation removes the specified task and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the task to delete, provided as a UUID string. |
project_id * | string | The unique identifier of the project containing the task. Retrieve available project IDs by calling the projects list endpoint. |
create_task_run Create Task Run
Initiate a new task run to execute the associated workflow. Specify execution mode, optional git branch, and sandbox environment to control how the task executes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the task to run. |
project_id * | string | The unique identifier of the project containing the task. Retrieve available project IDs from the /api/projects/ endpoint. |
branch | string | Git branch name to checkout in the sandbox environment for this run. Limited to 255 characters. |
mode | string | Execution mode determining run behavior: 'interactive' maintains a connection to the user for real-time interaction, while 'background' runs autonomously without user connection. Defaults to 'backgrou… |
pending_user_message | string | Follow-up message from the user to include in the resumed run's prompt context. Only applicable when resuming from a previous run. |
resume_from_run_id | string | UUID of a previous run from the same task to resume execution from. Use this to continue an interrupted or paused run. |
sandbox_environment_id | string | UUID of a specific sandbox environment to use for this cloud run. If not specified, a default environment will be allocated. |
list_task_runs List Task Runs
Retrieve a paginated list of all runs for a specific task within a project. Use pagination parameters to control result size and offset.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the task. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID format) of the task for which to list runs. |
limit | integer | Maximum number of results to return in a single page of results. Use with offset for pagination. |
offset | integer | The starting index for results, allowing you to paginate through large result sets. Use with limit to control pagination. |
create_task_run_record Create Task Run Record
Create a new run for a specific task within a project. A task run represents a single execution instance of a task.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the task. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID format) of the task for which to create a run. |
get_task_run Get Task Run
Retrieve detailed information about a specific task run execution, identified by its UUID. Use this to inspect the status, results, and metadata of a particular task execution within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the task run to retrieve. |
project_id * | string | The unique identifier of the project containing the task. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID) of the task that owns this run. |
update_task_run Update Task Run
Partially update a task run to modify its execution status, stage, output, or error information. Use this to track run progress, record completion results, or log failures.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the task run to update. |
project_id * | string | The project ID containing the task. Retrieve available project IDs from the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID) of the task associated with this run. |
branch | string | The Git branch name to associate with this task run execution. |
error_message | string | An error message describing the failure reason if the run status is failed. |
output | The output data or results produced by the run execution. | |
stage | string | The current stage or phase of the run (e.g., research, plan, build). Use to track progression through multi-stage executions. |
state | The internal state object tracking the run's execution context and metadata. | |
status | string | The current execution status of the run. Valid values are: not_started, queued, in_progress, completed, failed, or cancelled. |
append_log_entries_to_task_run Append Log Entries to Task Run
Append one or more log entries to a task run's log history. Use this to record execution events, errors, or status updates for a specific task run.
| Parameter | Type | Description |
|---|---|---|
entries * | array | An array of log entry objects to append to the task run log. Each entry should be a dictionary containing the log data. Entries are appended in the order provided. |
id * | string | The unique identifier (UUID) of the task run to append logs to. |
project_id * | string | The unique identifier of the project containing the task run. Retrieve available project IDs from the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID) of the task associated with the run. |
create_artifacts_for_task_run Create Artifacts for Task Run
Upload and persist artifacts for a specific task run, storing them in S3 and attaching them to the run manifest for later retrieval and analysis.
| Parameter | Type | Description |
|---|---|---|
artifacts * | array | An ordered array of artifact objects to upload. Each artifact will be persisted to S3 and referenced in the run manifest. |
id * | string | The unique identifier (UUID) of the task run to which artifacts will be attached. |
project_id * | string | The unique identifier of the project containing the task run. Retrieve available project IDs by calling the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID) of the task associated with the run. |
get_artifact_presigned_url Get Artifact Presigned URL
Generate a temporary presigned URL for downloading a specific artifact from a task run. The returned URL can be used to directly access the artifact without additional authentication.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID of the task run containing the artifact. |
project_id * | string | The UUID or identifier of the project containing the task. You can retrieve your project ID by calling the /api/projects/ endpoint. |
storage_path * | string | The S3 storage path of the artifact, as returned in the artifact manifest. Must not exceed 500 characters. |
task_id * | string | The UUID of the task associated with the run. |
send_command_to_task_run Send Command to Task Run
Send a JSON-RPC command to the agent server running in a task's sandbox environment. Supports sending user messages, canceling execution, or closing the connection.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the task run to target with this command. |
jsonrpc * | string | JSON-RPC protocol version. Must be '2.0' to comply with the JSON-RPC 2.0 specification. |
method * | string | The command to execute on the agent server. Use 'user_message' to send input to the agent, 'cancel' to stop execution, or 'close' to terminate the connection. |
project_id * | string | The project ID containing the task. Retrieve available project IDs from the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID) of the task associated with this run. |
params | object | Optional command-specific parameters as a JSON object. Structure depends on the selected method (e.g., message content for user_message). |
get_task_run_sandbox_connection_token Get Task Run Sandbox Connection Token
Generate a JWT token for direct sandbox connection to a specific task run. The token is valid for 24 hours and enables authenticated access to the sandbox environment.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the task run for which to generate the connection token. |
project_id * | string | The unique identifier of the project containing the task run. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID) of the task associated with the run. |
get_task_run_logs Get Task Run Logs
Retrieve the logs for a specific task run in JSONL format. Each log entry is returned as a separate JSON object on its own line.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the task run whose logs you want to retrieve. |
project_id * | string | The unique identifier of the project containing the task run. You can retrieve your project ID by calling the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID) of the task associated with the run. |
send_run_message_to_slack Send Run Message to Slack
Queue a Slack relay workflow to post a run message into the mapped Slack thread for a specific task run.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the task run to relay the message for. |
project_id * | string | The unique identifier of the project containing the task run. Retrieve available project IDs from the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID) of the task associated with the run. |
text * | string | The message text to relay to Slack. Maximum length is 10,000 characters. |
get_task_run_session_logs Get Task Run Session Logs
Retrieve session log entries for a specific task run with optional filtering by timestamp, event types, and result limits. Use this to audit task execution events and debug run behavior.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID of the task run to retrieve logs for. |
project_id * | string | The project ID containing the task run. Retrieve available project IDs from the /api/projects/ endpoint. |
task_id * | string | The UUID of the task associated with this run. |
after | string | Filter to only return log entries after this ISO 8601 timestamp. Useful for retrieving logs since a specific point in time. |
event_types | string | Comma-separated list of event types to include in results. Only logs matching these types will be returned. Specify at least one type. |
exclude_types | string | Comma-separated list of event types to exclude from results. Logs matching these types will be filtered out. Specify at least one type. |
limit | integer | Maximum number of log entries to return. Defaults to 1000 if not specified. Must be between 1 and 5000. |
update_task_run_output Update Task Run Output
Update the output field for a task run to store results such as PR URLs, commit SHAs, or other completion artifacts.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the task run to update. |
project_id * | string | The unique identifier of the project containing the task run. Retrieve available project IDs by calling the /api/projects/ endpoint. |
task_id * | string | The unique identifier (UUID) of the task associated with the run. |
get_task_run_stream Get Task Run Stream
Retrieve the execution stream for a specific task run, providing real-time or historical output data from the task's execution.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the task run to retrieve stream data for. |
project_id * | string | The unique identifier of the project containing the task. Use the /api/projects/ endpoint to discover available project IDs. |
task_id * | string | The unique identifier (UUID) of the task associated with this run. |
list_visual_review_repositories List Visual Review Repositories
Retrieve all repositories available for visual review within a specific project. Use pagination parameters to control result size and offset.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the repositories. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of repositories to return in a single response page. Omit or adjust to control pagination size. |
offset | integer | Zero-based starting position for results, used with limit to paginate through the repository list. |
create_visual_review_repo Create Visual Review Repository
Create a new repository for visual review within a project. This enables tracking and managing visual assets for code review purposes.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project where the visual review repository will be created. Retrieve this ID by calling the /api/projects/ endpoint. |
repo_full_name * | string | The full name of the repository in the format owner/repo_name, used to identify and reference the repository within the visual review system. |
repo_external_id | integer | An optional external identifier for the repository, useful for mapping to external repository systems or tracking purposes. |
get_visual_review_repo Get Visual Review Repo
Retrieve a specific visual review repository by its ID within a project. Use this to fetch detailed information about a single repo for visual review purposes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the visual review repository to retrieve. |
project_id * | string | The unique identifier of the project containing the repository. You can obtain the project ID by calling the /api/projects/ endpoint. |
update_visual_review_repo_settings Update Visual Review Repository Settings
Update configuration settings for a repository in visual review, including baseline file paths and pull request comment behavior.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the repository to update. |
project_id * | string | The unique identifier of the project containing the repository. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
baseline_file_paths | object | File paths to use as baseline for visual comparisons. Specify as an object with path mappings. |
enable_pr_comments | boolean | Enable or disable automatic pull request comments for visual review findings. |
list_visual_review_runs List Visual Review Runs
Retrieve a paginated list of visual review runs for a project, with optional filtering by review state to help you track and manage review progress across your team.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the visual review runs. You can retrieve available project IDs by calling the projects list endpoint. |
limit | integer | Maximum number of results to return in a single page of results. Use this to control pagination size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
review_state | string | Filter results to only include runs with a specific review state, allowing you to focus on runs at particular stages of the review process. |
create_visual_review_run Create Visual Review Run
Create a new visual review run from a CI manifest, capturing snapshots and baseline information for a specific commit and branch.
| Parameter | Type | Description |
|---|---|---|
branch * | string | The branch name where the commit resides, providing context for the visual review within the repository's branching structure. |
commit_sha * | string | The commit SHA (hash) that this visual review run is associated with, identifying the exact code version being reviewed. |
project_id * | string | The unique identifier of the project. Retrieve available project IDs by calling the /api/projects/ endpoint. |
repo_id * | string | The unique identifier (UUID format) of the repository associated with this visual review run. |
run_type * | string | The type of run being created, typically indicating the CI pipeline or test category that generated this visual review. |
snapshots * | array | An array of snapshot objects to be included in this run. Order is preserved and each snapshot represents a visual state to be reviewed. |
baseline_hashes | object | Optional object containing baseline hashes for comparison, used to identify which snapshots have changed relative to a baseline version. |
metadata | object | Optional object for storing additional custom metadata or tags associated with this visual review run. |
pr_number | integer | Optional pull request number associated with this run, linking the visual review to a specific PR if applicable. |
purpose | string | Optional string describing the purpose or intent of this visual review run, such as 'regression testing' or 'design validation'. |
removed_identifiers | array | Optional array of snapshot identifiers that have been removed, indicating which visual elements are no longer present in this run. |
unchanged_count | integer | Optional count of snapshots that remain unchanged from the baseline, useful for summarizing review scope. |
get_visual_review_run Get Visual Review Run
Retrieve the status and summary information for a specific visual review run within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the visual review run to retrieve. |
project_id * | string | The unique identifier of the project containing the visual review run. You can obtain the project ID by calling the /api/projects/ endpoint. |
add_snapshots_to_visual_review_run Add Snapshots to Visual Review Run
Add a batch of snapshots to a pending visual review run using shard-based distribution. This operation allows you to incrementally build up snapshot data for a run before finalizing it.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the visual review run to which snapshots will be added. |
project_id * | string | The unique identifier of the project containing the visual review run. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
snapshots * | array | An array of snapshot objects to add to the run. Each snapshot represents a visual capture or state to be included in the review. Order is preserved as provided. |
baseline_hashes | object | An optional mapping of baseline hashes used to associate snapshots with their baseline references for comparison purposes. |
approve_visual_review_run Approve Visual Review Run
Approve visual changes for snapshots in a review run. Optionally approve all changed and new snapshots at once, or selectively approve specific snapshots. Can automatically commit approved changes to GitHub.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the visual review run to approve. |
project_id * | string | The unique identifier of the project containing the visual review run. You can retrieve your project ID by calling the /api/projects/ endpoint. |
approve_all | boolean | When true, approves all changed and new snapshots in the run and returns the signed baseline YAML. Cannot be used together with specific snapshots array. |
commit_to_github | boolean | When true, automatically commits the approved visual changes to GitHub after approval. |
snapshots | array | Array of specific snapshot identifiers to approve. When provided, only these snapshots are approved. Omit this parameter when using approve_all=true. |
complete_visual_review_run Complete Visual Review Run
Complete a visual review run by detecting removals, verifying uploads, and triggering diff processing for the specified project and run.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the visual review run to complete. |
project_id * | string | The unique identifier of the project containing the visual review run. You can retrieve your project ID by calling the /api/projects/ endpoint. |
list_visual_review_run_snapshots List Visual Review Run Snapshots
Retrieve all snapshots for a visual review run, including their diff results. Use pagination parameters to control the result set size and starting position.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the visual review run for which to retrieve snapshots. |
project_id * | string | The unique identifier of the project containing the visual review run. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of snapshot results to return in a single page of results. Omit to use the default page size. |
offset | integer | Zero-based index position from which to start returning results, enabling pagination through large result sets. |
get_visual_review_runs_counts Get Visual Review Runs Counts
Retrieve aggregated state counts for visual review runs within a project, providing a summary of how many runs are in each review state.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_warehouse_saved_queries List Warehouse Saved Queries
Retrieve a paginated list of saved queries for a warehouse project. Use this to browse all saved queries within a specific project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the warehouse saved queries. Obtain this ID by calling the /api/projects/ endpoint. |
page | integer | The page number to retrieve from the paginated result set. Omit to retrieve the first page. |
create_warehouse_saved_query Create Warehouse Saved Query
Create a new saved warehouse query (view) that can be referenced in HogQL queries and used as a node in data modeling. Saved queries are organized within a project and can optionally be marked as temporary test queries.
| Parameter | Type | Description |
|---|---|---|
name * | string | A unique name for the saved query that serves as the table name in HogQL queries and node name in data modeling. Must be 128 characters or fewer. |
project_id * | string | The unique identifier of the project where the saved query will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
folder_id | string | Optional UUID of a folder to organize this saved query within the SQL editor sidebar for better project structure. |
is_test | boolean | Optional flag to mark this saved query as a temporary test query that will automatically expire, useful for development and validation. |
query | The HogQL query definition as a JSON object containing a 'query' key with the SQL string and a 'kind' key specifying the query type (e.g., 'HogQLQuery'). |
get_warehouse_saved_query Get Warehouse Saved Query
Retrieve a specific saved query from your data warehouse by its unique identifier. Use this to fetch the configuration and details of a previously saved query.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the saved query to retrieve. |
project_id * | string | The unique identifier of the project containing the saved query. Find your project ID by calling the /api/projects/ endpoint. |
update_warehouse_saved_query Update Warehouse Saved Query
Update an existing warehouse saved query (view) with a new name, HogQL query definition, folder organization, or test status. The saved query can be referenced as a table in HogQL queries and as a node in data modeling.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the warehouse saved query to update. |
name * | string | A unique name for the saved query (maximum 128 characters). This name is used as the table name in HogQL queries and as the node name in data modeling. |
project_id * | string | The project ID containing this saved query. Find your project ID by calling the /api/projects/ endpoint. |
edited_history_id | string | Activity log ID from the last known edit. Used for conflict detection. |
folder_id | string | Optional UUID of a folder to organize this saved query in the SQL editor sidebar. |
is_test | boolean | Optional flag indicating whether this saved query is for testing purposes only and will automatically expire. |
query | The HogQL query definition as a JSON object containing a 'query' key with the SQL string and a 'kind' key specifying the query type (e.g., 'HogQLQuery'). |
update_warehouse_saved_query_partial Update Warehouse Saved Query
Partially update a warehouse saved query, allowing modifications to the HogQL query definition, folder organization, or test status.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the warehouse saved query to update. |
project_id * | string | The project ID containing the saved query. Retrieve available project IDs from the /api/projects/ endpoint. |
edited_history_id | string | Activity log ID from the last known edit. Used for conflict detection. |
folder_id | string | Optional UUID of a folder for organizing this saved query in the SQL editor sidebar. |
is_test | boolean | Optional boolean flag indicating whether this is a temporary test query that will automatically expire. |
query | HogQL query definition as a JSON object containing a 'query' key with the SQL string and a 'kind' key specifying the query type (e.g., 'HogQLQuery'). |
delete_warehouse_saved_query Delete Warehouse Saved Query
Permanently delete a saved query from a data warehouse. This operation removes the query definition and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the saved query to delete. |
project_id * | string | The unique identifier of the project containing the saved query. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
get_warehouse_saved_query_activity Get Warehouse Saved Query Activity
Retrieve the activity history for a specific warehouse saved query, including creation, modification, and deletion events within a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the warehouse saved query whose activity you want to retrieve. |
project_id * | string | The unique identifier of the project containing the warehouse saved query. You can retrieve your project ID by calling the /api/projects/ endpoint. |
create_materialized_view Create Materialized View
Enable materialization for a saved query to create a persistent view that syncs automatically every 24 hours, making the data queryable via HogQL.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID identifier of the saved query to materialize. |
name * | string | A unique name for the materialized view (up to 128 characters). This name serves as the table identifier in HogQL queries and the node name in data modeling. |
project_id * | string | The UUID or identifier of the project containing the saved query. Retrieve available project IDs from the /api/projects/ endpoint. |
folder_id | string | Optional UUID of a folder for organizing this view in the SQL editor sidebar. |
is_test | boolean | Optional flag indicating whether this view is temporary for testing purposes and will automatically expire. |
query | The HogQL query definition as a JSON object containing a 'query' key with the SQL string and a 'kind' key specifying the query type (e.g., 'HogQLQuery'). |
revert_saved_query_materialization Revert Saved Query Materialization
Undo materialization of a saved query by deleting the materialized table and its associated schedule, reverting it back to a standard view.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID identifier of the saved query to revert from materialization. |
name * | string | The unique name for the view, used as the table name in HogQL queries and node name in data modeling. Must be 128 characters or fewer. |
project_id * | string | The UUID or identifier of the project containing the saved query. Retrieve available project IDs from the /api/projects/ endpoint. |
folder_id | string | Optional UUID identifier of a folder for organizing this view in the SQL editor sidebar. |
is_test | boolean | Optional flag indicating whether this view is temporary for testing purposes and will automatically expire. |
query | The HogQL query definition as a JSON object containing a 'query' key with the SQL string and a 'kind' key specifying the query type (e.g., 'HogQLQuery'). |
run_warehouse_saved_query Run Warehouse Saved Query
Execute a saved warehouse query and retrieve results. Optionally create a temporary test view or persist results to a named view.
| Parameter | Type | Description |
|---|---|---|
id * | string | The UUID identifier of the saved query to execute. |
name * | string | A unique name for the result view (up to 128 characters). Used as the table name in HogQL queries and node name in data modeling. Required when persisting results. |
project_id * | string | The UUID or identifier of the project containing this saved query. Retrieve available projects from /api/projects/. |
folder_id | string | Optional UUID of a folder for organizing this view in the SQL editor sidebar. |
is_test | boolean | If true, creates a temporary test view that will automatically expire. Useful for validating queries without persisting results. |
query | HogQL query definition as a JSON object containing a 'query' key with the SQL string and a 'kind' key specifying the query type (e.g., 'HogQLQuery'). Overrides the saved query definition if provided. |
get_saved_query_run_history Get Saved Query Run History
Retrieve the 5 most recent execution records for a materialized view saved query, including run status and timing information.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the saved query whose run history you want to retrieve. |
project_id * | string | The unique identifier of the project containing the saved query. Use the /api/projects/ endpoint to discover available project IDs. |
list_warehouse_saved_query_folders List Warehouse Saved Query Folders
Retrieve all saved query folders within a warehouse project. This lists the organizational structure for saved queries in the specified project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the warehouse saved query folders. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
create_warehouse_saved_query_folder Create Warehouse Saved Query Folder
Create a new folder in the warehouse saved queries section to organize and group SQL queries in the editor sidebar. Folders help structure saved queries for better discoverability and management.
| Parameter | Type | Description |
|---|---|---|
name * | string | A display name for the folder that appears in the SQL editor sidebar. Must be 128 characters or fewer. |
project_id * | string | The unique identifier of the project where the folder will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
get_warehouse_saved_query_folder Get Warehouse Saved Query Folder
Retrieve a specific saved query folder from a data warehouse by its unique identifier. Use this to access folder details, metadata, and configuration for organizing warehouse queries.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the saved query folder to retrieve. |
project_id * | string | The unique identifier of the project containing the saved query folder. Find your project ID by calling the /api/projects/ endpoint. |
update_warehouse_saved_query_folder Update Warehouse Saved Query Folder
Partially update a warehouse saved query folder within a project. Use this to modify specific properties of an existing folder without replacing the entire resource.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the warehouse saved query folder to update. |
project_id * | string | The unique identifier of the project containing the folder. Retrieve available project IDs by calling the /api/projects/ endpoint. |
delete_warehouse_saved_query_folder Delete Warehouse Saved Query Folder
Permanently delete a saved query folder from the data warehouse. This operation removes the folder and its contents from the specified project.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the saved query folder to delete. |
project_id * | string | The unique identifier of the project containing the saved query folder. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_warehouse_tables List Warehouse Tables
Retrieve a paginated list of warehouse tables for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the warehouse tables. Obtain this ID by calling the /api/projects/ endpoint. |
limit | integer | Maximum number of warehouse tables to return in a single response page. |
offset | integer | Zero-based index position from which to start returning results, used for pagination. |
create_warehouse_table Create Warehouse Table
Create a new warehouse table in a project by specifying the data format, storage location, and access credentials. The table will be configured to read data from the specified URL pattern using the provided authentication credentials.
| Parameter | Type | Description |
|---|---|---|
access_key * | string | The access key or username required to authenticate with the storage backend. Maximum length is 500 characters. |
access_secret * | string | The access secret or password required to authenticate with the storage backend. Maximum length is 500 characters. |
format * | string | The data format of the source files. Supported formats include CSV (plain), CSVWithNames (CSV with header row), Parquet (columnar format), JSONEachRow (newline-delimited JSON), Delta (Delta Lake forma… |
name * | string | A descriptive name for the warehouse table. Must be 128 characters or fewer. |
project_id * | string | The unique identifier of the project where the warehouse table will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
url_pattern * | string | The URL pattern or path template that specifies where the source data files are located. Supports pattern matching for multiple files. Maximum length is 500 characters. |
options | object | Optional configuration object for additional table settings and format-specific parameters. |
get_warehouse_table Get Warehouse Table
Retrieve a specific warehouse table by its ID within a project. Returns the complete configuration and metadata for the requested data warehouse table.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the warehouse table to retrieve. |
project_id * | string | The unique identifier of the project containing the warehouse table. Use the /api/projects/ endpoint to discover available project IDs. |
update_warehouse_table Update Warehouse Table
Update an existing warehouse table configuration, including its data format, storage location, and access credentials for a specific project.
| Parameter | Type | Description |
|---|---|---|
access_key * | string | The access key or credential for authenticating with the data source. Must not exceed 500 characters. |
access_secret * | string | The access secret or password for authenticating with the data source. Must not exceed 500 characters. |
format * | string | The data format of the warehouse table. Supported formats are CSV, CSVWithNames, Parquet, JSONEachRow, Delta, and DeltaS3Wrapper. |
id * | string | The unique identifier (UUID) of the warehouse table to update. |
name * | string | The name of the warehouse table. Must not exceed 128 characters. |
project_id * | string | The unique identifier of the project containing the warehouse table. Retrieve available project IDs from the /api/projects/ endpoint. |
url_pattern * | string | The URL pattern or path to the data source location. Must not exceed 500 characters. |
options | object | Optional configuration object for additional warehouse table settings or format-specific parameters. |
update_warehouse_table_partial Update Warehouse Table
Partially update a warehouse table configuration within a project, allowing you to modify connection credentials, URL patterns, and other table settings.
| Parameter | Type | Description |
|---|---|---|
access_key * | string | The access key credential for authenticating with the warehouse, up to 500 characters. |
access_secret * | string | The access secret credential for authenticating with the warehouse, up to 500 characters. |
id * | string | The unique identifier (UUID) of the warehouse table to update. |
project_id * | string | The unique identifier of the project containing the warehouse table. Retrieve available project IDs by calling the /api/projects/ endpoint. |
options | object | Additional configuration options for the warehouse table as a JSON object. |
url_pattern | string | The URL pattern for the warehouse table connection, up to 500 characters. |
delete_warehouse_table Delete Warehouse Table
Permanently delete a warehouse table from a project. This operation removes the specified data warehouse table and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier (UUID) of the warehouse table to delete. |
project_id * | string | The unique identifier of the project containing the warehouse table. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
create_warehouse_table_from_file Create Warehouse Table from File
Create a new warehouse table by ingesting data from a file source. Specify the file format, location via URL pattern, and cloud storage credentials to establish the data connection.
| Parameter | Type | Description |
|---|---|---|
access_key * | string | The access key or username for authenticating with the cloud storage service. Maximum length is 500 characters. |
access_secret * | string | The secret key or password for authenticating with the cloud storage service. Maximum length is 500 characters. |
format * | string | The file format of the source data. Supported formats include CSV, CSV with header names, Parquet, JSON (one object per line), Delta, and Delta with S3 wrapper. |
name * | string | A descriptive name for the warehouse table. Must be 128 characters or fewer. |
project_id * | string | The unique identifier of the project where the warehouse table will be created. Retrieve available project IDs by calling the /api/projects/ endpoint. |
url_pattern * | string | The URL pattern or path to the source file location. Supports cloud storage paths and wildcards for multiple files. Maximum length is 500 characters. |
options | object | Optional configuration object for additional file parsing or ingestion settings specific to the chosen format. |
list_web_experiments List Web Experiments
Retrieve a paginated list of web experiments for a specific project. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the project containing the web experiments. Obtain this ID by calling the projects list endpoint. |
limit | integer | Maximum number of results to return in a single page of results. Omit or adjust to control pagination size. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
create_web_experiment Create Web Experiment
Create a new web experiment for a project with specified variants and their transformations. This allows you to define A/B test configurations with different content variants and rollout percentages.
| Parameter | Type | Description |
|---|---|---|
name * | string | A descriptive name for the web experiment. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project where the web experiment will be created. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
variants * | A collection of experiment variants, each containing DOM transformations, targeting conditions, and rollout percentage. Each variant specifies CSS selectors, text/HTML replacements, and the percentage… |
get_web_experiment Get Web Experiment
Retrieve a specific web experiment by its ID within a project. Use this to fetch detailed information about a single web experiment configuration and its settings.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the web experiment to retrieve. This is a positive integer that uniquely identifies the experiment within the project. |
project_id * | string | The unique identifier of the project containing the web experiment. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
update_web_experiment Update Web Experiment
Update an existing web experiment with new configuration, including name and variant definitions with transforms, conditions, and rollout percentages.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the web experiment to update. |
name * | string | The display name for the web experiment. Must not exceed 400 characters. |
project_id * | string | The unique identifier of the project containing the web experiment. Retrieve available project IDs by calling the /api/projects/ endpoint. |
variants * | A collection of experiment variants, each containing DOM transforms (text/HTML replacements with CSS selectors), targeting conditions, and rollout percentage allocation. The control variant is typical… |
update_web_experiment_partial Update Web Experiment (Partial)
Partially update a web experiment within a project. Use this to modify specific fields like variants, targeting conditions, or rollout percentages without replacing the entire experiment configuration.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the web experiment to update. This is a positive integer assigned when the experiment was created. |
project_id * | string | The unique identifier of the project containing the web experiment. Retrieve available project IDs by calling the /api/projects/ endpoint. |
variants | Experiment variants defining control and treatment groups. Each variant specifies DOM transformations (text/HTML replacements via CSS selectors), targeting conditions, and traffic allocation percentag… |
delete_web_experiment Delete Web Experiment
Permanently delete a web experiment from a project. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The unique identifier of the web experiment to delete. This is a positive integer value. |
project_id * | string | The unique identifier of the project containing the web experiment. You can retrieve available project IDs by calling the /api/projects/ endpoint. |
list_hog_function_templates_public List Public Hog Function Templates
Retrieve a paginated list of available HOG function templates, optionally filtered by template type. Use this to discover and browse available templates for destinations, email, SMS providers, and other integrations.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of templates to return in a single page of results. Use with offset for pagination. |
offset | integer | Zero-based index position to start returning results from, enabling pagination through large result sets. |
types | string | Filter templates by one or more types using a comma-separated list (e.g., destination, email, sms_provider). Only templates matching the specified types will be returned. |
list_users List Users
Retrieve a paginated list of users, optionally filtered by staff status. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
is_staff | boolean | Filter results to include only staff users when set to true, or only non-staff users when set to false. Omit to return all users regardless of staff status. |
limit | integer | Maximum number of user records to return in a single response. Controls page size for pagination. |
offset | integer | Zero-based index position from which to start returning results. Use with limit to paginate through the full user list. |
create_user_with_email_verification Create User with Email Verification
Create a new user account and initiate email verification. This operation registers a user with their credentials and optional profile information, triggering a verification email to confirm their email address.
| Parameter | Type | Description |
|---|---|---|
email * | string | User's email address. Must be a valid email format and cannot exceed 254 characters. |
password * | string | User's account password. Maximum 128 characters. Should meet security requirements (enforced server-side). |
allow_impersonation | boolean | Whether to allow other users or administrators to impersonate this account for support or testing purposes. |
anonymize_data | boolean | Whether to anonymize the user's personal data in analytics and logs. |
first_name | string | User's first name. Maximum 150 characters. |
is_staff | boolean | Whether this user has administrative access to the admin site and can manage system settings. |
last_name | string | User's last name. Maximum 150 characters. |
notification_settings | object | User's notification preferences as a structured object. Defines how and when the user receives notifications. |
role_at_organization | string | User's role or function within their organization. Select from: engineering, data, product management, founder, leadership, marketing, sales/success, or other. |
shortcut_position | Position or layout preference for keyboard shortcuts and quick-access elements in the interface. | |
theme_mode | Preferred color theme for the user interface. Controls light/dark mode and visual styling preferences. | |
toolbar_mode | Display mode for the toolbar interface. Controls toolbar visibility and behavior in the user interface. |
create_user_with_email_verification_confirmation Create User with Email Verification
Create a new user account with email verification. Requires email and password; optionally configure user profile details, notification preferences, and organizational role.
| Parameter | Type | Description |
|---|---|---|
email * | string | User's email address. Must be a valid email format and cannot exceed 254 characters. |
password * | string | User's account password. Maximum 128 characters. Should meet security requirements. |
allow_impersonation | boolean | Whether to allow other users to impersonate this account for testing or support purposes. |
anonymize_data | boolean | Whether to anonymize the user's personal data in logs and analytics. |
first_name | string | User's first name. Maximum 150 characters. |
is_staff | boolean | Whether this user has administrative access to the admin site. |
last_name | string | User's last name. Maximum 150 characters. |
notification_settings | object | User's notification preferences and settings as a structured object. |
role_at_organization | string | User's role or function within their organization. Valid options: engineering, data, product management, founder, leadership, marketing, sales/success, or other. |
shortcut_position | Preferred position or layout for keyboard shortcuts in the interface. | |
theme_mode | Display theme preference for the user interface (e.g., light or dark mode). | |
toolbar_mode | Display mode preference for the toolbar interface. |
actions_destroy Destroy Action
Soft-delete an action by marking it as deleted. Sends PATCH with {deleted: true} body — the underlying DELETE endpoint is not supported by the API.
| Parameter | Type | Description |
|---|---|---|
id * | integer | A unique integer value identifying this action. |
project_id * | string | Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. |
format | string |
cohorts_destroy Destroy Cohort
Soft-delete a cohort by marking it as deleted. Sends PATCH with {deleted: true} body — the underlying DELETE endpoint is not supported by the API.
| Parameter | Type | Description |
|---|---|---|
id * | integer | A unique integer value identifying this cohort. |
project_id * | string | Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. |
annotations_destroy Destroy Annotation
Soft-delete an annotation by marking it as deleted. Sends PATCH with {deleted: true} body — the underlying DELETE endpoint is not supported by the API.
| Parameter | Type | Description |
|---|---|---|
id * | integer | A unique integer value identifying this annotation. |
project_id * | string | Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. |