Partially update a segment
Applies a partial update to a segment. Only provided attributes are updated.
Allowed updates by subtype:
- filter — name, filters, filter_groups, record_limit, status (archived/active), ephemeral
- matched — name, column_mappings, status (archived/active), ephemeral promotion
- similarity / propensity — name, status (archived/active)
Standalone promotion: ephemeral: false promotes a scratch (ephemeral) segment to persistent in-place — resets its expiry to the standard 90-day TTL and reactivates it if it had lazily expired. Only false is honored; true (demoting a persistent segment back to scratch) is not supported and is silently ignored.
Count invalidation: updating filter criteria does NOT automatically recompute record counts on audiences referencing this segment. Call POST /v1/segments/{id}/count to recompute.
The update itself emits no billable usage. Requires 'creator' scope.
When filters/filter_groups are provided, they're validated against the live Field Catalog before the update is applied — an unknown field, a disallowed operator, or an invalid enum value returns 400 INVALID_FILTER. If the Field Catalog is temporarily unreachable, returns 502 FILTER_CATALOG_UNAVAILABLE rather than applying an unvalidated update. record_limit on a non-filter segment returns 400 RECORD_LIMIT_UNSUPPORTED.
Request
- Base URL: https://api.infiniteaudience.ai
- URL: https://api.infiniteaudience.ai/v1/segments/{id}
- Auth: HTTP bearer
Path parameters
Request body
Response
Updated segment.
Changes
No recorded changes to this operation across all 1 revision of this API.