#View Input Sent to the API
4 messages · Page 1 of 1 (latest)
I'm an AI assistant - my answers may be incorrect and I cannot see screenshots. Please verify information with the OpenRouter docs.
To view the input sent to the OpenRouter API, you can enable observability and logging with supported integrations:
-
LangSmith Integration:
- OpenRouter supports broadcasting traces (including input and output messages) to LangSmith.
- After enabling and configuring the integration, you can see full details of each API request—including the exact input sent—within your LangSmith project.
- Quoting the docs:
"*Your traces will appear in the specified project with full details including:- Input and output messages
- Token usage (prompt, completion, and total tokens)
- Cost information
- Model and provider information
- Timing and latency metrics*"
- For setup steps, see: Broadcast to LangSmith
-
PostHog Integration:
- Similarly, you can use PostHog for analytics. After configuring, you can analyze API usage and see request data in your PostHog dashboard.
- For setup: Broadcast to PostHog
-
Langfuse Integration:
- If you use the Langfuse OpenAI SDK wrapper with OpenRouter, it will automatically log inputs as generations/traces in Langfuse.
- For details on setup and code examples: Langfuse Integration
If you need help setting up any of these integrations, let me know your preferred platform. If you require raw request logs directly from OpenRouter and none of these integrations fit your use case, there’s no built-in dashboard for raw ...
...API request logs—please contact the mods for further assistance.
References:
-# This is an automated response powered by Answer HQ. Use !mute to stop the bot from responding, or !close when your question is resolved.
Date/time: 2026-03-03T17:04:37.980Z
Extension version: 5.9.0
Provider: openrouter
Model: anthropic/claude-sonnet-4.5
401
OpenRouter completion error: 401 User not found.