| name | apollo-debug-bundle |
| description | Collect Apollo.io debug evidence for support.
Use when preparing support tickets, documenting issues,
or gathering diagnostic information for Apollo problems.
Trigger with phrases like "apollo debug", "apollo support bundle",
"collect apollo diagnostics", "apollo troubleshooting info".
|
| allowed-tools | Read, Grep, Bash(curl:*) |
| version | 1.13.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","apollo","debugging"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Apollo Debug Bundle
Current State
!node --version 2>/dev/null || echo 'N/A'
!python3 --version 2>/dev/null || echo 'N/A'
!uname -a
Overview
Collect comprehensive debug information for Apollo.io API issues. Generates a JSON diagnostic bundle with environment info, connectivity tests, rate limit status, key type verification, and sanitized request/response logs.
Prerequisites
APOLLO_API_KEY environment variable set
- Node.js 18+ or Python 3.10+
Instructions
Step 1: Create the Debug Bundle Collector
import axios from 'axios';
import os from 'os';
const BASE_URL = 'https://api.apollo.io/api/v1';
interface DebugBundle {
timestamp: string;
environment: Record<string, string>;
connectivity: { reachable: boolean; latencyMs: number; statusCode?: number };
keyType: 'master' | 'standard' | 'invalid' | 'unknown';
rateLimits: { limit?: string; remaining?: string; window?: string };
endpointTests: Array<{ : ; : | ; : }>;
: <, >;
}
(): <> {
headers = {
: ,
: process.. ?? ,
};
: = {
: ().(),
: {
: process.,
: os.(),
: os.(),
: process.. ? : ,
: (process..?. ?? ),
: process..?.(, ) + ?? ,
},
: { : , : },
: ,
: {},
: [],
: {},
};
bundle;
}