Skip to content

Commit 9a65a53

Browse files
feat(specs): add size to predict segment response (#1434)
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
1 parent 0ed9eb2 commit 9a65a53

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

specs/predict/responses/Segment.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ segment:
6868
- segmentID
6969
- name
7070
- conditions
71+
- size
7172
- segmentStatus
7273
- type
7374
- lastUpdatedAt
@@ -78,6 +79,8 @@ segment:
7879
$ref: '#/segmentName'
7980
conditions:
8081
$ref: '#/segmentParentConditions'
82+
size:
83+
$ref: '#/segmentSize'
8184
segmentStatus:
8285
$ref: '#/segmentStatus'
8386
type:
@@ -110,6 +113,11 @@ segmentName:
110113
type: string
111114
description: The name of the segment.
112115

116+
segmentSize:
117+
type: number
118+
format: int64
119+
description: The approximate number of users that matched the segment conditions when it was created, last updated, or when model inference last ran.
120+
113121
updatedAt:
114122
type: string
115123
description: The date and time at which the segment was updated (RFC3339).

0 commit comments

Comments
 (0)