Guides

Advanced Features

Once you've mastered the fundamentals of Pay-i integration, these advanced features will help you address specialized requirements and complex implementation scenarios.

Header Forwarding

Header Forwarding explains how HTTP headers are processed and forwarded when operating in proxy mode. This information is crucial for:

  • Understanding which headers are passed through to GenAI providers
  • Controlling header forwarding behavior
  • Adding custom headers that should be forwarded
  • Debugging header-related issues
  • Addressing provider-specific header requirements

Learn more in the Header Forwarding guide.

Understanding Limit Details

Understanding Limit Details provides in-depth information about Pay-i's spending control system responses. This advanced guide covers:

  • Detailed explanation of limit response structure
  • Understanding cost tracking (input, output, and total costs)
  • Interpreting base costs vs. overrun costs
  • Analyzing request counts by status (ok, exceeded, failed, blocked)
  • Using the Get Limit Details API to monitor spending

Learn more in the Understanding Limit Details guide.

When to Use Advanced Features

These advanced features are typically used in the following scenarios:

  • Complex enterprise integrations with specific requirements
  • Debugging challenging integration issues
  • Implementing sophisticated control mechanisms
  • Meeting specialized compliance or security requirements
  • Optimizing for specific operational patterns

If you're just getting started with Pay-i, we recommend mastering the core functionality first through our Auto Instrumentation and Custom Instrumentation guides before diving into these advanced topics.