Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Validate segment

Validate segment definition.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Use this endpoint to validate your real-time segment definition before you create it. Pass the segment_id as a query path parameter and include your segment definition in the request body.

This validates that the conditions, data structure, and fields in your segment definition are valid and supported.

Path Params
string
required
Body Params
string
metadata
object
definition
object
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json