Skip to content

Add X-Pplx-Integration attribution header - #93

Merged
longlho merged 1 commit into
mainfrom
psi/add-x-pplx-integration-attribution-header
Aug 25, 2026
Merged

Add X-Pplx-Integration attribution header#93
longlho merged 1 commit into
mainfrom
psi/add-x-pplx-integration-attribution-header

Conversation

@qirh

@qirh qirh commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Perplexity now records the opt-in X-Pplx-Integration header at API ingress. This adds X-Pplx-Integration: perplexity-node/<version> to the SDK's central default headers so every API resource is attributed consistently.

Caller-supplied headers retain precedence, and request behavior is otherwise unchanged.

Verification

  • The request-construction test observes perplexity-node/<version> on the final outbound request.
  • The override test confirms callers can replace the default integration value.
  • Preview and main comparison: n/a because this is a client SDK header change with no deployable preview surface.

@qirh
qirh marked this pull request as ready for review August 24, 2026 23:31
@qirh
qirh requested a review from longlho August 25, 2026 17:06
@longlho
longlho merged commit 08f2c04 into main Aug 25, 2026
3 checks passed
@longlho
longlho deleted the psi/add-x-pplx-integration-attribution-header branch August 25, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants