List Files
Upload File
BYOK
Files are provider management operations rather than token-usage operations. They follow the same credential selection as other gateway routes: stored BYOK first by default, then PTB when available. UsePlanck-Billing-Mode to force byok or ptb.
X-Provider-Key and Planck-Provider-Key are still supported as explicit per-request BYOK overrides.
This endpoint uses the shared AI Gateway error envelope. See the
Error Handling & Fallback guide for
response examples, retry rules, fallback behavior, and streaming errors.