Skip to Content

PostHog API

PostHog API icon
Arcade Starter

Tools that enable LLMs to interact directly with the PostHog API.

Author:Arcade
Version:2.0.0
Auth:No authentication required
766tools
766require secrets
PyPI VersionPython VersionsWheel StatusDownloadsLicense

Arcade Toolkit provides developers with the tools to interact seamlessly with the PostHog API, enhancing their ability to manage projects efficiently. The toolkit allows for various API operations such as adding collaborators, managing dashboards, and executing saved queries.

Capabilities:

  • Supports managing and updating dashboards and their settings.
  • Facilitates the addition of collaborators for effective project collaboration.
  • Enables querying and manipulating project data through saved queries and insights.
  • Manages environment-specific settings and configurations for enhanced project organization.
  • Tracks insights activity and user engagements to better analyze project performance.

OAuth: There is no OAuth authentication type required for access.

Secrets:

  • API keys and tokens managed securely.
  • Example secrets include POSTHOG_SERVER_URL and POSTHOG_PERSONAL_API_KEY.

Available tools(766)

766 of 766
Tool nameDescriptionSecrets
Add a collaborator to a specific dashboard. Use this tool to add a collaborator to a specified dashboard within a project environment on Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Create a new data color theme for a project. Use this tool to create a new data color theme within a specified project on Datadog. This is useful when you need to apply customized color visualizations to data within a project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Create or update persons in a funnel correlation. This tool is used to handle persons within a funnel correlation context, specifically for reading and deleting purposes. For creating or updating persons, consider using the capture API or relevant SDKs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Add persons to a static cohort in Datadog. This tool updates a static cohort by adding new persons to it in a specified project within Datadog.
2
Add a session recording to a specified playlist. This tool allows you to add a session recording to a specific playlist within a project. It should be called when you need to track or log a session recording view in a particular playlist. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Create a warehouse saved query for data management. Use this tool to create a new saved query for warehouse data management within a specified project. It helps in managing warehouse tables effectively. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Create a new warehouse table in a specified project. Use this tool to create a new warehouse table within a specified project using its project ID. Useful for initializing data structures in a warehouse environment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Append log entries to a specific task run log array. This tool is used to add one or more log entries to the log array of a specified task run, identified by project, task, and run IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Cancel a batch export backfill process. Use this tool to cancel an ongoing batch export backfill for a specific project and batch. It should be called when a backfill process needs to be halted. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Cancel an ongoing batch export run. Use this tool to cancel an ongoing batch export run in DataDog. It should be called when you need to stop a specific export process immediately. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Cancel a pending email change request. Use this tool to cancel a pending email change request for a user in the system. It ensures that the email update process is stopped. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Cancel the creation of an environment insight. Use this tool to cancel an ongoing creation process for an environment insight in Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Cancels an invitation to join an organization. This tool is used to cancel an invitation for someone to join an organization in Datadog. It should be called when you need to revoke an invite that has already been sent.
2
Cancel a running saved query workflow in progress. Use this tool to cancel an ongoing saved query execution within a project. Useful when you need to stop a query that is currently running to avoid unnecessary resource usage. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Cancel a running saved query workflow in Datadog. This tool cancels a running saved query workflow based on the provided project and query IDs. It should be called when you need to stop an ongoing query execution in Datadog's environment warehouse. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Checks authorization for creating asynchronous queries. Call this tool to determine if a user is authorized to create asynchronous queries in a specific Datadog project. Useful for workflows that need to verify permissions before proceeding with query operations.
2
Check if demo data is being generated for a project. Use this tool to determine whether demo data is currently being generated for a specific project within an organization.
2
Check authentication for Datadog environment asynchronously. This tool checks if a user has authentication permissions for a specific Datadog environment asynchronously. It should be called when there is a need to verify user access permissions for a given project.
2
Check if a property has been seen with specified event names. This tool checks whether a specified property has ever been associated with a list of given event names. It returns a mapping of each event name to a boolean, indicating whether the association exists. Useful for analyzing event-property relationships in a project.
2
Mark a project's product onboarding as complete in an organization. Use this tool to update and complete the product onboarding process for a specific project within the current organization. It is applicable when an onboarding process needs to be marked as finished. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Complete the uploading process for symbol sets in error tracking. Use this tool to finalize the upload process for symbol sets in error tracking environments. Typically called after all parts of symbol sets are uploaded to signal completion.
2
Finalize the upload of symbol sets in Datadog error tracking. Use this tool to complete the upload process of symbol sets in Datadog's error tracking environment for a specific project. Call this when you need to finalize an upload that has already started.
2
Get count of all files in a specified folder. Use this tool to obtain the total number of files within a specific folder in a given project environment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Create a new annotation for a project. Use this tool to create a new annotation within a specified project in Datadog. This can be used to track important events or notes related to project data. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Create a new backfill for a BatchExport. This tool is used to create a new backfill for a BatchExport by specifying the project and batch export IDs. It should be called when there's a need to initiate a backfill operation for specific data exports. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
2
Page 1 of 31(25 of 766)

Selected tools

No tools selected.

Click "Show all tools" to add tools.

Requirements

Select tools to see requirements

#

PosthogApi.AddDashboardCollaborator

Add a collaborator to a specific dashboard. Use this tool to add a collaborator to a specified dashboard within a project environment on Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_idintegerOptionalThe unique identifier of the dashboard to which the collaborator is being added. It must be an integer value. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve using the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_collaborators_create'.
#

PosthogApi.AddDataColorTheme

Create a new data color theme for a project. Use this tool to create a new data color theme within a specified project on Datadog. This is useful when you need to apply customized color visualizations to data within a project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier of the project for which you want to create a data color theme. Retrieve this ID with a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'data_color_themes_create'.
#

PosthogApi.AddPersonsFunnelCorrelation

Create or update persons in a funnel correlation. This tool is used to handle persons within a funnel correlation context, specifically for reading and deleting purposes. For creating or updating persons, consider using the capture API or relevant SDKs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalProject ID for accessing the project. Obtain by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format of the response. Options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_funnel_correlation_create'.
#

PosthogApi.AddPersonsToStaticCohort

Add persons to a static cohort in Datadog. This tool updates a static cohort by adding new persons to it in a specified project within Datadog.

Parameters

ParameterTypeReq.Description
cohort_idintegerRequiredA unique integer that identifies the cohort to update.
project_identifierstringRequiredThe ID of the project to access. Retrieve it via /api/projects/.
person_uuids_to_addarray<string>OptionalList of person UUIDs to add to the cohort.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_add_persons_to_static_cohort_partial_update'.
#

PosthogApi.AddSessionRecordingToPlaylist

Add a session recording to a specified playlist. This tool allows you to add a session recording to a specific playlist within a project. It should be called when you need to track or log a session recording view in a particular playlist. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalProject ID to access the specific project. Retrieve by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
session_recording_identifierstringOptionalThe unique ID of the session recording to be added to the playlist. This ID identifies the specific recording you want to track or log in the given playlist. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
session_recording_short_idstringOptionalThe unique short identifier of the session recording to add to the playlist within the specified project. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recording_playlists_recordings_create'.
#

PosthogApi.AddWarehouseSavedQuery

Create a warehouse saved query for data management. Use this tool to create a new saved query for warehouse data management within a specified project. It helps in managing warehouse tables effectively. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_id_for_accessstringOptionalThe ID of the project to access. Obtainable by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_create'.
#

PosthogApi.AddWarehouseTable

Create a new warehouse table in a specified project. Use this tool to create a new warehouse table within a specified project using its project ID. Useful for initializing data structures in a warehouse environment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project to access. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_tables_create'.
#

PosthogApi.AppendTaskRunLogs

Append log entries to a specific task run log array. This tool is used to add one or more log entries to the log array of a specified task run, identified by project, task, and run IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
task_run_uuidstringOptionalA UUID string to identify the specific task run for log appending. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalID of the project to access. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
task_run_task_idstringOptionalA string representing the task ID for the task run. This identifies which task the logs are associated with. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_runs_append_log_create'.
#

PosthogApi.CancelBatchExportBackfill

Cancel a batch export backfill process. Use this tool to cancel an ongoing batch export backfill for a specific project and batch. It should be called when a backfill process needs to be halted. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_identifierstringOptionalA unique identifier string for the batch export backfill to be canceled. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
batch_export_backfill_idstringOptionalA UUID string identifying the specific batch export backfill to cancel. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Call /api/projects/ to find the project ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_backfills_cancel_create'.
#

PosthogApi.CancelBatchExportRun

Cancel an ongoing batch export run. Use this tool to cancel an ongoing batch export run in DataDog. It should be called when you need to stop a specific export process immediately. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_run_idstringOptionalA UUID string identifying the specific batch export run to be canceled. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
batch_export_run_uuidstringOptionalA UUID string that identifies the batch export run to be canceled. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Use /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_runs_cancel_create'.
#

PosthogApi.CancelEmailChangeRequest

Cancel a pending email change request. Use this tool to cancel a pending email change request for a user in the system. It ensures that the email update process is stopped. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_cancel_email_change_request_partial_update'.
#

PosthogApi.CancelInsightCreation

Cancel the creation of an environment insight. Use this tool to cancel an ongoing creation process for an environment insight in Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project to access. Use /api/projects/ to find the ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the response format as either 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_cancel_create'.
#

PosthogApi.CancelInvitation

Cancels an invitation to join an organization. This tool is used to cancel an invitation for someone to join an organization in Datadog. It should be called when you need to revoke an invite that has already been sent.

Parameters

ParameterTypeReq.Description
invite_identifier_uuidstringRequiredA UUID string representing the invitation to be cancelled.
organization_idstringRequiredA string identifier for the organization whose invitation is to be canceled.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'invites_destroy'.
#

PosthogApi.CancelRunningSavedQuery

Cancel a running saved query workflow in progress. Use this tool to cancel an ongoing saved query execution within a project. Useful when you need to stop a query that is currently running to avoid unnecessary resource usage. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
saved_query_uuidstringOptionalA UUID string that identifies the saved data warehouse query to cancel. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProject ID to access the specific project. Obtainable via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_cancel_create'.
#

PosthogApi.CancelSavedQueryWorkflow

Cancel a running saved query workflow in Datadog. This tool cancels a running saved query workflow based on the provided project and query IDs. It should be called when you need to stop an ongoing query execution in Datadog's environment warehouse. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
saved_query_idstringOptionalA UUID string identifying the data warehouse saved query to cancel. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access for canceling the saved query. Retrieve the project ID by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_cancel_create'.
#

PosthogApi.CheckAsyncAuth

Checks authorization for creating asynchronous queries. Call this tool to determine if a user is authorized to create asynchronous queries in a specific Datadog project. Useful for workflows that need to verify permissions before proceeding with query operations.

Parameters

ParameterTypeReq.Description
project_id_for_auth_checkstringRequiredThe ID of the Datadog project to check access for creating asynchronous queries. Obtain the ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'query_check_auth_for_async_create'.
#

PosthogApi.CheckDemoDataGenerationStatus

Check if demo data is being generated for a project. Use this tool to determine whether demo data is currently being generated for a specific project within an organization.

Parameters

ParameterTypeReq.Description
organization_identifierstringRequiredA string that uniquely identifies the organization for the project.
project_identifierintegerRequiredAn integer uniquely identifying the project to check demo data generation status for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'is_generating_demo_data_retrieve'.
#

PosthogApi.CheckPosthogEnvAuthenticationAsync

Check authentication for Datadog environment asynchronously. This tool checks if a user has authentication permissions for a specific Datadog environment asynchronously. It should be called when there is a need to verify user access permissions for a given project.

Parameters

ParameterTypeReq.Description
posthog_project_idstringRequiredProject ID to access a specific Datadog environment. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_query_check_auth_for_async_create'.
#

PosthogApi.CheckPropertyEventAssociation

Check if a property has been seen with specified event names. This tool checks whether a specified property has ever been associated with a list of given event names. It returns a mapping of each event name to a boolean, indicating whether the association exists. Useful for analyzing event-property relationships in a project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the target project. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'property_definitions_seen_together_retrieve'.
#

PosthogApi.CompleteProjectOnboarding

Mark a project's product onboarding as complete in an organization. Use this tool to update and complete the product onboarding process for a specific project within the current organization. It is applicable when an onboarding process needs to be marked as finished. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
environment_idintegerOptionalA unique integer value identifying this environment (aka team). Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. Retrieve this by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_complete_product_onboarding_partial_update'.
#

PosthogApi.CompleteSymbolSetsUpload

Complete the uploading process for symbol sets in error tracking. Use this tool to finalize the upload process for symbol sets in error tracking environments. Typically called after all parts of symbol sets are uploaded to signal completion.

Parameters

ParameterTypeReq.Description
project_idstringRequiredSpecifies the Project ID for access. Obtain this ID via the /api/projects/ endpoint.
reference_identifierstringRequiredA string used to identify the symbol set upload reference. It helps in finalizing the upload process.
symbol_set_idstringRequiredUnique identifier for the symbol set upload session to complete.
team_identifierintegerRequiredThe integer ID of the team associated with the symbol sets upload you are finalizing. Required for access control and process completion.
upload_completion_timestampstringRequiredTimestamp indicating when the upload process was completed, in ISO 8601 format.
storage_pointerstringOptionalA string value representing the storage pointer identifier for the symbol sets. Used to specify the location where the symbol sets are stored.
upload_failure_reasonstringOptionalA description of the reason for the upload failure, if applicable. Provide detailed information about what caused the issue.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_symbol_sets_bulk_finish_upload_create'.
#

PosthogApi.CompleteSymbolSetUpload

Finalize the upload of symbol sets in Datadog error tracking. Use this tool to complete the upload process of symbol sets in Datadog's error tracking environment for a specific project. Call this when you need to finalize an upload that has already started.

Parameters

ParameterTypeReq.Description
project_id_for_symbol_setstringRequiredSpecify the Project ID for accessing the project in Datadog. Retrieve using the /api/projects/ endpoint.
reference_idstringRequiredA unique identifier for the symbol set upload reference.
symbol_set_idstringRequiredA UUID string identifying the specific error tracking symbol set to be finalized.
team_identifierintegerRequiredThe unique integer identifier representing the team within the Datadog project.
upload_created_at_timestampstringRequiredThe timestamp marking when the upload was created, in ISO 8601 format.
upload_session_idstringRequiredThe unique identifier for the symbol set upload session you wish to complete. This ID is obtained during the initial upload process.
storage_pointerstringOptionalA string representing the storage location pointer for the symbol set. Required to identify the upload location within Datadog.
upload_failure_reasonstringOptionalProvide the reason for upload failure if applicable. This helps in diagnosing issues related to the symbol set upload process in Datadog.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_symbol_sets_finish_upload_update'.
#

PosthogApi.CountFilesInDirectory

Get count of all files in a specified folder. Use this tool to obtain the total number of files within a specific folder in a given project environment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe project ID for accessing the desired project. Retrieve this ID by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_count_by_path_create'.
#

PosthogApi.CreateAnnotation

Create a new annotation for a project. Use this tool to create a new annotation within a specified project in Datadog. This can be used to track important events or notes related to project data. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project where the annotation will be created. Obtain it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'annotations_create'.
#

PosthogApi.CreateBackfillForBatchExport

Create a new backfill for a BatchExport. This tool is used to create a new backfill for a BatchExport by specifying the project and batch export IDs. It should be called when there's a need to initiate a backfill operation for specific data exports. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_identifierstringOptionalThe unique identifier of the BatchExport for which to create a backfill. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Call /api/projects/ to retrieve this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_backfills_create'.
#

PosthogApi.CreateBatchExport

Initiate a batch export for a project. Use this tool to start a new batch export for a specified project within Datadog. Ideal for scenarios needing data extraction or export management. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project you want to access for batch export. Retrieve from /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_create_2'.
#

PosthogApi.CreateBatchExportBackfill

Create a new backfill for a batch export. This tool is used to initiate a new backfill process for a specific BatchExport within a project, allowing for data replenishment or correction in Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_identifierstringOptionalThe unique identifier for the batch export to be backfilled. This ID determines which specific export the backfill will apply to. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project to access. Retrieve this via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_backfills_create'.
#

PosthogApi.CreateBatchExportForEnvironments

Initiate a batch export for selected environments. This tool creates a batch export for environments within a specified project in Datadog. Use it to organize and retrieve environment data efficiently. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project you want to access for batch export. Obtain it via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_create'.
#

PosthogApi.CreateBatchExports

Create a new batch export for an organization. This tool is used to create a new batch export operation for a specified organization in Datadog. It should be called when you need to initiate a process to export data in batches for organizational analysis or reporting. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_idstringOptionalA string representing the unique identifier for the organization. Required to specify which organization the batch export will be created for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_create'.
#

PosthogApi.CreateBulkInvites

Create bulk invites for an organization. This tool facilitates the creation of multiple invites within an organization using Datadog's bulk invite endpoint. It should be called when there's a need to send several invites at once. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_identifierstringOptionalThe unique string ID of the organization where you want to create bulk invites. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'invites_bulk_create'.
#

PosthogApi.CreateChatCompletion

Create a chat completion using OpenAI or compatible models. Utilize this tool to generate chat responses using OpenAI or compatible models. It adheres to OpenAI's Chat Completions API format, providing a seamless integration for chat completion needs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe unique identifier for the project to access. Retrieve via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format of the chat completion response. Possible values are 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'llm_gateway_v1_chat_completions_create'.
#

PosthogApi.CreateCohortTracking

Logs a new view on the resource for tracking purposes. Use this tool to track file system views by logging a new view each time the resource is accessed. It is useful for monitoring and analyzing access patterns. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project you wish to access. Obtain it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_create'.
#

PosthogApi.CreateDashboard

Create a new dashboard for a specified project. Use this tool to create a new dashboard in a specified project. This can be helpful when you need to set up dashboards to monitor or visualize project data. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project for which you want to create the dashboard. Retrieve this ID by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalSpecify the format of the dashboard creation response. Options are 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_create'.
#

PosthogApi.CreateDashboardCollaborator

Add a collaborator to a specified dashboard. Use this tool to invite a new collaborator to an existing dashboard in a project. Provide the necessary project and dashboard identifiers to complete the task. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_identifierintegerOptionalThe unique integer ID of the dashboard to which you want to add a collaborator. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProject ID for accessing the project. Retrieve it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_collaborators_create'.
#

PosthogApi.CreateDashboardFromTemplate

Create a dashboard from a template JSON. Use this tool to create a new dashboard in Datadog using a provided template JSON. Ideal for setting up dashboards quickly based on predefined templates. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access. Use /api/projects/ to find it. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format for the response. Options are 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_create_from_template_json_create'.
#

PosthogApi.CreateDashboardSharingPassword

Create a password for sharing a dashboard. Use this tool to create a new password for configuring how a dashboard is shared in a specific environment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_identifierintegerOptionalThe unique integer identifier for the dashboard. This ID is required to create a sharing password. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project for which you want to create a dashboard sharing password. Use /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_sharing_passwords_create'.
#

PosthogApi.CreateDashboardTemplate

Create a new dashboard template in a Datadog project. This tool allows you to create a new dashboard template within a specified Datadog project. Use it when you need to set up a new dashboard template using the project's ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the Datadog project where you want to create the dashboard template. Obtain it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboard_templates_create'.
#

PosthogApi.CreateDataColorTheme

Create a new data color theme for the environment. This tool allows you to create a new data color theme within a specified environment for a project. Use this when you need to define or update visual styles for data representation in an environment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalProject ID to access the desired project. Obtain it through a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_data_color_themes_create'.
#

PosthogApi.CreateDatasetItem

Create a new dataset item in a specified project. Use this tool to add a new dataset item to a specific project within Datadog. Call this when you need to insert data into a project's dataset. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalProject ID for the target project. Obtain by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dataset_items_create'.
#

PosthogApi.CreateDatasetProject

Create a new dataset within a specified project. This tool is used to create a new dataset for a specified project in Datadog. It should be called when you need to add a dataset to an existing project, identified by its project ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project where the dataset will be created. Obtainable via the /api/projects/ call. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'datasets_create'.
#

PosthogApi.CreateDefaultEvaluationTags

Manage default evaluation tags for a team environment. Use this tool to create or manage default evaluation tags for a specific team environment in a Datadog project. Call this tool when you need to set tags that will be applied by default to the evaluations within an environment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
environment_idintegerOptionalA unique integer value identifying the environment (team) for which to manage evaluation tags. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project you want to access for managing evaluation tags. Retrieve using /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_default_evaluation_tags_create'.
#

PosthogApi.CreateDomainInOrganization

Add a new domain to an organization. Use this tool to create a new domain within a specific organization. It is useful for managing organizational domains. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_idstringOptionalThe unique identifier for the organization to which the domain will be added. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'domains_create'.
#

PosthogApi.CreateEarlyAccessFeatureTracking

Create tracking for early access feature views. Use this tool to create tracking for views on an early access feature within a project. Each GET request on the feature resource logs a new view. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalProject ID to access specific project features. Retrieve this ID by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'early_access_feature_create'.
#

PosthogApi.CreateEmailVerificationIntegration

Initiate an email verification integration for a project. This tool initiates the email verification integration for a specified project and integration ID on the Datadog platform. Use it to set up email verification for project integrations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
integration_idintegerOptionalA unique integer identifying the integration to set up email verification for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project for which the email verification integration is to be initiated. Obtain this ID by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_email_verify_create'.
#

PosthogApi.CreateEnvironmentBatchExport

Initiate a batch export for environment tests. Use this tool to start a new batch export for testing environments in a specified project. It triggers the export process and should be called when a batch export is needed for environment test steps. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access for initiating the batch export. To find this, call /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_run_test_step_new_create'.
#

PosthogApi.CreateEnvironmentDashboard

Create a new dashboard within a specific environment. Use this tool to create a dashboard within a specific project environment in Datadog. Ideal for setting up new dashboards quickly in designated environments. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project for accessing its environment. Retrieve via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format of the response. Options: 'json', 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_create'.
#

PosthogApi.CreateEnvironmentDashboardFromTemplate

Create an environment dashboard from a template. Use this tool to create a new environment dashboard in Datadog by applying a template JSON. This is useful for quickly setting up dashboards in specified projects. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe Project ID for the target environment in Datadog. Retrieve this ID via the /api/projects/ API call. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecifies the format of the response. Choose between 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_create_from_template_json_create'.
#

PosthogApi.CreateEnvironmentDataset

Create a dataset environment in a specified project. This tool is used to create a new dataset environment within a specified project in Datadog. It should be called when you need to set up a dataset environment in a given project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_id_for_environmentstringOptionalProject ID for accessing the project where the dataset environment will be created. To get this ID, call the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_datasets_create'.
#

PosthogApi.CreateEnvironmentDatasetItem

Create a dataset item in the specified environment. This tool allows you to add a new dataset item to a specific environment within a project. Use it when you need to manage or update datasets in your environments efficiently. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the project you want to access. Obtain it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dataset_items_create'.
#

PosthogApi.CreateEnvironmentEvaluation

Create a new environment evaluation for a project. Use this tool to create and initiate an evaluation process for a specific environment within a project. Suitable for tracking and assessing environment configurations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalProject ID to access. Obtainable from calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_evaluations_create'.
#

PosthogApi.CreateEnvironmentExports

Initiates the creation of environment exports in Datadog. Use this tool to initiate the creation of environment export files for a specific project in Datadog. This is useful for backing up or transferring project environment settings. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique ID of the project for which you want to create environment exports. Use /api/projects/ to find the ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_exports_create'.
#

PosthogApi.CreateEnvironmentFileSystemLogView

Create a file system log view for an environment. This tool is used to create a file system log view for a specific project environment. It should be called when there is a need to set up or modify logging configurations in the environment's file system. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalProject ID to access the specific environment. Use /api/projects/ to find it. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_log_view_create'.
#

PosthogApi.CreateEnvironmentGroup

Create a new environment group in a project. Use this tool to create a new environment group within a specified project. Suitable for managing and organizing environment settings in Datadog.

Parameters

ParameterTypeReq.Description
environment_group_keystringRequiredA string identifier for the environment group. It must be unique within the project.
group_type_indexintegerRequiredAn integer representing the index of the group type to be created within the project. Ensure it matches the available types for grouping.
project_identifierstringRequiredThe unique identifier for the project to access. Retrieve using /api/projects/.
environment_group_propertiesstringOptionalA JSON string containing key-value pairs for the properties of the environment group. Define attributes like settings and configurations relevant to the group.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_groups_create'.
#

PosthogApi.CreateEnvironmentInsight

Create a new insight for an environment. Use this tool to add a new insight for a specified environment within a project. It logs a new view each time it is called and is useful for tracking file system views in your projects. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalProject ID to access the specific project. Retrieve using /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalSpecify the format of the output data. Accepted values are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_create'.
#

PosthogApi.CreateEnvironmentIntegration

Create a new integration for a specified environment. This tool creates a new integration within a specified project environment on Datadog. Call this tool when you need to add integrations to enhance environment functionalities or connect with other services. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalProject ID needed to access the specific project. Retrieve it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_create'.
#

PosthogApi.CreateEnvironmentLogSparkline

Create a sparkline for environment logs in Datadog. This tool is used to create a sparkline visualization for logs in a specified environment within Datadog. It should be called when you need a graphical representation of log data for a particular project environment.

Parameters

ParameterTypeReq.Description
project_id_for_log_sparklinestringRequiredThe Project ID for accessing the environment logs in Datadog. Retrieve this ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_logs_sparkline_create'.
#

PosthogApi.CreateEnvironmentSubscription

Create a new subscription for an environment. This tool is used to create a new subscription for a specific environment in a project. It is useful when you need to set up notification or monitoring preferences for the environment within the Datadog service. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalProject ID to access the specific project. Use /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_subscriptions_create'.
#

PosthogApi.CreateErrorTrackingAssignmentRule

Create a new error tracking assignment rule. Use this tool to create a new error tracking assignment rule for specific environments. It is useful for managing error tracking configurations in a project environment.

Parameters

ParameterTypeReq.Description
assignee_usernamestringRequiredUsername of the individual to whom the error tracking assignment rule is assigned. This should be a valid username within the project.
assignment_rule_filtersstringRequiredFilters to specify the criteria for the error tracking assignment rule. Input as a string.
order_key_priorityintegerRequiredAn integer specifying the priority order of the rule. Lower values imply higher priority.
project_idstringRequiredID of the project to access. Retrieve via /api/projects/ call.
rule_idstringRequiredA unique identifier for the error tracking assignment rule to be created.
disabled_data_statestringOptionalIndicates if data for the error tracking rule is disabled. Use 'true' to disable, 'false' to enable.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_assignment_rules_create'.
#

PosthogApi.CreateErrorTrackingGroupingRule

Create a new error tracking grouping rule for a project. This tool is used to create a new error tracking grouping rule within a specified project environment. It helps in organizing and managing error tracking efficiently.

Parameters

ParameterTypeReq.Description
assignee_identifierstringRequiredThe identifier of the user to whom the error tracking issue is assigned. Provide a valid user ID or username.
error_tracking_filtersstringRequiredFilters for error tracking grouping rule. Provide criteria to classify errors, such as error types or patterns.
order_priority_keyintegerRequiredAn integer representing the priority or sequence order of the error tracking grouping rule within the project.
project_idstringRequiredThe ID of the project to access. Obtainable via a call to /api/projects/.
rule_identifierstringRequiredA unique string identifier for the new error tracking grouping rule.
grouping_rule_disabled_datastringOptionalIndicate if the grouping rule data should be disabled. Accepts a boolean in string form, like 'true' or 'false'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_grouping_rules_create'.
#

PosthogApi.CreateErrorTrackingRelease

Create a new error tracking release for a project. Use this tool to create a new error tracking release for a specified project within Datadog. This can help manage and track errors in different project environments, ensuring a systematic approach to error monitoring.

Parameters

ParameterTypeReq.Description
error_release_idstringRequiredUnique identifier for the error tracking release to be accessed or modified.
hash_identifierstringRequiredUnique string identifier for the release hash. Required for tracking specific releases.
project_idstringRequiredID of the project for which to create an error tracking release. Obtainable via /api/projects/.
project_namestringRequiredThe name of the project for which you want to create an error tracking release.
release_creation_timestampstringRequiredTimestamp indicating when the error tracking release was created. Format should be ISO 8601 (e.g., 2023-10-02T14:48:00Z).
release_versionstringRequiredThe version identifier for the new error tracking release.
team_identifierintegerRequiredThe integer ID of the team associated with the error tracking release. Required to specify the team context in Datadog.
release_metadatastringOptionalOptional metadata for the error tracking release. Provide additional information in a string format.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_releases_create'.
#

PosthogApi.CreateErrorTrackingSuppressionRule

Create a new error tracking suppression rule. Use this tool to create a new suppression rule for error tracking environments. It should be called when you need to suppress specific errors in a project's environment.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique ID of the project to access. Obtain it by calling /api/projects/.
suppress_rule_order_keyintegerRequiredAn integer representing the order or priority of the suppression rule in the list. Determines processing sequence.
suppression_rule_filtersstringRequiredA string defining the criteria to filter which errors should be suppressed. Specify conditions relevant to your project's needs.
suppression_rule_idstringRequiredA unique identifier for the suppression rule to be created. This ID helps in tracking and managing the specific rule.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_suppression_rules_create'.
#

PosthogApi.CreateEvaluationRun

Initiate a new evaluation run for a project. This tool creates a new evaluation run within a specified project and enqueues it for asynchronous execution. It should be called when you need to start an evaluation process related to an environment.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access for the evaluation run. Retrieve it using /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_evaluation_runs_create'.
#

PosthogApi.CreateExperimentHoldout

Create a new experiment holdout within a project. Use this tool to create a new holdout for an experiment within a specified project in DataDog. This is useful for setting aside a portion of data for control group purposes during experimentation. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the project you want to access. Obtainable via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_holdouts_create'.
#

PosthogApi.CreateExperimentInProject

Create a new experiment within a specified project. This tool allows you to create a new experiment within a specified project using the Datadog API. It should be called when you want to set up and organize a new experiment under a particular project ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_id_for_experiment_creationstringOptionalThe ID of the project where the experiment will be created. Obtain this by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_create'.
#

PosthogApi.CreateExperimentSavedMetrics

Create and save metrics for an experiment in a project. Use this tool to create and save experiment metrics within a specified project. It is useful when you need to add new metrics to an experiment's saved data. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project for which you want to create and save experiment metrics. Obtain from /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_saved_metrics_create'.
#

PosthogApi.CreateExperimentTimeseriesRecalculation

Initiate recalculation of experiment timeseries data. Use this tool to create a recalculation request for experiment timeseries data by providing the necessary metric object and its fingerprint. Useful for updating and analyzing experiment data metrics. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
experiment_idintegerOptionalA unique integer value identifying this experiment for recalculation. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique identifier of the project you want to access for the recalculation. Obtain this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_recalculate_timeseries_create'.
#

PosthogApi.CreateExports

Initiate the export process for Datadog projects. Use this tool to start the export process for a specified Datadog project by providing the project ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier of the Datadog project to initiate exports. Obtainable via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'exports_create'.
#

PosthogApi.CreateExposureCohortForExperiment

Create an exposure cohort for an experiment. This tool is used to create an exposure cohort for a specific experiment within a project on Datadog. It is suitable for users who need to assign a new group for exposure in their experiment workflow. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
experiment_idintegerOptionalA unique integer used to identify the specific experiment. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique identifier for the project you're accessing. Obtain this via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_create_exposure_cohort_for_experiment_create'.
#

PosthogApi.CreateFeatureFlag

Create a new feature flag in a specific project. Use this tool to create a feature flag within a specified project on the Datadog platform. Ideal for managing feature flags in applications. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_unique_identifierstringOptionalThe unique identifier for the project to access. Retrieve it by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_create'.
#

PosthogApi.CreateFeatureFlagBlastRadius

Create a feature flag blast radius for a project. This tool creates a user blast radius for feature flags within a specified project. It can be used to manage the scope of feature flag exposure to users. Refer to the documentation for more details on managing feature flags. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
feature_flag_project_idstringOptionalThe Project ID for accessing the desired project. Obtainable via the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_user_blast_radius_create'.
#

PosthogApi.CreateFeatureFlagsDashboard

Create a dashboard for feature flags in a project. Use this tool to create a feature flags dashboard within a specified project. This is useful for managing and visualizing feature flags, helping to control and experiment with feature rollouts. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
feature_flag_idintegerOptionalA unique integer value identifying this feature flag for creation or modification. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. Retrieve this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_dashboard_create'.
#

PosthogApi.CreateFeatureFlagUsageDashboard

Create or manage feature flag usage dashboards. This tool allows you to create, read, update, or delete feature flag usage dashboards. It should be called when you need to manage the display and tracking of feature flags in your project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
feature_flag_idintegerOptionalA unique integer identifying this feature flag for the usage dashboard. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Retrieve it via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_enrich_usage_dashboard_create'.
#

PosthogApi.CreateFileSystemEnvironment

Create a new file system environment in a project. Use this tool to create a new file system environment within a specified project. It should be called when setting up storage environments for applications or data within a project on Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access for environment creation. Retrieve it from /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_create'.
#

PosthogApi.CreateFileSystemLogView

Create a new file system log view for a project. Use this tool to initiate the creation of a file system log view for a specified project. It interacts with the Datadog API to set up logging configurations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
target_project_idstringOptionalThe ID of the project for which you want to create a file system log view. Use the API to retrieve the project ID if unknown. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_log_view_create'.
#

PosthogApi.CreateFileSystemShortcut

Create a file system shortcut for a project environment. This tool allows you to create a file system shortcut in a specified environment for a project in Datadog. Use it to quickly set up shortcuts for accessing environment-specific directories.

Parameters

ParameterTypeReq.Description
creation_timestampstringRequiredThe timestamp indicating when the file system shortcut was created. Format: YYYY-MM-DDTHH:MM:SSZ.
file_system_pathstringRequiredThe file system path where the shortcut will point to. This should specify the environment-specific directory.
project_identifierstringRequiredThe unique ID of the project to access. Obtain it via a call to /api/projects/.
shortcut_identifierstringRequiredA unique identifier for the filesystem shortcut to be created. Used to distinguish this shortcut.
reference_namestringOptionalA string representing the reference name for the file system shortcut. Use a unique identifier or description that aids in shortcut identification.
shortcut_typestringOptionalSpecify the type of shortcut to create, such as "folder" or "file".
target_hrefstringOptionalThe URL or path to which the file system shortcut will point. This should be a valid string representing the reference destination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_shortcut_create'.
#

PosthogApi.CreateGroupTypeMetric

Create a new metric for a specific group type. This tool creates a new metric for a specified group type within a project. It should be called when you need to add a new performance or data metric to a group type for monitoring or analysis purposes.

Parameters

ParameterTypeReq.Description
group_type_indexintegerRequiredAn integer representing the index of the group type to which a new metric will be added.
group_type_metric_idstringRequiredThe unique identifier for the metric you wish to create. It should be a string value.
metric_filtersstringRequiredOptional filters to apply when creating the group type metric. It accepts a string of filter criteria to narrow down the data.
metric_namestringRequiredThe name of the metric to be created for the group type. This should be a descriptive and unique identifier that helps distinguish this metric from others.
project_idstringRequiredProject ID for accessing the specific project. Make a call to /api/projects/ to retrieve available IDs.
display_formatstringOptionalSpecifies how the metric will be displayed: 'number' for a numeric display, or 'sparkline' for a graphical display.
interval_in_daysintegerOptionalSpecify the interval in days for the metric data aggregation.
metric_formatstringOptionalSpecify the format for the metric. Options are 'numeric' or 'currency'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_metrics_create'.
#

PosthogApi.CreateHogFunction

Log a new file system view for a specified project. This tool logs a new file system view each time a GET request is made on the resource. It should be called to track resource views under a specific project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe unique ID of the project to access. Retrieve this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_create'.
#

PosthogApi.CreateHogFunctionBroadcast

Create a broadcast for hog functions in an environment. This tool is used to create a broadcast for hog functions within a specified environment in Datadog. Call this tool when you need to track file system views by logging a new view with each GET request on the resource. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
hog_function_idstringOptionalA UUID string identifying the hog function for broadcast creation. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalString representing the ID of the project to access. Obtain the ID via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_broadcast_create'.
#

PosthogApi.CreateHogFunctionEnvironment

Track and create a new file system view in an environment. This tool is used to create a new 'hog function' environment, which involves logging each GET request on the resource to track file system views. It should be called when there is a need to initialize or track views within a project environment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access. Call /api/projects/ to retrieve project IDs if needed. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_create'.
#

PosthogApi.CreateInsightEntry

Logs a new file system view entry for insights. Use this tool to create a new insight entry when tracking file system views. Each invocation logs a view for a specified project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project for which you want to log a file system view. Obtain it using the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format of the response, either 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_create'.
#

PosthogApi.CreateInsightsSharingPassword

Create a new password for insights sharing configuration. This tool is used to create a new password for the sharing configuration of a specific insight within a project. Call this tool when you need to generate a password for sharing insights securely. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
insight_identifierintegerOptionalThe numerical ID representing the specific insight to create a password for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project you want to access. Obtain it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_sharing_passwords_create'.
#

PosthogApi.CreateLogQuery

Initiate a logs query for a specific project. Use this tool to create a new log query for a specified project in Datadog. It's useful for starting the process of retrieving logs data based on specific parameters.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique Project ID for accessing the desired project in Datadog. Obtain by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'logs_query_create'.
#

PosthogApi.CreateLogsQueryForEnvironment

Create a logs query for a specific environment. This tool initiates a logs query for a specified environment within a project. It should be called when you need to analyze logs data from a particular environment.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique ID of the project being accessed. Use /api/projects/ to find it.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_logs_query_create'.
#

PosthogApi.CreateLogsSparkline

Create a sparkline for project logs. Use this tool to create a sparkline visualization of logs for a specific project. Useful for summarizing log data trends over time.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project for which you want to create a sparkline. Retrieve the ID using the /api/projects/ endpoint before using it here.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'logs_sparkline_create'.
#

PosthogApi.CreateMaxToolsInsight

Create an insight for maximum tools in a project. This tool creates an insight related to the maximum tools for a specified project within Datadog environments. It should be called when you need to generate insights for managing or analyzing tool usage limits.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access to create the insight. Obtainable via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_max_tools_create_and_query_insight_create'.
#

PosthogApi.CreateMessageWithClaude

Create a message using Anthropic's Claude models. This tool creates a new message with Anthropic's Claude models, using the format compatible with Anthropic's Messages API. It should be called when you need to generate a message leveraging Claude's capabilities. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project you want to access. Retrieve this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
message_formatstringOptionalSpecify the format of the message. Options are 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'llm_gateway_v1_messages_create'.
#

PosthogApi.CreateNotebook

Create a new notebook within a specified project. This tool allows for the creation of a new notebook within a specified project in Datadog. Ideal for organizing data and analyses in one place. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project where the notebook will be created. Use /api/projects/ to find the ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'notebooks_create'.
#

PosthogApi.CreateOrganization

Create a new organization in Datadog. Use this tool to create a new organization in Datadog. It should be called when there is a need to add an organization to the system. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'create'.
#

PosthogApi.CreateOrganizationInvite

Send an invitation to join an organization. Use this tool to create and send an invitation email to a user for joining a specified organization on Datadog. It should be called when you want to add new members to an organization. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_idstringOptionalThe unique identifier for the Datadog organization to which the invitation will be sent. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'invites_create'.
#

PosthogApi.CreateOrganizationProject

Create a project for the current organization. Use this tool to create and associate a new project with the specified organization in Datadog. It returns the details of the newly created project, helping you manage organizational projects efficiently. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_unique_idintegerOptionalAn integer that uniquely identifies the project to be created for the organization. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalA unique string that identifies the organization for which the project is being created. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'change_organization_create'.
#

PosthogApi.CreateOrUpdatePersons

Create or update persons in a project funnel. Use this tool to create or update persons within a specific project's funnel on Datadog, aligning with the correct project ID. For reading or deleting persons, consider other API endpoints as suggested. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the project to access. Use /api/projects/ to find the ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format of the response. Options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_funnel_create'.
#

PosthogApi.CreatePersistedFolder

Create a persisted folder in a Datadog environment. Use this tool to create a persistent storage folder within a specified Datadog project environment.

Parameters

ParameterTypeReq.Description
folder_creation_timestampstringRequiredTimestamp indicating when the folder was created. It should be in ISO 8601 format.
folder_idstringRequiredA unique identifier for the persisted folder to be created in the environment.
folder_typestringRequiredSpecifies the type of the folder to create. Acceptable values are 'home' for Home directory and 'pinned' for Pinned directory.
folder_updated_atstringRequiredTimestamp indicating when the folder was last updated.
project_identifierstringRequiredThe ID of the Datadog project for accessing a specific environment. Obtain this by calling /api/projects/.
folder_protocolstringOptionalSpecify the protocol for the persisted folder, typically as a string indicator.
persisted_folder_pathstringOptionalSpecify the path for the persisted folder in the Datadog environment. This should be a valid directory path within the project.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persisted_folder_create'.
#

PosthogApi.CreatePersonsFunnel

Create a funnel for tracking persons. Use this tool to create a funnel for tracking persons within a specific project environment. For updating existing persons, consider using the capture API or relevant SDKs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
target_project_idstringOptionalThe ID of the project you want to access. Obtain it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalSpecify the output format for the funnel creation. Options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_funnel_create'.
#

PosthogApi.CreatePersonsFunnelCorrelation

Create a funnel correlation for persons in a project. Use this tool to create a funnel correlation for persons within a specified project environment. This is ideal for tracking and analyzing how different user properties impact funnel performance. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the project to access. Obtain this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalSpecifies the output format of the response. Accepts 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_funnel_correlation_create'.
#

PosthogApi.CreateProjectEnvironment

Create a new environment for a specific project. Use this tool to create a new environment within a specified project in the current organization. Ideal for setting up workspaces for development, testing, or production phases. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access. Retrieve it by calling `/api/projects/`. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_create'.
#

PosthogApi.CreateProjectFileSystem

Create a file system for a specified project. Use this tool to create a file system for a given project in Datadog. It should be called when a new file system needs to be initialized within a project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project for which you want to create a file system. Retrieve this ID by calling `/api/projects/`. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_create'.
#

PosthogApi.CreateProjectForOrganization

Create a new project for the current organization. Use this tool to create a new project within the organization's current settings. It is suitable for managing and organizing projects under a specific organization's ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_identifierstringOptionalThe unique identifier for the organization. Used to specify which organization's project is being created. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'create_2'.
#

PosthogApi.CreateProjectGroup

Create a new group in a specified project. This tool is used to create a new group within a specified project in Datadog. It should be called when there is a need to organize or manage project resources effectively by grouping related items together.

Parameters

ParameterTypeReq.Description
group_identifier_keystringRequiredA unique string identifier for the new group being created within a project. This key should be distinct to avoid conflicts with existing groups.
group_type_identifierintegerRequiredAn integer specifying the type of group to create within the project.
project_identifierstringRequiredThe ID of the project where the new group will be created. Use /api/projects/ to find the ID.
group_propertiesstringOptionalSpecify the properties of the group you want to create. Provide this as a JSON string with property keys and values.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_create'.
#

PosthogApi.CreateProjectIntegration

Creates a new integration for a specific project. Use this tool to create an integration for a project by providing the project ID. It sets up integrations to connect your project with other services. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the project. Retrieve this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_create'.
#

PosthogApi.CreateProjectSubscription

Create a new subscription for a specified project. Use this tool to add a subscription to a specific project. It is called when you need to create a subscription within a project using the project's ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project to access. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'subscriptions_create'.
#

PosthogApi.CreateProjectTask

Create a new task within a specified project. This tool is used to create a new task in a given project by specifying the project ID. It helps manage tasks effectively by adding units of work to be performed by an agent. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project to access for task creation. Retrieve the ID using a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_create'.
#

PosthogApi.CreateProxyRecords

Create a proxy record for an organization. This tool calls the Datadog API to create a new proxy record within a specified organization. Use this tool when you need to add proxy records for managing organizational network proxies. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_identifierstringOptionalA unique string identifier for the organization to which the proxy record will be added. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'proxy_records_create'.
#

PosthogApi.CreateRecordingSharePassword

Create a new password for sharing configuration of a recording. This tool is used to create a new password for the sharing configuration of a specific session recording. It should be called when there's a need to password-protect access to a session recording within a project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access. Use the /api/projects/ endpoint to find the project ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
recording_idstringOptionalUnique identifier of the recording for which the sharing password is being created. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recordings_sharing_passwords_create'.
#

PosthogApi.CreateRoleInOrganization

Create a new role within an organization. Use this tool to add a new role to a specific organization. Appropriate when setting up roles for users within an organization. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_idstringOptionalThe unique identifier of the organization where the role will be created. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'roles_create'.
#

PosthogApi.CreateRoleMembership

Create a role membership in an organization. Use this tool to assign a user to a specific role within an organization in Datadog. This is useful for managing user permissions and access within your organization. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_idstringOptionalThe unique identifier for the organization in which the role membership is to be created. This is required to specify the targeted organization within Datadog. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
role_identifierstringOptionalThe unique identifier of the role to which the user will be assigned. It should be a string that matches the specific role in Datadog. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'roles_role_memberships_create'.
#

PosthogApi.CreateSessionRecordingPlaylist

Create a new session recording playlist for an environment. Use this tool to create a session recording playlist within a specific environment by providing the required project ID. It logs views and tracks file system interactions with each GET request. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalProvide the Project ID to access the specific project. You can retrieve the ID by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recording_playlists_create'.
#

PosthogApi.CreateSessionRecordingPlaylistEntry

Add a recording to a session playlist. This tool logs a session recording to a specified session recording playlist for tracking purposes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the project to access. Obtain by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
session_recording_idstringOptionalThe ID of the session recording to be added to the playlist. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
session_recording_short_idstringOptionalThe short ID of the session recording to add to the playlist. It must be a valid string identifier. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recording_playlists_recordings_create'.
#

PosthogApi.CreateSharingPassword

Create a new password for sharing configuration. Use this tool to create a new password for the sharing configuration of a specific insight within a project environment on Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
insight_identifierintegerOptionalThe unique integer ID of the insight for which you want to create a sharing password. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Obtain this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_sharing_passwords_create'.
#

PosthogApi.CreateStaticCohortCopy

Create a static copy of a dynamic cohort. This tool should be called when you need to turn a dynamic cohort into a static one for a specified project. It duplicates the cohort, preserving its current state as a static cohort.

Parameters

ParameterTypeReq.Description
cohort_identifierintegerRequiredA unique integer identifying the dynamic cohort to be duplicated as a static cohort.
project_identifierstringRequiredThe ID of the project to access. Obtain it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_duplicate_as_static_cohort_retrieve'.
#

PosthogApi.CreateStaticCohortForFeatureFlag

Create a static cohort for a specific feature flag. This tool is used to create a static cohort for a specified feature flag within a given project. Useful for managing user groups associated with feature flags in applications. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
feature_flag_idintegerOptionalA unique integer value identifying the specific feature flag to create a static cohort for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access for creating a static cohort for the feature flag. Retrieve via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_create_static_cohort_for_flag_create'.
#

PosthogApi.CreateSurvey

Create a new survey for a project. Use this tool to initiate the creation of a new survey within a specified project. This tool should be called when you need to log a new survey for project tracking purposes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project for creating a survey. Retrieve this ID via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_create'.
#

PosthogApi.CreateSymbolSet

Create a new symbol set for error tracking in a project. This tool is used to create a new symbol set for error tracking within a specified project in Datadog. It should be called when you want to add symbol sets to environments for better error tracking.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID needed to access the specific project for creating a symbol set. Obtainable via /api/projects/ call.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_symbol_sets_create'.
#

PosthogApi.CreateTaskRun

Create and manage execution of a specific task by ID. Use this tool to initiate a run for a specific task within a project on Datadog. It's useful for managing task executions when you need to automate or monitor tasks. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access. Use /api/projects/ to retrieve project IDs. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
task_idstringOptionalThe identifier for the specific task to run within the project. Ensure it matches the correct task you intend to execute. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_runs_create'.
#

PosthogApi.CreateUserInterviewEnvironment

Create a user interview environment in a project. This tool is used to create a new user interview environment within a specified project using Datadog's API. It should be called when there is a need to organize or set up an environment for conducting user interviews. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
access_project_idstringOptionalThe ID of the project to access for creating a user interview environment. Use /api/projects/ endpoint to retrieve if unknown. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_user_interviews_create'.
#

PosthogApi.CreateUserScenePersonalization

Create personalized scene settings for a user. This tool is used to create personalized scene settings for a user identified by their UUID. It should be called when there's a need to customize a user's interface or experience by setting specific scene preferences. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
user_uuidstringOptionalThe unique identifier for the user whose scene you want to personalize. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_scene_personalisation_create'.
#

PosthogApi.CreateWarehouseSavedQuery

Create a new warehouse saved query. Use this tool to create a new warehouse saved query within a specified environment. It facilitates the management of warehouse tables, allowing for efficient data handling and retrieval. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access. Retrieve it via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_create'.
#

PosthogApi.CreateWarehouseTable

Create a new warehouse table for a specified environment. Use this tool to create a new warehouse table within a specified environment by providing the project ID. This is useful for setting up or expanding data storage in Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project to access for creating a warehouse table. Obtain it from /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_tables_create'.
#

PosthogApi.CreateWebExperiment

Create a web experiment for a project. Use this tool to create a new web experiment within a specified project on Datadog. Each invocation logs the creation of a new experiment.

Parameters

ParameterTypeReq.Description
experiment_idintegerRequiredUnique integer ID for the web experiment. Required for identifying the experiment within the project.
experiment_namestringRequiredThe name for the web experiment you want to create in Datadog.
feature_flag_keystringRequiredUnique identifier for the feature flag associated with the web experiment.
project_idstringRequiredID of the project for the web experiment. Obtain it via /api/projects/.
web_experiment_variantsstringRequiredJSON string defining the variants for the web experiment, including transforms, conditions, and rollout percentages.
experiment_creation_datestringOptionalThe timestamp when the web experiment was created, in ISO 8601 format.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'web_experiments_create'.
#

PosthogApi.DeleteAnnotation

Mark an annotation as deleted in a project. Use this tool to mark an annotation as deleted by setting the "deleted" field to true in a specific project. This action uses a patch call rather than a hard delete.

Parameters

ParameterTypeReq.Description
annotation_idintegerRequiredA unique integer identifier for the annotation to be marked as deleted.
project_id_for_annotationstringRequiredThe ID of the project where the annotation should be marked as deleted. Use /api/projects/ to find the correct ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'annotations_destroy'.
#

PosthogApi.DeleteBatchExport

Delete a batch export in a specific environment. Use this tool to delete a specific batch export for a given environment within a project on Datadog. This is useful when you need to manage or clean up batch exports.

Parameters

ParameterTypeReq.Description
batch_export_uuidstringRequiredA UUID string identifying the batch export to delete.
project_idstringRequiredThe ID of the project to access for batch export deletion. Obtainable via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_destroy'.
#

PosthogApi.DeleteCollaboratorFromDashboard

Remove a collaborator from a specific dashboard. Use this tool to remove a specific collaborator from a dashboard within a project. It is useful when managing dashboard access and permissions.

Parameters

ParameterTypeReq.Description
dashboard_idintegerRequiredThe unique identifier for the dashboard from which you want to remove the collaborator. It's required to specify which dashboard the action pertains to.
project_idstringRequiredThe ID of the project for accessing the dashboard. Obtainable via /api/projects/.
user_uuidstringRequiredThe unique identifier of the user to be removed from the dashboard.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_collaborators_destroy'.
#

PosthogApi.DeleteDashboard

Mark a dashboard as deleted. Use this tool to set a specific dashboard as deleted for a project environment. This action is performed by patching the dashboard's status to "deleted" instead of a hard delete.

Parameters

ParameterTypeReq.Description
dashboard_idintegerRequiredA unique integer value identifying the dashboard to be marked as deleted.
project_idstringRequiredProject ID to access the desired project. Retrieve using /api/projects/ if needed.
response_formatstringOptionalSpecifies the format of the response. Options include 'json' and 'txt'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_destroy'.
#

PosthogApi.DeleteDashboardSharingPassword

Delete a password from a dashboard's sharing configuration. Use this tool to remove a password from the sharing settings of a specific dashboard in a project environment. This operation is crucial when you want to update the security configurations or remove outdated credentials.

Parameters

ParameterTypeReq.Description
dashboard_identifierintegerRequiredThe unique integer identifier for the dashboard from which the password is to be deleted.
password_identifierstringRequiredThe unique identifier of the password to be deleted from the dashboard's sharing configuration. This is required to specify which password to remove.
project_identifierstringRequiredUnique identifier for the project. Retrieve by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_sharing_passwords_destroy'.
#

PosthogApi.DeleteDashboardTemplate

Mark a Datadog dashboard template as deleted. This tool marks a specified Datadog dashboard template as deleted, using a DELETE request to update its status. It's useful when you need to remove a dashboard template without hard deleting it from the Datadog system.

Parameters

ParameterTypeReq.Description
dashboard_template_idstringRequiredA UUID string uniquely identifying the Datadog dashboard template to be marked as deleted.
project_identifierstringRequiredThe Project ID needed to access the specific project. Obtainable via the "/api/projects/" endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboard_templates_destroy'.
#

PosthogApi.DeleteDataColorTheme

Delete a data color theme from a project. Use this tool to delete a specific data color theme from a given project in Datadog.

Parameters

ParameterTypeReq.Description
data_color_theme_idintegerRequiredA unique integer identifying the data color theme to delete.
project_idstringRequiredThe ID of the project containing the data color theme to delete. Retrieve this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'data_color_themes_destroy'.
#

PosthogApi.DeleteDataset

Delete a dataset by setting it to deleted status. Use this tool to mark a dataset as deleted by setting its "deleted" attribute to true. A hard delete is not supported, so this operation ensures the dataset is flagged as deleted in the system.

Parameters

ParameterTypeReq.Description
dataset_uuidstringRequiredA UUID string identifying the dataset to be marked as deleted.
project_identifierstringRequiredThe unique identifier for the project. Use /api/projects/ to find it.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_datasets_destroy'.
#

PosthogApi.DeleteDatasetById

Facilitates marking a dataset as deleted in a project. Use this tool to effectively mark a dataset as deleted within a project by utilizing a patch API call to set "deleted" to true, aligning with the Datadog API constraints.

Parameters

ParameterTypeReq.Description
dataset_uuidstringRequiredA UUID string that uniquely identifies the dataset to be marked as deleted within the project.
project_identifierstringRequiredProvide the Project ID for accessing the desired project. Use the /api/projects/ endpoint to locate the ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'datasets_destroy'.
#

PosthogApi.DeleteDefaultEvaluationTags

Delete default evaluation tags for a project environment. Use this tool to remove default evaluation tags associated with a specified project environment. It's useful when tags need to be cleaned up or updated for project management.

Parameters

ParameterTypeReq.Description
environment_identifierintegerRequiredA unique integer identifying the environment (or team) for tag management.
project_idstringRequiredThe unique ID of the project to access. Find this ID through a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_default_evaluation_tags_destroy'.
#

PosthogApi.DeleteDomain

Remove a domain from an organization. Use this tool to delete a domain from a specified organization in Datadog. It should be called when you need to remove an existing domain from the organization's configurations.

Parameters

ParameterTypeReq.Description
domain_uuidstringRequiredA UUID string that uniquely identifies the domain to be deleted.
organization_identifierstringRequiredA string that uniquely identifies the organization from which the domain will be removed. This should be specified when calling the tool.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'domains_destroy'.
#

PosthogApi.DeleteEnvironment

Delete a specific environment from a project. Use this tool to delete an environment from a specific project in the current organization. Call this tool when you need to remove an existing environment by specifying the project and environment IDs.

Parameters

ParameterTypeReq.Description
environment_idintegerRequiredA unique integer identifying the environment to delete.
project_identifierstringRequiredThe ID of the project you're trying to access. Find this by calling the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_destroy'.
#

PosthogApi.DeleteEnvironmentColorTheme

Delete a specific environment's color theme in Datadog. This tool deletes a color theme from a specified environment in Datadog. It should be called when you need to remove a particular color theme from a project environment.

Parameters

ParameterTypeReq.Description
data_color_theme_idintegerRequiredA unique integer value used to identify the data color theme to be deleted.
project_idstringRequiredThe ID of the project for accessing its environment. Obtain by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_data_color_themes_destroy'.
#

PosthogApi.DeleteEnvironmentDatasetItem

Marks a dataset item in an environment as deleted. This tool is used to effectively remove a dataset item from an environment by marking it as deleted. It should be called when a permanent deletion is intended, following the API's restriction against hard deletion. The tool sets the 'deleted' attribute to true for the specified item.

Parameters

ParameterTypeReq.Description
dataset_item_idstringRequiredA UUID string identifying the dataset item to mark as deleted.
project_idstringRequiredThe unique Project ID for accessing the desired project. Retrieve by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dataset_items_destroy'.
#

PosthogApi.DeleteEnvironmentGroupProperty

Deletes a property from an environment group. This tool is used to delete a specific property from an environment group in a project. It should be called when you need to remove such properties from environment groups within Datadog.

Parameters

ParameterTypeReq.Description
creation_datestringRequiredThe date when the property was created, in ISO 8601 format.
environment_group_type_indexintegerRequiredAn integer representing the group type index to identify the environment group.
group_keystringRequiredSpecify the key of the environment group you want to target for property deletion.
group_key_for_deletionstringRequiredThe key of the property to delete from the environment group.
group_type_indexintegerRequiredSpecify the group type index to identify which group to delete the property from. This should be an integer value.
project_idstringRequiredThe unique identifier for the project. Obtain it by calling /api/projects/.
group_properties_to_deletestringOptionalA comma-separated list of property names you want to delete from the environment group.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_groups_delete_property_create'.
#

PosthogApi.DeleteEnvironmentInsight

Marks an environment insight as deleted. Use this tool to mark an environment insight as deleted by setting its 'deleted' status to true. This action does not hard delete the record, but flags it as deleted.

Parameters

ParameterTypeReq.Description
insight_idintegerRequiredA unique integer value identifying the environment insight to be marked as deleted.
project_identificationstringRequiredThe ID of the project to access. Obtain by calling /api/projects/.
response_formatstringOptionalSpecify the response format for the deletion confirmation, either 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_destroy'.
#

PosthogApi.DeleteEnvironmentIntegration

Delete an integration from a project environment. Use this tool to delete a specific integration from a project environment in Datadog. Trigger it when an integration needs to be removed from a given project environment.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer representing the integration to be deleted.
project_identifierstringRequiredThe unique identifier for the project. Use an API call to /api/projects/ to retrieve this if unknown.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_destroy'.
#

PosthogApi.DeleteEnvironmentQuery

Delete a specific query environment. Use this tool to delete a query environment by specifying the project and query IDs. This action is experimental.

Parameters

ParameterTypeReq.Description
project_id_accessstringRequiredSpecify the Project ID of the project you want to access. Obtain the ID by calling /api/projects/.
query_idstringRequiredThe unique ID of the environment query to be deleted. This is necessary to specify which query environment should be removed.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_query_destroy'.
#

PosthogApi.DeleteEnvironmentSubscription

Marks an environment subscription as deleted in Datadog. Use this tool to mark an environment subscription as deleted by setting its status to "deleted." This does not perform a hard delete.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project for accessing its environment subscription. Obtain via a call to /api/projects/.
subscription_idintegerRequiredA unique integer value identifying the subscription to be marked as deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_subscriptions_destroy'.
#

PosthogApi.DeleteEnvSecretTokenBackup

Deletes a secret token backup in a project environment. Use this tool to delete a secret token backup for a specified project environment in Datadog. It should be called when needing to manage secret backups within a project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
environment_idintegerOptionalA unique integer identifying the environment (aka team) to target for deletion. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe Project ID to access for managing secret token backups. Retrieve IDs via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_delete_secret_token_backup_partial_update'.
#

PosthogApi.DeleteErrorFingerprint

Mark an error fingerprint as deleted in Datadog. Use this tool to mark an error fingerprint as deleted in a specified Datadog project environment. This does not perform a hard delete but sets the fingerprint's status to 'deleted' using a DELETE request.

Parameters

ParameterTypeReq.Description
error_fingerprint_uuidstringRequiredA UUID string identifying the specific error tracking issue fingerprint to be marked as deleted.
posthog_project_idstringRequiredThe ID of the Datadog project you want to modify. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_fingerprints_destroy'.
#

PosthogApi.DeleteErrorTrackingRelease

Deletes a specific error tracking release from a project environment. This tool deletes a specific error tracking release identified by its ID from a given project environment in Datadog. It should be called when there is a need to permanently remove a release from error tracking records.

Parameters

ParameterTypeReq.Description
error_tracking_release_idstringRequiredA UUID string identifying the error tracking release to be deleted.
project_idstringRequiredThe ID of the project being accessed. Use `/api/projects/` to find the ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_releases_destroy'.
#

PosthogApi.DeleteErrorTrackingRule

Deletes a specified error tracking assignment rule. Use this tool to delete a specific error tracking assignment rule within a Datadog environment by providing the project and rule IDs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtain this by calling /api/projects/.
rule_idstringRequiredThe UUID of the error tracking assignment rule to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_assignment_rules_destroy'.
#

PosthogApi.DeleteEvaluation

Marks an evaluation as deleted in the environment. Use this tool to mark a specific evaluation as deleted in a Datadog environment by setting the "deleted" flag to true. This is useful for managing evaluation records without permanent deletion.

Parameters

ParameterTypeReq.Description
evaluation_uuidstringRequiredA UUID string identifying the evaluation to be marked as deleted.
project_identifierstringRequiredThe ID of the project to access in Datadog. Retrieve it via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_evaluations_destroy'.
#

PosthogApi.DeleteEventDefinition

Delete an event definition by ID and project. This tool deletes a specific event definition within a given project based on the provided IDs. It should be called when you need to permanently remove an event definition from a project.

Parameters

ParameterTypeReq.Description
event_definition_idstringRequiredA UUID string that uniquely identifies the event definition to be deleted.
project_identifierstringRequiredProject ID of the target project. Retrieve this ID via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'event_definitions_destroy'.
#

PosthogApi.DeleteExperiment

Delete an experiment by setting it as deleted. This tool is used to mark an experiment as deleted in a project. Hard deletion is not allowed, so this tool performs a soft delete by setting the experiment's "deleted" status to true.

Parameters

ParameterTypeReq.Description
experiment_idintegerRequiredA unique integer value used to identify the experiment to be marked as deleted.
project_idstringRequiredThe unique ID of the project containing the experiment to be deleted. Obtainable via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_destroy'.
#

PosthogApi.DeleteExperimentHoldout

Delete an experiment holdout from a project. Use this tool to delete a specific experiment holdout from a given project in Datadog. This can be useful when you need to manage or update experiments and wish to remove outdated or unnecessary holdouts.

Parameters

ParameterTypeReq.Description
experiment_holdout_idintegerRequiredA unique integer identifying the experiment holdout to be deleted.
project_idstringRequiredThe ID of the project from which to delete the experiment holdout. Obtainable via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_holdouts_destroy'.
#

PosthogApi.DeleteFileSystem

Delete a specified file system in a project. Use this tool to delete a specific file system within a project by providing the project and file system IDs.

Parameters

ParameterTypeReq.Description
file_system_idstringRequiredA UUID string identifying the file system to delete.
project_idstringRequiredProvide the Project ID of the project you're trying to access. Retrieve the ID with a /api/projects/ call.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_destroy'.
#

PosthogApi.DeleteFilesystemEnvironment

Deletes a file system in the specified environment. Use this tool to delete a file system within a given environment by specifying the project and file system IDs. This action is irreversible and should be used when you want to remove unwanted or obsolete file systems.

Parameters

ParameterTypeReq.Description
filesystem_idstringRequiredA UUID string identifying the file system to be deleted.
project_identifierstringRequiredThe Project ID of the specific environment. Obtainable through /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_destroy'.
#

PosthogApi.DeleteFileSystemShortcut

Deletes a file system shortcut in an environment. Use this tool to delete a specified file system shortcut within a given project environment. It is called when a shortcut needs to be removed from the environment.

Parameters

ParameterTypeReq.Description
file_system_shortcut_idstringRequiredThe UUID string that uniquely identifies the file system shortcut to be deleted.
project_identifierstringRequiredThe unique identifier for the project you wish to access. Retrieve this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_shortcut_destroy'.
#

PosthogApi.DeleteGroupProperty

Delete a group property in a Datadog project. This tool deletes a property from a group within a specified Datadog project. It should be used when there's a need to remove specific properties from groups in the context of project management within Datadog.

Parameters

ParameterTypeReq.Description
group_identifier_keystringRequiredThe unique identifier key of the group from which the property will be deleted. This is required to specify the exact group within the project.
group_index_typeintegerRequiredAn integer representing the index of the group type to delete a property from.
group_key_for_deletionstringRequiredThe unique key identifying the group from which the property will be deleted.
group_type_indexintegerRequiredAn integer specifying the group type to find within a project for property deletion.
project_idstringRequiredThe ID of the Datadog project for accessing and managing group properties. To find this ID, make a call to /api/projects/.
property_creation_datestringRequiredThe timestamp when the group property was created. Use ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
group_property_keystringOptionalThe key of the group property to be deleted from the Datadog project.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_delete_property_create'.
#

PosthogApi.DeleteGroupType

Delete a specified group type in a project. Use this tool to remove a group type from a specified project. This is useful when a group type is no longer needed or needs to be reconfigured.

Parameters

ParameterTypeReq.Description
group_type_indexintegerRequiredIndex of the group type to be deleted. Use an integer value to specify the group type.
project_idstringRequiredThe ID of the project you want to access. Obtain this ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_destroy'.
#

PosthogApi.DeleteGroupTypeMetric

Delete a specific metric from a group type. Use this tool to delete a specific metric from a group type within a project. Ideal for removing unused or incorrect metrics.

Parameters

ParameterTypeReq.Description
group_type_indexintegerRequiredAn integer representing the position of the group type in the list. Specify the exact index to delete the associated metric.
metric_uuidstringRequiredA UUID string identifying the metric to be deleted from the group type.
project_idstringRequiredThe ID of the project to access. Retrieve it via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_metrics_destroy'.
#

PosthogApi.DeleteHogFunction

Marks a hog function as deleted in a project. Use this tool to mark a hog function as deleted by setting its "deleted" flag to true for a specific project environment.

Parameters

ParameterTypeReq.Description
hog_function_idstringRequiredA UUID string identifying the specific hog function to mark as deleted.
project_identifierstringRequiredThe unique identifier for the project to access. To find it, make a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_destroy'.
#

PosthogApi.DeleteInsight

Marks an insight as deleted in a project. Use this tool to mark an insight within a project as deleted. This operation does not hard delete the insight but flags it as deleted.

Parameters

ParameterTypeReq.Description
insight_idintegerRequiredA unique integer identifying the insight to be marked as deleted.
project_identifierstringRequiredProject ID to access and mark an insight as deleted. Use /api/projects/ to find the ID.
response_formatstringOptionalSpecifies the format of the response data. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_destroy'.
#

PosthogApi.DeleteInsightSharingPassword

Delete a password from an insight's sharing configuration. Use this tool to delete a password associated with an insight's sharing configuration in a specific environment. This is useful for managing access to shared insights by ensuring only the desired passwords remain active.

Parameters

ParameterTypeReq.Description
insight_identifierintegerRequiredThe unique integer ID of the insight whose sharing password you want to delete.
password_identifierstringRequiredThe unique identifier of the password to be deleted from the sharing configuration.
project_idstringRequiredThe unique identifier for the project you wish to access. Obtain this ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_sharing_passwords_destroy'.
#

PosthogApi.DeleteIntegration

Delete an existing integration for a project. Use this tool to remove a specific integration from a project by providing the project and integration identifiers.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredThe unique integer used to identify the specific integration to be deleted.
project_idstringRequiredThe Project ID needed to access the project. Retrieve it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_destroy'.
#

PosthogApi.DeleteNotebook

Deletes a specific notebook by marking it as deleted. Use this tool to mark a notebook as deleted by its project and notebook ID. It doesn't perform a hard delete but updates the status to deleted.

Parameters

ParameterTypeReq.Description
notebook_short_idstringRequiredThe short ID of the notebook to mark as deleted. This ID uniquely identifies the notebook within the project.
project_idstringRequiredThe ID of the project to access. Obtain it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'notebooks_destroy'.
#

PosthogApi.DeleteOrganization

Delete an organization from Datadog. Use this tool to delete an organization by its ID from Datadog. This action is irreversible, and all data associated with the organization will be removed.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredA UUID string to identify the organization to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'destroy'.
#

PosthogApi.DeletePasswordFromSharingConfig

Delete a password from the sharing configuration of an insight. Use this tool to delete a specific password associated with a sharing configuration in Datadog insights. It should be called when you need to remove access control via password on shared insights.

Parameters

ParameterTypeReq.Description
insight_identifierintegerRequiredThe unique integer identifier for the insight from which the password is being deleted.
project_identifierstringRequiredThe ID of the project to access. Retrieve it via the /api/projects endpoint.
sharing_password_idstringRequiredThe unique ID of the password to be deleted from the sharing configuration.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_sharing_passwords_destroy'.
#

PosthogApi.DeletePersistedFolder

Delete a persisted folder from a project environment. This tool deletes a specified persisted folder within a project environment in Datadog. It should be called when a user wants to permanently remove a stored folder by specifying the project and folder IDs.

Parameters

ParameterTypeReq.Description
persisted_folder_uuidstringRequiredA UUID identifying the persisted folder to be deleted.
project_idstringRequiredThe unique ID of the project where the folder resides. Retrieve this ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persisted_folder_destroy'.
#

PosthogApi.DeletePerson

Delete an individual person from a project. This tool deletes a specific person from a given project. Use it when you need to remove an individual person. For deleting multiple persons at once, consider using a bulk deletion method.

Parameters

ParameterTypeReq.Description
person_idintegerRequiredA unique integer identifying the person to be deleted.
project_idstringRequiredThe ID of the project to access. Retrieve by calling /api/projects/.
delete_eventsbooleanOptionalSet to true to create a task to delete all events associated with this person, batched and executed at 5AM UTC every Sunday.
response_formatstringOptionalSpecify the format of the response data. Choose between 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_destroy'.
#

PosthogApi.DeletePersonProperty

Deletes a specific property from a person. Use this tool to remove a property from a user in a specified project environment. It is designed for deleting attributes associated with a person. For creating or updating person properties, refer to the capture API. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
property_key_to_deletestringOptionalSpecify the property key of the person to delete. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
person_identifierintegerOptionalA unique integer identifier for the person whose property is to be deleted. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Use /api/projects/ to retrieve this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format of the response. Options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_delete_property_create'.
#

PosthogApi.DeletePersonRecord

Deletes an individual person record from a project. Use this tool to delete a specific person record from a project's environment. It is intended for individual deletions; for bulk actions, a different endpoint should be used.

Parameters

ParameterTypeReq.Description
person_idintegerRequiredA unique integer value identifying the person to be deleted.
project_idstringRequiredThe ID of the project to access. Obtain it by calling /api/projects/.
delete_events_taskbooleanOptionalIf true, a task to delete all events associated with this person is created and queued, running every Sunday at 5 AM UTC.
response_formatstringOptionalSpecifies the format of the response, either 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_destroy'.
#

PosthogApi.DeletePersonRecordings

Queue deletion of all recordings associated with a person. Use this tool to queue the deletion of all recordings related to a specific person in a project environment. This is useful when recordings need to be removed in batch for compliance or cleanup purposes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
person_idintegerOptionalA unique integer identifier for the person whose recordings should be deleted. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project for which you want to queue recording deletions. Obtainable via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format for the response, either 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_delete_recordings_create'.
#

PosthogApi.DeleteProject

Deletes a project from the current organization. Use this tool to delete a specific project within the current organization. Ensure you have the correct organization and project IDs before calling this tool.

Parameters

ParameterTypeReq.Description
organization_identifierstringRequiredThe unique identifier for the organization from which the project is to be deleted. Ensure this ID is correct to prevent errors.
project_idintegerRequiredA unique integer identifying the project to delete.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'destroy_2'.
#

PosthogApi.DeleteProjectQuery

Delete a specific project query. Use this tool to delete a specific query within a project on Datadog. The operation is experimental and involves providing the project and query IDs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredID of the project you want to access. Retrieve it via a call to /api/projects/.
query_idstringRequiredThe unique identifier for the query to be deleted within the project.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'query_destroy'.
#

PosthogApi.DeleteProjectTask

Delete a specific task within a project. Used to remove a task from a project in cases where it is no longer needed or was created in error. This tool should be called when needing to manage or clean up tasks within a project.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredProject ID of the target project. Obtain this by calling /api/projects/.
task_uuidstringRequiredA UUID string identifying the specific task to delete within a project.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_destroy'.
#

PosthogApi.DeletePropertyDefinition

Delete a property definition from a project. This tool deletes a specific property definition from a given project in Datadog. It should be called when a property definition is no longer needed or requires removal.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Retrieve it via the /api/projects/ endpoint.
property_definition_idstringRequiredA UUID string identifying the property definition to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'property_definitions_destroy'.
#

PosthogApi.DeleteProxyRecord

Deletes a proxy record for an organization. Use this tool to delete a specific proxy record within an organization in Datadog. It should be called when a record is no longer needed or requires removal.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier for the organization from which the proxy record will be deleted. This is required to specify the target organization.
proxy_record_idstringRequiredThe unique identifier of the proxy record to be deleted. Required for deletion.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'proxy_records_destroy'.
#

PosthogApi.DeleteRoleInOrganization

Delete a specific role within an organization. Use this tool to delete a role from an organization by providing the organization ID and role ID.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe ID of the organization from which the role will be deleted. This should be a string.
role_idstringRequiredA UUID string identifying the role to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'roles_destroy'.
#

PosthogApi.DeleteSavedMetric

Deletes a saved experimental metric. Use this tool to delete an experimental saved metric from a specific project. It ensures that the specified metric entry is fully removed.

Parameters

ParameterTypeReq.Description
experiment_metric_idintegerRequiredA unique integer identifying the experiment saved metric to delete.
project_idstringRequiredThe ID of the project containing the saved metric to delete. Obtainable via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_saved_metrics_destroy'.
#

PosthogApi.DeleteSavedQuery

Delete a saved query from the warehouse. Use this tool to delete a specific saved query from the data warehouse based on project and query IDs. It is called when removing a saved query is necessary.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Retrieve it with a call to /api/projects/.
saved_query_uuidstringRequiredA UUID string identifying the data warehouse saved query to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_destroy'.
#

PosthogApi.DeleteSecretTokenBackup

Deletes a secret token backup for a specified project. Call this tool to delete a secret token backup from a specific project within an organization. Use when you need to remove sensitive backup data to maintain security. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idintegerOptionalThe unique ID of the project whose secret token backup is to be deleted. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_idstringOptionalA unique identifier for the organization. This is required to specify which organization's project the secret token backup belongs to. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'delete_secret_token_backup_partial_update'.
#

PosthogApi.DeleteSessionRecording2

Delete a session recording from a playlist in a project. Use this tool to permanently delete a specific session recording from a designated playlist within a project. Ideal for managing and cleaning up session data.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Obtainable via /api/projects/.
session_recording_idstringRequiredThe unique identifier for the session recording to be deleted.
session_recording_short_idstringRequiredThe unique short ID of the session recording to delete from the playlist.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recording_playlists_recordings_destroy'.
#

PosthogApi.DeleteSessionRecording

Deletes a session recording from a playlist. Use this tool to remove a specific session recording from a playlist by providing the relevant IDs. This action is irreversible and should be used to manage or clean up recordings.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Use /api/projects/ to find it.
session_recording_identifierstringRequiredThe unique identifier of the session recording to be deleted. This ID is required to specify which recording to remove from the playlist.
session_recording_short_idstringRequiredThe short ID of the session recording to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recording_playlists_recordings_destroy'.
#

PosthogApi.DeleteSessionRecordingPlaylist

Mark a session recording playlist as deleted. Use this tool to mark a session recording playlist as deleted by setting its "deleted" status to true. This operation is non-reversible through a hard delete action, but effectively removes access to the playlist.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Retrieve by calling /api/projects/.
session_recording_playlist_short_idstringRequiredThe short ID of the session recording playlist to mark as deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recording_playlists_destroy'.
#

PosthogApi.DeleteSharingPassword

Delete a password from the sharing configuration. Use this tool to delete a specific password from the session recording sharing configuration in a particular project environment.

Parameters

ParameterTypeReq.Description
password_identifierstringRequiredThe unique identifier of the password to be deleted from the sharing configuration.
recording_idstringRequiredThe ID of the recording from which the password is to be deleted. This identifies the specific session recording.
target_project_idstringRequiredThe ID of the project from which to delete the password. Obtain this ID via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recordings_sharing_passwords_destroy'.
#

PosthogApi.DeleteSurvey

Delete a survey from a specific project. Use this tool to delete a survey from a particular project in Datadog. This action is irreversible, so it should be called when a survey is no longer needed.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique ID of the project containing the survey to delete. Obtainable via the /api/projects/ endpoint.
survey_uuidstringRequiredA UUID string that uniquely identifies the survey to delete.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_destroy'.
#

PosthogApi.DeleteSymbolSet

Deletes an error tracking symbol set by ID. Use this tool to delete a specific error tracking symbol set for a project by providing the project and symbol set IDs.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Use the /api/projects/ endpoint to find this ID.
symbol_set_idstringRequiredA UUID string identifying the error tracking symbol set to delete.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_symbol_sets_destroy'.
#

PosthogApi.DeleteUserAccount

Deletes a user account from the system. This tool deletes a user account identified by a UUID. It should be called when there is a need to permanently remove a user profile from the system.

Parameters

ParameterTypeReq.Description
user_uuidstringRequiredThe UUID of the user account to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_destroy'.
#

PosthogApi.DeleteUserInterview

Delete a user interview from an environment. Use this tool to delete a specific user interview from an environment in Datadog by providing the project and interview IDs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project for accessing the specific user interview. Obtain this by calling /api/projects/.
user_interview_idstringRequiredA UUID string identifying the user interview to delete.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_user_interviews_destroy'.
#

PosthogApi.DeleteWarehouseSavedQuery

Deletes a specified warehouse saved query. Use this tool to delete a specific saved query in a warehouse project. It should be called when you need to permanently remove a saved query by providing its ID and the project ID.

Parameters

ParameterTypeReq.Description
project_id_to_accessstringRequiredProvide the Project ID for the warehouse project. Obtain the ID by calling /api/projects/.
saved_query_uuidstringRequiredA UUID string that uniquely identifies the data warehouse saved query to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_destroy'.
#

PosthogApi.DeleteWarehouseTable

Delete a specific warehouse table in a project. Use this tool to delete a specific warehouse table identified by its ID within a given project. Ideal for managing and cleaning up warehouse resources.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project containing the warehouse table to delete. Use /api/projects/ to obtain IDs.
warehouse_table_idstringRequiredA UUID string that uniquely identifies the data warehouse table to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_tables_destroy'.
#

PosthogApi.DeleteWebExperiment

Delete a web experiment from a specific project. Use this tool to remove a web experiment by specifying the project and experiment IDs. It allows for the permanent deletion of the experiment from the system.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project from which you want to delete the web experiment. Obtainable via the /api/projects/ call.
web_experiment_idintegerRequiredUnique integer identifying the web experiment to delete.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'web_experiments_destroy'.
#

PosthogApi.DemoDataStatus

Check if an environment is generating demo data. Retrieve the status of demo data generation for a specific environment within a project for the current organization. Use this to determine if demo data is being generated in a specific environment.

Parameters

ParameterTypeReq.Description
environment_idintegerRequiredA unique integer value identifying the environment (aka team) for which you want to check demo data status.
project_identifierstringRequiredThe unique ID of the project to access. Retrieve ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_is_generating_demo_data_retrieve'.
#

PosthogApi.DestroyBatchExport

Deletes a specific batch export in a project. This tool deletes a batch export for a specified project using the project ID and batch export ID. It should be called to remove unwanted or completed batch exports from a project in Datadog.

Parameters

ParameterTypeReq.Description
batch_export_uuidstringRequiredA UUID string identifying the batch export to be deleted.
project_idstringRequiredThe unique identifier for the project to access. Use /api/projects/ to retrieve it.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_destroy_2'.
#

PosthogApi.DestroySessionRecording

Delete a specific session recording from a project. Use this tool to delete a session recording from a specified project in Datadog. Ideal for managing and removing unwanted or outdated session recordings.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project containing the session recording to delete. Retrieve using /api/projects/.
session_recording_idstringRequiredA UUID string identifying this session recording for deletion.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recordings_destroy'.
#

PosthogApi.DisableUser2fa

Disable two-factor authentication for a user. This tool disables two-factor authentication (2FA) for a user and removes all associated devices. Use this when a user needs to deactivate their 2FA settings. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
user_unique_identifierstringOptionalThe unique identifier of the user whose 2FA is to be disabled. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_two_factor_disable_create'.
#

PosthogApi.DuplicateExperimentPosthog

Create a duplicate of a specific experiment. Use this tool to duplicate an existing experiment within a specified Datadog project. It helps in creating a copy of an experiment for further testing or analysis. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
experiment_idintegerOptionalUnique integer to identify the experiment to duplicate. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project you want to access in Datadog. Obtain this by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_duplicate_create'.
#

PosthogApi.DuplicateSurveyToProjects

Duplicate a survey to multiple projects in one transaction. Use this tool to copy a survey into multiple projects simultaneously, ensuring an all-or-nothing transaction where failures result in rollback. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
survey_uuidstringOptionalA UUID string identifying the survey to be duplicated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
target_project_idstringOptionalThe ID of the target project where the survey will be duplicated. Obtain this ID via the /api/projects/ call. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_duplicate_to_projects_create'.
#

PosthogApi.EditBatchExports

Update specific details of batch exports. This tool updates details of batch exports for a project. Use it when you need to modify existing batch export configurations in a project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string identifying the batch export to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project you're accessing. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_partial_update_2'.
#

PosthogApi.EditProjectEnvironment

Update environment settings for a specified project. This tool updates the environment configuration for a specific project within the current organization on Datadog. It should be called when modifying environment details like settings or parameters in a project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
environment_identifierintegerOptionalA unique integer identifying the environment (aka team) for modification. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalString ID of the project to access. Obtain ID via /api/projects/ call. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_update'.
#

PosthogApi.EditSessionPlaylist

Partially update a session recording playlist. Call this tool to update specific attributes of a session recording playlist by providing the project and playlist IDs. Useful for modifying playlist details without replacing all data. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe unique identifier of the project. Obtain it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
playlist_short_idstringOptionalThe short ID of the session recording playlist to modify. Required for identifying the playlist. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recording_playlists_partial_update'.
#

PosthogApi.EditSessionRecording

Update specific details of a session recording. Use this tool to modify attributes of a session recording by specifying the project and recording IDs. Ideal for updating incomplete data or correcting entries. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
session_recording_idstringOptionalA UUID string used to uniquely identify the session recording to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recordings_partial_update'.
#

PosthogApi.EditWarehouseSavedQuery

Update a specific warehouse saved query. Use this tool to update a saved query in a warehouse. It is applicable when changes need to be made to existing warehouse queries. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
saved_query_idstringOptionalA UUID string identifying the specific data warehouse saved query to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project to access. Retrieve this ID via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_update'.
#

PosthogApi.EditWarehouseTable

Updates information for a specific warehouse table. Use this tool to update details of a specific warehouse table within a project. Suitable for modifying table configurations or data schema. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
warehouse_table_idstringOptionalA UUID string identifying the data warehouse table to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Obtainable via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_tables_update'.
#

PosthogApi.EnvironmentExportsOverview

Retrieve a list of exports for a specified environment. This tool retrieves a list of data exports for a given project's environment. Use it to view available export data for analysis or record-keeping.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Retrieve the ID using a call to /api/projects/.
result_start_indexintegerOptionalThe initial index from which to start returning results for the exports list.
results_per_pageintegerOptionalSpecify the number of results to return per page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_exports_list'.
#

PosthogApi.ExecuteSavedQuery

Executes a saved query in Datadog's warehouse. Use this tool to execute a pre-saved query in Datadog's warehouse. It should be called when you need to retrieve the results of a specific query by its ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
query_uuidstringOptionalThe UUID string identifying the specific data warehouse saved query to execute. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project you want to access. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_run_create'.
#

PosthogApi.FetchBatchExports

Retrieve a list of batch exports for a specific project. Call this tool to obtain a detailed list of all batch exports associated with a specified project ID in Datadog.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project for which to access batch exports. Obtain this by calling /api/projects/.
results_per_pageintegerOptionalSpecify the number of results to return per page when retrieving batch exports.
starting_indexintegerOptionalThe initial index from which to return the results in the list of batch exports.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_list_2'.
#

PosthogApi.FetchDataColorThemes

Retrieve a list of data color themes for a project. This tool is used to fetch a list of data color themes associated with a specific project in Datadog. It should be called when users need to know the available color themes for visualizing their data under a particular project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier of the project to access color themes. Retrieve the ID via /api/projects/.
results_per_pageintegerOptionalSpecifies the number of data color themes to return per page.
starting_indexintegerOptionalThe initial index from which to start returning the results for data color themes.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'data_color_themes_list'.
#

PosthogApi.FetchEndpointRunStatus

Retrieve the run status of an endpoint. Use this tool to get the current run status of a specific endpoint within a project environment on Datadog. It's useful for checking the operation and status of a given endpoint run.

Parameters

ParameterTypeReq.Description
endpoint_namestringRequiredThe name of the endpoint you want to update or retrieve status for.
project_idstringRequiredThe unique ID of the project to access. Obtain it via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_endpoints_run_retrieve'.
#

PosthogApi.FetchEnvironmentInsights

Retrieve insights for a specific environment. This tool is used to retrieve insights data for a specified environment within a project. It should be called when detailed information about an environment's insights is needed.

Parameters

ParameterTypeReq.Description
insight_identifierintegerRequiredA unique integer identifying the specific insight to retrieve.
project_identifierstringRequiredThe ID of the project to access. Retrieve it by calling /api/projects/.
dashboard_id_contextintegerOptionalThe ID of the dashboard to apply its filters and date range if loading insight in the context of a dashboard.
insight_refresh_strategystringOptionalDetermines how to refresh the insight: choose from 'force_cache', 'blocking', 'async', 'lazy_async', 'force_blocking', or 'force_async'. Dictates calculation synchronization and use of cache.
output_formatstringOptionalSpecify the format for the output data. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_retrieve'.
#

PosthogApi.FetchFileCountByPath

Retrieve the count of files in a specified folder. Use this tool to get the number of files within a specified directory in a project. Ideal for monitoring or managing file systems efficiently. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe ID of the project to access. Retrieve by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_count_by_path_create'.
#

PosthogApi.FetchFolderFileCount

Get the count of all files in a folder. This tool checks and returns the total number of files present in a specified folder. Use this when you need to know how many files are contained within a folder on the file system. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
file_system_uuidstringOptionalA UUID string that uniquely identifies the file system for which you want to get the file count. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID to access the project for counting files. Obtain via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_count_create'.
#

PosthogApi.FetchGithubReposForIntegration

Retrieve GitHub repositories for a specified integration. Call this tool to get a list of GitHub repositories associated with a specific integration in a Datadog project. Useful for managing or reviewing linked repositories.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer representing the integration whose associated GitHub repositories will be retrieved.
project_identifierstringRequiredThe ID of the project you wish to access in Datadog. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_github_repos_retrieve'.
#

PosthogApi.FetchMetricsHistory

Retrieve historical exports of app metrics. This tool retrieves historical app metrics exports for a specified project and plugin configuration. Useful for analyzing past performance data.

Parameters

ParameterTypeReq.Description
plugin_configuration_identifierstringRequiredThe ID of the plugin configuration for which historical metrics exports are being fetched.
project_identifierstringRequiredThe Project ID required to access the desired project's historical data. Obtainable via a /api/projects/ call.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'app_metrics_historical_exports_retrieve'.
#

PosthogApi.FetchPersonsFunnelData

Fetch persons data from the funnel in a specified environment. Use this tool to retrieve persons data related to funnels in a specific project environment. This is useful for analytics and understanding user behavior within the project. To modify or delete persons, refer to relevant APIs or SDKs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Use /api/projects/ to find this ID.
output_formatstringOptionalSpecify the format of the data output: 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_funnel_retrieve'.
#

PosthogApi.FetchRecentExecutionTimes

Fetch the last 6 months of execution times for endpoints. Use this tool to obtain the last execution times for multiple endpoints within a specified project over the past 6 months.

Parameters

ParameterTypeReq.Description
endpoint_namesarray<string>RequiredAn array of endpoint names to retrieve execution times for, within the specified project.
project_idstringRequiredThe Project ID you want to access. Retrieve it using /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'endpoints_last_execution_times_create'.
#

PosthogApi.FetchSavedQueryAncestors

Retrieve ancestors of a saved query, including parents and beyond. This tool retrieves the ancestors of a saved query in the Datadog environments warehouse. It returns the immediate parents by default, but can look further back in the ancestor tree using the 'level' parameter. If the specified level exceeds the available ancestors (beyond the root), an empty list is returned. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
saved_query_idstringOptionalA UUID string identifying the specific data warehouse saved query to fetch ancestors for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalID of the project to access. Retrieve via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_ancestors_create'.
#

PosthogApi.FetchSessionRecording

Retrieve details of a specific session recording. Use this tool to get detailed information about a session recording for a given project using its ID.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Find the project ID with /api/projects/.
session_recording_idstringRequiredA UUID string that uniquely identifies the session recording to retrieve.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recordings_retrieve'.
#

PosthogApi.FetchSessionRecordings

Retrieve session recordings for a specific project. Use this tool to get a list of session recordings associated with a particular project ID. Useful for accessing session data stored in a project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier of the project for which to retrieve session recordings. Obtainable via the /api/projects/ endpoint.
results_per_pageintegerOptionalNumber of session recordings to return per page. This controls the pagination size.
start_index_for_resultsintegerOptionalThe initial index from which to start returning the results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recordings_list'.
#

PosthogApi.FetchSurveyActivity

Retrieve logs of survey activity views. Call this tool to get logs of views for a specific survey within a project. Each GET request returns the activity related to how often and when the survey was accessed.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Retrieve this by calling /api/projects/.
survey_uuidstringRequiredA UUID string uniquely identifying the survey to retrieve activity logs for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_activity_retrieve_2'.
#

PosthogApi.FetchWebAnalyticsBreakdown

Retrieve breakdown of web analytics by property. Use this tool to obtain a detailed breakdown of web analytics data by various properties such as browser, device type, or country. Ideal for analyzing how different segments interact with your web project.

Parameters

ParameterTypeReq.Description
breakdown_propertystringRequiredSpecify the property to break down web analytics by, such as Browser, DeviceType, Country, etc.
end_datestringRequiredThe end date for retrieving web analytics data, formatted as YYYY-MM-DD.
project_id_for_accessstringRequiredProject ID to access specific analytics data. Obtainable via a call to /api/projects/.
start_datestringRequiredStart date for the query in the format YYYY-MM-DD.
apply_url_path_cleaningbooleanOptionalSet to true to apply URL path cleaning.
filter_by_hoststringOptionalSpecify the domain to filter the results by, such as 'example.com'.
filter_test_accountsbooleanOptionalSet to true to filter out test accounts from the results.
results_limitintegerOptionalSpecify the maximum number of results to return from the query.
results_offsetintegerOptionalNumber of results to skip for paginated data retrieval.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'web_analytics_breakdown_retrieve'.
#

PosthogApi.FileSystemShortcutCreate

Create a file system shortcut in a specific project. Call this tool to create a file system shortcut within a specific project using the Datadog API.

Parameters

ParameterTypeReq.Description
file_system_shortcut_pathstringRequiredThe file path where the shortcut will be created. It should be a valid string path within the project.
project_idstringRequiredThe ID of the project to access. Retrieve project IDs by calling /api/projects/.
shortcut_creation_timestampstringRequiredThe timestamp when the shortcut was created, in string format. Typically, in ISO 8601 format.
shortcut_idstringRequiredA unique identifier for the file system shortcut being created.
reference_idstringOptionalA unique reference string for the shortcut. This identifies the shortcut within the project.
shortcut_typestringOptionalSpecifies the type of file system shortcut to be created. Accepted values could include types like 'link', 'alias', or 'junction'.
shortcut_urlstringOptionalThe URL reference for the file system shortcut to be created.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_shortcut_create'.
#

PosthogApi.FindEnvironmentGroups

Retrieve details of environment groups by project ID. Use this tool to fetch detailed information about environment groups within a specified project in Datadog. It is useful for monitoring and managing distinct environments in a project.

Parameters

ParameterTypeReq.Description
environment_group_keystringRequiredSpecify the key of the environment group you want to find within the project.
group_type_to_findintegerRequiredSpecify the type of environment group to find. This is represented as an integer value that corresponds to a specific group type within the project.
project_idstringRequiredThe ID of the project to access. Call /api/projects/ to find the project ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_groups_find_retrieve'.
#

PosthogApi.FunnelCorrelationPersonsRetrieve

Retrieve funnel correlation data for persons in a project. This tool retrieves correlation data for persons in a specific project's funnel. It should be called when you need insights into funnel performance related to specific persons. For managing persons, consider using the capture API or SDKs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project you want to access. Retrieve this ID by calling /api/projects/.
response_formatstringOptionalFormat of the response data. Choose 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_funnel_correlation_retrieve'.
#

PosthogApi.GenerateBackupCodes

Generate new backup codes for two-factor authentication. Use this tool to create new backup codes for a user's two-factor authentication, which will invalidate any existing backup codes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
user_uuidstringOptionalA unique identifier for the user to generate new backup codes. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_two_factor_backup_codes_create'.
#

PosthogApi.GenerateIndividualSessionSummary

Generate individual AI summaries for each session. Use this tool to generate AI-powered summaries for each session individually without grouping. Useful for analyzing session data at a granular level.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtain it by calling /api/projects/.
session_ids_to_summarizearray<string>RequiredList of session IDs for summarization, up to a maximum of 300.
summarization_focus_areastringOptionalOptional focus area for refining the session summarization. Enhances the summary by concentrating on specified topics or elements.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'create_session_summaries_individually'.
#

PosthogApi.GenerateRecordingPassword

Create a password for session recording sharing. This tool creates a new password for the sharing configuration of a session recording, identified by project and recording IDs. Use it when you need to secure sharing of session recordings with a password. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalProject ID for accessing a specific project. Retrieve via /api/projects/ to find the correct ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
recording_idstringOptionalThe unique identifier of the session recording for which you want to create a sharing password. This ID is necessary to specify the exact recording within the project. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recordings_sharing_passwords_create'.
#

PosthogApi.GenerateSessionSummaries

Generate AI summaries for session recordings. Use this tool to create AI-generated summaries for a group of session recordings, identifying patterns and generating a comprehensive notebook.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Retrieve it by calling the /api/projects/ endpoint.
session_id_listarray<string>RequiredList of session IDs to be summarized, with a maximum of 300 IDs.
summarization_focus_areastringOptionalOptional focus area for the summarization to guide the AI in highlighting specific patterns or information.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'create_session_summaries'.
#

PosthogApi.GetAncestorsOfSavedQuery

Retrieve ancestors of a saved query in Datadog. Fetches the ancestors of the specified saved query. By default, it returns the immediate parents. The 'level' parameter can be used to look further back in the ancestor tree. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
data_warehouse_query_uuidstringOptionalA UUID identifying the specific data warehouse saved query to retrieve ancestors for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID to access. Retrieve the ID using the /api/projects/ endpoint if needed. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_ancestors_create'.
#

PosthogApi.GetAppMetrics

Retrieve application metrics for a specific project and ID. Call this tool to obtain the metrics of a specific application within a given project. Ideal for monitoring and analyzing app performance through Datadog.

Parameters

ParameterTypeReq.Description
plugin_config_idintegerRequiredA unique integer identifying the plugin configuration.
project_id_for_app_metricsstringRequiredThe Project ID for the project whose app metrics you want to retrieve. Find the ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'app_metrics_retrieve'.
#

PosthogApi.GetAvailableDashboards

Retrieve a list of dashboards for a specific project. This tool should be called to get information about all the dashboards available in a given project. It's useful when a user needs to see an overview of dashboards or wants to select a specific dashboard to view or edit.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier for the project you want to access. Retrieve this by calling /api/projects/.
response_formatstringOptionalSpecify the format of the response. Accepted values are 'json' or 'txt'.
results_per_pageintegerOptionalSpecify the number of dashboards to return per page. This controls pagination for the results.
start_index_for_resultsintegerOptionalThe starting index for returning the list of dashboards, used for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_list'.
#

PosthogApi.GetBatchExportBackfill

Retrieve details of a specific batch export backfill. Use this tool to obtain information about a specific batch export backfill in Datadog. Ideal for viewing backfill details without making updates or deletions.

Parameters

ParameterTypeReq.Description
batch_export_backfill_idstringRequiredA UUID string identifying the specific batch export backfill to retrieve.
batch_export_identifierstringRequiredA string representing the batch export backfill ID to retrieve details.
project_idstringRequiredThe ID of the project to access. Retrieve the project ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_backfills_retrieve'.
#

PosthogApi.GetClickupLists

Retrieve ClickUp lists for a specific project integration. Use this tool to obtain a list of ClickUp lists associated with a specific project and integration ID through the Datadog API.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer to identify the integration for retrieving ClickUp lists.
project_identifierstringRequiredThe ID of the project to access. Obtain this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_clickup_lists_retrieve'.
#

PosthogApi.GetClickupSpaces

Retrieve ClickUp spaces for a specific integration. Use this tool to retrieve ClickUp spaces linked to a specific integration within a project environment.

Parameters

ParameterTypeReq.Description
integration_identifierintegerRequiredAn integer value uniquely identifying the integration to retrieve ClickUp spaces for.
project_identifierstringRequiredThe unique ID of the project to access specific ClickUp spaces. Obtain this ID via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_clickup_spaces_retrieve'.
#

PosthogApi.GetClickupWorkspaces

Retrieve ClickUp workspaces for a specific integration. Use this tool to get the list of ClickUp workspaces associated with a specific integration in Datadog environments. It requires specifying the project and integration identifiers.

Parameters

ParameterTypeReq.Description
clickup_project_idstringRequiredThe Project ID for accessing the desired ClickUp workspace. Obtain the ID by calling /api/projects/.
integration_idintegerRequiredA unique integer value identifying the integration to retrieve workspaces for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_clickup_workspaces_retrieve'.
#

PosthogApi.GetCohortActivity

Retrieve logs of file system views for a cohort. This tool retrieves logs of each view on the file system for a specific cohort in a project. It should be called when there's a need to track or review the activity of a cohort by fetching the logged view data.

Parameters

ParameterTypeReq.Description
cohort_idintegerRequiredA unique integer value identifying the specific cohort whose file system view logs are to be retrieved.
project_idstringRequiredThe identifier of the project to access. Obtainable via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_activity_retrieve_2'.
#

PosthogApi.GetCohortPersons

Retrieve a list of persons in a specific project cohort. Use this tool to get a list of persons associated with a specific cohort in a project. Useful for tracking and managing cohort membership.

Parameters

ParameterTypeReq.Description
cohort_idintegerRequiredA unique integer value identifying this cohort. Required to retrieve the list of persons associated with it.
project_idstringRequiredThe ID of the project you want to access. Obtain this via the /api/projects/ endpoint.
output_formatstringOptionalSpecify the format of the returned data. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_persons_retrieve'.
#

PosthogApi.GetCurrentOrgProjects

Retrieve projects for the current organization. Use this tool to get a list of projects associated with the current organization.

Parameters

ParameterTypeReq.Description
organization_identifierstringRequiredA string representing the unique identifier of the current organization. Required to fetch projects.
results_per_pageintegerOptionalSpecify the number of results to return per page.
start_indexintegerOptionalThe initial index from which to return the results. Use this to paginate results starting from a specific point.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'list_2'.
#

PosthogApi.GetDashboardDetails

Retrieve details of a specific dashboard. This tool retrieves information about a specific dashboard within a given project by its ID. It is useful for accessing details and configurations of dashboards in Datadog.

Parameters

ParameterTypeReq.Description
dashboard_idintegerRequiredA unique integer value identifying the specific dashboard to retrieve details for.
project_idstringRequiredProject ID to specify which project to access. Obtain from /api/projects/.
response_formatstringOptionalThe format in which the dashboard details should be returned. Accepted values are 'json' or 'txt'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_retrieve'.
#

PosthogApi.GetDescendantsSavedQuery

Retrieve descendants of a specified saved query. This tool fetches the descendants of a saved query, optionally using a level parameter to determine depth. It is useful for exploring query hierarchies. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
saved_query_uuidstringOptionalThe UUID that uniquely identifies this saved query in the data warehouse. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project to access. Get this ID via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_descendants_create'.
#

PosthogApi.GetEarlyAccessFeatures

Retrieve a list of early access features for a project. This tool retrieves a list of early access features available for a specific project on Datadog. It should be called when users want to see what early access features they can enable or explore for their project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to retrieve early access features for. Obtainable via /api/projects/.
number_of_results_per_pageintegerOptionalSpecify the number of results to return per page for early access features.
result_start_indexintegerOptionalThe initial index from which to return the results when paginating through early access features.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'early_access_feature_list'.
#

PosthogApi.GetEnvironmentActivity

Retrieve project environment activity details. Fetches the activity details for a specific environment within a given project in the current organization.

Parameters

ParameterTypeReq.Description
environment_idintegerRequiredA unique integer identifying the environment (aka team).
project_identifierstringRequiredThe unique identifier for the project you wish to access. Obtainable by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_activity_retrieve'.
#

PosthogApi.GetEnvironmentDashboard

Retrieve a specific dashboard for an environment. This tool retrieves dashboard information for a specified environment using the project and dashboard IDs.

Parameters

ParameterTypeReq.Description
dashboard_idintegerRequiredA unique integer value identifying the dashboard to retrieve.
project_idstringRequiredProject ID for accessing the specific environment dashboard. Obtainable via call to /api/projects/.
response_formatstringOptionalSpecify the format of the response data. Use 'json' for JSON format or 'txt' for plain text format.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_retrieve'.
#

PosthogApi.GetEnvironmentFileSystemDetails

Retrieve details of a file system in a specific environment. Call this tool to get information about a file system within a specified project environment. Useful for monitoring or managing resources.

Parameters

ParameterTypeReq.Description
file_system_uuidstringRequiredA UUID string identifying the file system to retrieve details for.
project_identifierstringRequiredProject ID to access the specific project environment. Use /api/projects/ to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_retrieve'.
#

PosthogApi.GetEnvironmentInsights

Retrieve insights for a specific environment. Use this tool to get insights for a specified environment within a given project. It logs each view upon retrieval.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Use /api/projects/ to find the correct ID.
created_by_user_idintegerOptionalThe user ID of who created the insight. Expected as an integer.
initial_result_indexintegerOptionalThe initial index from which to start returning results.
refresh_methodstringOptionalStrategy for refreshing insights, with options for cache use and sync/async execution. Choices include: 'force_cache', 'blocking', 'async', 'lazy_async', 'force_blocking', and 'force_async'.
response_formatstringOptionalSpecify the format of the retrieved insights (csv or json).
results_per_pageintegerOptionalNumber of results to return per page for pagination.
return_basic_insight_metadata_onlybooleanOptionalSet to true to return only basic metadata without results for faster response.
short_identifierstringOptionalThe short identifier for the environment to retrieve insights for. This is unique per environment.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_list'.
#

PosthogApi.GetEnvironmentQueryResults

Retrieve results of an environment query for a project. Fetch the results of a specific query within a project's environment using the project ID and query ID. This tool is ideal for retrieving data insights and analytics from environment queries.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Retrieve it via a call to /api/projects/.
query_idstringRequiredThe ID of the specific query to retrieve results for within the project's environment.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_query_retrieve'.
#

PosthogApi.GetEnvironmentsBatchExportStatus

Gets the status of a test batch export for environments. Call this tool to retrieve the status of a test batch export for a specific environment using the project ID. Useful for checking the progress or completion of export tasks.

Parameters

ParameterTypeReq.Description
project_id_for_export_statusstringRequiredThe Project ID to retrieve the test batch export status. Obtainable from a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_test_retrieve'.
#

PosthogApi.GetEnvironmentSessionValues

Retrieve session values for a specific environment. Use this tool to obtain session values for a given project environment. It should be called when you need detailed data about sessions in a particular environment.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project for which to retrieve session values. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_sessions_values_retrieve'.
#

PosthogApi.GetErrorDetailsForAppMetrics

Retrieve error details for specific app metrics. This tool retrieves detailed error information for a specific app metric of a project. It should be called when you need to understand the nature of errors related to app metrics.

Parameters

ParameterTypeReq.Description
plugin_config_idintegerRequiredA unique integer identifying the plugin configuration to retrieve error details for.
project_identifierstringRequiredThe unique Project ID for accessing specific app metrics error details. Obtain this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'app_metrics_error_details_retrieve'.
#

PosthogApi.GetErrorTrackingFingerprint

Retrieve a specific error tracking fingerprint by ID. Use this tool to fetch detailed information about a specific error tracking fingerprint within a project environment. It is called when needing insights into an error identifier.

Parameters

ParameterTypeReq.Description
error_tracking_fingerprint_uuidstringRequiredA UUID identifying the error tracking issue fingerprint v2.
project_idstringRequiredProject ID to access specific project data. Use /api/projects/ to retrieve this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_fingerprints_retrieve'.
#

PosthogApi.GetExperimentHoldout

Retrieve details of a specific experiment holdout from a project. Use this tool to obtain detailed information about a particular experiment holdout within a specified project, identified by project and experiment holdout IDs.

Parameters

ParameterTypeReq.Description
experiment_holdout_idintegerRequiredA unique integer value identifying the specific experiment holdout.
project_identifierstringRequiredThe ID of the project you want to access. Retrieve this ID using a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_holdouts_retrieve'.
#

PosthogApi.GetExperimentHoldouts

Retrieve the list of experiment holdouts for a project. Use this tool to get a list of experiment holdouts associated with a specific project in Datadog. Ideal for when you need to analyze or review holdout data for experiments.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier of the project for which you want to retrieve experiment holdouts. Obtain this ID by calling the `/api/projects/` endpoint.
initial_indexintegerOptionalThe initial index from which to return the results. Used for pagination in retrieving experiment holdouts.
results_per_pageintegerOptionalSpecify the number of results to return per page for the query.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_holdouts_list'.
#

PosthogApi.GetFeatureFlagKeys

Retrieve feature flag keys using a list of IDs. Use this tool to get the keys associated with specific feature flag IDs in a project. It accepts a list of feature flag IDs and returns a mapping of each ID to its corresponding key. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access. Obtain the ID by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_bulk_keys_create'.
#

PosthogApi.GetFeatureFlags

Retrieve current feature flags for a user's project. Use this tool to get the list of feature flags for a specific project. This is useful when you need to check which feature flags are active for a user's project in the Datadog environment.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access feature flags for. Make a call to /api/projects/ to find the project's ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_my_flags_retrieve'.
#

PosthogApi.GetFeatureFlagValues

Retrieve possible values for a feature flag. Call this tool to get the possible values associated with a specific feature flag by providing the flag ID. Useful when you need to know what options a feature flag can take.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique ID of the project to access. Obtain this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'flag_value_values_retrieve'.
#

PosthogApi.GetFileCountInFolder

Retrieve the count of all files in a specified folder. This tool is used to obtain the count of files within a specified directory for a given project. Call this tool when you need to know how many files are present in a specific folder. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
file_system_uuidstringOptionalA UUID string identifying the file system to get the file count. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID for accessing the desired project. Use /api/projects/ to find the ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_count_create'.
#

PosthogApi.GetFileShortcuts

Retrieve a list of file system shortcuts for a given project. Use this tool to obtain a detailed list of all file system shortcuts associated with a specific project. Ideal for managing and accessing project-related file paths efficiently.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access file system shortcuts. Obtain this ID via /api/projects/.
initial_result_indexintegerOptionalThe zero-based index from which to start returning results. Use to manage pagination.
results_per_pageintegerOptionalSpecifies the number of results to return per page when retrieving file system shortcuts.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_shortcut_list'.
#

PosthogApi.GetFileSystemShortcut

Retrieve details of a file system shortcut. Use this tool to get information about a specific file system shortcut within a project by providing the project ID and shortcut ID.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Use the /api/projects/ endpoint to find the ID if needed.
shortcut_idstringRequiredA UUID string to identify the file system shortcut to retrieve details for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_shortcut_retrieve'.
#

PosthogApi.GetGithubReposForIntegration

Retrieve GitHub repositories linked to a Datadog integration. Use this tool to get a list of GitHub repositories associated with a specific integration in a Datadog environment. It requires the project ID and integration ID to identify the specific environment and integration.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the specific integration within Datadog.
project_idstringRequiredThe unique ID of the project to access. Obtain the project ID using the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_github_repos_retrieve'.
#

PosthogApi.GetGoogleAccessibleAccounts

Retrieve accessible Google accounts for integration. This tool retrieves a list of Google accounts accessible through a specified integration in a Datadog project. It should be called when you need to access or verify Google account integrations for a specific project. The tool returns the accessible accounts related to the integration.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the specific integration.
project_idstringRequiredThe ID of the project you want to access. Retrieve this ID by making a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_google_accessible_accounts_retrieve'.
#

PosthogApi.GetGoogleConversionActions

Retrieve Google conversion actions for a specific environment. Call this tool to obtain information about Google conversion actions associated with a particular environment and integration in a project. Useful for analytics and tracking setup verification.

Parameters

ParameterTypeReq.Description
integration_identifierintegerRequiredA unique integer identifying the integration.
project_idstringRequiredThe ID of the project you want to access. Obtain this from /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_google_conversion_actions_retrieve'.
#

PosthogApi.GetGroupTypeMetrics

Retrieve metrics for a specific group type in a project. Call this tool to get a list of metrics related to a specific group type within a given project. Use it when you need detailed metric information for analytics or monitoring purposes.

Parameters

ParameterTypeReq.Description
group_type_indexintegerRequiredThe index of the group type for which to retrieve metrics. This identifies the specific group type within the project.
project_identifierstringRequiredString representing the Project ID to access the desired project in Datadog. Obtain it through a call to /api/projects/.
results_offsetintegerOptionalThe starting index for returning results, used for pagination.
results_per_pageintegerOptionalSpecifies the number of results to return per page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_metrics_list'.
#

PosthogApi.GetHogFunctionIcon

Retrieve the icon for hog functions in a specific project. This tool is used to retrieve the icon associated with hog functions for a given project. It should be called when you need to visualise or access icon data related to hog functions tracked by the system.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project for which you want to retrieve the hog function icon. Obtain the ID via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_icon_retrieve'.
#

PosthogApi.GetHogFunctionMetricsTotals

Retrieve total metrics for a specified hog function. This tool retrieves the total metrics for a specified hog function within a project. It should be called when you need to assess the overall metrics data of a hog function. Ideal for tracking and analyzing file system views.

Parameters

ParameterTypeReq.Description
hog_function_uuidstringRequiredA UUID string identifying the specific hog function for which metrics are being retrieved.
project_identifierstringRequiredProject ID for accessing the specific project. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_metrics_totals_retrieve'.
#

PosthogApi.GetInsightsActivity

Retrieve logs of insight views for a project. This tool is used to track and retrieve logs of views on a specific insight resource within a project. It is called to monitor activity on insights, logging each GET request made to the resource.

Parameters

ParameterTypeReq.Description
insight_idintegerRequiredA unique integer identifying the specific insight to retrieve logs for.
project_id_for_accessstringRequiredProject ID to access the desired project. Retrieve ID via /api/projects/ if unknown.
response_formatstringOptionalSpecify the format of the response: 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_activity_retrieve_2'.
#

PosthogApi.GetIntegrationAuthorization

Retrieve integration authorization details for a project. Use this tool to get the authorization details for integrations within a specified project on the Datadog platform. It should be called when there is a need to understand or verify the integration authorization status for a particular project.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique ID of the project to access integration authorization details. Obtainable via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_authorize_retrieve'.
#

PosthogApi.GetIntegrationChannels

Retrieve integration channels for a specific project and ID. Call this tool to get a list of channels associated with a specific integration for a given project ID in Datadog. Useful for checking configured communication channels in your integrations.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the specific integration in Datadog.
project_identifierstringRequiredProject identifier for accessing a specific project. Use the /api/projects/ endpoint to find the ID if needed.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_channels_retrieve'.
#

PosthogApi.GetIntegrationDetails

Retrieve integration details for a specific project. Use this tool to retrieve detailed information about a specific integration within a specified project on Datadog. This is helpful for understanding configuration and status of integrations.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying this integration.
project_idstringRequiredThe ID of the project for which integration details are needed. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_retrieve'.
#

PosthogApi.GetLastExecutionTimes

Retrieve last execution times for multiple endpoints. Use this tool to get the most recent execution times for various endpoints over the past six months within a specific environment.

Parameters

ParameterTypeReq.Description
endpoint_namesarray<string>RequiredList of endpoint names to retrieve execution times for. Each name should be a string.
project_idstringRequiredThe ID of the project you wish to access. Use the /api/projects/ endpoint to retrieve the ID if needed.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_endpoints_last_execution_times_create'.
#

PosthogApi.GetLinkedinAdsAccounts

Retrieve LinkedIn Ads accounts linked to a project. Use this tool to get LinkedIn Ads accounts associated with a specific project and integration in your Datadog environment. Ideal for when you need to verify LinkedIn Ads account details or ensure correct account linkage.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer to identify the LinkedIn Ads integration within Datadog.
project_idstringRequiredThe ID of the project to access LinkedIn Ads accounts. Retrieve this ID via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_linkedin_ads_accounts_retrieve'.
#

PosthogApi.GetLinkedinAdsConversionRules

Retrieve LinkedIn Ads conversion rules for a specific project. Use this tool to obtain LinkedIn Ads conversion rules associated with a specific project in Datadog. Essential for analyzing conversion strategies and performance within LinkedIn Ads.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer value identifying the LinkedIn integration.
project_idstringRequiredThe ID of the project to access LinkedIn Ads conversion rules. Retrieve via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_linkedin_ads_conversion_rules_retrieve'.
#

PosthogApi.GetNotebookActivity

Retrieve activity details for a specific project notebook. Use this tool to get activity information related to notebooks within a specified project. Useful for monitoring and analyzing notebook usage.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project from which to retrieve notebook activity. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'notebooks_activity_retrieve'.
#

PosthogApi.GetOrganizationDetails

Retrieve details of a specific organization. Call this tool to obtain information about a specific organization by providing its ID. Useful for accessing organization details stored in Datadog.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredA UUID string to identify the organization whose details you want to retrieve.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'retrieve'.
#

PosthogApi.GetOrganizationProjectDetails

Fetch details of a specific project within an organization. Use this tool to obtain detailed information about a particular project within the specified organization by providing the organization's and project's IDs.

Parameters

ParameterTypeReq.Description
organization_identifierstringRequiredA string representing the unique identifier for the organization whose project details are to be retrieved.
project_idintegerRequiredA unique identifier for the project. This is required to retrieve specific project details within an organization.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'retrieve_2'.
#

PosthogApi.GetPersistedFolders

Retrieve a list of persisted folders for a given environment. Use this tool to obtain all persisted folders within a specified project's environment. Suitable when you need to access or manage environment-specific folders.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Obtain this by calling /api/projects/.
results_per_pageintegerOptionalNumber of results to return per page when retrieving folders.
starting_indexintegerOptionalThe initial index from which to return the results, used for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persisted_folder_list'.
#

PosthogApi.GetPersonActivity

Retrieve activities and details of a specific person. Use this tool to access and view the activities associated with a particular person in a given project. Can be useful for tracking user actions and engagement.

Parameters

ParameterTypeReq.Description
person_identifierintegerRequiredA unique integer value identifying the person. Required for retrieving their activity details.
project_idstringRequiredThe ID of the project to access. Obtainable via /api/projects/.
response_formatstringOptionalSpecify the format of the response, either 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_activity_retrieve_2'.
#

PosthogApi.GetPersonInfo

Retrieve or delete person details in a Datadog project. This tool allows you to retrieve person details from a specific project in Datadog. Note that for creating or updating persons, it's recommended to use the capture API or relevant SDKs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID to access specific project details in Datadog. Obtain this by calling /api/projects/.
response_formatstringOptionalSpecifies the format of the response data. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_values_retrieve'.
#

PosthogApi.GetPersonsActivity

Retrieve activity data for persons in a project environment. Use this tool to read activity data for persons in a specific project environment. Suitable for obtaining detailed insights on user actions and behaviors.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique ID of the project to access. Use /api/projects/ to find the ID.
response_formatstringOptionalSpecifies the format of the response data. Choose either 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_activity_retrieve'.
#

PosthogApi.GetPersonsCohorts

Retrieve information about person cohorts in a project. Use this tool to read person cohorts associated with a specific project. This is not for creating or updating persons; for those actions, use the capture API or appropriate SDKs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID of the project to access. Use /api/projects/ to find this ID.
response_formatstringOptionalSpecify the format of the response: 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_cohorts_retrieve'.
#

PosthogApi.GetPersonsLifecycle

Retrieve lifecycle information of persons in a project. Use this tool to retrieve lifecycle data of persons associated with a specified project. It's suitable for reading person data; for creation or updates, refer to other APIs like the capture API.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID to access the specific project. Use /api/projects/ to find the ID if unknown.
response_formatstringOptionalThe format in which to retrieve lifecycle information. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_lifecycle_retrieve'.
#

PosthogApi.GetPersonTrends

Retrieve trends related to persons in a project. Use this tool to get insights and trends about persons within a specific project. Useful for analyzing changes in user behavior and engagement over time.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe Project ID required to access and retrieve trends of persons for a specific project. Use the /api/projects/ endpoint to find the ID.
response_formatstringOptionalSpecify the format for the response data. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_trends_retrieve'.
#

PosthogApi.GetProjectActivityLog

Fetch the activity log for a specific project. Use this tool to retrieve the activity log of a specified project, providing insights into recent activities and changes.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique ID of the project you want to access the activity log for. Retrieve by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'activity_log_list'.
#

PosthogApi.GetProjectEnvironmentDetails

Retrieve details of a specific environment within a project. Call this tool to fetch detailed information about an environment in a specific project. This is useful when you need to access or display data about a particular environment setup in the organization's projects.

Parameters

ParameterTypeReq.Description
environment_idintegerRequiredUnique integer identifying the environment (or team) to retrieve details for.
project_identifierstringRequiredProject ID to access specific project details. Retrieve this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_retrieve'.
#

PosthogApi.GetProjectEventRestrictions

Retrieve event ingestion restrictions for a project environment. Call this tool to get information about event ingestion restrictions for a specific environment within a project. Useful for understanding data handling limits or constraints in your organization's projects.

Parameters

ParameterTypeReq.Description
environment_identifierintegerRequiredA unique integer identifying the environment (team) for which to retrieve event restrictions.
project_identifierstringRequiredThe ID of the project to access. Retrieve it via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_event_ingestion_restrictions_retrieve'.
#

PosthogApi.GetProjectExperimentDetails

Retrieve details of a specific experiment within a project. Use this tool to get detailed information about a specific experiment within a given project in Datadog. Useful for monitoring, analysis, or troubleshooting purposes.

Parameters

ParameterTypeReq.Description
experiment_idintegerRequiredA unique integer identifying the experiment to retrieve details for.
project_idstringRequiredThe ID of the project to access. Use /api/projects/ to find the ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_retrieve'.
#

PosthogApi.GetProjectSubscriptions

Retrieve a list of subscriptions for a specific project. Use this tool to get details on all subscriptions associated with a given project, identified by project ID.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access subscriptions for. Use /api/projects/ to find the ID if unknown.
results_per_pageintegerOptionalSpecify the number of results to return per page for the subscription list.
results_start_indexintegerOptionalThe index position to start returning results from within the subscription list.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'subscriptions_list'.
#

PosthogApi.GetProjectSurveys

Retrieve a list of surveys for a given project. Use this tool to get a list of surveys associated with a specific project identified by its project ID. Each call logs a new view of the file system.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Retrieve project ID via the /api/projects/ endpoint.
initial_result_indexintegerOptionalThe starting index for returning survey results, used for pagination.
results_per_pageintegerOptionalSpecify the number of results to return per page, as an integer.
search_termstringOptionalA search term to filter the list of surveys.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_list'.
#

PosthogApi.GetProjectTaskDetails

Retrieve details of a specific task within a project. Call this tool to get detailed information about a specific task in a project. Useful for tracking and managing work assignments.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique ID of the project to access task details. Use /api/projects/ to find available project IDs.
task_idstringRequiredA UUID string identifying the specific task within the project.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_retrieve'.
#

PosthogApi.GetProxyRecords

Retrieve proxy records for a given organization. Call this tool to obtain a list of proxy records associated with a specific organization. Use it when needing detailed information on proxy configurations for oversight or management purposes.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier of the organization for which to retrieve proxy records.
results_per_pageintegerOptionalSpecifies the number of results to return per page when retrieving proxy records.
starting_index_for_resultsintegerOptionalThe initial index from which to begin returning results. Use this to paginate through the list of proxy records.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'proxy_records_list'.
#

PosthogApi.GetQueryDescendants

Retrieve descendants of a saved query. Call this tool to get the descendants of a specified saved query within a project. By default, it returns the immediate children, but the `level` parameter can be used to explore further descendants. If the `level` is too high, an empty list is returned. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
query_idstringOptionalA UUID string identifying the data warehouse saved query to retrieve descendants for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve it by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_descendants_create'.
#

PosthogApi.GetQueryLogDetails

Retrieve query log details for a specified query ID. Fetches details from the query_log_archive table for a specific query ID, provided the query was issued in the last 24 hours.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID for accessing the specific project. Retrieve by calling /api/projects/.
query_idstringRequiredThe unique identifier of the query to retrieve log details. The query must have been issued within the last 24 hours.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'query_log_retrieve'.
#

PosthogApi.GetRelatedEnvironmentGroups

Retrieve related environment groups for a project. Use this tool to obtain information about environment groups that are related to a specified project. This can be useful for understanding the interconnections and dependencies within an environment setup.

Parameters

ParameterTypeReq.Description
group_type_identifierintegerRequiredAn integer representing the specific group type to locate within the environment groups.
project_idstringRequiredThe unique ID of the project to access related environment groups. Obtainable via a call to /api/projects/.
user_id_for_group_searchstringRequiredThe ID of the user for whom you want to find related groups. This helps in retrieving specific group associations for the given user.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_groups_related_retrieve'.
#

PosthogApi.GetSavedQueriesList

Retrieve saved warehouse queries for a specific project. This tool is used to list all saved warehouse queries for a given project ID in Datadog. It should be called when needing to review or manage existing queries related to a project's data warehouse.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Retrieve this ID by calling /api/projects/.
current_page_numberintegerOptionalIndicates the page number for retrieving paginated results of saved warehouse queries.
search_termstringOptionalA search term to filter the saved warehouse queries.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_list'.
#

PosthogApi.GetSubscriptionInfo

Retrieve details of a specific project subscription. Use this tool to obtain detailed information about a specific subscription within a given project by providing the project and subscription IDs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtain it via a call to /api/projects/.
subscription_idintegerRequiredA unique integer value identifying this subscription.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'subscriptions_retrieve'.
#

PosthogApi.GetSuppressionRuleDetails

Retrieve details of a suppression rule in error tracking. Use this tool to get information about a specific suppression rule in the error tracking system, including its settings and parameters. It is useful when you need to understand or manage rule configurations within a project environment.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier for the project to access. Obtainable via the /api/projects/ call.
suppression_rule_uuidstringRequiredA UUID string identifying the specific error tracking suppression rule.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_suppression_rules_retrieve'.
#

PosthogApi.GetSurveyResponseCount

Retrieve the count of survey responses for a project. Use this tool to get the total number of responses to surveys for a specified project. It's useful for tracking engagement and participation metrics.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier for the project whose survey response count you want to retrieve. Use /api/projects/ to find the ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_responses_count_retrieve'.
#

PosthogApi.GetSurveyResponseStatistics

Get survey response statistics for a specific survey. Retrieves detailed statistics for a given survey, including event counts, unique respondents, and conversion rates. Use this tool to analyze survey performance over a specified date range.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Retrieve this using the /api/projects/ endpoint.
survey_uuidstringRequiredA UUID string identifying the specific survey to retrieve statistics for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_stats_retrieve_2'.
#

PosthogApi.GetSurveyStatistics

Retrieve aggregated response statistics for surveys. Call this tool to obtain aggregated statistics for survey responses within a specified date range. Useful for analyzing overall survey performance, including total counts and response rates.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project to access. Get this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_stats_retrieve'.
#

PosthogApi.GetTaskRunDetails

Retrieve details of a specific task run execution. Use this tool to get information about a particular execution of a task within a project. This includes status, execution time, and other relevant details of the task run.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier for the project you want to access. Obtain it via a call to /api/projects/.
task_identifierstringRequiredA UUID string identifying the specific task run execution.
task_run_idstringRequiredA UUID string to identify the specific task run execution.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_runs_retrieve'.
#

PosthogApi.GetTwilioPhoneNumbers

Retrieve Twilio phone numbers for a specific integration. Use this tool to fetch all Twilio phone numbers associated with a particular integration within a project environment. Useful for monitoring or managing communication channels.

Parameters

ParameterTypeReq.Description
integration_identifierintegerRequiredA unique integer value identifying the Twilio integration for which phone numbers should be retrieved.
project_idstringRequiredThe ID of the project you want to access. Use /api/projects/ to retrieve the ID if needed.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_twilio_phone_numbers_retrieve'.
#

PosthogApi.GetWarehouseSavedQuery

Retrieve details of a warehouse saved query. Fetches information about a specific saved query in the warehouse environment for a given project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Retrieve this by calling /api/projects/.
saved_query_idstringRequiredA UUID string identifying the specific data warehouse saved query to retrieve.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_retrieve'.
#

PosthogApi.GetWarehouseTable

Retrieve details of a specific warehouse table. Use this tool to get information about a particular warehouse table within a specified project in Datadog.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to retrieve the warehouse table from. Obtainable by calling /api/projects/.
warehouse_table_idstringRequiredA UUID string identifying the data warehouse table to be retrieved.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_tables_retrieve'.
#

PosthogApi.GetWebAnalyticsOverview

Retrieve an overview of web analytics data for a project. This tool provides insights into web analytics, such as the number of visitors, views, sessions, bounce rate, and session duration for a specified project. It should be called when there's a need to analyze or monitor web traffic and user behavior.

Parameters

ParameterTypeReq.Description
end_date_querystringRequiredEnd date for the query in the format YYYY-MM-DD.
project_idstringRequiredThe unique identifier for the project you want to access web analytics data for. Obtain this by calling /api/projects/.
start_datestringRequiredStart date for the query in YYYY-MM-DD format. Determines the beginning of the analytics data range.
filter_test_accountsbooleanOptionalSet to true to filter out test accounts from the analytics data.
host_filterstringOptionalSpecify the host to filter web analytics data by (e.g., example.com).

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'web_analytics_overview_retrieve'.
#

PosthogApi.HaltBatchExport

Pause an ongoing BatchExport process. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string that uniquely identifies the specific batch export to be paused. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalThe UUID string that identifies the organization related to the batch export. Required for pausing the export. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_pause_create'.
#

PosthogApi.InitiateExportBackfill

Triggers a backfill for a BatchExport. This tool is used to initiate a backfill process for a specified BatchExport. Note that this endpoint is deprecated; consider using the updated endpoint if possible. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string identifying the batch export to backfill. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalA string representing the unique identifier of the organization. Required for initiating the backfill process. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_backfill_create'.
#

PosthogApi.InitiateTaskWorkflow

Initiate the workflow for a specific task stage. Use this tool to start the workflow process for a task in its current stage within a project.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Retrieve this by calling /api/projects/.
task_uuidstringRequiredA UUID string used to uniquely identify the task to be initiated.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_run_create'.
#

PosthogApi.InitiateUser2faSetup

Initiate two-factor authentication setup for a user. Call this tool to start the two-factor authentication setup process for a specified user. It is used when you need to initialize 2FA for enhanced security.

Parameters

ParameterTypeReq.Description
user_uuidstringRequiredA unique identifier for the user to initiate 2FA setup.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_start_2fa_setup_retrieve'.
#

PosthogApi.ListAnnotationsForProject

Retrieve annotations for a specific project. Use this tool to get a list of annotations for a specified project in Datadog.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtain by calling /api/projects/.
initial_result_indexintegerOptionalThe starting index for the results to return in pagination.
results_limit_per_pageintegerOptionalSpecify the number of results to return per page when retrieving annotations for a project.
search_termstringOptionalA search term to filter the annotations. Can be a keyword or phrase.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'annotations_list'.
#

PosthogApi.ListAvailableAgents

Retrieve a list of agent definitions for tasks. Use this tool to obtain a list of available agent definitions that can be assigned to tasks within a specific project.

Parameters

ParameterTypeReq.Description
project_identificationstringRequiredThe ID of the project you want to access. Obtain the ID by calling /api/projects/.
result_start_indexintegerOptionalThe initial index to begin returning agent definitions from the list.
results_per_pageintegerOptionalSpecify the number of agent definitions to return per page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'agents_list'.
#

PosthogApi.ListBackfillExports

Retrieve list of batch export backfills for a project. This tool retrieves a list of batch export backfills for a specified project and batch export ID within Datadog. It allows viewing of backfills but does not support updating or deleting them.

Parameters

ParameterTypeReq.Description
batch_export_identifierstringRequiredThe unique identifier for the batch export to retrieve backfills for. Required to specify which export's backfills are listed.
project_identifierstringRequiredThe ID of the project to access. Obtainable via /api/projects/ call.
ordering_field_for_resultsstringOptionalSpecify the field to use for ordering the backfill export results.
pagination_cursorstringOptionalThe pagination cursor value used to navigate through paginated results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_backfills_list'.
#

PosthogApi.ListBatchExportBackfills

Retrieve a list of batch export backfills. Fetch the details of batch export backfills associated with a specified project and batch export. Useful for monitoring or auditing backfill activities.

Parameters

ParameterTypeReq.Description
batch_export_identifierstringRequiredThe unique identifier for the batch export to retrieve specific backfill details.
project_idstringRequiredThe ID of the project to access batch export backfills. Obtainable via /api/projects/.
pagination_cursorstringOptionalThe pagination cursor for retrieving the next set of results in a paginated response.
results_ordering_fieldstringOptionalSpecify the field by which to order the batch export backfills results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_backfills_list'.
#

PosthogApi.ListBatchExportRuns

Retrieve batch export runs for a specific project and export. Fetches a list of runs associated with a particular batch export for a given project in Datadog. Use this tool to monitor or analyze batch export activities.

Parameters

ParameterTypeReq.Description
batch_export_identifierstringRequiredThe unique identifier for the batch export. Used to specify which export runs to retrieve.
project_idstringRequiredThe ID of the project to access. Use /api/projects/ to find the ID.
pagination_cursorstringOptionalThe pagination cursor value used to fetch the next page of results.
results_ordering_fieldstringOptionalSpecify the field for ordering the results of the batch export runs. Common fields might include date, status, or name.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_runs_list'.
#

PosthogApi.ListBatchExports

Retrieve a list of batch exports for an organization. Use this tool to get a list of all batch exports associated with a specific organization. Ideal for monitoring and managing export activities.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier of the organization for which to list batch exports. This is required to specify which organization's exports to retrieve.
result_offsetintegerOptionalThe starting index for returning results. Useful for pagination.
results_per_pageintegerOptionalNumber of results to return per page for batch exports.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_list'.
#

PosthogApi.ListCollaboratorsOnDashboard

Retrieve collaborators for a dashboard in a project. Use this tool to get a list of collaborators associated with a specific dashboard within a given project environment.

Parameters

ParameterTypeReq.Description
dashboard_identifierintegerRequiredThe unique identifier for the dashboard. Must be an integer and is required to retrieve collaborators.
project_identifierstringRequiredThe unique identifier for the project. Obtainable by calling the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_collaborators_list'.
#

PosthogApi.ListDashboardCollaborators

Retrieve the list of collaborators for a dashboard. Use this tool to get a list of collaborators associated with a specific dashboard within a project on Datadog.

Parameters

ParameterTypeReq.Description
dashboard_identifierintegerRequiredThe integer ID of the dashboard for which to retrieve the list of collaborators. This ID is unique for each dashboard.
project_idstringRequiredThe unique ID of the Datadog project to access. Retrieve this by calling /api/projects.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_collaborators_list'.
#

PosthogApi.ListDashboardShares

Retrieve information about how dashboards are shared. This tool provides details on the sharing settings of a specific dashboard in a project. It should be called when you need to know how a dashboard is being shared.

Parameters

ParameterTypeReq.Description
dashboard_identifierintegerRequiredThe unique integer identifier for the dashboard whose sharing information is being requested.
project_identifierstringRequiredThe ID of the project to access. Obtain this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_sharing_list'.
#

PosthogApi.ListDashboardTemplates

Retrieve a list of dashboard templates for a project. Use this tool to get all available dashboard templates within a specified project. It's useful for identifying templates you can use to set up dashboards in your project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier of the specific project for which you want to retrieve dashboard templates. This ID can be obtained by calling the `/api/projects/` endpoint.
results_per_pageintegerOptionalSpecify the number of dashboard templates to return per page.
starting_index_for_resultsintegerOptionalThe index from which to start returning results, useful for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboard_templates_list'.
#

PosthogApi.ListDataColorThemes

Retrieve data color themes for a specific environment. Call this tool to obtain a list of data color themes available in a given environment within a project. It provides thematic options for displaying data visually.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredProject ID to access specific environment data color themes. Obtain by calling /api/projects/.
initial_indexintegerOptionalThe initial index from which to return the results. Used for pagination.
results_per_pageintegerOptionalThe maximum number of results to return on each page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_data_color_themes_list'.
#

PosthogApi.ListDatasets

Retrieve a list of datasets for a specific project. Use this tool to get all datasets associated with a particular project by providing the project ID.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access datasets for. Use /api/projects/ to find this ID.
dataset_idsarray<string>OptionalA list of dataset IDs. Can include multiple IDs separated by commas.
initial_result_indexintegerOptionalThe initial index from which to return the results.
order_datasets_byarray<string>OptionalSpecify the order of dataset results. Options: 'created_at', '-created_at', 'updated_at', '-updated_at'.
results_per_pageintegerOptionalSpecify the number of results returned per page. This determines how many datasets are retrieved in one API call.
search_querystringOptionalSearch within dataset name, description, or metadata using a keyword or phrase.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'datasets_list'.
#

PosthogApi.ListEnvBatchExports

Retrieve the list of batch exports for a specific environment. Use this tool to obtain a list of batch exports associated with a specific project environment. It is useful for monitoring and managing environment-related data exports.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe Project ID to access for fetching batch exports. Obtain it by calling /api/projects/.
initial_result_indexintegerOptionalThe initial index from which to return the results. Use this to navigate pages.
results_per_pageintegerOptionalSpecify the number of results to return per page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_list'.
#

PosthogApi.ListEnvironmentDashboards

Retrieve dashboards for a specific environment. Use this tool to get a list of dashboards associated with a specific environment in a Datadog project. It's useful for monitoring and managing different environments.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID required to access a specific environment in Datadog. Use the /api/projects/ endpoint to find the ID.
initial_index_for_resultsintegerOptionalThe index from which to start returning results, useful for pagination.
response_formatstringOptionalSpecifies the format of the response. Accepted values are 'json' or 'txt'.
results_per_pageintegerOptionalThe number of dashboard results to return per page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_list'.
#

PosthogApi.ListEnvironmentDatasetItems

Retrieve dataset items for a specific environment. Use this tool to fetch and list all dataset items within a specified environment, given a project ID.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project you're accessing. Use /api/projects/ to find it.
filter_by_dataset_idstringOptionalSpecify the dataset ID to filter the results by a specific dataset.
results_per_pageintegerOptionalNumber of results to return per page. This defines pagination size.
results_start_indexintegerOptionalThe initial index from which to return the results. Use this to control the starting point of the returned dataset items.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dataset_items_list'.
#

PosthogApi.ListEnvironmentDatasets

Retrieve datasets for a specified project environment. This tool retrieves a list of datasets associated with a specified project environment within Datadog. It should be called when you need to view datasets for a particular project's environment.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Retrieve the ID by calling /api/projects/.
dataset_idsarray<string>OptionalList of dataset IDs to filter results. Provide multiple IDs separated by commas.
ordering_criteriaarray<string>OptionalSpecify the ordering of the dataset results. Options include `created_at`, `-created_at`, `updated_at`, `-updated_at`. Multiple criteria can be provided as a list.
results_limit_per_pageintegerOptionalSpecifies the number of datasets to return per page. This is used to control pagination and manage the volume of data retrieved in a single call.
results_start_indexintegerOptionalThe initial index to start returning datasets from, for pagination purposes.
search_termsstringOptionalSearch terms to filter datasets by name, description, or metadata.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_datasets_list'.
#

PosthogApi.ListEnvironmentEvaluations

Retrieve evaluations for a specific project environment. Call this tool to obtain a list of evaluations for the environment of a specified project in Datadog. Useful for monitoring and analyzing environment performance and configurations.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique ID of the project to access evaluations. Retrieve via /api/projects/.
evaluation_idsarray<string>OptionalList of evaluation IDs to filter results. Multiple IDs allowed, separated by commas.
evaluation_orderingarray<string>OptionalSpecify the ordering of results. Use created_at, updated_at, or name, with optional '-' for descending.
filter_by_enabled_statusbooleanOptionalFilter by enabled (true) or disabled (false) evaluations.
results_offset_indexintegerOptionalThe initial index from which to return the results, allowing pagination control.
results_per_pageintegerOptionalNumber of results to return per page in the environment evaluations list.
search_querystringOptionalSearch in the evaluation's name or description. Use this to filter results by specific keywords.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_evaluations_list'.
#

PosthogApi.ListEnvironmentExports

Fetches a list of batch export runs for a given environment. Use this tool to retrieve detailed information about batch export runs for a specific environment within a Datadog project. It requires specifying the project and batch export identifiers.

Parameters

ParameterTypeReq.Description
batch_export_identifierstringRequiredThe ID of the batch export you wish to access. Required to retrieve batch export runs for a specific project.
project_idstringRequiredThe unique identifier of the project you want to access in Datadog. Use /api/projects/ to find the ID.
order_by_fieldstringOptionalSpecify the field used to order the batch export run results. This determines the sorting criteria for the list of export runs.
pagination_cursorstringOptionalThe value used for paginating results in a list of export runs. It allows fetching subsequent pages of results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_runs_list'.
#

PosthogApi.ListEnvironmentGroups

Retrieve all groups for a specific environment's group type. Use this tool to list all groups of a given group type within a specific environment. Ensure to specify the group type index to get the desired data.

Parameters

ParameterTypeReq.Description
group_type_indexintegerRequiredThe index representing the specific group type to list. Use this to filter groups by type.
project_idstringRequiredID of the project to access. Retrieve the ID from the /api/projects/ endpoint.
search_group_namestringRequiredSearch term for the group name to filter results.
pagination_cursorstringOptionalThe pagination cursor value to navigate through the paginated list of environment groups.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_groups_list'.
#

PosthogApi.ListEnvironmentInsights

Retrieve sharing details of environment insights. Fetches the sharing details of insights related to specific environments using the provided project and insight IDs.

Parameters

ParameterTypeReq.Description
insight_idintegerRequiredThe identifier for the specific insight. Provide as an integer to specify which insight's sharing details to retrieve.
project_identifierstringRequiredUnique identifier for the project to access. Retrieve via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_sharing_list'.
#

PosthogApi.ListEnvironmentIntegrations

Retrieve a list of integrations for a specified environment. Use this tool to get the integrations associated with a specific project environment in Datadog. Ideal for users looking to manage or view integrations for different environments within their projects.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredProject ID for accessing the desired project's environment. Obtain this ID by calling /api/projects/.
results_per_pageintegerOptionalNumber of results to return per page for the environment integrations list.
starting_indexintegerOptionalThe initial index from which to return results, used for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_list'.
#

PosthogApi.ListEnvironmentPluginLogs

Retrieve logs for a plugin configuration in a specific environment. Use this tool to obtain logs related to a particular plugin configuration within a specified environment. Useful for debugging or monitoring plugin activities.

Parameters

ParameterTypeReq.Description
plugin_configuration_idstringRequiredThe identifier for the plugin configuration to retrieve logs for. Required to specify which plugin configuration's logs to access.
project_idstringRequiredThe ID of the project to access logs for. Obtain this ID by calling /api/projects/.
results_offset_indexintegerOptionalThe starting index for the results to return from the API. Used for pagination.
results_per_pageintegerOptionalSpecify the number of results to return per page for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_plugin_configs_logs_list'.
#

PosthogApi.ListEnvironmentSubscriptions

Retrieve subscriptions for environment projects. Use this tool to obtain a list of all subscriptions associated with specific environment projects. Ideal for tracking or managing environment-related activities.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project to access its environment subscriptions. Obtain this ID from the /api/projects/ endpoint.
result_start_indexintegerOptionalInitial index to start retrieving results from for pagination purposes.
results_per_pageintegerOptionalNumber of results to return per page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_subscriptions_list'.
#

PosthogApi.ListErrorTrackingAssignmentRules

Retrieve error tracking assignment rules for a given environment. Use this tool to get a list of error tracking assignment rules for a specified environment within a project. It helps in understanding the rules applied in error tracking for different environments.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique ID of the project to access. Retrieve it by calling /api/projects/.
results_per_pageintegerOptionalSpecify the number of results to return per page when listing error tracking assignment rules.
results_start_indexintegerOptionalThe initial index to start returning results from within the list.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_assignment_rules_list'.
#

PosthogApi.ListErrorTrackingFingerprints

Retrieve error tracking fingerprints for a specific project. This tool retrieves a list of error tracking fingerprints for a given project, allowing users to analyze and monitor errors efficiently.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique ID of the project you want to access. Obtain this by calling /api/projects/.
initial_index_for_resultsintegerOptionalThe initial index from which to return the results for the error tracking fingerprints list.
results_per_pageintegerOptionalNumber of results to return per page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_fingerprints_list'.
#

PosthogApi.ListErrorTrackingGroupingRules

Retrieve error tracking grouping rules for a project. This tool fetches the error tracking grouping rules for a specified project within Datadog environments. It is useful for understanding how errors are categorized and grouped in the project's monitoring setup.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Retrieve it by calling /api/projects/.
initial_index_for_resultsintegerOptionalThe starting index from which to return results, used for pagination.
results_per_pageintegerOptionalNumber of results to return per page when listing error tracking grouping rules.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_grouping_rules_list'.
#

PosthogApi.ListErrorTrackingReleases

Retrieve releases from error tracking for a specific environment. Fetches a list of releases related to error tracking within a specified environment of a project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier of the project to access. Obtain by calling /api/projects/.
results_per_pageintegerOptionalThe number of results to return per page for error tracking releases.
start_index_for_resultsintegerOptionalThe starting index for the results to be returned. Use this to paginate results in the list of error tracking releases.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_releases_list'.
#

PosthogApi.ListErrorTrackingSuppressionRules

List error tracking suppression rules for a project environment. Fetches the error tracking suppression rules for a specified project environment. Use this tool to retrieve information about existing suppression rules within a particular environment.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtain by calling /api/projects/.
results_per_pageintegerOptionalNumber of results to return per page.
results_start_indexintegerOptionalThe starting index for the results to be returned, useful for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_suppression_rules_list'.
#

PosthogApi.ListErrorTrackingSymbolSets

Retrieve error tracking symbol sets for a project. This tool retrieves a list of error tracking symbol sets associated with a specific project environment in Datadog. Use this when you need to access symbol set information for debugging or monitoring purposes.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique ID of the project to access. Obtain it by calling /api/projects/.
results_per_pageintegerOptionalSpecifies the number of results to return per page.
start_indexintegerOptionalThe initial index from which to return the results for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_symbol_sets_list'.
#

PosthogApi.ListExperimentSavedMetrics

Retrieve saved metrics for an experiment in a project. Use this tool to get a list of saved metrics from an experiment within a specified project. This helps in analyzing experiment results and performance.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtain the ID by calling /api/projects/.
initial_result_indexintegerOptionalThe starting index for returning results, used for pagination.
results_per_pageintegerOptionalSpecify the number of metric results to return per page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_saved_metrics_list'.
#

PosthogApi.ListExperimentsEligibleFeatureFlags

Retrieve feature flags eligible for experiments. This tool retrieves a list of feature flags that can be used in experiments. Eligible flags must be multivariate with at least two variants and have 'control' as the first variant key. You can filter results by flag key, name, active status, creator ID, order, and evaluation runtime. Pagination options include limit and offset.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project to access. Use /api/projects/ to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_eligible_feature_flags_retrieve'.
#

PosthogApi.ListFeatureFlags

Retrieve feature flags for a specified project. Use this tool to fetch all feature flags associated with a given project. Useful for managing and reviewing the state of feature flags within an application.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe identifier for the project to access feature flags. Retrieve using /api/projects/.
exclude_feature_flag_keysstringOptionalA JSON-encoded list of feature flag keys to exclude from the results. Useful for filtering.
feature_flag_search_termstringOptionalSearch for a feature flag by its key or name, case insensitive.
filter_by_active_statusstringOptionalFilter feature flags by active status. Use 'STALE', 'false', or 'true'.
filter_by_evaluation_runtimestringOptionalFilter feature flags by their evaluation runtime. Options: 'both', 'client', 'server'.
filter_by_tagsstringOptionalA JSON-encoded list of tag names to filter feature flags by. Use this to specify which tags should be included in the results.
flag_typestringOptionalSpecifies the feature flag type to filter results. Options are 'boolean', 'experiment', or 'multivariant'.
initial_creator_user_idstringOptionalThe User ID that initially created the feature flag. It helps filter feature flags created by a specific user.
results_offset_indexintegerOptionalThe starting index for the results to be returned.
results_per_pageintegerOptionalSpecify the number of feature flags to return for each page of results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_list'.
#

PosthogApi.ListFileSystems

Fetches the list of file systems for a given project. Use this tool to retrieve a list of all file systems associated with a specific project in Datadog. This is useful for managing and monitoring project storage.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project for which you want to list file systems. Obtain by calling /api/projects/.
results_per_pageintegerOptionalNumber of results to return per page for file system listings.
search_termstringOptionalA search term to filter the list of file systems.
start_indexintegerOptionalThe initial index from which to return the file system results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_list'.
#

PosthogApi.ListFileSystemShortcuts

Retrieve file system shortcuts for a specified project. This tool fetches a list of file system shortcuts for a specific project by its project ID. It should be called when you need to view or manage shortcuts within a project's environment.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project whose file system shortcuts you want to access. Use the /api/projects/ call to find the ID.
result_start_indexintegerOptionalThe initial index from which to start returning results for the file system shortcuts list.
results_per_pageintegerOptionalSpecifies the number of results to return per page when retrieving file system shortcuts.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_shortcut_list'.
#

PosthogApi.ListGroupsByType

Retrieve all groups for a specified group type. Use this tool to list all groups of a given type within a project. Specify the group type to get corresponding groups.

Parameters

ParameterTypeReq.Description
group_type_to_listintegerRequiredSpecify the type of the group to retrieve by providing the index.
project_idstringRequiredProject ID of the target project. It can be found by calling /api/projects/.
search_group_namestringRequiredSearch for a group by its name. Provide keywords or partial names to filter the group list.
pagination_cursor_valuestringOptionalProvide the pagination cursor value to navigate through paginated results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_list'.
#

PosthogApi.ListGroupTypes

Retrieve list of group types for a specific project. Call this tool to get the different types of groups available within a specific project on Datadog.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier for the project you want to access. Obtain this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_list'.
#

PosthogApi.ListHogFunctions

Retrieve a list of hog functions for a project. Use this tool to obtain a list of hog functions associated with a specific project ID. Each API call logs a new view of the file system.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier for the project you want to access. Obtain via /api/projects/.
created_atstringOptionalSpecify the creation date for filtering hog functions. Use ISO 8601 format (YYYY-MM-DD).
created_by_user_idintegerOptionalThe unique integer ID of the user who created the resource.
function_idstringOptionalThe unique identifier for the hog function to retrieve details for.
hog_function_typesarray<string>OptionalA list of hog function types, specified as strings. Supports multiple values.
include_only_enabled_functionsbooleanOptionalInclude only enabled functions. Set to true to include enabled functions, false to include all.
result_offsetintegerOptionalThe starting index for the returned results, used for pagination.
results_per_pageintegerOptionalInteger specifying the number of results to return per page.
search_termstringOptionalA search term used to filter the list of hog functions based on specific criteria.
updated_timestampstringOptionalThe timestamp for the latest update of the hog function. Use an ISO 8601 format.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_list'.
#

PosthogApi.ListInsightSharing

Retrieve sharing details for a specific insight. Use this tool to get information about the sharing status and access details for a specific insight within a project. Useful for managing and reviewing who has access to insights in a project.

Parameters

ParameterTypeReq.Description
insight_identifierintegerRequiredThe unique identifier for the specific insight you want to retrieve sharing details for. This is an integer value that uniquely represents an insight within the project.
project_idstringRequiredThe ID of the project to access. Retrieve via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_sharing_list'.
#

PosthogApi.ListOrganizationDomains

Retrieve a list of domains for a specified organization. Use this tool to get a comprehensive list of domains associated with a given organization. It helps in managing and inspecting domain information within an organization.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier for the organization whose domains are to be retrieved. This is required to specify which organization's domains you want to list.
initial_index_for_resultsintegerOptionalThe starting index from which the domain results are returned, useful for pagination.
results_per_pageintegerOptionalSpecify the number of results to return per page. Use this to control pagination of domain listings.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'domains_list'.
#

PosthogApi.ListOrganizationInvites

Retrieve all pending invites for an organization. This tool retrieves a list of all pending invitations to join a specified organization. It should be called when you need to see who has been invited but not yet joined.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier for the organization whose pending invites you want to retrieve.
results_per_pageintegerOptionalNumber of results to return per page when listing organization invites.
start_indexintegerOptionalThe initial index from which to return the results. Use this for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'invites_list'.
#

PosthogApi.ListOrganizationMembers

Retrieve the list of members in an organization. Use this tool to obtain a list of members within a specified organization on Datadog. It should be called when you need comprehensive member details for an organization.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier for the organization whose members are to be listed. This ID determines which organization's members will be retrieved.
results_per_pageintegerOptionalNumber of results to return per page when listing organization members.
results_start_indexintegerOptionalThe initial index from which to return the results, for pagination purposes.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'members_list'.
#

PosthogApi.ListOrganizationRoles

Fetches the list of roles for a specified organization.

Parameters

ParameterTypeReq.Description
organization_identifierstringRequiredThe unique ID of the organization to fetch roles for. Must be a valid string identifier.
results_per_pageintegerOptionalSpecify the number of roles to return per page.
starting_result_indexintegerOptionalThe starting index from which to return role results for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'roles_list'.
#

PosthogApi.ListOrganizations

Retrieve a list of organizations. Use this tool to obtain a list of organizations from the Datadog service.

Parameters

ParameterTypeReq.Description
results_per_pageintegerOptionalSpecify the number of organization results to return per page.
results_start_indexintegerOptionalThe initial index from where to start returning results. Useful for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'list'.
#

PosthogApi.ListPersistedFolders

Retrieve persisted folders for a given project. Use this tool to obtain a list of all persisted folders associated with a specific project ID in Datadog.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID of the project to access. Obtain the ID by calling /api/projects/.
results_per_pageintegerOptionalSpecifies the number of results to return per page.
start_indexintegerOptionalThe initial index from which to start returning the results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persisted_folder_list'.
#

PosthogApi.ListPluginConfigLogs

Retrieve logs for a specific plugin configuration. This tool retrieves logs related to a specific plugin configuration within a project. It should be called when you need to access and review logs for debugging, monitoring, or auditing purposes.

Parameters

ParameterTypeReq.Description
plugin_configuration_idstringRequiredThe ID of the plugin configuration whose logs you want to retrieve.
project_idstringRequiredThe unique identifier for the project whose plugin logs you want to access. Obtain this by calling /api/projects/.
results_per_pageintegerOptionalNumber of results to return per page for the log list.
starting_indexintegerOptionalThe starting index for results retrieval, used to paginate through logs.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'plugin_configs_logs_list'.
#

PosthogApi.ListPosthogExperiments

Retrieve a list of experiments from a Datadog project. Use this tool to get a list of all experiments associated with a specific Datadog project. It should be called when you need to access experiment data for a particular project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the Datadog project to access. Obtainable via a call to /api/projects/.
page_result_limitintegerOptionalThe number of experiment results to return per page. Specify as an integer.
start_indexintegerOptionalThe index from which to start returning results. Used for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_list'.
#

PosthogApi.ListPosthogNotebooks

Retrieve a list of notebooks from Datadog. Use this tool to get a list of notebooks associated with a specific project in Datadog. Ideal for viewing or managing notebooks within the Datadog platform.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access notebooks for. Use /api/projects/ to find the ID.
filter_by_logged_in_userstringOptionalProvide any value to filter results to notebooks created by the logged-in user.
filter_criteriastringOptionalString to filter notebooks. Use colon-separated key-value pairs, separated by space or comma.
filter_date_beforestringOptionalFilter for notebooks created before this specified date and time. Use ISO 8601 format (e.g., '2023-10-01T15:00:00Z').
filter_from_datestringOptionalFilter for notebooks created after this specific date and time. The date should be provided in an appropriate format, such as ISO 8601.
notebook_creator_uuidintegerOptionalThe UUID of the notebook's creator. Use this to filter notebooks by their creator.
results_per_pageintegerOptionalSpecifies the number of notebook results to return per page.
starting_index_for_resultsintegerOptionalThe index to start returning results from. This is used for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'notebooks_list'.
#

PosthogApi.ListProjectActions

Retrieve and log actions for a specific project. Use this tool to get the list of actions performed within a specified project. Every call to this endpoint logs a new view of the project actions.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredProject ID to access specific project actions. Obtain via /api/projects/ if unknown.
response_formatstringOptionalSpecify the format for the response data. Options are 'csv' or 'json'.
results_per_pageintegerOptionalSpecify the number of results to return per page.
starting_index_for_resultsintegerOptionalThe initial index from which results should start when retrieving project actions.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'actions_list'.
#

PosthogApi.ListProjectCohorts

Retrieve a list of cohorts for a given project. Use this tool to get a list of cohort views within a specified project. It is useful when tracking or analyzing different cohort data associated with a project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier of the project to access. To obtain this ID, call /api/projects/.
results_per_pageintegerOptionalSpecify the number of results to return per page.
results_start_indexintegerOptionalThe initial index from which to return the results. Use this to paginate through larger sets of data.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_list'.
#

PosthogApi.ListProjectDatasetItems

Retrieve dataset items for a specific project in Datadog. Use this tool to get a list of dataset items from a specific project by providing the project ID. Useful for accessing or viewing datasets associated with a particular project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project whose dataset items you want to retrieve. Obtainable via /api/projects/.
filter_by_dataset_idstringOptionalA string representing the dataset ID to filter the results by.
results_per_pageintegerOptionalSpecify the number of dataset items to return per page.
start_indexintegerOptionalThe initial index from which to return the dataset items, used for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dataset_items_list'.
#

PosthogApi.ListProjectEnvironments

Get a list of environments for a specific project. Use this tool to retrieve all environments within a given project for your organization.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier for the project whose environments you want to list. Retrieve this by calling `/api/projects/`.
initial_result_indexintegerOptionalThe initial index from which to return the results, used to paginate.
results_per_pageintegerOptionalThe number of environments to return on each page of results. Specify an integer value.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_list'.
#

PosthogApi.ListProjectExports

Retrieve a list of exports for a given project ID. Use this tool to get a list of export data associated with a specific project ID. It helps in obtaining export details available for any project in Datadog.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access exports for. Use /api/projects/ to find the project ID.
results_per_pageintegerOptionalNumber of results to return per page for export details.
start_indexintegerOptionalThe initial index to start returning results from. Use this to paginate results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'exports_list'.
#

PosthogApi.ListProjectFileSystems

Retrieve file systems for a given project environment. Fetches a list of file systems associated with a specified project environment using the project ID. Useful for obtaining storage details within the project's context.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Use /api/projects/ to retrieve this ID if unknown.
initial_result_indexintegerOptionalThe initial index from which to return the results. Use this to paginate through data.
results_per_page_limitintegerOptionalSpecify the number of results to return per page when listing file systems.
search_termstringOptionalA search term to filter the results based on specific criteria.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_list'.
#

PosthogApi.ListProjectHogFunctions

Retrieve a list of hog functions for a given project. This tool retrieves a list of hog functions associated with a specified project. It should be called when there is a need to track or analyze file system views related to the project's hog functions.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe Project ID to access the specific project. Use /api/projects/ to find the ID.
created_atstringOptionalThe creation date of the hog function. Expected in ISO 8601 format (e.g., 2023-10-11T15:00:00Z).
created_by_user_idintegerOptionalThe user ID of the person who created the hog functions.
function_idstringOptionalThe unique identifier for the hog function to be retrieved. Specify this to get details of a specific function.
function_typesarray<string>OptionalSpecify one or more hog function types to filter by, separated by commas.
include_enabled_functionsbooleanOptionalIf set to true, returns only enabled hog functions; otherwise, returns all functions.
results_offsetintegerOptionalThe initial index from which to return the results for paginated data.
results_per_pageintegerOptionalSpecify the number of results to return per page for the hog functions list.
search_termstringOptionalA string used to search and filter the list of hog functions.
update_timestampstringOptionalA timestamp indicating the last update time of the hog function. Use format YYYY-MM-DDTHH:MM:SSZ.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_list'.
#

PosthogApi.ListProjectInsights

Retrieve insights list for a specific project. This tool fetches insights data for a specified project from the Datadog API. Use it to track and log file system views with each GET request.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID to access specific insights. Obtain it via /api/projects/.
creator_user_idintegerOptionalThe user ID of the creator of the insights. Provide this as an integer value to filter insights by the creator.
insights_refresh_modestringOptionalDetermine how aggressively to refresh insights: 'force_cache', 'blocking', 'async', 'lazy_async', 'force_blocking', or 'force_async'.
project_short_idstringOptionalThe short identifier for the project within Datadog. Used to specify which project's insights to retrieve.
response_formatstringOptionalSpecifies the format of the response, either 'csv' or 'json'. Choose based on your output preference.
results_offset_indexintegerOptionalThe starting index for returning results from the insights list.
results_per_pageintegerOptionalSpecify the number of insights to return per page.
return_basic_metadata_onlybooleanOptionalIf true, return only basic insight metadata without results for a faster response.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_list'.
#

PosthogApi.ListProjectIntegrations

Retrieve a list of integrations for a specific project. This tool is used to get a list of integrations associated with a specific project by providing the project ID. Call this tool when you need to explore or manage the integrations linked to a project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredSpecify the Project ID to retrieve its associated integrations. You can find this ID by calling /api/projects/.
results_per_pageintegerOptionalSpecify the number of results to return per page.
starting_index_for_resultsintegerOptionalThe index to start returning results from, used for pagination.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_list'.
#

PosthogApi.ListProjectTasks

Retrieve tasks for a specific project. This tool retrieves the list of tasks associated with a given project. Use it when you need to see all units of work within a specific project.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier of the project for which to retrieve tasks. Obtain this ID via the /api/projects/ endpoint.
results_per_pageintegerOptionalNumber of task results to return per page. Use this to limit the result set size.
start_indexintegerOptionalThe zero-based index from which to begin returning task results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_list'.
#

PosthogApi.ListPropertyDefinitions

Retrieve a list of property definitions for a specific project. Use this tool to fetch property definitions from a specified project by providing the project ID. It returns the available property definitions related to that project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredID of the project you're accessing. Use /api/projects/ to find it.
event_names_jsonstringOptionalA JSON-encoded string of event names to populate `is_seen_on_filtered_events` in the response.
exclude_core_propertiesbooleanOptionalSet to true to exclude core properties from the response; false to include them.
exclude_hidden_propertiesbooleanOptionalSet to true to exclude properties marked as hidden from the results.
excluded_properties_liststringOptionalA JSON-encoded list of property names to exclude from the response.
filter_feature_flag_propertiesbooleanOptionalSet to true to include only feature flag properties, false to exclude them.
filter_properties_by_event_namesbooleanOptionalSet to true to return only properties for events specified in `event_names`.
filter_properties_liststringOptionalComma-separated list of properties to filter the results by.
group_type_index_for_group_propertiesintegerOptionalProvide the group type index specifically for properties of type 'group'. This should only be set if the type is set to 'group'.
include_only_numerical_propertiesbooleanOptionalSet to true to return only numerical property definitions, false to exclude them.
property_definition_typestringOptionalSpecify which type of property definitions to return: 'event', 'person', 'group', or 'session'.
result_start_indexintegerOptionalThe initial index from which to return the results. Use this to paginate through results starting from a specific index.
results_per_pageintegerOptionalSpecify the number of results to return per page when retrieving property definitions.
search_querystringOptionalKeyword to search properties by name in the project.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'property_definitions_list'.
#

PosthogApi.ListRoleMemberships

Retrieve role memberships for a specified role within an organization. This tool should be called to access a list of role memberships for a specific role in an organization. It helps in managing and viewing role assignments within Datadog.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredA unique identifier for the organization within Datadog.
role_identifierstringRequiredThe unique identifier of the role for which memberships are to be retrieved within an organization.
result_start_indexintegerOptionalThe initial index from which to return the role membership results.
results_per_pageintegerOptionalSpecifies the number of results to return per page when listing role memberships.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'roles_role_memberships_list'.
#

PosthogApi.ListSessionPlaylists

Retrieve session recording playlists, including synthetic ones.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project you're trying to access. Obtain it by calling /api/projects/.
created_by_user_idintegerOptionalID of the user who created the playlist. Must be an integer.
playlist_short_idstringOptionalA specific short identifier for the playlist to retrieve.
results_offsetintegerOptionalThe index from which to start returning results. Useful for pagination.
results_per_pageintegerOptionalNumber of results to return per page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recording_playlists_list'.
#

PosthogApi.ListSessionRecordings

Retrieve session recordings for a specific environment. Use this tool to get a list of session recordings for a specific project environment. It helps in monitoring and analyzing user interactions within a project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project to access session recordings. Use the `/api/projects/` endpoint to find this ID if unknown.
results_per_pageintegerOptionalNumber of session recordings to return per page.
starting_index_for_resultsintegerOptionalThe initial index from which to return the session recordings results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recordings_list'.
#

PosthogApi.ListSessionRecordingSharing

Retrieve sharing details for a specific session recording. Use this tool to obtain sharing information for a specified session recording within a project environment. Ideal for tracking how session recordings are being shared across different platforms or users.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Use /api/projects/ to find the project ID.
session_recording_idstringRequiredThe unique ID of the session recording you want to retrieve sharing details for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recordings_sharing_list'.
#

PosthogApi.ListSharedDashboards

Retrieve shared dashboard information for a specified project. Call this tool to get details about how dashboards are shared within a specific project environment. Useful for understanding dashboard access and distribution.

Parameters

ParameterTypeReq.Description
dashboard_identifierintegerRequiredThe unique integer ID of the dashboard whose sharing information you want to retrieve.
project_idstringRequiredThe ID of the project you want to access for retrieving shared dashboard details. Obtain this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_sharing_list'.
#

PosthogApi.ListSyntheticPlaylists

Retrieve synthetic session recording playlists. This tool retrieves a list of synthetic session recording playlists for a specified project environment. It should be called when you need to access these playlists to analyze or manage session recordings.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredA string representing the Project ID to access specific project environments for synthetic session recording playlists. Obtain the ID by calling /api/projects/.
created_by_user_idintegerOptionalThe user ID of the creator of the playlists to filter results by. If not specified, playlists by any creator will be included.
playlist_short_idstringOptionalA unique identifier for the playlist. Used to specify which playlist to retrieve or target.
results_per_pageintegerOptionalSpecifies the number of results to return per page.
starting_index_for_resultsintegerOptionalThe starting index from which the results will be returned. Used for pagination in retrieving playlists.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recording_playlists_list'.
#

PosthogApi.ListTaskRuns

Retrieve a list of task run executions for a specific task. Use this tool to retrieve information about all executions of a specific task in a given project. Each run represents an execution instance of the task.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Obtain it via a call to /api/projects/.
task_identifierstringRequiredThe unique ID of the task for which you want to list the run executions. Ensures retrieval of all run data related to this specific task.
results_per_pageintegerOptionalSpecify the number of results to return per page. This is useful for paginating large datasets.
starting_index_for_resultsintegerOptionalThe starting index for returning results in a paginated list of task runs.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_runs_list'.
#

PosthogApi.ListUserInterviews

Retrieve user interviews for a project environment. Use this tool to obtain a list of user interviews associated with a specific project environment by providing the project ID.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project for accessing user interviews. Retrieve this by calling /api/projects/.
result_start_indexintegerOptionalThe starting index for returning user interviews results.
results_per_pageintegerOptionalSpecify the number of results to return per page.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_user_interviews_list'.
#

PosthogApi.ListUsers

Retrieve a list of users from Datadog. This tool fetches and returns a list of users associated with the Datadog account. It should be called when you need to access user information from Datadog.

Parameters

ParameterTypeReq.Description
filter_staff_onlybooleanOptionalSet to true to list only staff members; set to false to include all users.
results_per_pageintegerOptionalSpecify the number of results to return per page when listing users.
start_indexintegerOptionalThe index to start retrieving results from. Useful for pagination of user results.
user_emailstringOptionalFilter users by email. Use a full or partial email address to narrow results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_list'.
#

PosthogApi.ListWarehouseSavedQueries

Retrieve a list of saved warehouse queries for a project. Call this tool to obtain the saved queries for warehouse tables within a specific project environment.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project you want to access. Obtain this ID by calling /api/projects/.
page_numberintegerOptionalThe page number within the paginated result set to retrieve. Use for navigating through results.
search_termstringOptionalThe term used to filter and search through the saved queries.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_list'.
#

PosthogApi.ListWarehouseTables

Retrieve a list of warehouse tables for a given environment. Use this tool to obtain a list of warehouse tables within a specific environment for a project. Ideal for monitoring or managing data structures in your data warehouse.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier of the project to access. Use /api/projects/ to find this ID.
results_per_pageintegerOptionalSpecify the number of results to return per page.
search_termstringOptionalA term to filter the warehouse tables based on specific criteria.
starting_index_for_resultsintegerOptionalThe index from which to begin returning the list of results for warehouse tables.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_tables_list'.
#

PosthogApi.ListWebExperiments

Retrieve a list of web experiments for a given project. Use this tool to obtain a list of web experiments associated with a specific project. It should be called when there's a need to access or manage web experiments data for project tracking or analytics.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access web experiments. Retrieve this ID via the /api/projects/ endpoint.
results_per_pageintegerOptionalSpecifies the number of results to return per page when retrieving web experiments.
start_index_for_resultsintegerOptionalThe initial index from which to return the experiment results.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'web_experiments_list'.
#

PosthogApi.LogTrackFilesystemViews

Log a new view for file system access tracking. Use this tool to log a new view every time a file system resource is accessed via GET, helping track file system views for monitoring or analytics purposes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access. Call /api/projects/ to obtain it. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format of the response. Valid options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'actions_create'.
#

PosthogApi.ManageWarehouseTable

Create a warehouse table in Datadog environments. Use this tool to create a new warehouse table within a specified environment in Datadog. Ideal for managing data structures in your project environments. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalSpecify the Project ID for accessing the desired project. Obtain it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_tables_file_create'.
#

PosthogApi.MarkActionAsDeleted

Mark an action as deleted in a specific project. Use this tool to mark an action as deleted within a specific project in Datadog. This does not hard delete the action but updates its status to deleted.

Parameters

ParameterTypeReq.Description
action_idintegerRequiredA unique integer identifying the action you want to mark as deleted in the project.
project_identifierstringRequiredThe unique Project ID to access the specific project. Retrieve this by calling /api/projects/.
response_formatstringOptionalSpecify the format of the response, either 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'actions_destroy'.
#

PosthogApi.MarkFeatureFlagDeleted

Mark a feature flag as deleted. This tool marks a feature flag as deleted by setting its "deleted" status to true. It should be used when you need to effectively delete a feature flag within a project.

Parameters

ParameterTypeReq.Description
feature_flag_idintegerRequiredA unique integer value used to identify the feature flag.
project_identifierstringRequiredProject ID to access a specific project. Retrieve by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_destroy'.
#

PosthogApi.ModifyAnnotation

Update specific details of an annotation in a project. This tool is used to update specific information of an existing annotation within a project on Datadog. It should be called when you need to modify details of an annotation by specifying the project and annotation IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
annotation_idintegerOptionalA unique integer to identify the specific annotation to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Obtainable via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'annotations_partial_update'.
#

PosthogApi.ModifyBatchExports

Update batch exports for an organization. This tool updates batch export settings for a specified organization in Datadog. It should be called when modifications to existing batch export configurations are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string that uniquely identifies the batch export to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalA string representing the unique identifier of the organization for which the batch exports need to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_partial_update'.
#

PosthogApi.ModifyCohortViews

Update cohort views to track new file system accesses. This tool updates the views of a specified cohort within a project. It logs a new file system access each time the resource is accessed, helping to track usage. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
cohort_identifierintegerOptionalA unique integer identifying the specific cohort to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project being accessed. Call /api/projects/ to obtain this ID if unknown. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_update'.
#

PosthogApi.ModifyDashboardTemplate

Update a Datadog dashboard template. Call this tool to update an existing dashboard template within a specified Datadog project. Use this when you need to modify the details or configuration of a dashboard template. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_template_uuidstringOptionalA UUID string that identifies the dashboard template to be modified. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique Project ID for accessing a specific Datadog project. Retrieve this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboard_templates_update'.
#

PosthogApi.ModifyDatasetItem

Update specific details of a dataset item. Use this tool to partially update attributes of a dataset item within a project. The tool should be called when you need to modify existing data associated with a dataset item. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dataset_item_uuidstringOptionalA UUID string identifying the dataset item to be modified. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project where the dataset item is located. Retrieve this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dataset_items_partial_update'.
#

PosthogApi.ModifyDataTheme

Update a specific data color theme for a project. This tool updates the properties of a specific data color theme within a project. Use it to change settings or customize the appearance of data visuals by specifying the project and theme IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
theme_idintegerOptionalA unique integer value identifying the data color theme to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Use /api/projects/ to find the ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'data_color_themes_partial_update'.
#

PosthogApi.ModifyEarlyAccessFeature

Update early access feature for a project. Use this tool to update the details of an early access feature in a specified project. It logs each update operation. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
early_access_feature_idstringOptionalA UUID string identifying the early access feature to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe unique identifier for the project. Fetch it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'early_access_feature_update'.
#

PosthogApi.ModifyEnvFileSystemShortcut

Update a file system shortcut in a specific environment. This tool updates a file system shortcut for a specific project environment based on given identifiers. Call this tool when you need to modify details of an existing file system shortcut within an environment.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique ID of the project to access. Retrieve it via a call to /api/projects/.
created_at_timestampstringOptionalThe timestamp of when the file system shortcut was created, in ISO 8601 format.
file_system_shortcut_idstringOptionalUnique identifier for the file system shortcut to be updated.
file_system_shortcut_typestringOptionalSpecifies the type of the file system shortcut to update, such as 'symlink' or 'hardlink'.
reference_identifierstringOptionalA unique string identifier for the file system shortcut to be updated.
shortcut_file_pathstringOptionalThe path to the file system shortcut that needs to be updated in the environment.
shortcut_hrefstringOptionalThe URL or link to the file system shortcut that needs updating. This should be a valid URI.
shortcut_idstringOptionalA UUID string that uniquely identifies the file system shortcut to update.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_shortcut_partial_update'.
#

PosthogApi.ModifyEnvFolder

Partially update a specific environment folder. Use this tool to partially update a specific persisted folder within an environment by providing the project and folder IDs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProvide the Project ID to access the specific environment. Retrieve it via /api/projects/.
environment_folder_creation_datestringOptionalThe creation date of the environment folder. Expected in YYYY-MM-DD format.
environment_folder_idstringOptionalThe unique identifier for the environment folder to update. Provide a valid string ID.
environment_folder_last_updatedstringOptionalThe timestamp when the environment folder was last updated. Use ISO 8601 format.
environment_folder_protocolstringOptionalSpecify the protocol type for the environment folder, such as 'home' or 'pinned'.
folder_pathstringOptionalSpecify the updated path for the environment folder.
folder_typestringOptionalSpecify the type of the folder: `home` for Home or `pinned` for Pinned.
persisted_folder_idstringOptionalA UUID string that uniquely identifies the persisted folder to be updated.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persisted_folder_partial_update'.
#

PosthogApi.ModifyEnvironmentDataset

Update dataset in a specific environment. Use this tool to partially update an existing dataset within a specified environment using the project and dataset identifiers. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dataset_uuidstringOptionalA UUID string identifying the dataset to update within the environment. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique identifier of the project to access. Retrieve via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_datasets_partial_update'.
#

PosthogApi.ModifyEnvironmentDatasetItem

Update specific fields in an environment dataset item. This tool updates specific fields of an existing item in the environment dataset for a given project. It should be called when partial modifications are needed for dataset items. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dataset_item_idstringOptionalA UUID string specifying the dataset item to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project to access. Use /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dataset_items_partial_update'.
#

PosthogApi.ModifyEnvironmentEvaluation

Update specific environment evaluation details. This tool updates specific details of an environment evaluation using partial data. It should be called when there is a need to modify environment evaluations for a project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
evaluation_idstringOptionalA UUID string that identifies the specific environment evaluation to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProvide the Project ID to identify and access the specific project. Use /api/projects/ to retrieve the ID if needed. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_evaluations_partial_update'.
#

PosthogApi.ModifyEnvironmentFileSystem

Partially update a file system environment in a project. Use this tool to update specific fields of a file system environment in a given project within Datadog. It should be called when modifications are needed for an existing environment's file system settings. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
file_system_idstringOptionalA UUID string that uniquely identifies the specific file system to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique identifier for the project you want to modify. Use the endpoint `/api/projects/` to retrieve this ID if unknown. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_partial_update'.
#

PosthogApi.ModifyEnvironmentSubscription

Update a subscription for a specific environment. Use this tool to partially update a subscription within a specified environment in a project. This tool is called when changes to subscription details are needed, such as updating preferences or configurations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
subscription_idintegerOptionalUnique integer identifying the subscription to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_subscriptions_partial_update'.
#

PosthogApi.ModifyEventDefinition

Update an event definition in a project. Use this tool to partially update event definitions within a specified project in Datadog. It modifies details of an existing event definition using a PATCH request.

Parameters

ParameterTypeReq.Description
event_definition_uuidstringRequiredA UUID string identifying the event definition to be updated.
project_identifierstringRequiredProject ID to access the specific project in Datadog. Obtain by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'event_definitions_partial_update'.
#

PosthogApi.ModifyExperimentHoldout

Update the details of an experiment holdout. Use this tool to partially update the details of an experiment holdout within a specified project in Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
experiment_holdout_idintegerOptionalThe unique integer identifier for the experiment holdout you wish to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
target_project_idstringOptionalSpecify the ID of the project you want to access. Retrieve the ID using /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_holdouts_partial_update'.
#

PosthogApi.ModifyFeatureFlags

Update existing feature flags in a project. This tool updates the details of a feature flag in a specified project within Datadog. Use this tool to modify feature flag settings, such as enabling, disabling, or changing conditions. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
feature_flag_idintegerOptionalA unique integer identifying the feature flag to modify. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Retrieve it via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_update'.
#

PosthogApi.ModifyFileSystem

Update specific details of a file system. Use this tool to update specific details within a file system for a given project. Call this tool when modifications are needed to existing file system configurations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
file_system_idstringOptionalA UUID string used to identify the specific file system to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe unique ID of the project. Use /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_partial_update'.
#

PosthogApi.ModifyFileSystemShortcut

Update a file system shortcut in a specified project. Use this tool to update details of a file system shortcut within a project. This can be helpful for managing project shortcuts by modifying them as needed.

Parameters

ParameterTypeReq.Description
creation_timestampstringRequiredA string representing the creation date and time of the shortcut. Format: ISO 8601 (e.g., '2021-09-15T13:45:30Z').
file_system_pathstringRequiredThe file system path of the shortcut to be updated. Provide the exact path within the project.
file_system_shortcut_idstringRequiredThe UUID string identifying the file system shortcut to be updated.
project_idstringRequiredThe unique ID of the project you want to update the file system shortcut for. Retrieve this ID by calling /api/projects/.
shortcut_idstringRequiredThe unique identifier for the file system shortcut to be updated.
file_system_shortcut_hrefstringOptionalThe URL of the file system shortcut to be updated. It specifies the link to the resource.
reference_identifierstringOptionalA unique string identifier for the file system shortcut to be updated. This is used to specify which shortcut you are modifying.
shortcut_typestringOptionalSpecifies the type of the file system shortcut to update. Accepted values may vary based on use case.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_shortcut_update'.
#

PosthogApi.ModifyGroupingRules

Update error tracking grouping rules for a project. Use this tool to update specific error tracking grouping rules within a project environment on Datadog. It should be called when you need to modify grouping rules for error tracking purposes in a specified project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Retrieve it by calling /api/projects/.
assigned_userstringOptionalSpecify the user assigned to manage the error tracking rules. It should be the username or ID of the Datadog user.
disable_data_filteringstringOptionalSpecifies data filtering rules to be disabled. Provide a string indicating the types of rules or data aspects to disable.
error_tracking_rule_uuidstringOptionalA UUID string identifying the error tracking grouping rule to update.
filters_stringstringOptionalString containing filtering conditions for updating grouping rules. Specify conditions to narrow down rules to be updated.
grouping_rule_order_keyintegerOptionalAn integer that specifies the priority order of the error grouping rule within a project. Higher values may denote higher priority.
rule_idstringOptionalThe ID of the grouping rule to be updated. Required for specifying which rule to modify within the project.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_grouping_rules_partial_update'.
#

PosthogApi.ModifyHogFunctions

Update and track file system views for hog functions. Use this tool to update specific hog functions and track file system views in Datadog. It should be called when modifications to a hog function in a project are required and each GET on the resource should be logged as a new view. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
hog_function_uuidstringOptionalA UUID string to uniquely identify the hog function to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the desired project. Retrieve via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_update'.
#

PosthogApi.ModifyInterviewEnvironment

Partially update a user interview environment. Use this tool to apply partial updates to a specific user interview environment within a project. This helps in modifying certain attributes of the environment without altering the entire setup. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
user_interview_idstringOptionalA UUID string that uniquely identifies the user interview to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
target_project_idstringOptionalThe ID of the project to access. Obtain by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_user_interviews_partial_update'.
#

PosthogApi.ModifyPersonDetails

Update properties for a person in the project. This tool updates specific properties for a person using a "$set" event without removing or altering other existing properties. Use this to make partial updates to a person's data in the specified project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
person_idintegerOptionalA unique integer representing a person to update in the project. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalID of the target project for accessing person data. Retrieve the ID via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecifies the format of the response output, either 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_update'.
#

PosthogApi.ModifyPersonsInEnvironment

Modify or remove persons in a given environment. Use this tool to update or delete the information of persons within a specified environment using the project ID and person ID. For creating or further updating, the capture API or SDKs are recommended.

Parameters

ParameterTypeReq.Description
project_id_of_target_environmentstringRequiredThe Project ID for the environment you want to access. Find it with a call to /api/projects/.
distinct_ids_listarray<string>OptionalList of unique identifiers for individuals to be updated or deleted. Each identifier should be a string.
person_created_atstringOptionalThe timestamp of when the person was created, formatted as a string. This helps identify the creation date of the person within the system.
person_idintegerOptionalThe unique identifier for the person you want to update or delete. This is an integer value.
person_identifierintegerOptionalA unique integer used to identify the person for modification or deletion.
person_identifier_uuidstringOptionalThe unique identifier for the person whose data is to be updated or deleted. This UUID is required for the operation.
person_namestringOptionalThe name of the person to modify. This is required for updating the person's information.
person_propertiesstringOptionalJSON string of properties and values to update for a person. This may include attributes like name, email, etc.
response_formatstringOptionalSpecifies the format of the response data. Acceptable values are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_partial_update'.
#

PosthogApi.ModifyProjectEnvironment

Update a specific environment of a project. Use this tool to update the details of a specific environment within a project for the current organization. Ideal for modifying environment configurations or settings. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
environment_identifierintegerOptionalA unique integer identifying the environment or team to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project you want to access. Use /api/projects/ to find the Project ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_partial_update'.
#

PosthogApi.ModifyProxyRecord

Update partial details of a proxy record. Use this tool to partially update details of a proxy record within a specified organization. Suitable for modifying existing proxy records. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
proxy_record_idstringOptionalThe unique identifier for the proxy record to be updated. This is required to specify which record is being modified. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_idstringOptionalThe unique identifier for the organization. It determines the organization within which the proxy record needs to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'proxy_records_partial_update'.
#

PosthogApi.ModifyRecordingPlaylist

Update session recording playlists for a given project and ID. This tool updates session recording playlists by partially modifying the current resource. Use it when you need to change playlist details in a specific project environment. Each update logs a new view entry. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique ID of the project to access. Retrieve the ID via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
session_recording_short_idstringOptionalThe unique short identifier for the session recording playlist you want to update. Typically a concise string for quick reference. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recording_playlists_partial_update'.
#

PosthogApi.ModifySessionRecording

Update session recording details for a specific environment. Use this tool to update session recording information for a given project and session ID within a specific environment in Datadog. Call this tool when you need to modify the details of an existing session recording. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
session_recording_idstringOptionalA UUID string identifying the session recording to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProject ID to access. Obtain it via the /api/projects/ call. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recordings_update'.
#

PosthogApi.ModifySessionRecordingPlaylist

Update session recording playlists for a project. Use this tool to update existing session recording playlists within a specified project. This is typically used when changes to playlist details are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project you want to access. Retrieve the ID by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
playlist_short_identifierstringOptionalA unique identifier for the session recording playlist to be updated. It is used to specify the exact playlist within the project. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recording_playlists_update'.
#

PosthogApi.ModifyTableSchema

Update the schema of a warehouse table. Use this tool to modify the schema of an existing warehouse table in a specified project. Ideal for managing table structure changes such as adding or removing columns. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
table_idstringOptionalA UUID string to identify the data warehouse table for schema modification. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique Project ID for accessing the desired project. To obtain this ID, call /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_tables_update_schema_create'.
#

PosthogApi.ModifyUserAttribute

Update a specific property for a person in a project. Use this tool to update a property for a person within a specified project. This is useful for modifying attributes of a person using the Datadog API, such as user properties in an analytics context. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
property_keystringOptionalThe key for the property you want to update for the person. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
property_valuestringOptionalSpecify the value of the property to be updated for a person. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
person_identifierintegerOptionalA unique integer value used to identify the person whose property is being updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProject ID to access the relevant project. Retrieve it via `/api/projects/`. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format for the response. Use 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_update_property_create'.
#

PosthogApi.ModifyWarehouseQuery

Partially update a warehouse saved query in a project. Use this tool to apply partial updates to an existing warehouse saved query within the specified project. It is suitable for modifying specific attributes of a saved query without altering the entire dataset. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
query_identifierstringOptionalA UUID string that identifies the specific warehouse saved query to be partially updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID for the warehouse saved query. Obtain it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_partial_update'.
#

PosthogApi.ModifyWarehouseTable

Update a specific warehouse table's information. Use this tool to update details of a specific warehouse table within a given project environment in Datadog. Ideal for modifying existing warehouse table configurations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
warehouse_table_idstringOptionalA UUID string identifying the data warehouse table to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project you want to access. Retrieve via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_tables_update'.
#

PosthogApi.MoveDashboardTile

Move a tile's position in a specific dashboard. Use this tool to update the position of a tile within a specified dashboard environment in Datadog. This is useful when reorganizing dashboard layouts or customizing views. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_idintegerOptionalA unique integer value identifying this dashboard within Datadog. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe identifier for the project you want to access. Retrieve it by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecifies the desired format of the response data. Options are 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_move_tile_partial_update'.
#

PosthogApi.MoveFileSystemEntry

Moves a file system entry to a new location within the project. Use this tool to relocate a file or directory within a specified project in Datadog’s file system. It should be called when you need to change the location of a file system entry. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
file_system_idstringOptionalA UUID string identifying the file system to be moved within the project. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
target_project_idstringOptionalThe Project ID of the target project where the file system entry will be moved. Obtain this ID from the /api/projects/ endpoint if necessary. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_move_create'.
#

PosthogApi.MoveFileWithinEnvironment

Move a file within an environment's file system. Use this tool to move a file from one location to another within the file system of a specified environment in a project. It's useful for reorganizing content or changing file structures in the environment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
file_system_uuidstringOptionalA UUID string identifying the file system to move within the environment. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID for accessing the specific project environment. Obtain it via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_move_create'.
#

PosthogApi.NewSessionRecordingPlaylist

Create a new session recording playlist for a project. Use this tool to create a session recording playlist within a specified project by providing the project ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project for which you want to create a session recording playlist. Obtain this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recording_playlists_create'.
#

PosthogApi.PauseBatchExport

Pause a batch export operation. Use this tool to pause an ongoing batch export associated with a specific project and export ID. Suitable for temporarily halting data exports without cancelling them entirely. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string identifying the batch export to be paused. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe unique identifier for the project. Use /api/projects/ to find it. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_pause_create'.
#

PosthogApi.PersistFolderCreation

Create a new persisted folder in Datadog. Use this tool to create a new persisted folder within a specified project in Datadog. It is called when organizing or categorizing project assets in a dedicated folder is needed.

Parameters

ParameterTypeReq.Description
folder_categorystringRequiredSpecifies the type of the persisted folder. Options are 'home' for Home or 'pinned' for Pinned.
folder_creation_datestringRequiredThe date and time when the persisted folder is created, in ISO 8601 format.
folder_last_updatedstringRequiredA string representing the timestamp of the last update to the folder, in ISO 8601 format.
folder_typestringRequiredSpecifies the type of the folder. Possible values are 'home' for Home or 'pinned' for Pinned.
project_identifierstringRequiredThe unique identifier for the target project. Retrieve it via /api/projects/.
folder_pathstringOptionalSpecify the path where the persisted folder will be created within the project. It should be a string representing the directory structure needed.
folder_protocolstringOptionalSpecify the protocol for the persisted folder. Expected values are network protocol types like HTTP or FTP.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persisted_folder_create'.
#

PosthogApi.PersonActivityInfo

Retrieve details of a person's activities. Use this tool to get information on a person's activities within a specific project. Ideal for analyzing user engagement or actions in a project context. For creating or updating person details, consider using the capture API or relevant SDKs.

Parameters

ParameterTypeReq.Description
access_project_idstringRequiredThe ID of the project you want to access. Call /api/projects/ to find this ID.
response_formatstringOptionalSpecify the format for the response, either 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_activity_retrieve'.
#

PosthogApi.QueuePersonEventDeletion

Queue deletion of events for a person during non-peak hours. Use this tool to schedule the deletion of all events associated with a specific person in a project. This task is performed during non-peak hours to optimize performance. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
person_identifierintegerOptionalA unique integer value identifying the person whose events are to be deleted. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalUnique identifier for the project. Obtain via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format of the response. Choose either 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_delete_events_create'.
#

PosthogApi.QueuePersonEventsDeletion

Queue the deletion of all events for a specific person. This tool queues the deletion of all events associated with a specified person in a project. The deletion is scheduled to occur during non-peak hours, making it efficient for managing resources. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
person_identifierintegerOptionalA unique integer identifying the person whose events are to be deleted. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID needed to access the specific project. Obtainable via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
events_export_formatstringOptionalThe format in which to export events before deletion. Acceptable values are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_delete_events_create'.
#

PosthogApi.ReactivateBatchExport

Unpause a paused BatchExport in a project. This tool is used to unpause a previously paused BatchExport within a specified project. Call it to resume data export processes when needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_uuidstringOptionalA UUID string identifying this batch export to be unpaused. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access for unpausing the BatchExport. Make a call to /api/projects/ to find the project ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_unpause_create_2'.
#

PosthogApi.ReadOrDeletePerson

Read or delete a person's record in the environment. Use this tool to read or delete a person's record within a specific environment by providing the project and person ID. For creating or updating, refer to the capture API or SDKs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
person_idintegerOptionalUnique integer identifier for the person to read or delete. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalUnique identifier for the project to access. Retrieve via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalSpecify the format of the response. Choose between 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_split_create'.
#

PosthogApi.RecordInsightViews

Update the view timestamps for specified insights. Use this tool to update the view timestamps of specific insights by providing their IDs. This tool is helpful when tracking which insights have been viewed and updating their status within a given project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access. Retrieve the ID by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecifies the format of the response. Choose between 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_viewed_create'.
#

PosthogApi.RefreshDashboardSharing

Refresh a dashboard's sharing link in Datadog environments. Use this tool to refresh the sharing link for a specific dashboard within a Datadog environment. This is useful for updating the link to maintain access or to apply new sharing settings. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_idintegerOptionalThe unique integer ID of the Datadog dashboard to refresh the sharing link for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalSpecify the Project ID for accessing the desired project in Datadog. Retrieve it via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_sharing_refresh_create'.
#

PosthogApi.RefreshInsightSharing

Refresh the sharing settings of an insight. Use this tool to refresh the sharing settings for a specific insight within a project. This is useful when access permissions or sharing parameters need to be updated to reflect the latest configurations. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
insight_identifierintegerOptionalThe unique integer identifier for the insight to refresh sharing settings. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe Project ID to access. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_sharing_refresh_create'.
#

PosthogApi.RefreshInsightsSharing

Refresh sharing status of insights in a project. This tool is used to refresh the sharing status of insights within a specific project on Datadog. Ideal for when updates or changes need to be made visible to shared environments. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
insight_idintegerOptionalThe ID of the insight you want to refresh sharing for. This should be an integer. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Use /api/projects/ to find the project ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_sharing_refresh_create'.
#

PosthogApi.RefreshSessionRecordingSharing

Refreshes the sharing status of a session recording. Use this tool to refresh the sharing status of a specific session recording within a project environment. Call this when you need to renew access or update the sharing link of a session recording using its project and recording identifiers. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the project. Retrieve it using the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
session_recording_idstringOptionalThe unique identifier of the session recording to refresh sharing status. Required to specify which recording's sharing status to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recordings_sharing_refresh_create'.
#

PosthogApi.RefreshWarehouseTableSchema

Refresh the schema of a warehouse table. Use this tool to refresh the schema of a specific warehouse table in a given environment. It is useful for ensuring that the table's schema is up-to-date with any recent changes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
warehouse_table_uuidstringOptionalA UUID string identifying the specific data warehouse table. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. Obtain it by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_tables_refresh_schema_create'.
#

PosthogApi.RemoveBatchExport

Delete a batch export from an organization. Use this tool to delete a specific batch export from an organization in Datadog. It should be called when you need to remove outdated or unnecessary batch export records.

Parameters

ParameterTypeReq.Description
batch_export_idstringRequiredA UUID string that uniquely identifies the batch export to be deleted.
organization_idstringRequiredA string representing the unique identifier of the organization from which the batch export will be removed.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_destroy'.
#

PosthogApi.RemoveDashboard

Request the deletion of a specified dashboard. This tool triggers the deletion process for a specified dashboard in Datadog. Although it cannot hard delete, it sets the dashboard's status to 'deleted' using a PATCH request. Use when needing to deactivate or remove a dashboard.

Parameters

ParameterTypeReq.Description
dashboard_idintegerRequiredA unique integer identifying the dashboard to delete. Specify the ID for the target dashboard.
project_identifierstringRequiredThe unique ID of the project for accessing its dashboards. Retrieve it via /api/projects/.
response_formatstringOptionalSpecify the format of the response. Options are 'json' or 'txt'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_destroy'.
#

PosthogApi.RemoveDashboardCollaborator

Remove a collaborator from a dashboard in a specific environment. This tool removes a specified collaborator from a dashboard in a given environment using their unique user ID. Use this when you need to manage dashboard access by removing collaborators.

Parameters

ParameterTypeReq.Description
collaborator_user_uuidstringRequiredThe unique user ID of the collaborator to be removed from the dashboard.
dashboard_idintegerRequiredThe unique identifier of the dashboard from which you want to remove a collaborator. This should be an integer.
project_idstringRequiredID of the project to access. Retrieve the ID using the /api/projects/ endpoint if needed.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_collaborators_destroy'.
#

PosthogApi.RemoveDashboardSharingPassword

Remove a password from a dashboard's sharing configuration. This tool deletes a password used in the sharing configuration of a specified dashboard within a project. Call this tool to manage access by removing an existing password.

Parameters

ParameterTypeReq.Description
dashboard_identifierintegerRequiredThe unique identifier for the dashboard from which the password should be deleted. This is an integer value.
password_identifierstringRequiredThe unique identifier of the password to delete from the sharing configuration.
project_idstringRequiredThe unique identifier for the project you're trying to access. Obtain this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_sharing_passwords_destroy'.
#

PosthogApi.RemoveEarlyAccessFeature

Remove an early access feature from a project. Use this tool to delete an early access feature from a specific project. Useful for managing and updating project features.

Parameters

ParameterTypeReq.Description
early_access_feature_idstringRequiredA UUID string that identifies the specific early access feature to be removed.
project_id_for_removalstringRequiredProject ID to identify the project for accessing or removing the early access feature. Use the /api/projects/ endpoint to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'early_access_feature_destroy'.
#

PosthogApi.RemoveErrorSuppressionRule

Delete an error tracking suppression rule. Use this tool to delete a specific error tracking suppression rule in a given project environment within Datadog.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Use /api/projects/ to find it.
suppression_rule_uuidstringRequiredA UUID string that uniquely identifies the error tracking suppression rule to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_suppression_rules_destroy'.
#

PosthogApi.RemoveErrorTrackingRule

Delete an error tracking grouping rule in a project. Use this tool to delete a specific error tracking grouping rule within a Datadog environment by specifying the project and rule identifiers.

Parameters

ParameterTypeReq.Description
error_tracking_rule_idstringRequiredA UUID string identifying the specific error tracking grouping rule to be deleted.
project_identifierstringRequiredThe ID of the project to access. Obtain it using /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_grouping_rules_destroy'.
#

PosthogApi.RemoveFileSystemShortcut

Delete a file system shortcut from a project. This tool deletes a specific file system shortcut within a given project. Use it to remove unnecessary or outdated shortcuts from your project infrastructure.

Parameters

ParameterTypeReq.Description
file_system_shortcut_uuidstringRequiredA UUID string identifying the file system shortcut to delete.
project_identifierstringRequiredThe Project ID to access. Retrieve it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_shortcut_destroy'.
#

PosthogApi.RemoveFolder

Deletes a specified persisted folder from a project. Use this tool to delete a persisted folder from a specific project by specifying the project and folder IDs. This is useful for managing project resources and cleaning up unnecessary data.

Parameters

ParameterTypeReq.Description
persisted_folder_idstringRequiredA UUID string identifying the persisted folder to be deleted.
project_idstringRequiredThe ID of the project to access. Obtain this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persisted_folder_destroy'.
#

PosthogApi.RemoveHogFunction

Marks a HOG function as deleted in a Datadog project. Use this tool to mark a specific HOG function in a Datadog project as deleted. This is performed by setting the "deleted" attribute to true, as hard deletion is not permitted.

Parameters

ParameterTypeReq.Description
hog_function_idstringRequiredA UUID string identifying the HOG function to be marked as deleted.
project_id_for_deletionstringRequiredThe unique identifier of the project where the HOG function resides. Obtain by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_destroy'.
#

PosthogApi.RemoveOrganizationMember

Remove a member from an organization. Use this tool to delete a member from a specified organization by providing the organization ID and the user's UUID.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier for the organization from which the member is to be removed.
user_uuidstringRequiredThe unique identifier (UUID) of the user to be removed from the organization.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'members_destroy'.
#

PosthogApi.RemovePersonAttribute

Delete a specific property from a person's profile. Use this tool to delete a specific property from a person's profile in a project. Suitable for managing user data by removing unneeded properties. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
property_key_to_deletestringOptionalSpecify the property key you want to delete from a person's profile. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
person_identifierintegerOptionalA unique integer to identify the person whose property you want to delete. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project you want to access. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the desired format for the response. Can be 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_delete_property_create'.
#

PosthogApi.RemovePersonFromStaticCohort

Removes a person from a static cohort in a project. Use this tool to remove a person from a specific static cohort within a project. Useful for managing cohorts by updating their membership.

Parameters

ParameterTypeReq.Description
cohort_idintegerRequiredUnique integer ID for the specific cohort from which to remove the person.
project_idstringRequiredThe Project ID you want to access. Obtain it by calling /api/projects/.
person_uuid_to_removestringOptionalProvide the UUID of the person to remove from the cohort.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_remove_person_from_static_cohort_partial_update'.
#

PosthogApi.RemovePersonRecordings

Queue deletion of all recordings associated with a person. Use this tool to initiate the deletion process for all recordings related to a specific person within a project. It should be called when you need to remove all recording data for a given individual. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
person_identifierintegerOptionalA unique integer value used to identify the person whose recordings are to be deleted. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe unique identifier for the project. To obtain this ID, call /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
file_formatstringOptionalSpecify the format type for the output. Acceptable values are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_delete_recordings_create'.
#

PosthogApi.RemoveRoleMembership

Remove a role membership from an organization. Use this tool to delete a specific role membership for a user within an organization in Datadog. It should be called when you need to remove a user's membership from a particular role.

Parameters

ParameterTypeReq.Description
organization_identifierstringRequiredA string representing the unique identifier of the organization. Required to specify which organization the role membership belongs to.
role_idstringRequiredThe unique identifier for the role from which membership will be removed. It should be a valid UUID string.
role_membership_idstringRequiredA UUID string identifying the specific role membership to be removed.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'roles_role_memberships_destroy'.
#

PosthogApi.RemoveSessionRecording

Delete a session recording from an environment. Use this tool to delete a specific session recording in a project environment. Call it when you need to remove a session recording identified by its ID.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier for the project you want to access. Retrieve from /api/projects/.
session_recording_idstringRequiredA UUID string identifying the session recording to delete.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recordings_destroy'.
#

PosthogApi.RemoveSessionRecordingPlaylist

Soft delete a session recording playlist in a project. Use this tool to mark a session recording playlist as deleted within a specified project. This tool should be called when you need to remove access to a session recording playlist without permanently deleting its data.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Retrieve this by calling /api/projects/.
session_recording_playlist_short_idstringRequiredA unique short identifier for the session recording playlist to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recording_playlists_destroy'.
#

PosthogApi.RemoveSharingPassword

Delete a sharing configuration password from a session recording. Use to remove a specific password from the sharing configuration of a session recording in a given project.

Parameters

ParameterTypeReq.Description
password_identifierstringRequiredThe unique identifier for the password to be removed from the sharing configuration.
project_identifierstringRequiredThe unique ID of the project for accessing its session recordings. Retrieve this by calling /api/projects/.
session_recording_idstringRequiredThe ID of the session recording from which the password will be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recordings_sharing_passwords_destroy'.
#

PosthogApi.RemoveWarehouseTable

Delete a specified warehouse table from a project. Use this tool to remove a warehouse table from a specific project by providing the project and table identifiers.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Use /api/projects/ to find this ID.
warehouse_table_uuidstringRequiredA UUID string identifying the data warehouse table to be deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_tables_destroy'.
#

PosthogApi.ReorderAssignmentRules

Reorder error tracking assignment rules in a project environment. This tool allows reordering of assignment rules for error tracking within a specific project environment. Useful for prioritizing rules in Datadog environments.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe Project ID for accessing the desired project. Retrieve it using /api/projects/.
disable_rule_datastringOptionalSpecify whether rule data is disabled, using 'true' or 'false'.
rule_filtersstringOptionalA string containing conditions to filter assignment rules for reordering. Useful for applying specific criteria when reordering rules.
rule_idstringOptionalThe specific ID of the assignment rule to be reordered within the project environment.
rule_order_positionintegerOptionalThe new position for the assignment rule in the order list. Use an integer to specify the desired position.
target_assigneestringOptionalSpecifies the assignee for the error tracking rules in the project. This should be a valid user identifier in the Datadog environment.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_assignment_rules_reorder_partial_update'.
#

PosthogApi.ReorderErrorTrackingRules

Reorder error tracking grouping rules in a project. Use this tool to change the order of error tracking grouping rules within a specified project environment. Useful for prioritizing or restructuring how errors are grouped.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier for the project you wish to access. Obtainable via the /api/projects/ endpoint.
disabled_data_detailsstringOptionalSpecify details of the data to disable or modify. Format as a string describing which elements are affected.
error_grouping_filtersstringOptionalFilters to apply for selecting specific error tracking rules to reorder. This can include criteria like rule severity, type, etc.
error_tracking_rule_idstringOptionalUnique identifier for the error tracking rule you want to reorder.
new_order_keyintegerOptionalAn integer representing the new order position for the error tracking grouping rules.
rule_assigneestringOptionalAssign a person or role responsible for the error tracking grouping rule. Expected to be a string representing a user's name or identifier.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_grouping_rules_reorder_partial_update'.
#

PosthogApi.ReorderErrorTrackingSuppressionRules

Reorder error tracking suppression rules for a project. Use this tool to reorder suppression rules within a specified project's error tracking environment. This is essential for adjusting the priority or sequence of how errors are suppressed.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique ID of the project for which you want to reorder suppression rules. To locate the ID, make a call to /api/projects/.
error_tracking_filtersstringOptionalSpecify filter criteria to narrow down which suppression rules are reordered, using a string format.
new_order_keyintegerOptionalInteger representing the new order sequence for suppression rules in a project.
suppression_rule_idstringOptionalThe unique ID of the suppression rule you're reordering within the project.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_suppression_rules_reorder_partial_update'.
#

PosthogApi.RequestEmailVerification

Request an email verification for a user. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_request_email_verification_create'.
#

PosthogApi.ResetDistinctId

Reset a distinct_id for a deleted person. This tool resets a distinct_id for a person who has been deleted, allowing the distinct_id to be reused. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project to access. Retrieve this via the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format of the response. Options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_reset_person_distinct_id_create'.
#

PosthogApi.ResetPersonDistinctId

Reset a distinct_id for a deleted person to reuse it. This tool is used to reset a distinct_id associated with a deleted person in the specified project, allowing the distinct_id to be reused. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project you want to access. Use the /api/projects/ endpoint to retrieve available IDs. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the response format. Options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_reset_person_distinct_id_create'.
#

PosthogApi.ResetProjectEnvironmentToken

Resets the token for a specified project environment. Use this tool to reset the token for a specific environment within a project in the current organization. This is useful for refreshing security credentials or regenerating authentication tokens. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
environment_identifierintegerOptionalA unique integer value identifying the environment or team. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_reset_token_partial_update'.
#

PosthogApi.ResetProjectToken

Reset a project's token in the current organization. Use this tool to reset the token for a specific project within the current organization. It should be called when there's a need to update security or access settings for a project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idintegerOptionalA unique identifier for the project whose token will be reset. This is required to specify which project's token needs to be reset. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_idstringOptionalThe unique identifier for the organization in which the project is located. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'reset_token_partial_update'.
#

PosthogApi.ResumeBatchExport

Unpause a paused BatchExport for a given organization. Use this tool to resume a previously paused BatchExport for a specified organization. Ideal for situations where data export needs to be continued after a halt. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string identifying the batch export to unpause. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalA string representing the organization's unique identifier within Datadog. Required to specify which organization's BatchExport to unpause. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_unpause_create'.
#

PosthogApi.Retrieve2faStatus

Retrieve current 2FA status and backup codes if enabled. Use this tool to get the current two-factor authentication (2FA) status for a user, including backup codes if they are enabled. This is useful for verifying 2FA settings and ensuring backup options are available.

Parameters

ParameterTypeReq.Description
user_identifier_uuidstringRequiredA unique identifier for the user to retrieve the 2FA status. Typically a string of alphanumeric characters.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_two_factor_status_retrieve'.
#

PosthogApi.RetrieveAgentDefinition

Retrieve a specific agent definition by ID. Use this tool to obtain detailed information about a specific agent by providing its ID and the associated project ID.

Parameters

ParameterTypeReq.Description
agent_idstringRequiredThe unique identifier of the agent to retrieve. This ID specifies which agent's details to fetch.
project_idstringRequiredThe unique identifier for the project you want to access. Use the API call /api/projects/ to find the project ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'agents_retrieve'.
#

PosthogApi.RetrieveAppMetrics

Retrieve application metrics for a specific project environment. This tool retrieves application metrics for a specified project environment from Datadog. Use it to gain insights into application performance and operations for a given project ID and metric ID.

Parameters

ParameterTypeReq.Description
plugin_config_idintegerRequiredA unique integer value identifying the plugin configuration.
project_idstringRequiredA string representing the ID of the project to access metrics for. Obtain this ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_app_metrics_retrieve'.
#

PosthogApi.RetrieveAppMetricsErrorDetails

Retrieve detailed error metrics for a specific app. Use this tool to get detailed error metrics for a specific app within a project. It retrieves error details associated with application metrics.

Parameters

ParameterTypeReq.Description
plugin_config_idintegerRequiredA unique integer identifying the plugin configuration.
project_idstringRequiredString representing the Project ID to access. Obtain this ID via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_app_metrics_error_details_retrieve'.
#

PosthogApi.RetrieveAppMetricsExports

Retrieve historical app metrics exports for a project. This tool retrieves historical app metrics exports for a specific project and plugin configuration in Datadog. Call it when you need to access past metrics data for analysis or reporting.

Parameters

ParameterTypeReq.Description
plugin_configuration_idstringRequiredThe ID of the plugin configuration to retrieve metrics for. Ensure it matches the correct configuration in your Datadog setup.
project_id_of_the_posthog_projectstringRequiredThe ID of the Datadog project to access. Obtain it via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_app_metrics_historical_exports_retrieve'.
#

PosthogApi.RetrieveAppMetricsHistoricalExports

Retrieve historical export data for app metrics. This tool retrieves historical export data for app metrics using specified project and plugin configuration IDs. It should be called when detailed historical app metrics are needed for analysis or reporting.

Parameters

ParameterTypeReq.Description
export_idstringRequiredThe unique identifier for the specific app metrics export record to retrieve.
plugin_configuration_idstringRequiredThe ID for the plugin configuration to be used when retrieving app metrics. This is required to specify the context of the metrics data.
project_identifierstringRequiredProject ID to access the targeted project. Retrieve the ID using the /api/projects/ endpoint if needed.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'app_metrics_historical_exports_retrieve_2'.
#

PosthogApi.RetrieveBatchExportBackfill

Retrieve details of a batch export backfill. Use this tool to get information about a specific batch export backfill in a given environment using project ID, export ID, and backfill ID.

Parameters

ParameterTypeReq.Description
batch_export_backfill_uuidstringRequiredThe UUID identifying the specific batch export backfill to retrieve.
batch_export_identifierstringRequiredThe identifier for the specific batch export. Provide as a string to retrieve backfill details.
project_idstringRequiredThe unique ID of the project to access. Use /api/projects/ to retrieve the ID if unknown.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_backfills_retrieve'.
#

PosthogApi.RetrieveBatchExportDetails

Retrieve details of a specific batch export in an organization. Use this tool to get detailed information about a specific batch export within an organization using Datadog's API. Suitable when you need to access export data by providing organization and batch export IDs.

Parameters

ParameterTypeReq.Description
batch_export_idstringRequiredA UUID string identifying this specific batch export.
organization_idstringRequiredA unique identifier for the organization. Provide this to retrieve batch export details.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_retrieve'.
#

PosthogApi.RetrieveBatchExportLogs

Retrieve logs from a specific batch export. Use this tool to get logs from a specific batch export in an organization. Ideal for accessing logs related to specific export tasks.

Parameters

ParameterTypeReq.Description
batch_export_idstringRequiredA UUID string to identify the batch export for log retrieval.
organization_idstringRequiredA string representing the unique identifier of the organization. Required to retrieve specific batch export logs.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_logs_retrieve'.
#

PosthogApi.RetrieveBatchExportRun

Retrieve details of a specific batch export run. Use this tool to get detailed information about a specific batch export run within a project. It should be called when you need to analyze or review the results of a batch export operation in Datadog.

Parameters

ParameterTypeReq.Description
batch_export_idstringRequiredA unique string to identify the batch export run you want to retrieve details for.
batch_export_run_uuidstringRequiredA UUID string identifying the specific batch export run for detailed retrieval.
project_idstringRequiredProvide the Project ID to access the specific project. Use /api/projects/ to obtain the ID if unknown.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_runs_retrieve'.
#

PosthogApi.RetrieveBatchExportRunLogs

Retrieve logs for a specific batch export run. Use this tool to access logs associated with a specific run of a batch export in Datadog. Useful for monitoring and debugging batch export processes.

Parameters

ParameterTypeReq.Description
batch_export_identifierstringRequiredA unique identifier for the batch export. Necessary for retrieving logs for that specific export run.
batch_export_run_idstringRequiredA UUID string identifying this specific batch export run in Datadog.
project_idstringRequiredThe unique identifier for the project you want to access. Retrieve it by calling `/api/projects/`.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_runs_logs_retrieve'.
#

PosthogApi.RetrieveBatchExportsTest

Retrieve batch exports test details for an organization. Call this tool to obtain the details of a batch exports test for a specified organization in Datadog. It is useful to verify export configurations and ensure they are properly set up.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier for the organization to retrieve batch export test details.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_test_retrieve'.
#

PosthogApi.RetrieveBatchExportTests

Retrieve batch export test details for a project. Use this tool to get information on batch export tests for a specific project by providing the project ID.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Use the /api/projects/ endpoint to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_test_retrieve_2'.
#

PosthogApi.RetrieveClickupLists

Retrieve ClickUp lists for specific project integrations. Use this tool to fetch ClickUp lists linked to a given project's integrations. Ideal for obtaining detailed list information for environment integrations.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredUnique integer identifying the specific integration.
project_idstringRequiredThe unique ID of the project you want to access. Retrieve it via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_clickup_lists_retrieve'.
#

PosthogApi.RetrieveClickupSpaces

Retrieve ClickUp spaces for a specific integration. Use this tool to get a list of ClickUp spaces linked to a particular integration within a project. This is useful for managing or understanding the spaces connected to your integrations.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the integration to retrieve associated ClickUp spaces.
project_idstringRequiredThe ID of the project to access spaces for. Obtainable via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_clickup_spaces_retrieve'.
#

PosthogApi.RetrieveClickupWorkspaces

Retrieve ClickUp workspaces for a project integration. Use this tool to obtain the ClickUp workspaces associated with a specific project integration in Datadog. Ideal for checking or managing workspace details within the integration.

Parameters

ParameterTypeReq.Description
integration_unique_identifierintegerRequiredA unique integer identifying the integration for retrieving ClickUp workspaces.
project_idstringRequiredProject ID to access specific ClickUp workspaces. Obtain the ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_clickup_workspaces_retrieve'.
#

PosthogApi.RetrieveCohortActivity

Retrieve logs of cohort activity views. Fetches records of file system views on cohort data for a given project, logging each view as a GET request is made.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID to access specific cohort activity logs. Retrieve the ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_activity_retrieve'.
#

PosthogApi.RetrieveCohortCalculationHistory

Retrieve calculation history for a specific cohort. Use this tool to access the calculation history for a given cohort within a specific project. It helps track changes and updates over time.

Parameters

ParameterTypeReq.Description
cohort_idintegerRequiredA unique integer identifying the cohort to retrieve calculation history for.
project_idstringRequiredThe ID of the project you are accessing. Use /api/projects/ to find IDs.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_calculation_history_retrieve'.
#

PosthogApi.RetrieveCohortsData

Retrieve cohort details and access logs for a project. This tool retrieves details about cohorts and logs each system view access within a specified project. It should be called when you need to track file system interactions and get specific cohort data for analysis.

Parameters

ParameterTypeReq.Description
cohort_identifierintegerRequiredA unique integer that identifies the specific cohort you wish to retrieve data for.
project_idstringRequiredThe ID of the project to access. Obtain it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_retrieve'.
#

PosthogApi.RetrieveDashboardTemplate

Retrieve a specific dashboard template by ID. Use this tool to get information about a specific dashboard template in a project. This is helpful when you need details about how dashboards are set up or to confirm template configurations.

Parameters

ParameterTypeReq.Description
dashboard_template_uuidstringRequiredA UUID string identifying the dashboard template to retrieve.
project_identifierstringRequiredA string representing the ID of the project you want to access. Obtain it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboard_templates_retrieve'.
#

PosthogApi.RetrieveDashboardTemplateSchema

Retrieve JSON schema for dashboard templates. Call this tool to get the JSON schema details for dashboard templates in a specified project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredSpecify the Project ID for accessing the relevant dashboard template schema. Obtain the ID via the /api/projects/ endpoint if unknown.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboard_templates_json_schema_retrieve'.
#

PosthogApi.RetrieveDashboardTiles

Stream metadata and tiles of a dashboard. Stream dashboard metadata and tiles via Server-Sent Events, starting with metadata followed by tiles as they are rendered.

Parameters

ParameterTypeReq.Description
dashboard_idintegerRequiredA unique integer identifying the dashboard to stream metadata and tiles from.
project_idstringRequiredThe ID of the project to access. Obtainable via a call to /api/projects/.
response_formatstringOptionalSpecify the format of the streamed data. Options include 'json' and 'txt'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_stream_tiles_retrieve'.
#

PosthogApi.RetrieveDataColorTheme

Retrieve details of a specific data color theme. Use this tool to get detailed information about a specific data color theme for a given project. This is useful when you need to display or manage color themes within an application.

Parameters

ParameterTypeReq.Description
data_color_theme_idintegerRequiredA unique integer value identifying the specific data color theme to retrieve.
project_identifierstringRequiredThe unique ID of the project to access. Use /api/projects/ to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'data_color_themes_retrieve'.
#

PosthogApi.RetrieveDatasetInfo

Retrieve details of a specific dataset in a project. This tool fetches detailed information about a specific dataset within a given project when the project ID and dataset ID are provided.

Parameters

ParameterTypeReq.Description
dataset_identifierstringRequiredA UUID string identifying the specific dataset to retrieve.
project_identifierstringRequiredThe ID of the project to access. Use /api/projects/ to retrieve project IDs.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'datasets_retrieve'.
#

PosthogApi.RetrieveDatasetItem

Retrieve details of a specific dataset item. Use this tool to obtain information about a particular dataset item within a project. Useful for accessing specific data insights or details needed from Datadog's datasets.

Parameters

ParameterTypeReq.Description
dataset_item_idstringRequiredThe UUID identifying the specific dataset item to retrieve.
project_idstringRequiredThe ID of the project to access. Use '/api/projects/' to find this ID if needed.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dataset_items_retrieve'.
#

PosthogApi.RetrieveDefaultEvaluationTags

Retrieve default evaluation tags for a project environment. Fetches the default evaluation tags associated with a specified project environment in Datadog. Useful for managing and reviewing tags related to evaluations for team environments.

Parameters

ParameterTypeReq.Description
environment_idintegerRequiredA unique integer value identifying the environment or team for tag retrieval.
project_idstringRequiredThe unique identifier for the project. Retrieve the ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_default_evaluation_tags_retrieve'.
#

PosthogApi.RetrieveDomainDetails

Fetch details of a specific domain in an organization.

Parameters

ParameterTypeReq.Description
domain_idstringRequiredA UUID string identifying the specific domain.
organization_idstringRequiredA string representing the unique identifier for the organization to which the domain belongs. Required to retrieve domain details.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'domains_retrieve'.
#

PosthogApi.RetrieveDraftSqlQuery

Retrieve draft SQL query for a specific project. This tool retrieves the draft SQL query for a given project identified by its project ID. It is useful for obtaining the current draft version of SQL queries in development within a project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access for the draft SQL query. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'query_draft_sql_retrieve'.
#

PosthogApi.RetrieveEarlyAccessFeature

Retrieve information about an early access feature. Call this tool to get details about a specific early access feature in a project. Useful for tracking file system views related to the feature.

Parameters

ParameterTypeReq.Description
feature_uuidstringRequiredA UUID string identifying the early access feature to retrieve.
project_identifierstringRequiredThe unique ID of the project you want to access. Retrieve this by calling the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'early_access_feature_retrieve'.
#

PosthogApi.RetrieveEnvironmentBatchExport

Retrieve details of a specific environment batch export. Call this tool to fetch and retrieve details about a specific environment batch export using the project and export identifiers.

Parameters

ParameterTypeReq.Description
batch_export_uuidstringRequiredA UUID string identifying the specific batch export to retrieve details for.
project_idstringRequiredThe ID of the project to access. Retrieve via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_retrieve'.
#

PosthogApi.RetrieveEnvironmentBatchExportLogs

Retrieve logs from a specific environment batch export run. Use this tool to get logs from a specified batch export run within an environment. It requires details about the project, batch export, and run ID to locate the logs.

Parameters

ParameterTypeReq.Description
batch_export_identifierstringRequiredA string representing the unique identifier for the batch export.
batch_export_run_idstringRequiredA UUID string identifying the specific batch export run.
project_identifierstringRequiredThe unique Project ID needed to access the specific project. Retrieve this ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_runs_logs_retrieve'.
#

PosthogApi.RetrieveEnvironmentColorTheme

Retrieve color theme data for a specific environment. This tool retrieves detailed color theme data for a specified environment in a project. Use this tool when you need to access or display the visual theme settings of an environment in Datadog.

Parameters

ParameterTypeReq.Description
color_theme_idintegerRequiredA unique integer value identifying the data color theme for the environment.
project_identifierstringRequiredThe ID of the project whose environment color theme data is being accessed. Obtain it via `/api/projects/`.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_data_color_themes_retrieve'.
#

PosthogApi.RetrieveEnvironmentDataset

Retrieve a specific environment dataset by ID. Use this tool to retrieve detailed information about a specific environment dataset using the project and dataset IDs.

Parameters

ParameterTypeReq.Description
environment_dataset_idstringRequiredA UUID string identifying the specific environment dataset to retrieve.
project_idstringRequiredThe ID of the project you want to access. Use /api/projects/ to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_datasets_retrieve'.
#

PosthogApi.RetrieveEnvironmentDatasetItem

Retrieve a specific environment dataset item by ID. Use this tool to fetch details of a specific dataset item within an environment using the project and item IDs.

Parameters

ParameterTypeReq.Description
dataset_item_idstringRequiredA UUID string that identifies the specific dataset item to retrieve.
project_idstringRequiredThe unique identifier for the project to access. To find it, call /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dataset_items_retrieve'.
#

PosthogApi.RetrieveEnvironmentDraftSql

Retrieve draft SQL for a specific environment. This tool retrieves the draft SQL query for a specified project environment. It should be called when you need to access the draft SQL for analyzing or debugging purposes.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Obtain by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_query_draft_sql_retrieve'.
#

PosthogApi.RetrieveEnvironmentEvaluation

Retrieve details of a specific environment evaluation. Use this tool to get details about a specific environment evaluation by providing the project and evaluation IDs.

Parameters

ParameterTypeReq.Description
evaluation_idstringRequiredA UUID string that uniquely identifies the evaluation to be retrieved.
project_idstringRequiredThe unique identifier for the project to access. Use /api/projects/ to find it.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_evaluations_retrieve'.
#

PosthogApi.RetrieveEnvironmentEvent

Retrieve details of a specific environment event. Use this tool to fetch detailed information about a specific event within a given environment in your project using DataDog.

Parameters

ParameterTypeReq.Description
event_idstringRequiredThe unique identifier for the environment event you want to retrieve details for.
project_identifierstringRequiredThe unique ID of the project you want to access. Use /api/projects/ to obtain it if unknown.
response_formatstringOptionalSpecify the desired format of the response. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_events_retrieve'.
#

PosthogApi.RetrieveEnvironmentEventValues

Retrieve event values for a specific environment. This tool should be called to retrieve event values for a particular environment within a project. It requires the project ID to access the relevant environment data.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access environment data. Retrieve via /api/projects/.
output_formatstringOptionalSpecifies the format of the returned data. Use 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_events_values_retrieve'.
#

PosthogApi.RetrieveEnvironmentExportContent

Retrieve content of a specific environment export. Fetches the content of a specific export for a given environment using the project and export IDs. Use this to obtain detailed export information.

Parameters

ParameterTypeReq.Description
exported_asset_idintegerRequiredA unique integer value identifying the exported asset. Required to retrieve the specific environment export content.
project_identifierstringRequiredProject ID to access the desired project. Retrieve the ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_exports_content_retrieve'.
#

PosthogApi.RetrieveEnvironmentExportRun

Retrieve details of a specific environment export run. Call this tool to get information about a specific batch export run for an environment in a project on Datadog. Useful for tracking and checking the status of export operations.

Parameters

ParameterTypeReq.Description
batch_export_idstringRequiredA unique identifier for the batch export run. Provide the UUID identifying this export.
batch_export_run_idstringRequiredA UUID string identifying this specific batch export run for retrieval.
project_idstringRequiredThe unique identifier for the project you wish to access. Retrieve this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_runs_retrieve'.
#

PosthogApi.RetrieveEnvironmentExports

Retrieve details of an environment export in Datadog. Call this tool to get information about a specific environment export using its project ID and export ID.

Parameters

ParameterTypeReq.Description
export_idintegerRequiredA unique integer value identifying the exported asset to retrieve.
project_idstringRequiredThe ID of the project to access. Retrieve using /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_exports_retrieve'.
#

PosthogApi.RetrieveEnvironmentGroupActivity

Retrieve activity data for groups within an environment. Use this tool to access activity details for groups within a specific environment by providing the project ID. Ideal for monitoring or analyzing environment group activities.

Parameters

ParameterTypeReq.Description
group_type_indexintegerRequiredAn integer that specifies the type of group to find within the environment.
project_idstringRequiredProject ID required to access activity data for the specified environment group. Obtain this ID by making a call to /api/projects/.
user_id_for_group_retrievalstringRequiredSpecify the user ID to retrieve group activities for within a project.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_groups_activity_retrieve'.
#

PosthogApi.RetrieveEnvironmentHogFunctionIcons

Logs and retrieves hog function icons for a given environment. Use this tool to log a view and retrieve icons of hog functions for a specific environment using the project ID. It is useful for tracking and managing file system views associated with different environments.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Use /api/projects/ to find the correct ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_icons_retrieve'.
#

PosthogApi.RetrieveEnvironmentInsightActivity

Retrieve logs of views on environment insights. This tool retrieves logs of views on environment insights for a specific project and insight ID. It should be called when there's a need to track or analyze access activities on environment insights.

Parameters

ParameterTypeReq.Description
insight_idintegerRequiredA unique integer identifying the specific insight to retrieve logs for.
project_idstringRequiredThe unique ID of the project to access. Call /api/projects/ to retrieve it.
response_formatstringOptionalSpecify the format of the response. Allowed values are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_activity_retrieve_2'.
#

PosthogApi.RetrieveEnvironmentLogAttributes

Retrieve log attributes for a specific environment. This tool fetches details about log attributes for a specific environment using a given project ID. It is used to gain insights into the log data of different environments.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project whose environment log attributes you want to retrieve. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_logs_attributes_retrieve'.
#

PosthogApi.RetrieveEnvironmentLogs

Retrieve logs from environment batch exports. Fetch logs for a specific batch export within a given environment. This tool should be used when you need to access logs related to batch exports for diagnostic or reporting purposes.

Parameters

ParameterTypeReq.Description
batch_export_idstringRequiredA UUID string that specifies the batch export to retrieve logs for. This is a unique identifier for the log batch export.
project_idstringRequiredThe ID of the project to access for retrieving environment batch export logs. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_logs_retrieve'.
#

PosthogApi.RetrieveEnvironmentLogsValues

Fetch log values for a given environment and project. Call this tool to retrieve log values associated with a specific project environment using the provided project ID.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique ID of the project to access. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_logs_values_retrieve'.
#

PosthogApi.RetrieveEnvironmentPropertyDefinitions

Retrieve property definitions for environment groups. Use this tool to get property definitions for environment groups in your project, identified by project ID.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredProject ID for accessing environment groups. Use /api/projects/ to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_groups_property_definitions_retrieve'.
#

PosthogApi.RetrieveEnvironmentPropertyValues

Retrieve property values of environments within a project. This tool retrieves property values for environment groups within a specified project. It is useful when you need to access configuration or metadata associated with environments in a project.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique ID of the project to access. Retrieve this ID via a call to the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_groups_property_values_retrieve'.
#

PosthogApi.RetrieveEnvironmentQueryActivity

Retrieve activity details of a saved warehouse query. Call this tool to get the activity history for a specific saved query in a Datadog environment's warehouse. Use it when you need details about a query's activity by providing the relevant project and query IDs.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredProject ID for accessing the specific project. Retrieve it using /api/projects/.
query_idstringRequiredA UUID string identifying the data warehouse saved query for retrieving activity details.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_activity_retrieve'.
#

PosthogApi.RetrieveEnvironmentSessionProperties

Retrieve session property definitions for an environment. Use this tool to get property definitions related to sessions within a specified environment. Useful for accessing environment-specific session attribute information.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Obtain from calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_sessions_property_definitions_retrieve'.
#

PosthogApi.RetrieveErrorGroupingRules

Retrieve error tracking grouping rules for an environment. This tool retrieves error tracking grouping rules for a specified environment and project. It should be called when you need detailed information about the grouping rules applied to error tracking in a particular environment.

Parameters

ParameterTypeReq.Description
grouping_rule_idstringRequiredA UUID string identifying this specific error tracking grouping rule for retrieval.
project_id_for_accessstringRequiredThe ID of the project you are trying to access for retrieving error tracking grouping rules. Obtain using the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_grouping_rules_retrieve'.
#

PosthogApi.RetrieveErrorTrackingAssignmentRules

Retrieve error tracking assignment rules for a project. This tool retrieves information about specific error tracking assignment rules for a given project in Datadog. Call this tool to obtain details about assignment rules using the project and rule IDs.

Parameters

ParameterTypeReq.Description
error_tracking_rule_idstringRequiredA UUID identifying the error tracking assignment rule to retrieve.
project_idstringRequiredThe unique identifier for the project to access. Obtain this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_assignment_rules_retrieve'.
#

PosthogApi.RetrieveErrorTrackingRelease

Retrieves details of a specific error tracking release. Use this tool to obtain detailed information about a specific error tracking release within a project environment. Call this when you need insights into a particular release's error tracking data.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredProject ID to access specific error tracking release data. Obtainable via /api/projects/ call.
release_uuidstringRequiredA UUID string identifying the specific error tracking release to retrieve details for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_releases_retrieve'.
#

PosthogApi.RetrieveErrorTrackingReleaseHash

Retrieve details for a specific error tracking release hash.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtainable via a call to /api/projects/.
release_hash_idstringRequiredThe unique identifier for the error tracking release hash. This ID is necessary to retrieve the specific details.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_releases_hash_retrieve'.
#

PosthogApi.RetrieveErrorTrackingSymbolSet

Retrieve details of a specific error tracking symbol set. Use this tool to obtain detailed information about a specific error tracking symbol set for a project environment within Datadog.

Parameters

ParameterTypeReq.Description
error_tracking_symbol_set_uuidstringRequiredA UUID string identifying the specific error tracking symbol set to retrieve.
project_idstringRequiredProject ID for accessing the specified project. Use /api/projects/ to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_symbol_sets_retrieve'.
#

PosthogApi.RetrieveEventDefinition

Retrieve details of a specific event definition by ID. Use this tool to get detailed information about a specific event definition in a project by providing the project ID and event definition ID.

Parameters

ParameterTypeReq.Description
event_definition_idstringRequiredA UUID string identifying the specific event definition to retrieve.
project_idstringRequiredThe ID of the project to access. Find this by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'event_definitions_retrieve_2'.
#

PosthogApi.RetrieveEventDefinitionMetrics

Retrieve metrics for a specific event definition. This tool retrieves metrics associated with a specific event definition within a project. It is useful for analyzing or monitoring event-related data.

Parameters

ParameterTypeReq.Description
event_definition_idstringRequiredA UUID string identifying the specific event definition.
project_identifierstringRequiredThe unique ID of the project to access. Retrieve this via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'event_definitions_metrics_retrieve'.
#

PosthogApi.RetrieveEventDefinitions

Retrieve event definitions for a specified project. This tool is used to retrieve all event definitions associated with a given project ID from Datadog. It is helpful for monitoring or managing project events.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access event definitions. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'event_definitions_retrieve'.
#

PosthogApi.RetrieveEventDetails

Retrieve details of a specific event. Use this tool to get detailed information about a particular event by providing the project and event identifiers.

Parameters

ParameterTypeReq.Description
event_idstringRequiredThe unique identifier for the event you want to retrieve details about.
project_identifierstringRequiredThe ID of the project to access. Obtain it with a call to /api/projects/.
response_formatstringOptionalSpecifies the format of the response data. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'events_retrieve'.
#

PosthogApi.RetrieveEventValues

Retrieve event values for a specified project. This tool retrieves the event values for a specific project in DataDog. Call this tool when you need to access or analyze event-related data within a particular project context.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID to access specific event data. Obtain by calling /api/projects/.
output_formatstringOptionalSpecifies the format of the retrieved event values. Acceptable values are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'events_values_retrieve'.
#

PosthogApi.RetrieveExperimentMetrics

Retrieve saved experiment metrics from a project. Use this tool to fetch saved metrics for a specific experiment within a project. It is called when there's a need to obtain details about experiment metrics stored in Datadog.

Parameters

ParameterTypeReq.Description
experiment_metric_idintegerRequiredA unique integer value identifying the experiment's saved metric to retrieve.
project_identifierstringRequiredThe ID of the project for which you want to retrieve saved experiment metrics. Obtain this by making a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_saved_metrics_retrieve'.
#

PosthogApi.RetrieveExperimentsFlagStatus

Retrieve status of experiments requiring flag implementation. This tool retrieves information about experiments in a specific project that require flag implementation. It should be called when you need to track or manage feature flag dependencies in experiments.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access for flag implementation status retrieval. Obtain using /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_requires_flag_implementation_retrieve'.
#

PosthogApi.RetrieveExperimentTimeseries

Retrieve timeseries data for an experiment-metric pair. This tool retrieves timeseries results for a specified experiment and metric combination by aggregating daily results into a compatible format for frontend use. It requires the metric's UUID and its configuration fingerprint.

Parameters

ParameterTypeReq.Description
experiment_idintegerRequiredA unique integer identifying the experiment to retrieve timeseries data for.
project_idstringRequiredThe unique identifier for the project to access. Retrieve the ID with a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_timeseries_results_retrieve'.
#

PosthogApi.RetrieveExportedContent

Retrieve exported content from a specific project. Use this tool to obtain the exported content from a specified project in Datadog by providing the project ID and export ID.

Parameters

ParameterTypeReq.Description
exported_asset_idintegerRequiredA unique integer identifying the exported asset.
project_identifierstringRequiredThe ID of the project you want to access. Use /api/projects/ to find the project ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'exports_content_retrieve'.
#

PosthogApi.RetrieveFeatureFlagActivity

Retrieve activity details for a specific feature flag. Call this tool to get the activity details of a specific feature flag in a given project. Useful for monitoring changes and updates to feature flags.

Parameters

ParameterTypeReq.Description
feature_flag_idintegerRequiredA unique integer identifying the feature flag to retrieve activity for.
project_identifierstringRequiredUnique identifier for the project to access. Obtain from the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_activity_retrieve_2'.
#

PosthogApi.RetrieveFeatureFlagConfig

Retrieve remote configuration of a specific feature flag. This tool retrieves the remote configuration of a specified feature flag within a project. It should be called when you need to access feature flag settings to determine its behavior in your application.

Parameters

ParameterTypeReq.Description
feature_flag_identifierintegerRequiredThe unique integer that identifies the specific feature flag to retrieve.
project_identifierstringRequiredThe ID of the project to access. Use /api/projects/ to find the ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_remote_config_retrieve'.
#

PosthogApi.RetrieveFeatureFlags

Retrieve details of a specific feature flag. This tool retrieves information about a specific feature flag within a given project. It should be called when you need to check the status or properties of a feature flag. Use it to ensure feature flags are correctly set for specific users or conditions.

Parameters

ParameterTypeReq.Description
feature_flag_identifierintegerRequiredThe unique integer ID that identifies the specific feature flag to retrieve.
project_idstringRequiredID of the project to access. Retrieve by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_retrieve'.
#

PosthogApi.RetrieveFeatureFlagsActivity

Retrieve feature flags activity for a specific project. Use this tool to get the activity related to feature flags within a specified project. This can be useful for monitoring changes and updates to feature flags.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredUnique identifier for the project to retrieve feature flags activity. Obtainable via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_activity_retrieve'.
#

PosthogApi.RetrieveFeatureFlagsEvaluationReasons

Retrieve evaluation reasons for feature flags by project. Use this tool to get the evaluation reasons for feature flags associated with a specific project. This is helpful for understanding the behavior of feature flags for different users in your application.

Parameters

ParameterTypeReq.Description
project_id_for_feature_flagsstringRequiredThe ID of the project to access for retrieving feature flags evaluation reasons. Obtainable via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_evaluation_reasons_retrieve'.
#

PosthogApi.RetrieveFeatureFlagStatus

Retrieve the status of a specific feature flag for a project. This tool retrieves the status of a specific feature flag within a project. It should be called when you need to know whether a feature flag is enabled or its current status in a given project.

Parameters

ParameterTypeReq.Description
feature_flag_idintegerRequiredA unique integer identifying the feature flag whose status you want to retrieve.
project_identifierstringRequiredProject ID to access a specific project. Obtain by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_status_retrieve'.
#

PosthogApi.RetrieveFileSystemInfo

Retrieve detailed file system information for a project. This tool is used to retrieve detailed information about a file system associated with a given project. It's useful when needing to access specific file system details for analysis or reporting.

Parameters

ParameterTypeReq.Description
file_system_idstringRequiredA UUID string identifying the file system to retrieve details for.
project_idstringRequiredThe ID of the project to access. Get this ID by calling the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_retrieve'.
#

PosthogApi.RetrieveFileSystemShortcut

Retrieve details of a specific file system shortcut. This tool fetches details about a specific file system shortcut using the provided project ID and shortcut ID. It should be called when you need information about a particular file system shortcut in a project environment.

Parameters

ParameterTypeReq.Description
file_system_shortcut_idstringRequiredA UUID string identifying the specific file system shortcut to retrieve details for.
project_identifierstringRequiredThe unique Project ID needed to access the specific project. Obtain this by querying /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_shortcut_retrieve'.
#

PosthogApi.RetrieveGoogleAccessibleAccounts

Retrieve Google accessible accounts for a given integration. Use this tool to get a list of Google accessible accounts linked to a specific integration within a project environment. Call this when needing information about which Google accounts are accessible via the specified integration.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the integration.
project_idstringRequiredProject ID to access specific Google accounts. Obtain by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_google_accessible_accounts_retrieve'.
#

PosthogApi.RetrieveGoogleConversionData

Retrieve Google conversion actions for a specific project. Use this tool to obtain Google conversion actions associated with a given project in Datadog. This is useful for monitoring and analyzing conversion metrics within your integrated Google services.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the integration for which to retrieve Google conversion actions.
project_idstringRequiredThe ID of the project you wish to access. Use this to retrieve specific Google conversion actions. You can find the project ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_google_conversion_actions_retrieve'.
#

PosthogApi.RetrieveGroupActivity

Fetches activity data for specified project groups. This tool retrieves the activity information for groups within a specified project. It is useful for monitoring or analyzing group interactions and activities within a particular project scope.

Parameters

ParameterTypeReq.Description
group_type_idintegerRequiredThe numeric identifier for the group type to retrieve activity data.
project_identifierstringRequiredProject ID to access the specific group activity. Find this ID via the /api/projects/ endpoint.
user_id_for_group_retrievalstringRequiredSpecify the user ID to find associated groups for activity retrieval.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_activity_retrieve'.
#

PosthogApi.RetrieveGroupPropertyDefinitions

Retrieve group property definitions for a project. Call this tool to get a list of property definitions for a specific project group. Useful for viewing the properties associated with groups in a project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_property_definitions_retrieve'.
#

PosthogApi.RetrieveGroupPropertyValues

Retrieve property values for groups within a project. This tool retrieves property values for groups under a specified project in Datadog. It is useful when you need to access specific group configurations or data within a project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtain it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_property_values_retrieve'.
#

PosthogApi.RetrieveGroupTypeMetric

Retrieve metrics for a specific group type. Calls the Datadog API to retrieve detailed information about a specific metric within a specified group type for a project. Useful for monitoring and analyzing specific metrics in projects.

Parameters

ParameterTypeReq.Description
group_type_indexintegerRequiredAn integer representing the index of the group type to retrieve metrics for.
group_usage_metric_idstringRequiredA UUID string identifying this group usage metric to retrieve its details.
project_idstringRequiredThe ID of the project to access, retrievable via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_metrics_retrieve'.
#

PosthogApi.RetrieveHistoricalAppMetrics

Retrieve historical app metrics for a specific environment. This tool retrieves historical metrics data for a specific application's environment. It should be called when detailed analytics or historical performance data is needed for analysis or reporting.

Parameters

ParameterTypeReq.Description
export_idstringRequiredThe identifier of the historical export you want to retrieve. This should be a valid string corresponding to a specific export.
plugin_configuration_idstringRequiredThe ID of the plugin configuration to retrieve historical metrics for. This identifies which plugin's data you want to access.
project_idstringRequiredThe Project ID to access for retrieving historical app metrics. Obtain it via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_app_metrics_historical_exports_retrieve_2'.
#

PosthogApi.RetrieveHogFunctionIcon

Retrieve the icon for a specified hog function view access. This tool retrieves the icon associated with a particular hog function under a specified project in Datadog. It should be called when you need to access or display the hog function's icon for a given project ID. Each access is logged as a view.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtain it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_icon_retrieve'.
#

PosthogApi.RetrieveHogFunctionLogs

Retrieve logs for hog function views in an environment. Fetches logs related to views of a specific hog function within a project environment. It should be called to track file system views for specified functions.

Parameters

ParameterTypeReq.Description
hog_function_uuidstringRequiredA UUID string identifying the specific hog function to retrieve logs for.
project_identifierstringRequiredThe unique identifier for the project to access. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_logs_retrieve'.
#

PosthogApi.RetrieveHogFunctionMetrics

Retrieve hog function metrics for a specific environment. Use this tool to obtain metrics related to hog functions in a specified environment. It tracks and logs each GET request as a new view, providing insights into the file system's operation within the environment.

Parameters

ParameterTypeReq.Description
hog_function_uuidstringRequiredA UUID string identifying the specific hog function for which metrics are being retrieved.
project_identifierstringRequiredProject ID of the target project. Retrieve via /api/projects/ if unknown.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_metrics_retrieve'.
#

PosthogApi.RetrieveHogFunctionMetricsTotals

Retrieve total metrics for a specific HOG function. Use this tool to obtain total metrics data for a specified HOG function within a project environment. Useful for tracking metrics related to file system views.

Parameters

ParameterTypeReq.Description
hog_function_uuidstringRequiredA UUID string identifying the specific HOG function for which to retrieve metrics.
project_idstringRequiredThe ID of the project to access. Obtainable via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_metrics_totals_retrieve'.
#

PosthogApi.RetrieveInsightData

Retrieve tracked insights for project file system views. This tool retrieves tracked insights whenever a file system view in a project is accessed, logging each view occurrence.

Parameters

ParameterTypeReq.Description
insight_idintegerRequiredA unique integer identifying the specific insight to retrieve.
project_idstringRequiredProject ID to access. Obtain it by calling /api/projects/.
dashboard_context_idintegerOptionalID of the dashboard for context-specific insight. Filters and date range from this dashboard will be applied.
output_formatstringOptionalSpecifies the format for the retrieved insights data. Options are 'csv' or 'json'.
refresh_insight_strategystringOptionalDefines the strategy for refreshing the insight. Options include 'force_cache', 'blocking', 'async', 'lazy_async', 'force_blocking', and 'force_async', determining sync/async behavior and cache usage.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_retrieve'.
#

PosthogApi.RetrieveInsightsActivity

Retrieve insights activity logs for a specified project. Fetches activity logs each time a GET request is made to the specified project's insights activity resource. Useful for tracking file system views and understanding project interaction trends.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access insights activity data. Obtain by calling /api/projects/.
output_formatstringOptionalSpecify the format for the output: 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_activity_retrieve'.
#

PosthogApi.RetrieveIntegrationAuthorization

Retrieve integration authorization status for a project. Use this tool to check the authorization status of integrations within a specified project environment. It helps verify if integrations are correctly authorized in the Datadog environment for the given project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project you want to access. Obtain the ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_authorize_retrieve'.
#

PosthogApi.RetrieveIntegrationChannels

Retrieve integration channels for a specific project. Use this tool to get a list of integration channels associated with a specific project within Datadog environments. Provide the project and integration IDs to retrieve the relevant information.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the specific integration within Datadog.
project_idstringRequiredThe unique ID of the project you want to access. Obtain it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_channels_retrieve'.
#

PosthogApi.RetrieveIntegrationDetails

Retrieve integration details for a specific environment. Use this tool to fetch the details of a specific integration within a given environment in Datadog. It is useful for obtaining specific configuration and status information about an integration identified by its ID and project ID.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer value identifying the specific integration to retrieve.
project_identifierstringRequiredProject ID to access the specific environment. Retrieve it via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_retrieve'.
#

PosthogApi.RetrieveIntegrationTeams

Retrieve linear teams for an integration in a project. This tool fetches information about linear teams associated with a specific integration within a given project's environment. It is useful for getting insight into team configurations and integration details.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the integration to retrieve team details.
project_idstringRequiredThe ID of the project you want to access. Find this ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_linear_teams_retrieve'.
#

PosthogApi.RetrieveLastViewedInsights

Fetches the last 5 insights viewed, sorted by recency. This tool retrieves basic details about the last 5 insights viewed by the user, ordered with the most recent first. It is useful for accessing recent insights quickly.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access insights for. Use /api/projects/ to find the ID.
response_formatstringOptionalSpecifies the format of the returned data. Accepts 'csv' or 'json'. Defaults to 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_my_last_viewed_retrieve'.
#

PosthogApi.RetrieveLinearTeams

Fetch Linear team details for a specific integration. This tool retrieves information about Linear teams associated with a specific project and integration.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the specific integration to retrieve Linear team details.
project_identifierstringRequiredThe ID of the project to access. Obtain it through the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_linear_teams_retrieve'.
#

PosthogApi.RetrieveLinkedinAdsAccounts

Retrieve LinkedIn Ads accounts for a project integration. This tool retrieves LinkedIn Ads account details for a specified project integration in Datadog. Use it to access LinkedIn Ads accounts associated with a given project to manage or analyze ad campaigns.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the LinkedIn integration for the project.
project_idstringRequiredUnique ID of the project for accessing LinkedIn Ads accounts. Obtainable by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_linkedin_ads_accounts_retrieve'.
#

PosthogApi.RetrieveLinkedinAdsConversionRules

Retrieve LinkedIn Ads conversion rules for a project. Use this tool to get the LinkedIn Ads conversion rules associated with a specific project in Datadog. It should be called when you need information about conversion rules linked to your LinkedIn Ads integrations.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer identifying the LinkedIn Ads integration to retrieve conversion rules for.
project_idstringRequiredThe ID of the project for which you want to retrieve LinkedIn Ads conversion rules. Obtain this ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_linkedin_ads_conversion_rules_retrieve'.
#

PosthogApi.RetrieveLocalFeatureFlags

Retrieve feature flags for local evaluation in a project. Call this tool to check if feature flags are enabled for a specific project. Useful for applications using local feature flag evaluations.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access feature flags for. Retrieve this ID via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_local_evaluation_retrieve'.
#

PosthogApi.RetrieveLogAttributes

Retrieve log attributes for a specific project. This tool retrieves log attributes for a specified project using its project ID. It should be called when detailed insights into log data attributes are needed for analysis or reporting.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Obtainable via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'logs_attributes_retrieve'.
#

PosthogApi.RetrieveLogExports

Retrieve logs from batch exports by project and export ID. Use this tool to retrieve logs from batch exports by specifying the project ID and export ID. Ideal for monitoring and reviewing log outputs.

Parameters

ParameterTypeReq.Description
batch_export_idstringRequiredA UUID specifying the batch export to retrieve logs from.
project_idstringRequiredProject ID for accessing the specific project. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_logs_retrieve_2'.
#

PosthogApi.RetrieveLogsForFileSystemViews

Retrieves logs for tracked file system views. Use this tool to retrieve logs that track each GET request on a specified file system resource within a project. This is useful for monitoring access patterns and resource usage.

Parameters

ParameterTypeReq.Description
hog_function_uuidstringRequiredA UUID string identifying the specific hog function to retrieve logs for.
project_identifierstringRequiredA string representing the Project ID for access. Call /api/projects/ to find the ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_logs_retrieve'.
#

PosthogApi.RetrieveLogValues

Retrieve log values for a specified project. Use this tool to fetch log values associated with a specific project. It should be called when you need to analyze or view log data for monitoring or troubleshooting purposes.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to retrieve logs from. Obtain the project ID via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'logs_values_retrieve'.
#

PosthogApi.RetrieveMemberScopedApiKeys

Retrieve scoped API keys for a member in an organization. This tool should be called to obtain the scoped API keys associated with a specific member within an organization on Datadog. It is useful for managing and auditing access permissions.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier for the organization whose member's scoped API keys are to be retrieved.
user_uuidstringRequiredThe unique identifier for the user within the organization. This is required to retrieve their scoped API keys.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'members_scoped_api_keys_retrieve'.
#

PosthogApi.RetrieveNotebookActivity

Retrieve activity details of a specific notebook. Use this tool to get the activity details of a notebook within a specific project on Datadog. This is useful for monitoring changes and interactions with the notebook. Note that this feature is in early access and may undergo changes.

Parameters

ParameterTypeReq.Description
notebook_short_idstringRequiredThe unique short identifier of the notebook for which activity details are requested. Used to specify the exact notebook within the project.
project_idstringRequiredThe ID of the project you're trying to access. Obtain it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'notebooks_activity_retrieve_2'.
#

PosthogApi.RetrieveNotebookComments

Retrieve comments from notebook recordings in a project. Use this tool to get comments from notebook recordings within a specified project using Datadog's API.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredProvide the Project ID to access specific notebook comments. Use /api/projects/ to find the ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'notebooks_recording_comments_retrieve'.
#

PosthogApi.RetrieveNotebookDetails

Retrieve details of a specific notebook. Use this tool to get details of a notebook using its project ID and notebook short ID. This can be useful for accessing notebook content or metadata.

Parameters

ParameterTypeReq.Description
notebook_short_idstringRequiredThe short ID of the notebook you want to retrieve details for. This is required to specify the notebook within the project.
project_identifierstringRequiredProject ID to access specific project details. Obtain via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'notebooks_retrieve'.
#

PosthogApi.RetrievePersistedEnvironmentFolder

Retrieve details of a persisted environment folder by ID. Use this tool to obtain information about a specific persisted folder within an environment, identified by its project ID and folder ID.

Parameters

ParameterTypeReq.Description
persisted_folder_idstringRequiredA UUID string identifying the persisted folder to retrieve.
project_identifierstringRequiredThe unique identifier for the project related to the persisted folder. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persisted_folder_retrieve'.
#

PosthogApi.RetrievePersistedFolder

Retrieve a specific persisted folder within a project. This tool retrieves the details of a persisted folder by using the project and folder IDs. Call this tool when you need information about a particular persisted folder within a specified project.

Parameters

ParameterTypeReq.Description
persisted_folder_uuidstringRequiredA UUID string identifying the persisted folder to be retrieved.
project_idstringRequiredThe unique identifier for the project to access the persisted folder. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persisted_folder_retrieve'.
#

PosthogApi.RetrievePersonActivity

Retrieve a person's activity from the environment. Use this tool to obtain information about a person's activity in a specific project environment by specifying the project and person IDs.

Parameters

ParameterTypeReq.Description
person_idintegerRequiredA unique integer identifying the person whose activity you want to retrieve.
project_idstringRequiredProject ID to access. Obtain by calling /api/projects/.
output_formatstringOptionalSpecify the output format for the data, either 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_activity_retrieve_2'.
#

PosthogApi.RetrievePersonData

Retrieve detailed information about a specific person. Use this tool to access detailed information about a person in a specific project. It's suitable for reading existing person data within the specified project context.

Parameters

ParameterTypeReq.Description
person_identifierintegerRequiredUnique integer identifying the person to retrieve information for.
project_idstringRequiredThe ID of the project for accessing specific person data. Obtain it via /api/projects/.
output_formatstringOptionalSpecify the format in which to retrieve the person data. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_retrieve'.
#

PosthogApi.RetrievePersonDetails

Retrieve details of a specific person in a project. This tool calls the API to retrieve details about a person identified by their ID within a specific project environment. It is useful for fetching information about individuals to analyze or review their data.

Parameters

ParameterTypeReq.Description
person_idintegerRequiredUnique integer identifying the person to retrieve details for.
project_identifierstringRequiredThe ID of the project to retrieve the person's details. Obtainable via a call to /api/projects/.
response_formatstringOptionalSpecify the format for the response data. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_retrieve'.
#

PosthogApi.RetrievePersonPropertiesTimeline

Retrieve the timeline of a person's properties changes. Use this tool to fetch the timeline of changes to a person's properties within a project. This is useful for understanding how a person's attributes have changed over time.

Parameters

ParameterTypeReq.Description
person_idintegerRequiredA unique integer value identifying this person.
project_idstringRequiredThe unique identifier for the project you're trying to access. Obtain it via a call to /api/projects/.
response_formatstringOptionalSpecify the format of the response. Accepted values are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_properties_timeline_retrieve'.
#

PosthogApi.RetrievePersonPropertyTimeline

Retrieve timeline of property changes for a person. Use this tool to obtain the timeline of changes to a person's properties in a specified environment. Useful for tracking modifications over time.

Parameters

ParameterTypeReq.Description
person_identifierintegerRequiredUnique integer value for identifying the person.
project_idstringRequiredThe ID of the project to access. Obtainable via a call to /api/projects/.
output_formatstringOptionalSpecify the format of the data to be retrieved. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_properties_timeline_retrieve'.
#

PosthogApi.RetrievePersonsCohorts

Retrieve persons cohort data from specified environments. This tool retrieves persons cohort data from a specified environment using the project ID. It does not support creation or updating of persons, which should be done using the capture API or other SDKs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID for accessing the specified cohort data. Obtain this by calling /api/projects/.
response_formatstringOptionalSpecifies the format of the response. Supported values are 'csv' and 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_cohorts_retrieve'.
#

PosthogApi.RetrievePersonsData

Retrieve information about persons in a specified environment. Use this tool to access data about persons within a specific project environment. It is intended for reading existing data. For creating or updating persons, refer to the CAPTURE API or SDKs.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique Project ID required to access the specific environment. Obtainable via /api/projects/.
response_formatstringOptionalSpecifies the format in which the response should be returned. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_values_retrieve'.
#

PosthogApi.RetrievePersonsFunnel

Retrieve persons data for a project funnel. This tool retrieves information about persons in a project's funnel using a specified project ID. It's useful for understanding and analyzing the flow of individuals within the funnel in a project context.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Find it by calling /api/projects/.
output_formatstringOptionalSpecify the desired output format. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_funnel_retrieve'.
#

PosthogApi.RetrievePersonsFunnelCorrelation

Retrieve persons related to funnel correlation in an environment. Use this tool to access information about persons in relation to funnel correlations within a specified project environment. Ideal for analyzing user behavior and interactions concerning specific funnels.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Retrieve using /api/projects/.
response_formatstringOptionalSpecifies the format of the response. Acceptable values are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_funnel_correlation_retrieve'.
#

PosthogApi.RetrievePersonsLifecycle

Retrieve lifecycle details of persons in a project. Use this tool to retrieve lifecycle information of persons within a specified project. This tool is for reading lifecycle data. For modifications, consider using other API options like the capture API, `$set`, `$unset`, or SDKs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier of the project to access. Use /api/projects/ to find this ID.
response_formatstringOptionalSpecify the format of the response data. Choose either 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_lifecycle_retrieve'.
#

PosthogApi.RetrievePersonsStickiness

Retrieve information about persons' stickiness in a project. Use this tool to retrieve data on how often individuals engage with a platform within a specified project. This endpoint provides insights into user behavior patterns. For creating or updating persons, consider other APIs or SDKs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier of the project to access. Retrieve by calling /api/projects/.
response_formatstringOptionalDetermines the format of the response. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_stickiness_retrieve'.
#

PosthogApi.RetrievePersonStickiness

Retrieve stickiness data for persons in a project environment. This tool retrieves data on the stickiness of persons within a specified project environment based on unique project identifiers. It is used for analyzing patterns of user engagement and retention.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique Project ID needed to access stickiness data. Obtainable via a call to /api/projects/.
response_formatstringOptionalSpecifies the format of the response data. Available options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_stickiness_retrieve'.
#

PosthogApi.RetrievePersonsTrends

Retrieve trends data for persons in a specified environment. Use this tool to obtain trends data related to persons within a given project environment. Ideal for reading current trends in person data for analysis. For creating or updating person data, refer to the capture API or SDKs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access for retrieving person trends. Obtain this by calling /api/projects/.
response_formatstringOptionalSpecify the format of the response: 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_trends_retrieve'.
#

PosthogApi.RetrievePosthogBatchExports

Retrieve specific Datadog batch export details. Use this tool to retrieve details of a specific batch export from Datadog by providing the project and export IDs.

Parameters

ParameterTypeReq.Description
batch_export_idstringRequiredA UUID string that uniquely identifies the batch export in Datadog.
project_idstringRequiredThe ID of the project you want to access. Call /api/projects/ to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_retrieve_2'.
#

PosthogApi.RetrievePosthogEndpointRun

Retrieve details of a specific Datadog endpoint run. This tool retrieves information about a specific run of a Datadog endpoint for a given project and endpoint name. It should be called when you need to access details of an endpoint run using project and endpoint identifiers.

Parameters

ParameterTypeReq.Description
endpoint_namestringRequiredThe name of the Datadog endpoint to retrieve details for. This specifies which endpoint's run details you want to access.
project_identifierstringRequiredThe ID of the project to access. Obtainable via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'endpoints_run_retrieve'.
#

PosthogApi.RetrieveProjectAction

Retrieve logs for a specific project action. Use this tool to obtain logs for a specific action within a project. Each retrieval provides a log of the file system views related to that action.

Parameters

ParameterTypeReq.Description
action_idintegerRequiredUnique integer identifying the specific action to retrieve logs for.
project_idstringRequiredThe ID of the project to access. Use /api/projects/ to find this ID.
response_formatstringOptionalSpecify the format for the response data. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'actions_retrieve'.
#

PosthogApi.RetrieveProjectActivity

Retrieve project activity for a specific organization and project. Use this tool to get detailed activities for a specific project within a given organization on Datadog. It's useful for monitoring and analyzing project-related activities.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier of the organization for which to retrieve project activity.
project_idintegerRequiredA unique integer value identifying the specific project to retrieve activity for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'activity_retrieve'.
#

PosthogApi.RetrieveProjectAnnotation

Retrieve details of a specific annotation by ID. Call this tool to get detailed information about an annotation in a specific project on Datadog. This can be useful to view or verify the details of annotations used in project analysis.

Parameters

ParameterTypeReq.Description
annotation_idintegerRequiredA unique integer identifying the specific annotation to retrieve from a project.
project_identifierstringRequiredProject ID to access the desired project in Datadog. Obtainable via `/api/projects/`.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'annotations_retrieve'.
#

PosthogApi.RetrieveProjectExport

Retrieve data of a specific project export. Use this tool to get export data for a specific project by providing the project and export IDs.

Parameters

ParameterTypeReq.Description
export_idintegerRequiredUnique integer to identify the exported asset.
project_idstringRequiredThe ID of the project to access. Use /api/projects/ to find the project ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'exports_retrieve'.
#

PosthogApi.RetrieveProjectGroups

Retrieve group details for a specific project. This tool retrieves details of groups associated with a specific project. It should be called when there is a need to obtain information about project groups using a specified project ID.

Parameters

ParameterTypeReq.Description
group_key_to_findstringRequiredSpecify the key of the group you want to find. This is used to identify the specific group within the project.
group_type_indexintegerRequiredSpecify the integer index for the group type you want to find within a project.
project_idstringRequiredThe unique identifier for the project to access group details. Obtainable via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_find_retrieve'.
#

PosthogApi.RetrieveProjectHogFunction

Retrieve details of a hog function in a project. Use this tool to get detailed information about a specific hog function within a given project in Datadog. This tool helps in tracking file system views by logging each GET request as a new view.

Parameters

ParameterTypeReq.Description
hog_function_idstringRequiredA UUID string identifying the specific hog function to retrieve.
project_identifierstringRequiredThe unique ID of the project you want to access. Retrieve it via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_retrieve'.
#

PosthogApi.RetrieveProjectIcons

Retrieve and log views of project icons. Use this tool to retrieve icons for a specific project and log each retrieval as a system view.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project you want to access. Retrieve it using /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_icons_retrieve'.
#

PosthogApi.RetrieveProjectSessionValues

Retrieve session values for a specific project. This tool is used to retrieve session values for a given project by its ID. It should be called when users need detailed session data from a specific DataDog project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID to access session values. Obtain it via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'sessions_values_retrieve'.
#

PosthogApi.RetrievePropertyDefinitions

Retrieve details of property definitions for a given project. Use this tool to get information about specific property definitions within a project by providing the project ID and property definition ID.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Retrieve it via /api/projects/.
property_definition_idstringRequiredA UUID string identifying the specific property definition.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'property_definitions_retrieve'.
#

PosthogApi.RetrieveProxyRecord

Retrieve details of a specific proxy record. Fetch detailed information about a specific proxy record within an organization using the organization ID and record ID.

Parameters

ParameterTypeReq.Description
organization_idstringRequiredThe unique identifier for the organization whose proxy record you want to retrieve.
proxy_record_idstringRequiredThe unique identifier for the proxy record to be retrieved.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'proxy_records_retrieve'.
#

PosthogApi.RetrieveQueryFromProject

Retrieve a specific query from a project. Use this tool to obtain detailed information about a specific query associated with a project in Datadog. It is particularly useful for fetching query details using a project and query identifier.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier of the project you want to access. Obtainable via a call to /api/projects/.
query_idstringRequiredThe unique identifier of the query you want to retrieve from the project. This is required to specify which query to access.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'query_retrieve'.
#

PosthogApi.RetrieveQueryLogDetails

Retrieve query log details for a given query ID. Use this tool to fetch detailed query log information from the query_log_archive table for a specific query_id. The query must have been issued within the last 24 hours.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project. Call /api/projects/ to find it.
query_idstringRequiredThe unique identifier for the query issued in the last 24 hours to retrieve its log details.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_query_log_retrieve'.
#

PosthogApi.RetrieveRecentlyViewedInsights

Retrieve details of the last 5 insights viewed by the user. Use this tool to get the most recently viewed insights, with up to 5 insights returned in the order they were accessed. Ideal for quickly accessing an overview of your recent insights.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID for accessing the specific project insights. Obtainable via `/api/projects/`.
response_formatstringOptionalSpecify the format of the returned data. Options are 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_my_last_viewed_retrieve'.
#

PosthogApi.RetrieveRecordingPlaylist

Retrieve a session recording playlist for a project. Use this tool to get details about a specific session recording playlist by providing the project and playlist IDs. It is helpful for tracking and viewing file system interactions related to sessions.

Parameters

ParameterTypeReq.Description
playlist_short_idstringRequiredThe short ID of the session recording playlist to retrieve. This helps identify the specific playlist to fetch.
project_idstringRequiredThe ID of the project to access. Retrieve it by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recording_playlists_retrieve'.
#

PosthogApi.RetrieveRecordingPlaylistViews

Retrieve and log views of session recording playlists. Use this tool to track and retrieve logs each time a session recording playlist is viewed. It helps in monitoring how often and by whom the playlists are accessed.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID to access specific recording playlists. Use /api/projects/ to find the ID.
recording_short_idstringRequiredThe short identifier of the recording playlist to retrieve views for. Required for accessing specific recordings.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recording_playlists_recordings_retrieve'.
#

PosthogApi.RetrieveRelatedGroups

Retrieve related groups for a specific project in Datadog. Use this tool to get information on groups related to a specified project within Datadog. This can help in understanding project group associations and dependencies.

Parameters

ParameterTypeReq.Description
group_type_indexintegerRequiredThe index specifying the type of group to find.
project_idstringRequiredThe ID of the project to access. Obtainable via the /api/projects/ endpoint.
user_id_to_find_groupsstringRequiredThe ID of the user to find related groups for within a specified project. It should be a string value.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_related_retrieve'.
#

PosthogApi.RetrieveRoleDetails

Retrieve details of a specific role within an organization. This tool retrieves detailed information about a specific role within an organization using the role ID. It should be called when you need to understand the responsibilities and permissions associated with a specific role.

Parameters

ParameterTypeReq.Description
organization_identifierstringRequiredA string that uniquely identifies the organization within which the role is being retrieved. Required to ensure that the role details correspond to the correct organization.
role_idstringRequiredA UUID string to identify the specific role within the organization.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'roles_retrieve'.
#

PosthogApi.RetrieveSavedQueryActivity

Retrieve activity details of a saved warehouse query. Use this tool to retrieve details about the activity related to a saved query in the warehouse. It's helpful for monitoring and managing query activities within a project.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe identifier for the project you want to access. Retrieve it via /api/projects/.
saved_query_idstringRequiredThe UUID of the data warehouse saved query to retrieve activity details for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_activity_retrieve'.
#

PosthogApi.RetrieveSessionPropertyDefinitions

Retrieve definitions of session properties for a project. Use this tool to get detailed information about session property definitions for a specific project in Datadog. Ideal for understanding the attributes of each session.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access session property definitions. Obtainable via the /api/projects/ call.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'sessions_property_definitions_retrieve'.
#

PosthogApi.RetrieveSessionRecording

Retrieve a specific session recording by ID. Use this tool to retrieve details of a specific session recording within a given project environment on Datadog. It should be called when details of a session recording are needed, such as in monitoring or analysis tasks.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the Datadog project to access. Obtain it by calling /api/projects/.
session_recording_idstringRequiredA UUID string identifying the specific session recording to retrieve.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recordings_retrieve'.
#

PosthogApi.RetrieveSessionRecordingPlaylists

Retrieve a session recording playlist for a specific project. This tool retrieves session recording playlist details by accessing the specified project and playlist IDs. It should be called when you need information about a particular session recording playlist in an environment.

Parameters

ParameterTypeReq.Description
playlist_short_idstringRequiredThe short identifier of the session recording playlist to retrieve. Required for accessing specific playlist details.
project_idstringRequiredThe unique identifier of the project to access. Obtain this ID from the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recording_playlists_retrieve'.
#

PosthogApi.RetrieveSessionRecordings

Retrieve session recordings for a specified playlist. Use this tool to get session recordings from a specified session recording playlist in an environment by providing the project and playlist identifiers.

Parameters

ParameterTypeReq.Description
playlist_short_idstringRequiredThe unique short ID of the session recording playlist to retrieve recordings from.
project_idstringRequiredThe unique ID of the project. Obtain this by calling the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recording_playlists_recordings_retrieve'.
#

PosthogApi.RetrieveSubscriptionDetails

Retrieve details of a project's subscription environment. Fetch information related to a specific subscription within a project's environment using the project ID and subscription ID.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier for the project you want to access. Obtain by calling /api/projects/.
subscription_idintegerRequiredA unique integer value identifying the subscription to retrieve details for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_subscriptions_retrieve'.
#

PosthogApi.RetrieveSurveyData

Retrieve data for a specific survey using project and survey IDs. Call this tool to get detailed information about a specific survey by providing the project and survey identifiers. Useful for tracking survey views or accessing specific survey details.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Retrieve it via /api/projects/ if unknown.
survey_uuidstringRequiredA UUID string identifying the specific survey to be retrieved.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_retrieve'.
#

PosthogApi.RetrieveTwilioPhoneNumbers

Retrieve Twilio phone numbers for a specific integration. Use this tool to obtain the list of Twilio phone numbers associated with a specific integration in a project. It's useful for managing or auditing phone numbers linked to Twilio integrations.

Parameters

ParameterTypeReq.Description
integration_idintegerRequiredA unique integer value identifying this Twilio integration to retrieve phone numbers for.
project_id_for_twilio_integrationstringRequiredThe ID of the project to access Twilio phone numbers. Obtainable via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'integrations_twilio_phone_numbers_retrieve'.
#

PosthogApi.RetrieveUnfiledFiles

Retrieve unfiled files for a specific project. This tool retrieves unfiled files within a specified project using the Datadog API. It should be called when there is a need to access files that have not been organized into folders for a given project.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique identifier for the project whose unfiled files you want to retrieve. Make a call to /api/projects/ to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_unfiled_retrieve'.
#

PosthogApi.RetrieveUnfiledFileSystemItems

Retrieve unfiled file system items for a project. Use this tool to access unfiled file system items within a specified project environment on Datadog.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the specific project whose unfiled file system items you want to retrieve. To obtain this ID, call /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_unfiled_retrieve'.
#

PosthogApi.RetrieveUser2faSetupStatus

Retrieve a user's two-factor authentication setup status. This tool retrieves the current status of a user's two-factor authentication setup. It should be called when you need to check if a user has initiated the setup of two-factor authentication.

Parameters

ParameterTypeReq.Description
user_identifierstringRequiredA unique identifier for the user whose two-factor authentication setup status is being retrieved. This is typically a UUID string.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_two_factor_start_setup_retrieve'.
#

PosthogApi.RetrieveUserHedgehogConfig

Retrieve a user's hedgehog configuration details. This tool fetches the hedgehog configuration for a specific user using their UUID. It should be called when you need to access the user's hedgehog settings.

Parameters

ParameterTypeReq.Description
user_uuidstringRequiredThe unique UUID of the user whose hedgehog configuration details are to be retrieved.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_hedgehog_config_retrieve'.
#

PosthogApi.RetrieveUserInformation

Retrieve detailed information about a specific user. Use this tool to get detailed information about a specific user in Datadog by providing their unique identifier.

Parameters

ParameterTypeReq.Description
user_unique_identifierstringRequiredThe unique identifier for a specific user in Datadog. This should be a string value.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_retrieve'.
#

PosthogApi.RetrieveUserInterview

Retrieve details of a specific user interview. This tool fetches the details of a user interview for a given environment by project ID and interview ID. It should be called when specific interview information is needed from the Datadog service.

Parameters

ParameterTypeReq.Description
interview_idstringRequiredA UUID string identifying the specific user interview to be retrieved.
project_identifierstringRequiredThe ID of the project to access. Use /api/projects/ to find this ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_user_interviews_retrieve'.
#

PosthogApi.RetrieveWarehouseSavedQuery

Retrieve details of a specific warehouse saved query. Use this tool to get information about a particular saved query in a warehouse by specifying the project and query IDs.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID to access the specific project. Retrieve it via /api/projects/.
query_uuidstringRequiredA UUID string identifying the specific data warehouse saved query to retrieve.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_retrieve'.
#

PosthogApi.RetrieveWarehouseTable

Retrieve details of a specific warehouse table. Use this tool to obtain information about a specific warehouse table in a given project environment. It is useful for accessing table details without modifying them.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID for accessing the specific data warehouse. Retrieve it using /api/projects/.
warehouse_table_idstringRequiredA UUID string identifying this specific data warehouse table for retrieval.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_tables_retrieve'.
#

PosthogApi.RetrieveWebExperiment

Retrieve details of a specific web experiment. This tool is used to retrieve detailed information about a specific web experiment from a project. It should be called when you need to access data related to a web experiment identified by its ID within a project. Each call will log a new view of the experiment.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Call /api/projects/ to retrieve the ID.
web_experiment_idintegerRequiredA unique integer identifying the web experiment to retrieve details for.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'web_experiments_retrieve'.
#

PosthogApi.RetrieveWebVitals

Retrieve web vitals for a specific project environment. Use this tool to get web vitals data for a given project ID's environment in Datadog. It is useful for monitoring and analyzing performance metrics.

Parameters

ParameterTypeReq.Description
filter_by_pathnamestringRequiredSpecify the pathname to filter web vitals data for a particular resource.
project_idstringRequiredProject ID for accessing the specific project's web vitals.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_web_vitals_retrieve'.
#

PosthogApi.RetryBatchExportRun

Initiate a retry of a batch export run. Use this tool to retry a specific batch export run within a project environment. This is equivalent to backfilling one run. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_identifierstringOptionalA string representing the UUID of the batch export run to retry. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
batch_export_run_idstringOptionalThe UUID identifying the batch export run to retry. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID for accessing the specific project. Use /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_runs_retry_create'.
#

PosthogApi.RetryExportRun

Retry a batch export run in Datadog. Use this tool to retry a batch export run in Datadog. It leverages the same mechanism as backfilling, effectively retrying a single run. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_identifierstringOptionalThe unique identifier for the batch export run to retry. It should be provided as a string. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
batch_export_run_idstringOptionalA UUID string that identifies the specific batch export run to retry in Datadog. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe Project ID you want to access in Datadog. Retrieve it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_runs_retry_create'.
#

PosthogApi.RollbackEnvironmentsMigration

Trigger rollback migration for multi-environment projects. Use this tool to initiate an environments rollback migration for users who were previously on multi-environment projects in Datadog. This involves mapping source environment IDs to target environment IDs to perform the rollback. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_uuidstringOptionalA UUID string identifying the organization for the rollback operation. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_rollback_create'.
#

PosthogApi.RotateEnvironmentSecretToken

Rotate the secret token for a project environment. Use this tool to rotate the secret token of a specified project environment. It is typically called when token renewal is required for security or operational reasons. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
environment_idintegerOptionalA unique integer identifying the environment or team to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID for the environment. Obtainable by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_rotate_secret_token_partial_update'.
#

PosthogApi.RotateSecretTokenForProject

Rotate the secret token for a specific project. Use this tool to rotate the secret token for a project within the current organization. This can be useful when token regeneration is needed for security or access purposes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idintegerOptionalA unique integer identifying the project for which you want to rotate the secret token. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_idstringOptionalThe ID of the organization to which the project belongs. Required for token rotation. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'rotate_secret_token_partial_update'.
#

PosthogApi.RunBatchExportsTestStep

Triggers a test step for batch exports in a specified project. Use this tool to initiate a test step for batch exports within a given project. This can be helpful to verify configurations or test export processes without executing a full batch export. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the project you want to access for the batch export test step. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_run_test_step_new_create_2'.
#

PosthogApi.RunBatchExportTestStep

Run a test step for a batch export in Datadog. This tool triggers the execution of a test step within a batch export operation in a specified organization in Datadog. It is used to test batch export configurations before full deployment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_uuidstringOptionalA UUID string that uniquely identifies the batch export to be tested. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_idstringOptionalA string identifying the organization within Datadog for which the batch export test step is to be run. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_run_test_step_create'.
#

PosthogApi.RunEnvironmentTestStep

Initiate a test step execution for environment batch exports. This tool initiates the execution of a test step for a specified batch export in a given environment project using Datadog's API. It should be called when you need to run a specific test step within the context of environment batch exports. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_uuidstringOptionalA UUID string to identify the specific batch export for the test step execution. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe unique Project ID for the targeted environment. Obtainable via `/api/projects/`. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_run_test_step_create'.
#

PosthogApi.RunSavedQuery

Execute a saved query in the Datadog environment. This tool executes a saved query for a specified project in the Datadog environment. It should be called when you want to execute a pre-existing query and retrieve its results. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
saved_query_uuidstringOptionalA UUID string identifying the saved query to be executed. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. To find the ID, call /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_run_create'.
#

PosthogApi.RunTestStepBatchExport

Initiate a test step for batch exports. This tool triggers a test step for batch exports within a specified project. It should be called when testing the batch export process for a given ID is needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string used to identify the specific batch export for the test step. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access for batch export testing. Retrieve this ID via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_run_test_step_create_2'.
#

PosthogApi.RunTestStepNewForBatchExports

Run a new test step for batch exports. Use this tool to initiate a new test step for batch exports within an organization on Datadog. Ideal for confirming export configurations and processes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_identifierstringOptionalThe unique identifier of the organization where the test step will be initiated. It is required to specify which organization's batch exports you want to test. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_run_test_step_new_create'.
#

PosthogApi.SetCohortDeleted

Mark a cohort as deleted in the Datadog project. Use this tool to mark a specific cohort as deleted by setting its "deleted" attribute to true. This approach is used instead of a hard delete.

Parameters

ParameterTypeReq.Description
cohort_idintegerRequiredA unique integer used to identify the cohort to be marked as deleted.
project_idstringRequiredThe ID of the Datadog project you want to mark the cohort as deleted in. Obtainable via the /api/projects/ endpoint.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_destroy'.
#

PosthogApi.SetDashboardSharingPassword

Create a new password for dashboard sharing configuration. Use this tool to set a new password for sharing a specific dashboard in a project. Ideal for securing shared dashboard access in a Datadog project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_identifierintegerOptionalThe identifier for the dashboard you want to configure with sharing passwords. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. To retrieve this ID, use the endpoint /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_sharing_passwords_create'.
#

PosthogApi.SetDatasetItemDeleted

Mark a dataset item as deleted in a project. This tool sets a dataset item's "deleted" status to true for a specific project. A hard delete is not permitted, so use this tool to logically delete an item instead.

Parameters

ParameterTypeReq.Description
dataset_item_uuidstringRequiredA UUID string identifying the specific dataset item to mark as deleted.
project_identifierstringRequiredID of the project to access. To find this, call /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dataset_items_destroy'.
#

PosthogApi.SplitPersonEntityCreate

Create a sub-person entity for an existing person. Use this tool to create a sub-person entity for an existing person within a project. This is useful for scenarios requiring detailed segmentation or tracking of individual entities. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
person_identifierintegerOptionalA unique integer identifying the person for whom a sub-entity will be created. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. Retrieve by calling `/api/projects/`. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalSpecifies the output format for the response. Accepts 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_split_create'.
#

PosthogApi.StartBatchExportBackfill

Initiate a backfill process for a BatchExport. This tool triggers a backfill for a specific BatchExport in a project. It is used to ensure that historical data is processed correctly. Note that this endpoint is deprecated, so consider using the updated endpoint if available. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string identifying the specific batch export. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Obtain this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_backfill_create_2'.
#

PosthogApi.StartErrorTrackingUpload

Initiate a bulk upload for error tracking symbols. Use this tool to start a bulk upload process for symbol sets in error tracking within specified environments. Ideal for managing error tracking data efficiently.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe unique ID of the project to access. Obtainable via /api/projects/ API call.
team_idintegerRequiredNumeric ID of the team associated with the error tracking upload.
upload_creation_timestampstringRequiredThe ISO 8601 timestamp indicating when the upload was created. This helps to record the exact time of initiating the upload process.
upload_referencestringRequiredA unique identifier for the bulk upload session to ensure proper tracking and management.
upload_task_idstringRequiredUnique identifier for the bulk upload task. Used to reference the upload process.
storage_pointerstringOptionalA string that identifies where the symbol sets are stored. Use this to specify the location for the bulk upload.
upload_failure_reasonstringOptionalProvide a description if there was a failure during bulk upload initiation. This can help identify issues with the upload process.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_symbol_sets_bulk_start_upload_create'.
#

PosthogApi.StartSymbolUpload

Initiate symbol set upload for error tracking environments. This tool is used to start the upload of a symbol set for error tracking within a specified environment. It should be called when you need to upload symbols to aid in error monitoring and tracking.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Obtain it via a call to /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_symbol_sets_start_upload_create'.
#

PosthogApi.StopBatchExportRun

Cancel an ongoing batch export run in a specific project. Use this tool to cancel a currently running batch export task in a Datadog project. It should be called when a batch export run needs to be stopped before completion. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_run_identifierstringOptionalA UUID string uniquely identifying the batch export run to be canceled. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
batch_export_run_idstringOptionalA UUID string that uniquely identifies the batch export run to be canceled. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project you want to access. Use /api/projects/ to find the correct ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_runs_cancel_create'.
#

PosthogApi.StopInsightProcess

Cancel the ongoing insight creation process for a project. Use this tool to stop the creation of insights for a specific project. When a view logs a GET request to the resource, this process allows the automatic tracking and cancellation of ongoing insight creation activities. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalThe unique identifier for the project. Use /api/projects/ to find it. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalThe desired format of the response, either 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_cancel_create'.
#

PosthogApi.StreamDashboardTiles

Stream dashboard metadata and tiles via Server-Sent Events. Use this tool to retrieve streaming metadata and tiles from a specific dashboard using Server-Sent Events. It can be helpful for real-time updates and renders of dashboards in a specified environment.

Parameters

ParameterTypeReq.Description
dashboard_idintegerRequiredA unique integer value identifying the dashboard to stream.
project_idstringRequiredThe ID of the project you wish to access. Obtain this by calling /api/projects/.
response_formatstringOptionalSpecifies the format for the streamed dashboard response. Choose 'json' for JSON format or 'txt' for plain text.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_stream_tiles_retrieve'.
#

PosthogApi.SummarizeSurveyResponses

Create a summary of survey responses for a project. This tool generates a summary of responses for a specific survey within a project. It should be called when you need to consolidate and analyze survey data. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
survey_uuidstringOptionalA UUID string that uniquely identifies the survey for which responses are to be summarized. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique identifier string for the project. Obtain it by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_summarize_responses_create'.
#

PosthogApi.SuspendBatchExport

Pause an ongoing batch export process in a project. Allows pausing a specific batch export process identified by project and export IDs. Use this when you need to temporarily halt data exports in the Datadog platform. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_uuidstringOptionalA UUID identifying the batch export to pause. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProject ID for accessing the specific project. Use /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_pause_create_2'.
#

PosthogApi.TerminateBatchExportBackfill

Cancel a batch export backfill in Datadog. Use this tool to cancel an ongoing batch export backfill process for a specific project in Datadog, identified by the project, batch export, and backfill IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_identifierstringOptionalA unique identifier for the batch export backfill to be canceled. This ID specifies which batch export backfill is targeted for termination. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
backfill_idstringOptionalA UUID string identifying this batch export backfill in Datadog. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProject ID to access. Use /api/projects/ to find the ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_backfills_cancel_create'.
#

PosthogApi.TrackEnvironmentInsights

Retrieve and log environment activity insights. This tool retrieves and logs insights on file system views for a specified environment. It should be called to obtain activity logs and understand usage patterns for a particular project environment.

Parameters

ParameterTypeReq.Description
environment_project_idstringRequiredProject ID for accessing environment insights. Obtainable via the /api/projects/ endpoint.
output_formatstringOptionalSpecify the output format of the retrieved data. Accepts 'csv' or 'json'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_activity_retrieve'.
#

PosthogApi.TrackFileSystemView

Log and track a file system view on resource access. This tool logs a new view each time a GET request is made on the specified resource, useful for tracking access patterns. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
hog_function_uuidstringOptionalA UUID string identifying the hog function to track. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalA string representing the Project ID of the project to access. Retrieve this ID by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_broadcast_create'.
#

PosthogApi.TrackFileSystemViews

Retrieve metrics for tracking file system views. This tool retrieves metrics related to views on file system resources. It logs a new view each time the resource is accessed via a GET request. Use this to monitor and analyze access patterns.

Parameters

ParameterTypeReq.Description
hog_function_idstringRequiredA UUID string identifying the specific hog function for tracking views.
project_identifierstringRequiredThe ID of the project to access. Retrieve via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_metrics_retrieve'.
#

PosthogApi.TrackFsView

Logs a view each time a resource is accessed via GET. Use this tool to track access views on file system resources by logging a view each time they are accessed. This can help in monitoring and analyzing file system interactions within a specified project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
hog_function_uuidstringOptionalA UUID string identifying this hog function. Required for logging views. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you are accessing. Retrieve it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_invocations_create'.
#

PosthogApi.TrackHogFunctionInvocation

Track and log hog function invocations in a project. Use this tool to track and log each invocation of a hog function within a specified project environment. This is useful for monitoring and analyzing function usage. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
hog_function_idstringOptionalA UUID string identifying the hog function to track in the specified project environment. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Call /api/projects/ to retrieve the ID if needed. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_invocations_create'.
#

PosthogApi.TrackHogFunctionViews

Tracks views on a specific hog function by logging access. Use this tool to track access and log views on a specific hog function within a given project. Each call logs a new view entry.

Parameters

ParameterTypeReq.Description
hog_function_uuidstringRequiredA UUID string to identify the specific hog function for view tracking.
target_project_idstringRequiredThe ID of the project to access. Use /api/projects/ to find the ID.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_retrieve'.
#

PosthogApi.TrackSurveyActivity

Retrieve and log survey activity views. Use this tool to retrieve and log each view of survey activities in a project. It tracks when the surveys are accessed, effectively recording each GET request.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe Project ID to access and track survey activities. Find the ID using /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_activity_retrieve'.
#

PosthogApi.TriggerBatchExportBackfill

Trigger a backfill for a BatchExport. Use this tool to trigger a backfill for a BatchExport. Note that this endpoint is deprecated; consider using the updated endpoint POST /batch_exports/<id>/backfills/ instead. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_uuidstringOptionalA UUID string identifying this batch export. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe Project ID for accessing the desired project. Retrieve it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_backfill_create'.
#

PosthogApi.UndoMaterialization

Revert back to the original view by undoing materialization. Use this tool to revert a materialized table back to its original view. This action deletes the materialized table and its schedule, effectively undoing the materialization. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
saved_query_uuidstringOptionalA UUID string identifying the specific data warehouse saved query to be reverted. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProvide the Project ID for accessing the specific project. Obtainable via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_saved_queries_revert_materialization_create'.
#

PosthogApi.UndoMaterializationPosthog

Revert materialization to the original view in Datadog. Use this tool to delete a materialized table and its schedule, reverting it back to the original view in Datadog environments. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
saved_query_uuidstringOptionalA UUID string identifying the data warehouse saved query to be reverted. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_id_for_accessstringOptionalProject ID to access the relevant Datadog environment. Retrieve by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_revert_materialization_create'.
#

PosthogApi.UnpauseBatchExport

Unpause a paused BatchExport to resume data export. Use this tool to unpause a paused BatchExport, allowing data export to continue. Ideal for resuming exports that were previously halted. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string identifying the batch export to unpause. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve using a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_unpause_create'.
#

PosthogApi.UnsubscribeFromProjectAlerts

Set project alert subscription as deleted. Use this tool to mark a project alert subscription as deleted. This does not hard delete the model but updates its status to indicate deletion.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project to access. Retrieve it from the /api/projects/ endpoint.
subscription_idintegerRequiredA unique integer identifier for the project alert subscription to be marked as deleted.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'subscriptions_destroy'.
#

PosthogApi.UpdateActionPartial

Partially update an action in a project to track views. Use this tool to partially update an action within a project, logging each accessed view of the resource. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
action_idintegerOptionalA unique integer value identifying the action to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project you want to access. Use /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format for the output data. Choose between 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'actions_partial_update'.
#

PosthogApi.UpdateAnnotation

Update an existing annotation by ID. This tool allows updating of an existing annotation in a specified project by providing the annotation ID and project ID. Useful for modifying details related to an annotation. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
annotation_idintegerOptionalA unique integer identifying the annotation to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProject ID for accessing the desired project. Retrieve ID with /api/projects/ call. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'annotations_update'.
#

PosthogApi.UpdateBatchExport

Update an existing batch export in a project. Use this tool to update the settings of an existing batch export for a specified project. Suitable for modifying export configurations within Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string identifying the batch export to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_update_2'.
#

PosthogApi.UpdateBatchExports

Update batch exports for a specific organization. This tool updates batch export settings for a given organization using their specific IDs. It should be called when adjustments to the exports configuration are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string identifying this batch export that needs to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalA string representing the unique identifier for the organization whose batch export settings need updating. Ensure the correct ID is provided for successful updates. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'batch_exports_update'.
#

PosthogApi.UpdateCohortViews

Update and track cohort file system views. This tool updates the cohort's file system views, logging each GET request as a new view. It is useful for tracking how frequently a cohort is accessed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
cohort_idintegerOptionalA unique integer identifier for the cohort. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you're trying to access. Obtain it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'cohorts_partial_update'.
#

PosthogApi.UpdateDashboard

Update a specific Datadog dashboard. Use this tool to update the details of a specific Datadog dashboard by providing the project and dashboard IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_idintegerOptionalA unique integer value identifying the specific Datadog dashboard to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe Project ID to access the relevant dashboard. Use the '/api/projects/' endpoint to retrieve the ID if necessary. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format for the response, either 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_update'.
#

PosthogApi.UpdateDashboardEnvironment

Update specific dashboard settings in an environment. Use this tool to partially update the settings of a specific dashboard within a given environment, identified by project and dashboard IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_idintegerOptionalUnique integer identifying the dashboard to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. Call /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecifies the format of the response. Options include 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_partial_update'.
#

PosthogApi.UpdateDashboardPartial

Partially update a dashboard's details. Use this tool to update specific fields of an existing dashboard within a project. It is suitable for cases where only certain aspects of the dashboard need modification without updating the entire dashboard's details. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_idintegerOptionalA unique integer identifying the dashboard to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you're trying to access. Use an API call to /api/projects/ to find it. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalDefines the format of the response returned by the API. Options are 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_partial_update'.
#

PosthogApi.UpdateDashboardTemplate

Partially update a dashboard template in Datadog. Use this tool to apply partial updates to a specific dashboard template in Datadog. This is useful for modifying specific attributes of an existing dashboard template without updating it entirely. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_template_idstringOptionalA UUID string identifying the dashboard template to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
dashboard_project_idstringOptionalProject ID to access a specific dashboard. Obtain it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboard_templates_partial_update'.
#

PosthogApi.UpdateDashboardTilePosition

Repositions a tile on a Datadog dashboard. Use this tool to update the position of a tile within a specific Datadog dashboard. Ideal for organizing dashboard layouts or rearranging tiles based on preference or need. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_idintegerOptionalA unique integer value identifying the specific dashboard to update the tile position. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Obtainable via the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the desired format of the response. Choose between 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dashboards_move_tile_partial_update'.
#

PosthogApi.UpdateDataColorTheme

Update the color theme for a specific project. This tool updates the color theme settings for a given project in Datadog. Use this when you need to change the visual representation of data by altering the color theme. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
color_theme_idintegerOptionalA unique integer identifying the data color theme to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project you want to access. Retrieve the ID by querying /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'data_color_themes_update'.
#

PosthogApi.UpdateDataset

Update a specific dataset within a project. Use this tool to update the details of a specific dataset within a given project in Datadog. Useful for modifying existing datasets when changes are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dataset_identifierstringOptionalA UUID string identifying the dataset to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Use /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'datasets_update'.
#

PosthogApi.UpdateDatasetInfo

Update specific dataset information in a project. Call this tool to update specific details of a dataset within a project in Datadog. Useful for modifying metadata or configurations of existing datasets. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dataset_uuidstringOptionalA UUID string that uniquely identifies the dataset to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to be accessed. Retrieve using a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'datasets_partial_update'.
#

PosthogApi.UpdateDatasetItem

Update an existing dataset item with new information. This tool updates an existing dataset item identified by project and item IDs. Use it when you need to modify details or correct information in a dataset. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dataset_item_idstringOptionalA UUID string identifying the dataset item to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProject ID of the project to access. You can find this ID by making a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'dataset_items_update'.
#

PosthogApi.UpdateDefaultGroupColumns

Update default columns for group types in a project. This tool updates the default columns for group types within a specified project. It should be called to modify the columns used by default when displaying group types in the application. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the project you want to access. Retrieve it by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_set_default_columns_update'.
#

PosthogApi.UpdateDomainPartial

Partially update domain information for an organization. Use this tool to update specific fields of a domain's information within an organization on Datadog. This is useful when you need to change only certain attributes without affecting others. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
domain_idstringOptionalA UUID string that uniquely identifies the domain to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalThe unique identifier for the organization whose domain is being partially updated. Expected to be a string. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'domains_partial_update'.
#

PosthogApi.UpdateEarlyAccessFeature

Update an early access feature for a project. This tool updates an early access feature for a specific project by partially modifying its properties. When a GET request is made on the resource, it logs a new view, facilitating tracking of file system views for the project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
early_access_feature_idstringOptionalA UUID string identifying the specific early access feature. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Retrieve this from the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'early_access_feature_partial_update'.
#

PosthogApi.UpdateEndpoint

Update an existing endpoint run in a project. Use this tool to update an existing endpoint run in a specified project with optional parameters. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
endpoint_namestringOptionalThe name of the endpoint to be updated. This is a required string parameter. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID to access the specific project. Obtainable via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'endpoints_run_create'.
#

PosthogApi.UpdateEnvFileSystemShortcut

Updates a file system shortcut in a specified environment. Use this tool to update the file system shortcut for a given environment by specifying the project and shortcut IDs.

Parameters

ParameterTypeReq.Description
creation_timestampstringRequiredThe timestamp when the shortcut was created. Format: ISO 8601 string.
file_system_pathstringRequiredThe path of the file system shortcut to update. Specify the full directory path as a string.
file_system_shortcut_idstringRequiredA UUID string identifying the file system shortcut to be updated.
project_identifierstringRequiredThe ID of the project to access. Retrieve this by calling /api/projects/.
shortcut_idstringRequiredUnique identifier of the file system shortcut to update in the specified environment.
reference_identifierstringOptionalThe reference identifier for the file system shortcut to be updated.
shortcut_hrefstringOptionalThe URL or URI of the file system shortcut to update.
shortcut_typestringOptionalSpecifies the type of the file system shortcut to be updated, such as 'document' or 'folder'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_shortcut_update'.
#

PosthogApi.UpdateEnvironmentBatchExports

Update environment batch exports details. Use this tool to update the details of environment batch exports for a specific project. It is helpful when modifications are needed in the batch export configurations of environments. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_uuidstringOptionalThe UUID identifying the specific batch export to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID to access; retrieve from /api/projects/ if needed. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_update'.
#

PosthogApi.UpdateEnvironmentColorTheme

Update the color theme of an environment. Use this tool to change the data color theme of a specific environment identified by project and theme IDs. Useful for customizing the visual presentation of projects. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
data_color_theme_idintegerOptionalA unique integer value identifying the data color theme to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve it via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_data_color_themes_update'.
#

PosthogApi.UpdateEnvironmentDashboard

Update settings of an environment dashboard. This tool updates the settings of a specified environment dashboard within a project, using provided dashboard identifiers. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dashboard_idintegerOptionalA unique integer value to identify the environment dashboard to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve this using the /api/projects/ endpoint if needed. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the desired format of the response. Options are 'json' or 'txt'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dashboards_update'.
#

PosthogApi.UpdateEnvironmentDataset

Updates details of a specific environment dataset. Use this tool to update the details of a specific dataset within an environment by specifying the project and dataset IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dataset_idstringOptionalA UUID string identifying the specific dataset to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Retrieve the ID by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_datasets_update'.
#

PosthogApi.UpdateEnvironmentDatasetItem

Update an environment dataset item in a project. Use this tool to update specific details of a dataset item within a given environment of a project. It should be called when you need to modify existing dataset entries in an environment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
dataset_item_uuidstringOptionalA UUID string uniquely identifying the dataset item to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe unique identifier of the project you want to access. Retrieve it by making a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_dataset_items_update'.
#

PosthogApi.UpdateEnvironmentEndpoint

Update an existing environment endpoint. This tool updates an existing endpoint for a specific project in Datadog environments. It should be called when modifications to the endpoint's state or configuration are needed. Parameters for the update are optional. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
endpoint_namestringOptionalThe name of the endpoint to update. This is used to identify the specific endpoint within the project. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve it via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_endpoints_run_create'.
#

PosthogApi.UpdateEnvironmentEvaluation

Update an environment's evaluation in a project. Use this tool to update the evaluation details of a specific environment within a given project. It requires the project and evaluation identifiers to locate and modify the corresponding record. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
evaluation_idstringOptionalA UUID string uniquely identifying the evaluation to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to update. Obtainable via the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_evaluations_update'.
#

PosthogApi.UpdateEnvironmentExport

Update environment export batch details. Use this tool to update specific details of an environment export batch in Datadog. This is useful for modifying existing export configurations or details without creating a new batch. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
batch_export_idstringOptionalA UUID string that uniquely identifies the environment export batch to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve it with a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_batch_exports_partial_update'.
#

PosthogApi.UpdateEnvironmentFileSystem

Update a file system for a specific environment. This tool updates the file system within a specified environment using the project and file system IDs. Use it when changes to the environment's file system are required. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
file_system_idstringOptionalA UUID string identifying this file system for the update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe unique identifier for the project containing the environment. Retrieve using the /api/projects/ endpoint if unknown. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_file_system_update'.
#

PosthogApi.UpdateEnvironmentFolder

Update a specific folder in an environment project. This tool updates the details of a persisted folder within a specified environment project. It should be called when modifications to folder settings or contents are needed in a given environment.

Parameters

ParameterTypeReq.Description
folder_creation_datestringRequiredThe date and time when the folder was created, in ISO 8601 format (e.g., '2023-10-12T14:23:30Z').
folder_idstringRequiredThe identifier for the folder to be updated in the environment.
folder_typestringRequiredSpecify the type of the folder: 'home' for Home, 'pinned' for Pinned.
folder_update_timestampstringRequiredTimestamp indicating when the folder was last updated. Expected in ISO 8601 format.
folder_uuidstringRequiredA UUID string identifying the Persisted Folder to update.
project_identifierstringRequiredString ID of the project to access. Retrieve by calling /api/projects/.
folder_pathstringOptionalThe path of the folder within the environment project to update.
folder_protocol_typestringOptionalSpecifies the protocol type for accessing the folder. Must be a string.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persisted_folder_update'.
#

PosthogApi.UpdateEnvironmentGroupProperty

Update a property of an environment group. This tool updates a specific property within a group of environments in a project. It should be called when there's a need to change configuration or settings for environment groups.

Parameters

ParameterTypeReq.Description
creation_timestampstringRequiredThe date and time when the property was created, in ISO 8601 format (e.g., '2023-10-05T14:48:00Z').
environment_group_keystringRequiredA unique identifier for the environment group whose property is being updated.
group_keystringRequiredSpecify the key of the group to locate within the project for updating properties.
group_type_identifierintegerRequiredA unique integer representing the type of environment group to locate and update.
group_type_index_identifierintegerRequiredThe integer index identifying the type of the environment group to be updated. Ensure it corresponds to the correct group type required for the operation.
project_idstringRequiredThe unique Project ID for accessing specific project resources. Retrieve this ID by making a call to /api/projects/.
group_propertiesstringOptionalA JSON string representing the properties to update in the environment group.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_groups_update_property_create'.
#

PosthogApi.UpdateEnvironmentInsights

Update insights for a specified environment. Used to update tracking information for file system views in a specified environment. Each update logs a new view for the resource. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
insight_identifierintegerOptionalA unique integer identifying the specific insight to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique string ID of the project to access. Obtainable via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalSpecify the format for the response data. Options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_update'.
#

PosthogApi.UpdateEnvironmentInsightsLog

Log a view of environment insights to track changes. Call this tool to log a view of the environment insights for tracking file system changes. Each call logs a new view, helping in monitoring updates to environment insights. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
insight_identifierintegerOptionalA unique integer identifying the environment insight to log. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe Project ID needed to access the desired environment insights. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalSpecify the format of the data to be returned. Options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_partial_update'.
#

PosthogApi.UpdateEnvironmentSubscription

Update environment subscription for a project. Use this tool to update the subscription details of an environment within a specified project in Datadog. Call this when you need to change settings or information related to an environment's subscription. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
subscription_identifierintegerOptionalA unique integer value identifying the subscription to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you're accessing. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_subscriptions_update'.
#

PosthogApi.UpdateEnvironmentSymbolSet

Update error tracking symbol sets in environments. Use this tool to update the symbol sets for error tracking within a specified environment by providing the project and symbol set IDs.

Parameters

ParameterTypeReq.Description
error_tracking_symbol_set_idstringRequiredA UUID identifying the error tracking symbol set to update.
project_id_for_symbol_set_updatestringRequiredThe ID of the project for updating the symbol set. Obtainable via /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_symbol_sets_update'.
#

PosthogApi.UpdateEnvironmentTheme

Update color themes for project environments. This tool updates the color themes of data environments within a specified project. It's useful for changing visual settings or themes in your Datadog project environments. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
color_theme_idintegerOptionalA unique integer identifying the data color theme to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project you want to access. Obtain it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_data_color_themes_partial_update'.
#

PosthogApi.UpdateErrorSuppressionRule

Update error tracking suppression rules for a project. Use this tool to partially update suppression rules for error tracking in specific environments within a project on Datadog.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you're trying to access. Call /api/projects/ to find the ID.
rule_idstringOptionalThe unique identifier of the suppression rule to update. This ID is required to specify which rule you want to partially update.
rule_order_keyintegerOptionalSpecify the order for the suppression rule as an integer. Determines rule priority or execution sequence.
suppression_rule_filtersstringOptionalA string defining filters for the suppression rule updates (e.g., specific conditions or parameters).
suppression_rule_idstringOptionalThe UUID identifying the error tracking suppression rule to update.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_suppression_rules_partial_update'.
#

PosthogApi.UpdateErrorTrackingAssignmentRules

Partially update error tracking assignment rules for environments. Use this tool to update specific properties of error tracking assignment rules within a given environment. This can be used to modify existing rules by providing the project and rule identifiers.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique ID of the project to access for updating error tracking rules. Obtain it via `/api/projects/`.
assignee_for_error_trackingstringOptionalThe identifier of the assignee for the error tracking rule. This should be a string representing the user or team to which the error tracking assignment is being made.
disabled_datastringOptionalProvide a string indicating which data or fields should be marked as disabled in the error tracking rules.
error_tracking_rule_idstringOptionalA UUID string identifying the specific error tracking assignment rule to update.
filter_expressionstringOptionalProvide a string that specifies criteria for selecting which rules to update. Use logical expressions to define this filter.
order_keyintegerOptionalThe order key for sorting or prioritizing the assignment rules. Provide as an integer.
rule_identifierstringOptionalThe unique ID of the error tracking assignment rule to update.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_assignment_rules_partial_update'.
#

PosthogApi.UpdateErrorTrackingGroupingRules

Update error tracking grouping rules for a project. Use this tool to update the grouping rules for error tracking within a specified project environment in Datadog.

Parameters

ParameterTypeReq.Description
assignee_user_idstringRequiredThe user ID of the person to whom the error tracking task is assigned.
filters_for_grouping_rulesstringRequiredSpecify filters as a string to refine which errors to group. This can include criteria like error type or severity.
grouping_rule_idstringRequiredA UUID string identifying the error tracking grouping rule to update in Datadog.
priority_order_keyintegerRequiredSpecify the integer value to determine the priority order of grouping rules.
project_idstringRequiredThe ID of the project to access. Retrieve this by calling /api/projects/.
rule_idstringRequiredThe unique identifier for the error tracking grouping rule to be updated.
disabled_datastringOptionalA string indicating which data to disable in the error tracking grouping rules. Provide the specific data identifier or description.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_grouping_rules_update'.
#

PosthogApi.UpdateErrorTrackingRelease

Update details for an error tracking release. Use this tool to modify the details of an error tracking release within a specified project environment on Datadog.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project to access. Retrieve by calling /api/projects/.
error_tracking_release_idstringOptionalA UUID string identifying the error tracking release to be updated.
release_creation_datestringOptionalThe date and time when the error tracking release was created. Expected in ISO 8601 format (e.g., 2023-10-31T14:30:00Z).
release_hash_identifierstringOptionalA unique string identifier for the error tracking release to be updated.
release_idstringOptionalThe unique identifier of the error tracking release to update.
release_metadatastringOptionalMetadata for the error tracking release. This should be a string detailing any additional information relevant to the release.
release_project_namestringOptionalThe name of the project associated with the error tracking release to be updated.
release_versionstringOptionalThe specific version of the error tracking release to update. It should be a string representing the version number.
team_identifierintegerOptionalThe unique identifier for the team associated with the error tracking release. Expected to be an integer.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_releases_partial_update'.
#

PosthogApi.UpdateErrorTrackingReleases

Update error tracking releases in a project environment. Use this tool to update error tracking releases for a specific project environment in Datadog. Ideal for modifying release information in error tracking systems.

Parameters

ParameterTypeReq.Description
created_at_timestampstringRequiredThe timestamp indicating when the release was created. Format should be ISO 8601 (e.g., '2023-09-23T18:25:43.511Z').
project_identifierstringRequiredThe Project ID for accessing the specific project in Datadog. Obtainable by calling /api/projects/.
project_keystringRequiredThe identifier or name of the project for which you're updating the error tracking release.
release_hash_idstringRequiredA unique identifier for the release you want to update. Provides a reference to the specific release version within the project's error tracking data.
release_idstringRequiredA UUID string identifying the error tracking release to update.
release_versionstringRequiredThe version of the release being updated. This should typically be a string representing the version code or number.
team_identifierintegerRequiredThe unique integer identifier for the team. Used to specify which team's release information to update.
update_idstringRequiredThe unique identifier for the release you want to update.
metadata_descriptionstringOptionalProvide a string with additional information or details about the release metadata.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_releases_update'.
#

PosthogApi.UpdateErrorTrackingRules

Updates error tracking assignment rules for a project. Use this tool to update the assignment rules for error tracking in a specific project environment. This helps in managing how errors are assigned within a project.

Parameters

ParameterTypeReq.Description
assignee_identifierstringRequiredThe unique identifier for the person to whom errors will be assigned. This can be a user ID or username within the project.
assignment_rule_idstringRequiredA UUID string that identifies the error tracking assignment rule to update.
environment_idstringRequiredThe unique identifier for the environment whose error tracking rules are being updated.
filter_criteriastringRequiredSpecifies the filter criteria for updating error tracking assignment rules. This should be a string detailing the conditions used to filter the errors.
project_idstringRequiredProject ID to access. Retrieve it via a call to /api/projects/.
update_order_keyintegerRequiredThe order key for arranging assignment rules in a specified sequence. Provide an integer value.
disable_error_datastringOptionalSpecify whether to disable error data for tracking rules. Accepts a string value indicating the disabled state.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_assignment_rules_update'.
#

PosthogApi.UpdateErrorTrackingSuppressionRules

Update error tracking suppression rules for a project. Call this tool to update suppression rules for error tracking within a specific project environment on Datadog.

Parameters

ParameterTypeReq.Description
filtersstringRequiredString criteria used to specify which errors to suppress. Format should align with Datadog's filtering syntax.
project_identifierstringRequiredThe unique identifier for the project you want to access. Use the API call /api/projects/ to obtain this ID.
rule_idstringRequiredThe unique identifier for the suppression rule to be updated.
suppression_rule_idstringRequiredA UUID string identifying the error tracking suppression rule.
suppression_rule_order_keyintegerRequiredSpecify the order key for the suppression rule. This determines its priority in execution.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_suppression_rules_update'.
#

PosthogApi.UpdateErrorTrackingSymbols

Update symbol sets for error tracking in a specific environment. Use this tool to update symbol sets for error tracking within a specified project environment. It should be called when you need to modify existing symbol set data in the Datadog environment.

Parameters

ParameterTypeReq.Description
error_tracking_symbol_set_idstringRequiredA UUID identifying the error tracking symbol set to update.
project_identifierstringRequiredThe ID of the project you wish to access. Retrieve by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_error_tracking_symbol_sets_partial_update'.
#

PosthogApi.UpdateEventDefinition

Update an existing event definition in a project. This tool updates an existing event definition within a specified project. Call this tool when you need to modify the details of an event definition on Datadog.

Parameters

ParameterTypeReq.Description
event_definition_idstringRequiredA UUID string identifying the event definition to update.
project_idstringRequiredProject ID of the project you're trying to access. Retrieve the ID by calling /api/projects/.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'event_definitions_update'.
#

PosthogApi.UpdateExperiment

Update details of a specific experiment in a project. This tool updates the settings or details of an existing experiment within a specified project on Datadog. It is triggered when a user needs to change experiment parameters or information. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
experiment_idintegerOptionalA unique integer that identifies the experiment to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique string ID of the project to be accessed. Retrieve by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_update'.
#

PosthogApi.UpdateExperimentDetails

Partially update experiment details in a project. Use this tool to update specific details of an experiment within a project. Provide the project ID and the experiment ID to apply partial updates. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
experiment_idintegerOptionalA unique integer value identifying the experiment to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProvide the ID of the project you want to access. Use the /api/projects/ endpoint to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiments_partial_update'.
#

PosthogApi.UpdateExperimentHoldout

Update an experiment holdout in a specific project. Use this tool to modify the details of an existing experiment holdout in a project. This action is performed within the Datadog platform using a specific project and holdout ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
experiment_holdout_idintegerOptionalUnique integer identifying the specific experiment holdout to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access for updating the experiment holdout. Retrieve this by calling the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_holdouts_update'.
#

PosthogApi.UpdateExperimentMetrics

Update saved metrics for a specific experiment. This tool updates specific saved metrics for an experiment within a given project. Use this tool when you need to modify the details of already saved metrics for an experiment. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
experiment_metric_idintegerOptionalA unique integer identifying the experiment saved metric to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. Obtain it via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_saved_metrics_partial_update'.
#

PosthogApi.UpdateExperimentSavedMetrics

Update saved metrics for a specific experiment in Datadog. Use this tool to update the saved metrics for a specific experiment in a Datadog project. It requires the project ID and metric ID to identify the correct records to update. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
experiment_metric_idintegerOptionalA unique integer identifying the specific experiment saved metric to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the Datadog project containing the experiment whose metrics you wish to update. Obtain this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'experiment_saved_metrics_update'.
#

PosthogApi.UpdateFeatureFlags

Update feature flags for a specific project. Use this tool to update existing feature flags within a specified project in Datadog. This is useful for modifying feature settings without requiring a full create or delete operation. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
feature_flag_idintegerOptionalA unique integer value identifying the specific feature flag to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique identifier for the project to access. Obtainable via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'feature_flags_partial_update'.
#

PosthogApi.UpdateFileSystem

Updates a file system in a specific project by ID. Call this tool to update the settings or data of a specific file system within a given project on Datadog. Use it when modifications to the file system are needed, such as changing configurations or data structures. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
file_system_idstringOptionalA UUID string uniquely identifying the file system to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe identifier for the project you want to access. Use the project ID to specify which project's file system to update. Retrieve the ID by calling the /api/projects/ endpoint if needed. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_update'.
#

PosthogApi.UpdateFileSystemShortcut

Update a file system shortcut in a project. Use this tool to modify the details of an existing file system shortcut within a specified project on Datadog. Useful for adjusting configurations or updating linked resources.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the project you want to access. Retrieve it by calling /api/projects/.
file_system_shortcut_idstringOptionalA UUID identifying the file system shortcut to be updated.
file_system_shortcut_linkstringOptionalThe URL or path to link the file system shortcut to. This should be a valid URL or path, depending on the system configuration.
reference_identifierstringOptionalThe reference identifier for the file system shortcut to be updated. This is a string value required to specify which shortcut you are targeting for the update.
shortcut_creation_datestringOptionalISO 8601 format string representing when the shortcut was created.
shortcut_idstringOptionalThe unique identifier for the file system shortcut to be updated. This ID specifies which shortcut will have its details modified.
shortcut_pathstringOptionalThe file path for the shortcut to be updated. This should specify the exact location within the file system where the shortcut is located.
shortcut_typestringOptionalSpecify the type of the file system shortcut, such as 'symbolic' or 'hard'.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'file_system_shortcut_partial_update'.
#

PosthogApi.UpdateFolderInfo

Update a persisted folder's metadata in Datadog. This tool updates the metadata of a specific persisted folder in a Datadog project. It should be called when you need to modify information about an existing persisted folder, such as its name or description.

Parameters

ParameterTypeReq.Description
project_idstringRequiredThe ID of the Datadog project you want to access. Make a call to /api/projects/ to find it.
folder_creation_datestringOptionalThe date when the folder was created, expected in a string format (e.g., YYYY-MM-DD).
folder_idstringOptionalThe unique identifier of the persisted folder to update.
folder_pathstringOptionalThe path to the persisted folder to update in Datadog. This specifies the location or hierarchy within the project where the folder resides.
folder_typestringOptionalSpecify the type of the folder. Options are 'home' for Home or 'pinned' for Pinned.
persisted_folder_idstringOptionalA UUID string identifying the persisted folder to update.
protocol_typestringOptionalSpecify the protocol type for the persisted folder metadata. This is typically a string indicating the protocol used.
update_timestampstringOptionalTimestamp indicating when the persisted folder was last updated. Use ISO 8601 format.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persisted_folder_partial_update'.
#

PosthogApi.UpdateGroupDashboard

Update a project's group detail dashboard. Use this tool to update the configuration of a group detail dashboard within a specific project. Ideal for modifying existing dashboard settings. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe string representing the Project ID you want to access. Retrieve it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_create_detail_dashboard_update'.
#

PosthogApi.UpdateGroupProperty

Update a property of a group within a project. This tool updates a specific property of a group in a given project. Use it when you need to modify group settings or attributes within a project on the Datadog platform.

Parameters

ParameterTypeReq.Description
group_identifierstringRequiredSpecify the unique key of the group to locate and update within the project.
group_identifier_keystringRequiredThe unique key identifying the group to update. This key ensures that the correct group is modified.
group_property_creation_datestringRequiredThe date and time when the group property was created. Use ISO 8601 format, e.g., '2023-10-05T14:48:00Z'.
group_type_indexintegerRequiredSpecify the integer index of the group type to identify the group.
index_of_group_typeintegerRequiredAn integer representing the index of the group type to update. Specify the correct index to modify the desired group type within the project.
project_idstringRequiredThe unique ID of the project to access. Retrieve it by calling /api/projects/.
group_properties_valuestringOptionalThe properties or attributes to update for the specified group in the project. This should be a string describing the desired changes.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_update_property_create'.
#

PosthogApi.UpdateGroupTypeMetadata

Updates metadata for group types in a project. Use this tool to update the metadata for group types within a specific project. It should be called when there's a need to partially update this information for better organization and management of project data.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredProject ID to access a specific project. Use /api/projects/ to find the ID.
default_columnsarray<string>OptionalAn array of strings representing the default columns for the group type metadata. Each string specifies a column name to be included by default.
detail_dashboard_idintegerOptionalThe integer ID of the detail dashboard associated with the group type.
group_type_creation_datestringOptionalThe creation date of the group type in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
group_type_identifierstringOptionalThe identifier for the group type to update metadata for. Provide a unique string value that represents the group type within the project.
group_type_indexintegerOptionalAn integer representing the index of the group type you want to update within the project. It identifies which specific group type's metadata is to be modified.
group_type_name_pluralstringOptionalThe plural name for the group type to be updated. This should reflect the plural form used in the project metadata.
singular_group_namestringOptionalThe singular name to be used for a specific group type. This is used for clear identification and communication.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_update_metadata_partial_update'.
#

PosthogApi.UpdateGroupTypeMetrics

Updates metrics for a specified group type in a project. This tool updates the metrics for a given group type in a specified project. It should be called when there's a need to modify or update the metrics associated with a group type. Useful for maintaining or adjusting project metric configurations.

Parameters

ParameterTypeReq.Description
filters_criteriastringRequiredSpecify criteria to filter metrics data. Use a string representation of conditions.
group_type_indexintegerRequiredAn integer representing the index of the group type to be updated. This is required to identify which group type's metrics need modification.
group_usage_metric_idstringRequiredA UUID string identifying the group usage metric to be updated.
metric_idstringRequiredUnique identifier for the metric to be updated. Expect a string value.
metric_namestringRequiredThe name of the metric to update for the specified group type in a project.
project_idstringRequiredThe ID of the project you want to access. Use /api/projects/ to find it.
interval_in_daysintegerOptionalSpecify the interval in days for updating metrics.
metric_display_typestringOptionalDefines how the metrics are displayed. Options are 'number' or 'sparkline'.
metric_format_typestringOptionalSpecifies the display format of the metric: 'numeric' for numeric values or 'currency' for currency representation.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_metrics_update'.
#

PosthogApi.UpdateHogfunctionOrder

Modify the order of execution for HogFunctions. Use this tool to update the execution order of multiple HogFunctions within a specified project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalID of the project to access. Obtainable via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_rearrange_partial_update'.
#

PosthogApi.UpdateHogFunctions

Update and log views of file system resources. This tool updates hog functions for a given project and logs each GET request as a new view. Use this tool to track changes and log views on file system resources within specified environments. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
hog_function_uuidstringOptionalA UUID string identifying this hog function to update and log views. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project you want to access. Retrieve it using a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_update'.
#

PosthogApi.UpdateHogFunctionsOrder

Update the execution order of HogFunctions. Use this tool to change the sequence in which multiple HogFunctions are executed within a project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique identifier for the project whose HogFunctions you want to rearrange. Use /api/projects/ to find it. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_rearrange_partial_update'.
#

PosthogApi.UpdateHogFunctionViewLog

Log a new view for an environment's hog function. Use this tool to track and log a new view on a specified hog function in Datadog environments. It should be called whenever a GET request to the resource logs a new view. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
hog_function_uuidstringOptionalA UUID string identifying the hog function to log a view for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_hog_functions_partial_update'.
#

PosthogApi.UpdateHogFunctionViews

Log and update views for hog functions in a project. Use this tool to log a new view of a specific hog function within a given project. It tracks file system views by logging each access to the resource. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
hog_function_uuidstringOptionalA UUID string identifying the hog function to log a view for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe unique ID of the project. Retrieve by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'hog_functions_partial_update'.
#

PosthogApi.UpdateInsights

Update insights tracking view for a project resource. Use this tool to log a new view of a specific insight within a project, helping track file system views. It updates the view count each time it's called. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
insight_idintegerOptionalA unique integer identifying the insight to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalSpecify the format of the response data. Accepts 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_update'.
#

PosthogApi.UpdateInsightsViewLog

Log a new view for a specific insight resource. This tool triggers a log entry each time a specific insight resource is accessed, helping to track file system views. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
insight_idintegerOptionalA unique integer value to identify the specific insight. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID to access the required insight. Obtainable via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecifies the format of the response. Acceptable values are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'insights_partial_update'.
#

PosthogApi.UpdateInsightViewTimestamps

Updates the view timestamps for specific insights. Use this tool to update the view timestamps for a list of insights identified by their IDs. This is useful for keeping track of which insights have been recently viewed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_identifierstringOptionalProject ID to access. Retrieve this ID using the /api/projects/ endpoint if needed. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecifies the format of the returned data. Options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_insights_viewed_create'.
#

PosthogApi.UpdateMetricsForGroupType

Update metrics for a specific group type in a project. This tool updates metrics for a specified group type within a project in Datadog. It should be called when metrics need to be modified or adjusted for a particular group type associated with a project.

Parameters

ParameterTypeReq.Description
group_type_positionintegerRequiredThe index of the group type to update within the metrics. It should be an integer value.
project_idstringRequiredThe unique ID of the project you want to access. Retrieve it by calling /api/projects/.
filter_conditionsstringOptionalConditions to filter the metrics. Specify as a string, e.g., 'status:active'.
group_metric_namestringOptionalThe name of the metric to update for the specified group type.
group_type_idstringOptionalThe unique identifier for the group type to update metrics for.
group_usage_metric_idstringOptionalA UUID string identifying the group usage metric to update.
metric_display_typestringOptionalDefines how the metric should be displayed: 'number' or 'sparkline'.
metric_format_typestringOptionalSpecifies the format of the metric. Can be 'numeric' or 'currency'. Choose 'numeric' for plain numbers and 'currency' for currency representation.
update_interval_daysintegerOptionalNumber of days to set as the interval for updating metrics.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'groups_types_metrics_partial_update'.
#

PosthogApi.UpdateNotebook

Update a specific notebook's details. Use this tool to update the details of a specific notebook identified by its project and notebook IDs. Suitable for modifying existing notebook content or configuration. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe ID of the project you are accessing. Retrieve it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
notebook_short_idstringOptionalProvide the unique short ID of the notebook to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'notebooks_update'.
#

PosthogApi.UpdateNotebookDetails

Update notebook details in a specified project. Use this tool to modify specific attributes of a notebook within a project in Datadog. This functionality is in early access and may change. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
target_project_idstringOptionalThe ID of the project to access. Use /api/projects/ to find the project ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
notebook_short_idstringOptionalThe unique short identifier for the notebook to be updated. This ID is required to specify which notebook to modify within the project. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'notebooks_partial_update'.
#

PosthogApi.UpdateOrganizationDetails

Update details for a specific organization. Use this tool to change information about an existing organization in the system by providing its ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_idstringOptionalA UUID string identifying the organization to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'update'.
#

PosthogApi.UpdateOrganizationDomain

Update an organization's domain using Datadog's API. Call this tool to update the domain details of a specific organization in Datadog. Use it when domain information needs to be modified. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
domain_uuidstringOptionalThe UUID string identifying the domain to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_idstringOptionalThe unique identifier for the organization whose domain needs to be updated. This should be a string. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'domains_update'.
#

PosthogApi.UpdateOrganizationInfo

Partially update organization information. Use this tool to partially update details of an organization by providing the organization ID and the necessary changes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_idstringOptionalA UUID string identifying the organization to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'partial_update'.
#

PosthogApi.UpdateOrganizationMember

Update a member's information in an organization. Use this tool to update a member's information within a specified organization on Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_identifierstringOptionalA string representing the unique identifier of the organization in Datadog. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
user_uuidstringOptionalThe unique identifier (UUID) of the user to be updated in the organization. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'members_update'.
#

PosthogApi.UpdateOrganizationMemberDetails

Update details of an organization member in Datadog. Use this tool to partially update the information of a member within an organization on Datadog. This should be called when changes to a member's profile or permissions are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
organization_identifierstringOptionalThe unique identifier for the organization in Datadog. This is required to specify which organization's member is being updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
member_user_uuidstringOptionalThe unique user UUID of the organization member to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'members_partial_update'.
#

PosthogApi.UpdateOrganizationProject

Update a project's details within an organization. Use this tool to update specific details of a project within the current organization by providing the organization and project IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idintegerOptionalA unique integer value identifying the project to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalA string representing the identifier of the organization. Required to update the project details. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'partial_update_2'.
#

PosthogApi.UpdateOrganizationRole

Update an organization's role details. Use this tool to update the details of a specific role within an organization, such as permissions and role information. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
role_uuidstringOptionalA UUID string identifying the role to be updated in the organization. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_idstringOptionalA unique identifier for the organization where the role will be updated. This is a required parameter. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'roles_update'.
#

PosthogApi.UpdatePersistedFolder

Update details of a persisted folder in a project. Use this tool to update the details of a persisted folder within a specified project using the project and folder IDs.

Parameters

ParameterTypeReq.Description
folder_creation_datestringRequiredThe date when the folder was originally created, in string format. Use this to specify the creation timestamp for folder updates.
folder_idstringRequiredThe unique identifier of the folder to update within the project.
folder_typestringRequiredSpecify the folder type: 'home' for Home or 'pinned' for Pinned.
persisted_folder_idstringRequiredA UUID string identifying the persisted folder to update.
project_idstringRequiredThe ID of the project to access. Retrieve using /api/projects/.
update_timestampstringRequiredProvide the timestamp when the folder was last updated. Use ISO 8601 format (e.g., '2023-10-01T12:34:56Z').
folder_pathstringOptionalSpecify the path where the persisted folder is located within the project.
update_protocolstringOptionalSpecify the protocol for the folder update. This value should be a string.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persisted_folder_update'.
#

PosthogApi.UpdatePersonInfo

Update person details using partial data. This tool updates specific attributes of a person's data within a project. Ideal for modifying user properties via the PATCH method.

Parameters

ParameterTypeReq.Description
project_idstringRequiredProject ID for accessing the intended project. Obtain by calling /api/projects/.
creation_timestampstringOptionalThe timestamp when the person data was initially created, in ISO 8601 format (e.g., '2023-10-05T14:48:00.000Z').
person_distinct_idsarray<string>OptionalAn array of unique identifiers for the person whose data is being updated. These identifiers help to distinguish between different users.
person_idintegerOptionalThe identifier of the person whose information is being updated. It should be an integer.
person_identifierintegerOptionalA unique integer identifying the person to update.
person_namestringOptionalThe name of the person whose details are being updated. This should be a string representing the person's full name.
person_propertiesstringOptionalStringified JSON containing specific person properties to update.
response_formatstringOptionalThe format of the response. Options are 'csv' or 'json'.
user_uuidstringOptionalThe unique identifier for the person to be updated. Must be a valid UUID string.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'persons_partial_update'.
#

PosthogApi.UpdatePersonProperties

Update specific properties of a person in a project. Use this tool to update certain properties of a person within a project environment. It allows you to set only the specified properties without affecting others. To remove properties, use a different endpoint. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
person_idintegerOptionalA unique integer identifier for the person whose properties are to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve using /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
response_formatstringOptionalSpecify the format for the endpoint response. Choose between 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_update'.
#

PosthogApi.UpdatePersonProperty

Update a specific property for a person in an environment. Use this tool to update a property for a person within a specified project environment. Ideal for when adjustments to a person's attributes are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
property_keystringOptionalThe key of the property you want to update for a person. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
property_valuestringOptionalSpecify the value for the property to update for a person. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
person_identifierintegerOptionalUnique identifier for the person. Use an integer value to specify the person whose property you wish to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalSpecify the ID of the project you wish to access. Retrieve the project ID via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalThe format in which the response is returned. Choose either 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_persons_update_property_create'.
#

PosthogApi.UpdateProjectAction

Update and track views for a project action in Datadog. Use this tool to update details of a specific action within a project in Datadog and log a new view of the resource. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
action_idintegerOptionalThe unique integer to identify the action within the project for updating. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalID of the project to access. Obtain this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
output_formatstringOptionalSpecifies the format of the data response. Options are 'csv' or 'json'. Only used when mode is 'execute'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'actions_update'.
#

PosthogApi.UpdateProjectDetails

Update project details for the current organization. This tool updates the project details for a specified organization. It should be called when modifications to an organization's project data are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idintegerOptionalA unique integer identifying the project to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalA unique string identifying the organization whose project details are to be updated. Required for specifying the target organization. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'update_2'.
#

PosthogApi.UpdateProjectEnvironment

Update product intent for a project environment. Use this tool to update or modify the product intent for a specific environment within a project in the current organization. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
environment_identifierintegerOptionalA unique integer that identifies the environment or team. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to be accessed. Obtainable via the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_add_product_intent_partial_update'.
#

PosthogApi.UpdateProjectOnboardingStatus

Update the onboarding status of a project in an organization. This tool updates the onboarding status of a specific project within the current organization. It should be called when there's a need to mark the completion or update the progress of a project's onboarding process. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idintegerOptionalA unique integer identifying the specific project to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalA string representing the unique ID of the organization to update the project onboarding status within. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'complete_product_onboarding_partial_update'.
#

PosthogApi.UpdateProjectProductIntent

Update product intent for a specific project in an organization. This tool is used to partially update the product intent of a specific project within an organization. It is useful for making adjustments or corrections to product intent assignments in organizational projects. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idintegerOptionalA unique integer value identifying the project to update within the organization. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalThe unique identifier of the organization. Provide this to specify which organization's project is being updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'add_product_intent_partial_update'.
#

PosthogApi.UpdateProjectTask

Update task details within a project. Use this tool to update the details of a specific task within a project. It's useful for modifying task attributes to reflect changes in work requirements or progress. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
task_uuidstringOptionalA UUID string identifying the task to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project being accessed. Use /api/projects/ to find project IDs. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_update'.
#

PosthogApi.UpdatePropertyDefinition

Update partial property definition details. Use this tool to update specific details of a property definition for a given project. It should be called when you need to modify existing property information without altering the entire dataset. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
property_definition_idstringOptionalA UUID string identifying the property definition to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. Retrieve it via /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'property_definitions_partial_update'.
#

PosthogApi.UpdatePropertyDefinitions

Update property definitions for a specific project. Call this tool to update the property definitions of a specified project in your Datadog account. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
property_definition_idstringOptionalA UUID string identifying the specific property definition to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID to access specific project details in Datadog. Call /api/projects/ to find it. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'property_definitions_update'.
#

PosthogApi.UpdateProxyRecord

Update a proxy record within an organization. Use this tool to update details of a specific proxy record for a given organization in Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
proxy_record_idstringOptionalThe unique identifier for the proxy record to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_idstringOptionalA unique identifier for the organization whose proxy record is being updated. This must be a valid string representing the organization in Datadog. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'proxy_records_update'.
#

PosthogApi.UpdateRoleDetails

Partially update organization role details. Use this tool to modify specific attributes of a role within an organization on Datadog. Ideal for updating permissions or changing role configurations without affecting the entire role setup. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
role_uuidstringOptionalA UUID string identifying the role to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_idstringOptionalA string representing the identifier of the organization. Required for role updates. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'roles_partial_update'.
#

PosthogApi.UpdateSessionRecording2

Update session recording details for a specific project. This tool updates the details of a session recording for a given project in Datadog. Use it to modify existing recording parameters by specifying the project and recording ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
session_recording_idstringOptionalA UUID string identifying the session recording to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. To find this ID, use the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recordings_update'.
#

PosthogApi.UpdateSessionRecording

Partially update session recording details. Use this tool to partially update details of a session recording within a specific project environment. It should be called when modifications are needed for an existing session recording without replacing all current data. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
session_recording_uuidstringOptionalA UUID string identifying the session recording to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. Obtain it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recordings_partial_update'.
#

PosthogApi.UpdateSessionRecordingPlaylist

Update a session recording playlist within an environment. Use this tool to modify details of a session recording playlist in a specified environment by providing the project and playlist identifiers. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalProject ID required to access the specific project. Obtainable via the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
playlist_short_idstringOptionalThe short ID of the session recording playlist to update. It identifies the specific playlist within a project environment. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_session_recording_playlists_update'.
#

PosthogApi.UpdateSessionRecordingSharing

Refresh session recording sharing status. Call this tool to refresh or update the sharing status of a session recording for a specified project and recording ID. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_idstringOptionalThe unique string identifier for the project you want to access. Obtainable via the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
session_recording_idstringOptionalThe unique ID of the session recording to update the sharing status for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'session_recordings_sharing_refresh_create'.
#

PosthogApi.UpdateSubscriptionDetails

Update details of a project subscription. Use this tool to update specific details of a subscription within a project on Datadog. Ideal for modifying settings or information for an existing subscription. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
subscription_idintegerOptionalA unique integer value identifying this subscription. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project you want to access. Retrieve it via a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'subscriptions_partial_update'.
#

PosthogApi.UpdateSubscriptionSettings

Update subscription settings for a project. This tool updates the settings of a subscription for a specified project in Datadog. It should be called when modifications to subscription details are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
subscription_idintegerOptionalA unique integer identifying the subscription to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Retrieve it via /api/projects/ if unknown. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'subscriptions_update'.
#

PosthogApi.UpdateSurveyInfo

Update information for a specific survey. Call this tool to update details of a specific survey in a project on Datadog. This is useful for modifying existing survey data, such as survey name, description, or other fields. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
survey_uuidstringOptionalA UUID string identifying the survey to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project to access. Use /api/projects/ to find this ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_partial_update'.
#

PosthogApi.UpdateSurveyTracking

Tracks a new view for a survey by logging access. Call this tool to log and track when a survey is viewed. It updates the survey view count in a specified project, providing insights into survey access frequency. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
survey_uuidstringOptionalA UUID string that uniquely identifies the survey to track. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe unique identifier of the project to access. Retrieve this ID by making a call to /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'surveys_update'.
#

PosthogApi.UpdateTableSchema

Refresh the schema of a specific warehouse table. Use this tool to initiate a refresh of the schema for a specified warehouse table within a project. This is useful when you need to ensure the table schema is up to date with any changes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
warehouse_table_uuidstringOptionalA UUID string identifying the warehouse table to refresh the schema for. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalString representing the Project ID for accessing a specific project. Retrieve this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_tables_refresh_schema_create'.
#

PosthogApi.UpdateTaskInProject

Update a specific task within a project. Use this tool to modify details of a specific task within a specified project in order to manage work assignments effectively. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
task_uuidstringOptionalA UUID string that uniquely identifies the specific task to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project to access for task updates. Retrieve this using the /api/projects/ endpoint. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_partial_update'.
#

PosthogApi.UpdateTaskPosition

Update the position of a task within its current stage. Use this tool to adjust the order of tasks within the same stage in a project. This is useful for reorganizing tasks based on priority or progress within a project's existing structure.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe ID of the project for accessing or modifying tasks. Obtainable via a call to /api/projects/.
task_identifierstringRequiredA UUID string specifying the task to be updated.
new_task_positionintegerOptionalThe new integer position for the task within its current stage.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_update_position_partial_update'.
#

PosthogApi.UpdateTaskRunOutput

Update the output field for a specific task run. Use this tool to update the output details (like PR URL, commit SHA) for a specific task run within a project.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique Project ID required to access and update the specific task run details within a project. Obtainable via the /api/projects/ endpoint.
task_identifierstringRequiredA string representing the unique identifier for a particular task run being accessed.
task_run_idstringRequiredA UUID string that uniquely identifies the task run to update.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_runs_set_output_partial_update'.
#

PosthogApi.UpdateTaskRunStatus

Update the status of a specific task run. Use this tool to update details of a specific task run within a project. Suitable for changing statuses or executing minor updates on task executions. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
task_run_idstringOptionalA UUID string identifying the specific task run to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe ID of the project to access. Retrieve via /api/projects/ if unknown. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
task_run_task_identifierstringOptionalThe unique task ID for identifying the specific task run to update. This ID is associated with the task execution. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'tasks_runs_partial_update'.
#

PosthogApi.UpdateUserDetails

Update user details in the database. Use this tool to update user information based on their unique identifier (UUID). Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
user_uuidstringOptionalThe unique identifier (UUID) of the user to be updated. Required for identifying the specific user record. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_update'.
#

PosthogApi.UpdateUserHedgehogConfig

Update a user's hedgehog configuration settings in Datadog. Call this tool to update specific settings in a user's hedgehog configuration. Useful for modifying user preferences or settings related to the hedgehog feature in Datadog. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
user_uuidstringOptionalA unique identifier for the user whose hedgehog configuration is to be updated. It is a string value that must be provided to target the correct user. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_hedgehog_config_partial_update'.
#

PosthogApi.UpdateUserInfo

Partially update a user's information in Datadog. Use this tool to update specific fields of a user's information in Datadog. Ideal for modifying user details without needing to provide all account details again. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
user_uuidstringOptionalThe unique identifier for the user to be updated. This is required to specify which user's information should be modified. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_partial_update'.
#

PosthogApi.UpdateUserInterviewEnvironment

Update environment details for a user interview. Use this tool to update specific environment details of a user interview by specifying the project and interview IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
user_interview_idstringOptionalA UUID string that uniquely identifies the user interview to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project for accessing environment details. Obtain by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_user_interviews_update'.
#

PosthogApi.UpdateWarehouseQuery

Updates a saved query in the data warehouse. Use this tool to update an existing saved query within a DataDog environment's warehouse. It should be called when changes to the saved query parameters or configuration are required. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
saved_query_uuidstringOptionalA UUID identifying the specific saved query to update in the data warehouse. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project to access. Obtain this by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_update'.
#

PosthogApi.UpdateWarehouseSavedQuery

Update a warehouse saved query in a specified environment. This tool updates a specific saved query within the warehouse of a given environment. Use it to modify existing queries by specifying the project and query IDs. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
saved_query_uuidstringOptionalA UUID string identifying this data warehouse saved query for updates. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalThe ID of the project you want to access. Obtain it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_saved_queries_partial_update'.
#

PosthogApi.UpdateWarehouseTable2

Partially update a warehouse table entry. Use this tool to partially update a specified warehouse table within a project. It should be called when there's a need to modify existing warehouse table data for a specific project. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
warehouse_table_idstringOptionalA UUID string identifying the data warehouse table to be updated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalProject ID of the project you're trying to access. Use the `/api/projects/` endpoint to find the correct ID. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_tables_partial_update'.
#

PosthogApi.UpdateWarehouseTable

Update specific warehouse tables in a project. This tool updates details of a specified warehouse table within a given project environment. It should be used when updates to table configurations or properties are needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
warehouse_table_uuidstringOptionalA UUID string that identifies the specific data warehouse table to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe unique ID of the project you wish to access. Obtainable by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_tables_partial_update'.
#

PosthogApi.UpdateWarehouseTableSchema

Update the schema of a warehouse table. Use this tool to modify the structure of an existing warehouse table within a specified project environment. This tool allows for creating, reading, updating, and deleting table schemas as needed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
warehouse_table_idstringOptionalA UUID string identifying the data warehouse table to update. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_identifierstringOptionalThe Project ID for accessing the desired project. Retrieve using /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_warehouse_tables_update_schema_create'.
#

PosthogApi.UpdateWebExperiment

Update web experiment details within a project. Use this tool to update specific details of a web experiment in a given project on Datadog. It tracks changes and logs views for the resource.

Parameters

ParameterTypeReq.Description
experiment_idintegerRequiredThe ID of the web experiment to update. Must be an integer.
experiment_namestringRequiredSpecify the name of the web experiment to update. This is used to identify the experiment for modification within the project.
feature_flag_keystringRequiredUnique identifier for the feature flag associated with the web experiment.
project_idstringRequiredThe ID of the project to access. Retrieve this ID via the `/api/projects/` endpoint.
web_experiment_idintegerRequiredA unique integer identifying this web experiment to be updated.
web_experiment_variantsstringRequiredJSON string specifying variants for the web experiment. Include control, transforms, conditions, and rollout_percentage.
creation_timestampstringOptionalTimestamp indicating when the web experiment was created. It should be in ISO 8601 format.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'web_experiments_update'.
#

PosthogApi.UpdateWebExperimentStatus

Update the status of a web experiment. Use this tool to update the status or data of an existing web experiment within a specific project by providing the relevant identifiers.

Parameters

ParameterTypeReq.Description
project_id_for_accessstringRequiredProject ID to access the specific project. Obtain it via /api/projects/.
creation_timestampstringOptionalThe timestamp when the web experiment was created. Must be in ISO 8601 format (e.g., '2023-10-05T14:48:00.000Z').
experiment_identifierintegerOptionalThe unique identifier for the web experiment that needs to be updated.
experiment_namestringOptionalThe name of the web experiment to be updated. This should be a descriptive string identifying the specific experiment within the project.
feature_flag_keystringOptionalA string representing the feature flag key associated with the web experiment. It uniquely identifies the feature toggle you want to update.
web_experiment_idintegerOptionalA unique integer identifying the web experiment.
web_experiment_variantsstringOptionalJSON string defining the variants for the web experiment. Include text, HTML, selector, conditions, and rollout percentage for each variant. Example: { "control": { "transforms": [ { "text": "Here comes Superman!", "html": "", "selector": "#page > #body > .header h1" } ], "conditions": "None", "rollout_percentage": 50 } }

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'web_experiments_partial_update'.
#

PosthogApi.ValidateTwoFactorAuthentication

Validate a user's two-factor authentication code. Use this tool to verify a user's two-factor authentication by providing the necessary code. It confirms whether the two-factor authentication is valid. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
user_identifierstringOptionalThe unique identifier for the user whose two-factor authentication is being validated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_two_factor_validate_create'.
#

PosthogApi.ValidateUser2fa

Validate a user's two-factor authentication status. Use this tool to validate whether a specific user's two-factor authentication (2FA) is correctly set up. Call this when you need to confirm a user's 2FA status in the system. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
user_uuidstringOptionalThe unique identifier for the user whose 2FA status needs to be validated. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_validate_2fa_create'.
#

PosthogApi.VerifyDomainForOrg

Verify a domain for a specified organization. This tool verifies a domain associated with a specified organization by creating a verification request for it. Useful when ensuring domain control and validation in organizational contexts. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
domain_uuidstringOptionalA UUID string identifying the domain to be verified for the organization. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
organization_identifierstringOptionalA unique string ID representing the organization associated with the domain to verify. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'domains_verify_create'.
#

PosthogApi.VerifyEmailIntegration

Verify email address for an integration's environment. This tool is used to confirm the email address for a specific integration within an environment. It should be called when you need to verify that the email address associated with an integration is valid and active. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
integration_idintegerOptionalA unique integer value identifying this integration within the environment. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
project_idstringOptionalProject ID for which you want to verify the email integration. Retrieve it by calling /api/projects/. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'environments_integrations_email_verify_create'.
#

PosthogApi.VerifyUserEmail

Initiates the email verification process for a user. Use this tool to start the process of verifying a user's email address. Ideal for confirming email ownership during account setup or security checks. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'users_verify_email_create'.
#

PosthogApi.WarehouseTableFileOperations

Create a new warehouse table from a file. Use this tool to create a new warehouse table in a specified project by providing a file. It supports creating tables within the DataDog platform. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.

Parameters

ParameterTypeReq.Description
modestringRequiredOperation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation
get_request_schemaexecute
project_id_for_accessstringOptionalSpecify the Project ID to access the desired project. Use /api/projects/ to find available IDs. Required when mode is 'execute', ignored when mode is 'get_request_schema'.
request_bodystringOptionalStringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_tables_file_create'.
#

PosthogApi.WarehouseTablesOverview

Retrieve a list of warehouse tables for a specific project. This tool allows you to retrieve the list of warehouse tables associated with a specified project ID. It should be called when you need to view or manage the tables within a data project's warehouse.

Parameters

ParameterTypeReq.Description
project_identifierstringRequiredThe unique identifier of the project whose warehouse tables you wish to access. Use the project ID obtained via a call to /api/projects/.
results_per_pageintegerOptionalSpecifies the number of results to return per page when listing warehouse tables.
results_start_indexintegerOptionalThe initial index from which the results should start. Useful for pagination.
search_termstringOptionalA term to filter the list of warehouse tables by matching names or descriptions.

Requirements

Secrets:POSTHOG_SERVER_URLPOSTHOG_PERSONAL_API_KEY

Output

Type:json— Response from the API endpoint 'warehouse_tables_list'.
Last updated on