- LATENCY
- ERRORS
- PAYLOADS
- HUMAN
Our technology reaches across leading technology and enterprise teams.

Short answer
How can I find out why my AI calls are slow or failing?
Your agent uses Portkey gateway logs to identify high-latency requests and specific error codes. It can pull a list of recent logs or dive into the full details of a single failed call to show you the exact payload and response. You'll see exactly what went wrong without leaving your chat.
Debugging outcomes
Where your debugging data lands.
Your agent organizes log data into actionable categories.
LATENCY
Identify slow calls
Your agent scans recent logs to find requests that exceeded your expected response time. You get a list of the specific endpoints causing the lag.
ERRORS
Pinpoint request failures
Your agent pulls the exact error messages and status codes for failed calls. This helps you see if the issue is a model timeout or a malformed prompt.
PAYLOADS
Inspect request details
Your agent retrieves the full body of a specific log entry. You can check the exact input sent to the model and the raw output it returned.
HUMAN
Manual intervention
Your agent identifies patterns in failures but cannot fix your code or change your model settings. You'll need to apply the fixes in your application directly.
The workflow
What your agent does when a request fails.
Your agent acts as a bridge between your chat and the Portkey gateway.
Scan recent activity
Your agent looks through the most recent gateway traffic to find problematic entries.
list_logsIsolate the issue
Once a slow or failed call is found, your agent pulls the specific data for that event.
get_log_detailsAnalyze the error
Your agent reads the error message and the request payload to explain why the call failed.
get_log_detailsSummarize findings
Your agent presents a clear explanation of the latency or error pattern to you.
list_logs
Vinkius Agentic Execution Platform
State the outcome. Agents take it from there.
You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.
Run it in Vinkius
Agents carry the task to the end
Agents execute Portkey tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.
Take it to any compatible AI
One connection, any client
Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.
Spaces
One Space per activity
A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.
Limits
Autonomy inside limits you set
Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.
Record
All steps, on the record
Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.
Models
Included in your plan
A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.
Try it
Copy these to start.
Use these prompts to begin debugging immediately.
Starting points
Swap out the specific error types or timeframes to get more targeted results.
Portkey Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_BpHtQMK896fkGyepmah9cM552NpibU6fUP5BakNG/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat, Portkey capabilities are ready to use.
{
"mcpServers": {
"portkey-mcp": {
"url": "https://edge.vinkius.com/vk_preview_BpHtQMK896fkGyepmah9cM552NpibU6fUP5BakNG/mcp"
}
}
}- 01
Show me the last 10 logs from Portkey to see if there are any recent errors.
- 02
Find the most recent request that took longer than 5 seconds to complete.
- 03
Get the details for the failed request from the last five minutes.
- 04
List all logs that returned a 500 error code.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Portkey once, then ask.
Provide your Portkey API key. Your credentials stay encrypted, and you can start debugging through your agent right away.
Connect Portkey to your agentFAQ
How the Portkey connector behaves
- 01
Can your agent fix the errors in my code?
No. Your agent can only read the logs and explain what happened. You have to make the actual code changes in your own environment.
- 02
Can your agent delete logs from Portkey?
No. The tools only allow your agent to read and list logs. It cannot modify or delete any data in your Portkey account.
- 03
How recent is the log data?
Your agent sees whatever is currently available in your Portkey gateway logs via the list_logs tool.
- 04
Can I see the exact prompt I sent to the model?
Yes. By using the get_log_details tool, your agent can retrieve the full request body, including your prompts.
- 05
Does this work with any AI client?
Yes, as long as you are using an MCP-compatible client like Claude, Cursor, or Windsurf.
More questions about Portkey? See everything the Portkey Connector can do
Building with AI? Ship this whole workflow in your product.
Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Portkey to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.
Explore Vinkius ConnectTypeScript · Python · Java · Go · C# · PHP · Rust
- 01
Your customers bring their own keys.
Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.
- 02
Whole catalog, kept current.
Portkey plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.
- 03
Any agent, any model.
Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.
Connect Portkey to Claude, Cursor, ChatGPT & more
From idea to done
See what gets done when the agents take over the busywork
Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.









