App attribution

Identify your application on API requests for rankings and analytics.

Pipevideo supports optional attribution headers on API requests. These help attribute usage to your application in rankings and analytics — the same pattern used by OpenRouter.

Headers

HeaderAliasDescription
HTTP-RefererRefererYour site or application URL
X-Pipevideo-TitleX-TitleHuman-readable application name

All attribution headers are optional. Requests work without them.

Example

curl -X POST https://api.pipevideo.co/v1/responses \
  -H "Authorization: Bearer pv_your_api_key" \
  -H "Content-Type: application/json" \
  -H "HTTP-Referer: https://myapp.com" \
  -H "X-Pipevideo-Title: My Video App" \
  -d '{
    "model": "moonshotai/kimi-k2.5",
    "input": "Animated intro sequence"
  }'

Additional headers

HeaderDescription
X-Application-NameAlternative application identifier (max 256 characters)
X-App-NameAlias for X-Application-Name

Validation

  • Referer URLs must be valid http:// or https:// URLs (max 2048 characters).
  • Title values are sanitized (control characters stripped, max 256 characters).
  • Invalid values are silently ignored — they do not cause request failures.

SDK usage

When using the pipevideo SDK, pass custom headers via the fetch option or set them at the HTTP client level in your application.