Skip to content

Commit

Permalink
Update profile-api.md - response default trait limit is 10, not 20
Browse files Browse the repository at this point in the history
  • Loading branch information
samkcrespo authored Nov 13, 2024
1 parent 55c2dfe commit 0114be6
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 0114be6

Please sign in to comment.