Beta user profile endpoints restructured; new thinking token count field added
BreakingBreaking change
This is a breaking change — integrations that rely on the affected behaviour will need updates before the change rolls out.
What changed
This diff contains several changes across the beta API:
- Removed endpoints:
POST /v1/user_profiles?beta=true(Create User Profile) andGET /v1/user_profiles?beta=true(List User Profiles) have been removed from the spec; clients calling these beta endpoints will break. - New endpoint:
POST /v1/user_profiles/{user_profile_id}/enrollment_url?beta=true(BetaCreateEnrollmentUrl) has been added. - New required field:
estimated_tokensis now listed inrequiredonBetaThinkingContentBlockDelta, with a new beta flagthinking-token-count-2026-05-13; clients that deserialize this schema strictly may fail if they don't expect this field. - The
BetaTrustGrant.statusenum (active,pending,rejected) ordering changed cosmetically but no values were added or removed.