Get a segment

Retrieves a single segment by its ID, including its definition and associated metadata.