PostHog · Schema
Team
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| uuid | string | |
| name | string | |
| access_control | boolean | |
| organization | string | |
| project_id | integer | |
| api_token | string | |
| secret_api_token | string | |
| secret_api_token_backup | string | |
| created_at | string | |
| updated_at | string | |
| ingested_event | boolean | |
| default_modifiers | object | |
| person_on_events_querying_enabled | boolean | |
| user_access_level | string | The effective access level the user has for this object |
| app_urls | array | |
| anonymize_ips | boolean | |
| completed_snippet_onboarding | boolean | |
| test_account_filters | object | |
| test_account_filters_default_checked | boolean | |
| path_cleaning_filters | object | |
| is_demo | boolean | |
| timezone | object | |
| data_attributes | object | |
| person_display_name_properties | array | |
| correlation_config | object | |
| autocapture_opt_out | boolean | |
| autocapture_exceptions_opt_in | boolean | |
| autocapture_web_vitals_opt_in | boolean | |
| autocapture_web_vitals_allowed_metrics | object | |
| autocapture_exceptions_errors_to_ignore | object | |
| capture_console_log_opt_in | boolean | |
| logs_settings | object | |
| capture_performance_opt_in | boolean | |
| session_recording_opt_in | boolean | |
| session_recording_sample_rate | string | |
| session_recording_minimum_duration_milliseconds | integer | |
| session_recording_linked_flag | object | |
| session_recording_network_payload_capture_config | object | |
| session_recording_masking_config | object | |
| session_recording_url_trigger_config | array | |
| session_recording_url_blocklist_config | array | |
| session_recording_event_trigger_config | array | |
| session_recording_trigger_match_type_config | string | |
| session_recording_trigger_groups | object | V2 trigger groups configuration for session recording. If present, takes precedence over legacy trigger fields. |
| session_recording_retention_period | object | |
| session_replay_config | object | |
| survey_config | object | |
| week_start_day | object | |
| primary_dashboard | integer | |
| live_events_columns | array | |
| recording_domains | array | |
| cookieless_server_hash_mode | object | |
| human_friendly_comparison_periods | boolean | |
| inject_web_apps | boolean | |
| extra_settings | object | |
| modifiers | object | |
| has_completed_onboarding_for | object | |
| surveys_opt_in | boolean | |
| heatmaps_opt_in | boolean | |
| flags_persistence_default | boolean | |
| feature_flag_confirmation_enabled | boolean | |
| feature_flag_confirmation_message | string | |
| default_evaluation_contexts_enabled | boolean | Whether to automatically apply default evaluation contexts to new feature flags |
| require_evaluation_contexts | boolean | Whether to require at least one evaluation context tag when creating new feature flags |
| capture_dead_clicks | boolean | |
| default_data_theme | integer | |
| revenue_analytics_config | object | |
| marketing_analytics_config | object | |
| customer_analytics_config | object | |
| onboarding_tasks | object | |
| base_currency | object | |
| web_analytics_pre_aggregated_tables_enabled | boolean | |
| receive_org_level_activity_logs | boolean | |
| business_model | object | Whether this project serves B2B or B2C customers, used to optimize the UI layout. * `b2b` - B2B * `b2c` - B2C * `other` - Other |
| conversations_enabled | boolean | |
| conversations_settings | object | |
| proactive_tasks_enabled | boolean | |
| effective_membership_level | object | |
| has_group_types | boolean | |
| group_types | array | |
| live_events_token | string | |
| product_intents | array | |
| managed_viewsets | object | |
| available_setup_task_ids | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Team",
"title": "Team",
"type": "object",
"properties": {
"id": {
"type": "integer",
"readOnly": true
},
"uuid": {
"type": "string",
"format": "uuid",
"readOnly": true
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"access_control": {
"type": "boolean"
},
"organization": {
"type": "string",
"format": "uuid",
"readOnly": true
},
"project_id": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"format": "int64",
"readOnly": true
},
"api_token": {
"type": "string",
"readOnly": true
},
"secret_api_token": {
"type": "string",
"readOnly": true,
"nullable": true
},
"secret_api_token_backup": {
"type": "string",
"readOnly": true,
"nullable": true
},
"created_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"updated_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"ingested_event": {
"type": "boolean",
"readOnly": true
},
"default_modifiers": {
"type": "object",
"additionalProperties": true,
"readOnly": true
},
"person_on_events_querying_enabled": {
"type": "boolean",
"readOnly": true
},
"user_access_level": {
"type": "string",
"nullable": true,
"readOnly": true,
"description": "The effective access level the user has for this object"
},
"app_urls": {
"type": "array",
"items": {
"type": "string",
"nullable": true,
"maxLength": 200
}
},
"anonymize_ips": {
"type": "boolean"
},
"completed_snippet_onboarding": {
"type": "boolean"
},
"test_account_filters": {},
"test_account_filters_default_checked": {
"type": "boolean",
"nullable": true
},
"path_cleaning_filters": {
"nullable": true
},
"is_demo": {
"type": "boolean"
},
"timezone": {
"$ref": "#/components/schemas/TimezoneEnum"
},
"data_attributes": {},
"person_display_name_properties": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400
},
"nullable": true
},
"correlation_config": {
"nullable": true
},
"autocapture_opt_out": {
"type": "boolean",
"nullable": true
},
"autocapture_exceptions_opt_in": {
"type": "boolean",
"nullable": true
},
"autocapture_web_vitals_opt_in": {
"type": "boolean",
"nullable": true
},
"autocapture_web_vitals_allowed_metrics": {
"nullable": true
},
"autocapture_exceptions_errors_to_ignore": {
"nullable": true
},
"capture_console_log_opt_in": {
"type": "boolean",
"nullable": true
},
"logs_settings": {
"nullable": true
},
"capture_performance_opt_in": {
"type": "boolean",
"nullable": true
},
"session_recording_opt_in": {
"type": "boolean"
},
"session_recording_sample_rate": {
"type": "string",
"format": "decimal",
"pattern": "^-?\\d{0,1}(?:\\.\\d{0,2})?$",
"nullable": true
},
"session_recording_minimum_duration_milliseconds": {
"type": "integer",
"maximum": 30000,
"minimum": 0,
"nullable": true
},
"session_recording_linked_flag": {
"nullable": true
},
"session_recording_network_payload_capture_config": {
"nullable": true
},
"session_recording_masking_config": {
"nullable": true
},
"session_recording_url_trigger_config": {
"type": "array",
"items": {
"nullable": true
},
"nullable": true
},
"session_recording_url_blocklist_config": {
"type": "array",
"items": {
"nullable": true
},
"nullable": true
},
"session_recording_event_trigger_config": {
"type": "array",
"items": {
"type": "string",
"nullable": true
},
"nullable": true
},
"session_recording_trigger_match_type_config": {
"type": "string",
"nullable": true,
"maxLength": 24
},
"session_recording_trigger_groups": {
"nullable": true,
"description": "V2 trigger groups configuration for session recording. If present, takes precedence over legacy trigger fields."
},
"session_recording_retention_period": {
"$ref": "#/components/schemas/SessionRecordingRetentionPeriodEnum"
},
"session_replay_config": {
"nullable": true
},
"survey_config": {
"nullable": true
},
"week_start_day": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/WeekStartDayEnum"
},
{
"$ref": "#/components/schemas/NullEnum"
}
]
},
"primary_dashboard": {
"type": "integer",
"nullable": true
},
"live_events_columns": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"recording_domains": {
"type": "array",
"items": {
"type": "string",
"nullable": true,
"maxLength": 200
},
"nullable": true
},
"cookieless_server_hash_mode": {
"nullable": true,
"oneOf": [
{
"$ref": "#/components/schemas/CookielessServerHashModeEnum"
},
{
"$ref": "#/components/schemas/NullEnum"
}
]
},
"human_friendly_comparison_periods": {
"type": "boolean",
"nullable": true
},
"inject_web_apps": {
"type": "boolean",
"nullable": true
},
"extra_settings": {
"nullable": true
},
"modifiers": {
"nullable": true
},
"has_completed_onboarding_for": {
"nullable": true
},
"surveys_opt_in": {
"type": "boolean",
"nullable": true
},
"heatmaps_opt_in": {
"type": "boolean",
"nullable": true
},
"flags_persistence_default": {
"type": "boolean",
"nullable": true
},
"feature_flag_confirmation_enabled": {
"type": "boolean",
"nullable": true
},
"feature_flag_confirmation_message": {
"type": "string",
"nullable": true
},
"default_evaluation_contexts_enabled": {
"type": "boolean",
"nullable": true,
"description": "Whether to automatically apply default evaluation contexts to new feature flags"
},
"require_evaluation_contexts": {
"type": "boolean",
"nullable": true,
"description": "Whether to require at least one evaluation context tag when creating new feature flags"
},
"capture_dead_clicks": {
"type": "boolean",
"nullable": true
},
"default_data_theme": {
"type": "integer",
"maximum": 2147483647,
"minimum": -2147483648,
"nullable": true
},
"revenue_analytics_config": {
"$ref": "#/components/schemas/TeamRevenueAnalyticsConfig"
},
"marketing_analytics_config": {
"$ref": "#/components/schemas/TeamMarketingAnalyticsConfig"
},
"customer_analytics_config": {
"$ref": "#/components/schemas/TeamCustomerAnalyticsConfig"
},
"onboarding_tasks": {
"nullable": true
},
"base_currency": {
"allOf": [
{
"$ref": "#/components/schemas/BaseCurrencyEnum"
}
],
"default": "USD"
},
"web_analytics_pre_aggregated_tables_enabled": {
"type": "boolean",
"nullable": true
},
"receive_org_level_activity_logs": {
"type": "boolean",
"nullable": true
},
"business_model": {
"nullable": true,
"description": "Whether this project serves B2B or B2C customers, used to optimize the UI layout.\n\n* `b2b` - B2B\n* `b2c` - B2C\n* `other` - Other",
"oneOf": [
{
"$ref": "#/components/schemas/BusinessModelEnum"
},
{
"$ref": "#/components/schemas/BlankEnum"
},
{
"$ref": "#/components/schemas/NullEnum"
}
]
},
"conversations_enabled": {
"type": "boolean",
"nullable": true
},
"conversations_settings": {
"nullable": true
},
"proactive_tasks_enabled": {
"type": "boolean",
"nullable": true
},
"effective_membership_level": {
"allOf": [
{
"$ref": "#/components/schemas/EffectiveMembershipLevelEnum"
}
],
"nullable": true,
"readOnly": true
},
"has_group_types": {
"type": "boolean",
"readOnly": true
},
"group_types": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"readOnly": true
},
"live_events_token": {
"type": "string",
"nullable": true,
"readOnly": true
},
"product_intents": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"readOnly": true
},
"managed_viewsets": {
"type": "object",
"additionalProperties": {
"type": "boolean"
},
"readOnly": true
},
"available_setup_task_ids": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AvailableSetupTaskIdsEnum"
},
"readOnly": true
}
},
"required": [
"api_token",
"available_setup_task_ids",
"created_at",
"default_modifiers",
"effective_membership_level",
"group_types",
"has_group_types",
"id",
"ingested_event",
"live_events_token",
"managed_viewsets",
"organization",
"person_on_events_querying_enabled",
"product_intents",
"project_id",
"secret_api_token",
"secret_api_token_backup",
"updated_at",
"user_access_level",
"uuid"
]
}