Skip to content

Commit

Permalink
Merge pull request #7353 from segmentio/feat/update-returned-traits-c…
Browse files Browse the repository at this point in the history
…ount

Update default Traits return count
  • Loading branch information
pwseg authored Jan 12, 2025
2 parents 3465e73 + f62f2ec commit 646b3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unify/profile-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ You can query a user's traits (such as `first_name`, `last_name`, and more):

`https://profiles.segment.com/v1/spaces/<space_id>/collections/users/profiles/<external_id>/traits`

By default, the response includes 20 traits. You can return up to 200 traits by appending `?limit=200` to the querystring. If you wish to return a specific trait, append `?include={trait}` to the querystring (for example `?include=age`). You can also use the ``?class=audience​`` or ``?class=computed_trait​`` URL parameters to retrieve audiences or computed traits specifically.
By default, the response includes 10 traits. You can return up to 200 traits by appending `?limit=200` to the querystring. If you wish to return a specific trait, append `?include={trait}` to the querystring (for example `?include=age`). You can also use the ``?class=audience​`` or ``?class=computed_trait​`` URL parameters to retrieve audiences or computed traits specifically.

**Metadata**
You can query all of a user's metadata (such as `created_at`, `updated_at`, and more):
Expand Down

0 comments on commit 646b3cb

Please sign in to comment.