Volver al catálogo

Statsig

statsig

Statsig provides server-side feature gate evaluation, dynamic configuration, experimentation, and event measurement APIs.

Acciones
7
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Evaluate 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

  • userobject

    Optional user context used to evaluate the gate. If provided, include user_id, email, or at least one custom_ids entry.

  • gate_namestringObligatorio

    Exact feature-gate name to evaluate.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Feature GatesSTATSIG_CHECK_GATESAcción

Evaluate 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

  • userobject

    Optional user context shared by all gate evaluations. If provided, include user_id, email, or at least one custom_ids entry.

  • gate_namesstring[]Obligatorio

    One or more exact feature-gate names to evaluate in one request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dynamic ConfigSTATSIG_GET_DYNAMIC_CONFIGAcción

Evaluate 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

  • userobject

    Optional user context used to evaluate the config. If provided, include user_id, email, or at least one custom_ids entry.

  • config_namestringObligatorio

    Exact dynamic-config or experiment name to evaluate (2-100 characters).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get LayerSTATSIG_GET_LAYERAcción

Evaluate 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

  • userobject

    Optional user context used to evaluate the layer. If provided, include user_id, email, or at least one custom_ids entry.

  • layer_namestringObligatorio

    Exact layer name to evaluate (1-100 characters).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Ranked VariantsSTATSIG_GET_RANKED_VARIANTSAcción

Rank variants for a Statsig contextual-bandit Autotune configuration using optional user context without logging an exposure.

Parámetros de entrada

  • userobject

    Optional user context used to rank the variants. If provided, include user_id, email, or at least one custom_ids entry.

  • config_namestringObligatorio

    Exact contextual-bandit Autotune config name (2-100 characters).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Log Custom ExposuresSTATSIG_LOG_CUSTOM_EXPOSURESAcción

Permanently 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

  • exposuresarrayObligatorio

    One or more gate exposures or experiment/config exposures identified by an assigned group or rule ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Log EventsSTATSIG_LOG_EVENTSAcción

Permanently 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[]Obligatorio

    One or more custom events to log in a single batch.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not