Experiments
Archive exposure SQL model
Archive an exposure SQL model. Archived models are hidden from the default list and are no longer refreshed for new feature flags. Experiments already reading from the model keep working. Archiving is how a model that is in use by an experiment, and therefore cannot be deleted, is retired.
post/api/v2/experiments/exposure-sql-models/{exposure_sql_model_id}/archive
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/tokenScopesproduct_analytics_warehouse_model_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
exposure_sql_model_idstring uuid required
The UUID of the exposure SQL model.
Example:550e8400-e29b-41d4-a716-446655440000
Response
The exposure SQL model was archived. Archiving an already-archived model succeeds and leaves the original archive time in place.
Changes
Changes to this operation have not been checked yet.