PostHog
Get PostHog Feature Flag
Get PostHog Feature Flag.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| project_idstring · required | string | required | Project ID returned by List PostHog Projects. Uses only the selected connected account. |
| idstring · required | string | required | PostHog id from the matching lookup in this project. |
Response schema
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "number"
},
"key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"active": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deleted": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"filters": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"surveys": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"version": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"can_edit": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"features": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_by": {
"anyOf": [
{
"type": "object",
"required": [],
"properties": {
"id": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"uuid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"distinct_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hedgehog_config": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"is_email_verified": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"role_at_organization": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"experiment_set": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
},
"last_called_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"usage_dashboard": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"creation_context": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_modified_by": {
"anyOf": [
{
"type": "object",
"required": [],
"properties": {
"id": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"uuid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"distinct_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hedgehog_config": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"is_email_verified": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"role_at_organization": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"_create_in_folder": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"user_access_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"evaluation_runtime": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"performed_rollback": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"evaluation_contexts": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"rollback_conditions": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"analytics_dashboards": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
},
"bucketing_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"has_encrypted_payloads": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"has_enriched_analytics": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"experiment_set_metadata": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"is_remote_configuration": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"is_used_in_replay_settings": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"ensure_experience_continuity": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"_should_create_usage_dashboard": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true
}