Pig LogoPig Docs

Proxy Reference

Pig runs a proxy at https://proxy.pig.dev, which the SDKs use to forward calls to your Piglet.

The proxy uses the following headers to securely route calls:

  • Authorization: Bearer <API key>
  • X-Machine-ID: The Machine ID of the remote machine
  • X-Connection-ID: Optional, used by the SDK to group related events