Skip to content

Commit

Permalink
feat(specs): add size to predict segment response (#1434)
Browse files Browse the repository at this point in the history
Co-authored-by: Cl茅ment Vannicatte <vannicattec@gmail.com>
  • Loading branch information
bengreenbank and shortcuts committed Apr 18, 2023
1 parent 0ed9eb2 commit 9a65a53
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions specs/predict/responses/Segment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ segment:
- segmentID
- name
- conditions
- size
- segmentStatus
- type
- lastUpdatedAt
Expand All @@ -78,6 +79,8 @@ segment:
$ref: '#/segmentName'
conditions:
$ref: '#/segmentParentConditions'
size:
$ref: '#/segmentSize'
segmentStatus:
$ref: '#/segmentStatus'
type:
Expand Down Expand Up @@ -110,6 +113,11 @@ segmentName:
type: string
description: The name of the segment.

segmentSize:
type: number
format: int64
description: The approximate number of users that matched the segment conditions when it was created, last updated, or when model inference last ran.

updatedAt:
type: string
description: The date and time at which the segment was updated (RFC3339).
Expand Down

0 comments on commit 9a65a53

Please sign in to comment.