Statsig
statsigStatsig provides server-side feature gate evaluation, dynamic configuration, experimentation, and event measurement APIs.
Acciones disponibles (7)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Check Feature GateSTATSIG_CHECK_GATEAcciónEvaluate one Statsig feature gate with optional user context without logging an exposure. A false result can mean either that the context fails the gate or that the gate name does not exist.
STATSIG_CHECK_GATEAcciónEvaluate one Statsig feature gate with optional user context without logging an exposure. A false result can mean either that the context fails the gate or that the gate name does not exist.
Parámetros de entrada
userobjectOptional user context used to evaluate the gate. If provided, include user_id, email, or at least one custom_ids entry.
gate_namestringObligatorioExact feature-gate name to evaluate.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Feature GatesSTATSIG_CHECK_GATESAcciónEvaluate multiple Statsig feature gates with optional shared user context without logging exposures. Results are keyed by gate name; a false result does not prove that a gate exists.
STATSIG_CHECK_GATESAcciónEvaluate multiple Statsig feature gates with optional shared user context without logging exposures. Results are keyed by gate name; a false result does not prove that a gate exists.
Parámetros de entrada
userobjectOptional user context shared by all gate evaluations. If provided, include user_id, email, or at least one custom_ids entry.
gate_namesstring[]ObligatorioOne or more exact feature-gate names to evaluate in one request.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dynamic ConfigSTATSIG_GET_DYNAMIC_CONFIGAcciónEvaluate a Statsig dynamic config or experiment with optional user context and return its value and assignment metadata without logging an exposure. A missing name returns an empty value object.
STATSIG_GET_DYNAMIC_CONFIGAcciónEvaluate a Statsig dynamic config or experiment with optional user context and return its value and assignment metadata without logging an exposure. A missing name returns an empty value object.
Parámetros de entrada
userobjectOptional user context used to evaluate the config. If provided, include user_id, email, or at least one custom_ids entry.
config_namestringObligatorioExact dynamic-config or experiment name to evaluate (2-100 characters).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get LayerSTATSIG_GET_LAYERAcciónEvaluate a Statsig layer with optional user context and return its parameter values and assignment metadata without logging an exposure. A missing layer is reported as not found.
STATSIG_GET_LAYERAcciónEvaluate a Statsig layer with optional user context and return its parameter values and assignment metadata without logging an exposure. A missing layer is reported as not found.
Parámetros de entrada
userobjectOptional user context used to evaluate the layer. If provided, include user_id, email, or at least one custom_ids entry.
layer_namestringObligatorioExact layer name to evaluate (1-100 characters).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ranked VariantsSTATSIG_GET_RANKED_VARIANTSAcciónRank variants for a Statsig contextual-bandit Autotune configuration using optional user context without logging an exposure.
STATSIG_GET_RANKED_VARIANTSAcciónRank variants for a Statsig contextual-bandit Autotune configuration using optional user context without logging an exposure.
Parámetros de entrada
userobjectOptional user context used to rank the variants. If provided, include user_id, email, or at least one custom_ids entry.
config_namestringObligatorioExact contextual-bandit Autotune config name (2-100 characters).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Log Custom ExposuresSTATSIG_LOG_CUSTOM_EXPOSURESAcciónPermanently log one or more Statsig gate, experiment, or dynamic-config exposures when automatic exposure logging is not being used. Acknowledged exposures cannot be deleted through the runtime API.
STATSIG_LOG_CUSTOM_EXPOSURESAcciónPermanently log one or more Statsig gate, experiment, or dynamic-config exposures when automatic exposure logging is not being used. Acknowledged exposures cannot be deleted through the runtime API.
Parámetros de entrada
exposuresarrayObligatorioOne or more gate exposures or experiment/config exposures identified by an assigned group or rule ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Log EventsSTATSIG_LOG_EVENTSAcciónPermanently log one or more custom Statsig events for analytics and metric calculation in a single batch. Acknowledged events cannot be deleted through the runtime API.
STATSIG_LOG_EVENTSAcciónPermanently log one or more custom Statsig events for analytics and metric calculation in a single batch. Acknowledged events cannot be deleted through the runtime API.
Parámetros de entrada
eventsobject[]ObligatorioOne or more custom events to log in a single batch.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not