Get a segment

Retrieves the details of a specific segment by its ID within a project, including its rules and conditions.