Skip to content

Add X-Pplx-Integration attribution header - #92

Closed
qirh wants to merge 1 commit into
mainfrom
saleh/attribution-integration-header
Closed

Add X-Pplx-Integration attribution header#92
qirh wants to merge 1 commit into
mainfrom
saleh/attribution-integration-header

Conversation

@qirh

@qirh qirh commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Perplexity logs this opt-in header at API ingress for integration attribution. This adds the following default SDK header:

X-Pplx-Integration: perplexity-node/<version>

The value is well below the server-side 512-character cap. Caller-supplied headers retain precedence, and this introduces no behavior change beyond attribution metadata.

Verification

  • bazel test //:test //:package_checks //e2e:sdk_parity (5 of 6 targets passed; //:attw could not run npm pack in the local Bazel sandbox)
  • bazel build //:pkg
  • pnpm lefthook run pre-commit --all-files --force --fail-on-changes

@qirh
qirh marked this pull request as ready for review August 24, 2026 21:28
@qirh

qirh commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #93.

@qirh qirh closed this Aug 24, 2026
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.

1 participant